Crash when hitting the turn button

General Modding Information/Questions; support/discussion/questions

Moderator: thunderchero

Forum rules
:idea: Please search before starting new topic. :idea:
There is a good chance it has already been asked.
Post Reply
User avatar
adi
Commander
Commander
Posts: 442
Joined: Sun Aug 12, 2012 6:53 pm
Location: US East Coast

Crash when hitting the turn button

Post by adi »

I added a new starbase level for all races and now i am getting a crash when hitting turn on turn one; anyone knows what this log says? Too many ships in the game?

Edit: Yes, i think that was it; i had 256 ships in the game from id 0 to id 255; i deleted a few; is there a limit on how many ships available to build, including upgrades?

-------------------------------------
ST:BOF Sun Dec 8 11:48:21 2013

Version Under Test: 72
File: ..\..\source\ai\aiempecn.c, Line: 1007, pass < AI_MAX_BUILD_LIST_ITERATIONS
Initialize State: 31
Player Empire: 1 Starting Seed: 1386520900
Galaxy shape: 0 Galaxy Size: 2

-------------------------------------
ST:BOF Sun Dec 8 11:48:53 2013

Version Under Test: 72
File: ..\..\source\ai\aiempecn.c, Line: 1007, pass < AI_MAX_BUILD_LIST_ITERATIONS
Initialize State: 31
Player Empire: 1 Starting Seed: 1386520900
Galaxy shape: 0 Galaxy Size: 2

-------------------------------------
ST:BOF Sun Dec 8 11:50:16 2013

Version Under Test: 72
File: ..\..\source\ai\aiempecn.c, Line: 1007, pass < AI_MAX_BUILD_LIST_ITERATIONS
Initialize State: 31
Player Empire: 1 Starting Seed: 1386520900
Galaxy shape: 0 Galaxy Size: 2
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7851
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: Crash when hitting the turn button

Post by thunderchero »

iirc the limit should be 256. but this includes minors and aliens/monsters.

thunderchero
User avatar
adi
Commander
Commander
Posts: 442
Joined: Sun Aug 12, 2012 6:53 pm
Location: US East Coast

Re: Crash when hitting the turn button

Post by adi »

yes, all of them; after i deleted 5 starbases, then ids go from 0 to 250 and no more crashes; i guess the limit is 255;
User avatar
Flocke
BORG Trouble Maker
BORG Trouble Maker
Posts: 3197
Joined: Sun Apr 27, 2008 2:00 am
Location: Hamburg, Germany
Contact:

Re: Crash when hitting the turn button

Post by Flocke »

11111111 = 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255, zero not counted
yeah, they just left us one byte for the ships :mad:
Post Reply

Return to “General Modding Information/Questions”