AI Player Info not updating

AI discussion, ideas, and SDK help.
Post Reply
User avatar
Preacherman
Semiholy Priest
Posts: 4496
Joined: Tue Feb 24, 2004 3:52 am
Location: Sweden (capital of Denmark, an island in Norway, southern Europe)
Contact:

AI Player Info not updating

Post by Preacherman » Mon Nov 29, 2004 2:36 pm

Dustin,
What could be the cause of a bot making an attack and taking over a country, but not getting a card to show for it? Nef is going through some updates, and in offline testing her card count is constantly on 0 even though mine as a human player is ticking up correctly...
Cheers

User avatar
Preacherman
Semiholy Priest
Posts: 4496
Joined: Tue Feb 24, 2004 3:52 am
Location: Sweden (capital of Denmark, an island in Norway, southern Europe)
Contact:

Post by Preacherman » Mon Nov 29, 2004 6:50 pm

Something appears to be really off here...I recompiled a Cluster, a Yakool, and an EvilPixie just to see if they worked, and they don't either...I have no idea what version of the AI SDK I am using as ... uhh ... there are no version numbers, so I am not sure the stubs are current - but they are the same I used to originally compile Nef. Has anything else changed on the app side in the last update that would screw up newly-compiled bots?

User avatar
dustin
Lux Creator
Lux Creator
Posts: 10998
Joined: Thu May 15, 2003 2:01 am
Location: Cascadia
Contact:

Post by dustin » Tue Nov 30, 2004 12:01 am

I just did a quick test of this with Angry and it is working properly for me. Inside cardsPhase I put the statement:

System.out.println("angry has "+board.getPlayerCards(ID)+" cards");

And it increments as expected.

User avatar
Preacherman
Semiholy Priest
Posts: 4496
Joined: Tue Feb 24, 2004 3:52 am
Location: Sweden (capital of Denmark, an island in Norway, southern Europe)
Contact:

Post by Preacherman » Wed Dec 01, 2004 9:30 am

I am still not having any joy...I can see the bots making attacks, but they are not getting credited cards for it. Really odd :?

User avatar
Preacherman
Semiholy Priest
Posts: 4496
Joined: Tue Feb 24, 2004 3:52 am
Location: Sweden (capital of Denmark, an island in Norway, southern Europe)
Contact:

Post by Preacherman » Wed Dec 01, 2004 9:49 am

Scartch that, got it fixed - it was the moveArmiesIn sub that was causing it. Odd...

Post Reply

Who is online

Users browsing this forum: No registered users and 48 guests