alliance check box

Post bug reports and ask for support here.

Moderator: MOD_EIA

Post Reply
ndrose
Posts: 612
Joined: Fri Oct 13, 2006 4:07 pm

alliance check box

Post by ndrose »

There might be either a small bug or an intentional change in the way the alliance check box works. Playing an AI game, I noticed that I wasn't getting any allies though I had boxes checked. Looking at the log, I only saw one month in which there was an entry saying I had requested an alliance and a die roll reported.

I found that if I unchecked and rechecked the box, I would get a die roll (and possible alliance) in the next diplomatic phase, but it wouldn't try again if it failed that month. (Or else it was trying behind the scenes and failing, but that seems unlikely, since many months went by without England accepting an Austrian alliance.) If I again unchecked and rechecked, it would try again.
NeverMan
Posts: 1712
Joined: Tue Feb 24, 2004 1:52 am

RE: alliance check box

Post by NeverMan »

Sounds like a flag is not being reset or re-tested.

For PBEM games this might not be a problem if marshall is comparing the two MPs every Dip Phase but for the AI if he is taking the method of "why check if the non-AI isn't asking" then it would really only show up in the AI games.... interesting. Though the second is faster, it's not that much faster (and this probably doesn't take much time anyway considering the search space is so small).... he probably should be using the same algorithm for both, doesn't sound like he is though.
User avatar
MarshallEllis
Posts: 5632
Joined: Tue Oct 02, 2001 3:00 pm
Location: Dallas

RE: alliance check box

Post by MarshallEllis »

It looks as though the code is the same for both. I may not be resetting the check box based on the attempt BUT I thought I coded this to keep attempting as opposed to resetting after a denial??? I need to relook at it and see...


Thank you

Marshall Ellis
Outflank Strategy War Games


Post Reply

Return to “Tech Support”