Menu

#70 Error in TakeOverAIPlayer in GameMngr.py

open
nobody
None
5
2012-09-14
2007-11-24
No

Error log entry:

Traceback (most recent call last):
File "lib/ige/RPCServer.py", line 57, in call
packet.result, packet.messages = apply(callMap[intern(packet.method)], params)
File "lib/ige/ospace/GameMngr.py", line 197, in takeOverAIPlayer
struct = planet.slots[-1]
IndexError: list index out of range

Believed caused by a planet that had 0 structures on it as a homeworld. Need to add checks for structure, and append outpost if no structures found.

Discussion


Log in to post a comment.