Both Lobbies Bork LuaAI tests - Page 2

Both Lobbies Bork LuaAI tests

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: Both Lobbies Bork LuaAI tests

Post by koshi »

You know what would actually help instead of you posting scores and guesses? Posting the four scripts for comparison.
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: Both Lobbies Bork LuaAI tests

Post 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
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Both Lobbies Bork LuaAI tests

Post 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.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Both Lobbies Bork LuaAI tests

Post 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.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Both Lobbies Bork LuaAI tests

Post 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.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Both Lobbies Bork LuaAI tests

Post 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.
Post Reply

Return to “Help & Bugs”