Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Open Forums » JCS & Scripting

Weird JCS Bug

SPAZ18

JCF Member

Joined: May 2006

Posts: 378

SPAZ18 is doing well so far

Feb 8, 2007, 05:07 AM
SPAZ18 is offline
Reply With Quote
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. I click OK and get a message "Please enter less than 32 characters." Why does it do that?
__________________
TEMPLE RAID - ASSAULT

30% COMPLETE

ACTION STATION v2 - OUT NOW!

SP4ZZ3R on servers

My Uploads
blurredd

JCF Member

Joined: Nov 2001

Posts: 1,896

blurredd is an asset to this forumblurredd is an asset to this forum

Feb 8, 2007, 06:23 AM
blurredd is offline
Reply With Quote
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.
__________________
D3
Extra. No CTO v0.75
Animating Tiles Properties.
ATB Contest. Scripting Language.
Gameplay Theories.
1UP. Pitfall. Desolation.
SC2.

SPAZ18

JCF Member

Joined: May 2006

Posts: 378

SPAZ18 is doing well so far

Feb 8, 2007, 06:48 AM
SPAZ18 is offline
Reply With Quote
Thanks.
I have shortened the level name now.
__________________
TEMPLE RAID - ASSAULT

30% COMPLETE

ACTION STATION v2 - OUT NOW!

SP4ZZ3R on servers

My Uploads
Cpp

JCF Member

Joined: Mar 2001

Posts: 1,557

Cpp is doing well so far

Feb 10, 2007, 01:42 AM
Cpp is offline
Reply With Quote
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.
__________________
<a href="http://nmap.org/"><img border="0" alt="Nmap Security Scanner" src="http://images.insecure.org/nmap/images/prop/nmap_bnr_matrix_pfos.gif"/></a>
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT -8. The time now is 05:00 PM.