JazzJackrabbit Community Forums

JazzJackrabbit Community Forums (http://www.jazz2online.com/jcf/index.php)
-   JCS & Scripting (http://www.jazz2online.com/jcf/forumdisplay.php?f=5)
-   -   Weird JCS Bug (http://www.jazz2online.com/jcf/showthread.php?t=16499)

SPAZ18 Feb 8, 2007 06:07 AM

Weird JCS Bug
 
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 07: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 07:48 AM

Thanks. :D
I have shortened the level name now.

Cpp Feb 10, 2007 02: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.


All times are GMT -8. The time now is 01:38 AM.

Powered by vBulletin® Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
JCF © 2001-Infinity Jazz2Online