Code: Show/Hide class botInfo
{ bool CONNECTION_DENIED; CALL_HANDLE handle; CALL_COMMAND callback; CALL_PLIST playerlist; CALL_FLIST flaglist; CALL_MAP map; CALL_BLIST bricklist; char *arena; arenaSettings *settings; Player *me; bool biller_online; objectInfo object_array[MAX_OBJECTS]; int num_objects; Player *object_dest; int countdown[7]; // Put bot data here Player *nothing[2000]; ////// DUMMY PLAYER OBJECTS ///// int f0capttimer; int f1capttimer; int capt0vote; int capt1vote; |
CypherJF wrote: |
i wonder why you'd need 2000 Player objects anyways?
Definately post up your source code so we can take a better look at it. |
50% Packetloss wrote: |
yah, there is no way you need that many pointers. THere will never be 2k people in one arena. Use a linklist |