Log in

View Full Version : Weird JCS Bug


SPAZ18
Feb 8, 2007, 05:07 AM
I dunno what's going on with this. In the "Level Name" box in Level Properties I put in a level name which has 32 characters. But when I re-open the level I go into the properties to find that it has inserted the tileset filename. :confused: I click OK and get a message "Please enter less than 32 characters." Why does it do that?

blurredd
Feb 8, 2007, 06:23 AM
It's poorly implemented code. JCS shouldn't let you enter more than 31 characters in the first place. Just use a level name that is 31 characters long at the most and you should be fine.

SPAZ18
Feb 8, 2007, 06:48 AM
Thanks. :D
I have shortened the level name now.

Cpp
Feb 10, 2007, 01:42 AM
It's because if you enter 32 characters theres no room for the null terminator and your level name will collide with the tileset filename (I think) that follows afterwards. I had a case like this in the past.