Game Development Community

Error with a long string

by Charlie Mauck · in Torque Game Builder · 08/17/2007 (6:51 pm) · 0 replies

Has anyone else had trouble with using strings that are over 1800 characters long?

We have a help text in our game that is causing the game to crash hard when it goes over around 1830 characters long. We get a Windows exception consistentally on the four different systems we've tried it on. Funny enough, no problems on our Mac. The strange thing is the string variable is being set fine (the $var="blah..." doesn't throw an error), but then the game crashes shortly thereafter. Seems much like a buffer overrun error.

Thanks!