Page 2 of 2
Re: Both Lobbies Bork LuaAI tests
Posted: 22 Nov 2009, 11:05
by koshi
You know what would actually help instead of you posting scores and guesses? Posting the four scripts for comparison.
Re: Both Lobbies Bork LuaAI tests
Posted: 22 Nov 2009, 13:28
by Satirik
Argh wrote:TASClient: 0.5. Launches, and game functions, but does not seem to use Fixed or Random start positions, which is necessary for anything other than a game like Pylon Wars to work right (Pylon Wars doesn't care, so long as stranding us in the corner 0,0 doesn't mean we can't spawn or move).
right there was a problem in the tasclient sp start pos selection and i just fixed it ty for reporting this bug
Re: Both Lobbies Bork LuaAI tests
Posted: 22 Nov 2009, 15:07
by hoijui
NullAI allways returns 0, for every handle event call, which mean: handled OK. Therefore, it is considered an active AI, and since a few versions, Skirmish AIs also have the active flag set. The only thing that makes the apear inactive, is hte Take Reminder widget, which.. i guess, only checks if a human is controlling a team or not.
But there is no difference between NullAI and others, for this matter.
Re: Both Lobbies Bork LuaAI tests
Posted: 22 Nov 2009, 23:24
by Argh
You know what would actually help instead of you posting scores and guesses? Posting the four scripts for comparison.
My apologies, I am not trying to muddy the water here, or to imply that SpringLobby sucks. It may very well be that the mistake is mine. SpringLobby did not make a script, though, I did check that. I'll post the TASClient scripts when I get home.
Re: Both Lobbies Bork LuaAI tests
Posted: 23 Nov 2009, 03:19
by lurker
1. Are you sure it doesn't create and then delete a script.
2. Are you sure you're looking in the right folder.
3. When spring crashes, copy the error message, and then inspect it with
Process Explorer for the exact command line given.
Re: Both Lobbies Bork LuaAI tests
Posted: 23 Nov 2009, 04:06
by Argh
1. No, I am not sure it doesn't delete it, other than a script.txt being in the root of the Spring install with the same data as TASClient.
2. If it's not being posted to the root of Spring, then I'm looking in the wrong place.
3. There aren't any error messages from Spring. I click "start" in SpringLobby, a console window flashes very briefly, then I see a message indicating that it's crashed, and there will be an infolog, which there isn't (a new one, that is).
I am not home yet, but I'll see if I can get this tested tonight before I run out of steam.