Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Random Char Error I need Fixed
Re: Random Char Error I need Fixed [message #270349 is a reply to message #270219] Tue, 03 July 2007 02:33 Go to previous messageGo to previous message
Whitedragon is currently offline  Whitedragon
Messages: 832
Registered: February 2003
Location: California
Karma:
Colonel
You're not allocating enough space for the arrays.

char *RandomNodChar[14][2]


See the 14? That's how many entries there are. There's more than 14.

Also, if you're going to let them get the other team's characters then there's no reason to have 2 arrays. Just use the same array for both teams.


Black-Cell.net
Network Administrator (2003 - )

DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )

Dragonade, Renegade's first server side modification
Lead coder (2005 - )
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: can anyone just help me finish my code?
Next Topic: All the Mission Scripts
Goto Forum:
  


Current Time: Sun Dec 22 11:50:29 MST 2024

Total time taken to generate the page: 0.00780 seconds