Limit on code in action?

Non-platform specific questions.

Limit on code in action?

Postby summer_goth » Wed Nov 07, 2007 7:28 am

Hi there,

I was just wondering if there's a limit to the amount of lines of code in one action within the script editor. With one action when the script gets to hmm about 1500 (or so, may be less or more) lines of code then the game still runs fine, but as soon as I save I can't open the .ged file again. Is that normal or has there maybe gone something wrong with my file?

I took out all the comments to reduce the amount of characters and then it works fine. So what is the character/line limit within one action that uses the source editor?

Thanks for your time.
User avatar
summer_goth
 
Posts: 153
Joined: Fri Jun 22, 2007 8:07 am
Location: South Africa
Score: 5 Give a positive score

Re: Limit on code in action?

Postby makslane » Wed Nov 07, 2007 12:01 pm

I think is a bug.
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: Limit on code in action?

Postby summer_goth » Wed Nov 07, 2007 12:16 pm

Thanks Makslane,

Does that mean it's a one time occurrence or should I keep all action scripts below a certain amount of lines?

Thank you for your time.
User avatar
summer_goth
 
Posts: 153
Joined: Fri Jun 22, 2007 8:07 am
Location: South Africa
Score: 5 Give a positive score

Re: Limit on code in action?

Postby makslane » Wed Nov 07, 2007 12:36 pm

The problems is a limitation in the current version thats save scripts with up to 65535 chars.
The 1.3.9 version will solve this problem.
Game Editor is an open source game creator software that's wants to pay it's developers to keep evolving.
If you like Game Editor, make a review!
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Re: Limit on code in action?

Postby summer_goth » Wed Nov 07, 2007 2:45 pm

Thank you very much Makslane.
User avatar
summer_goth
 
Posts: 153
Joined: Fri Jun 22, 2007 8:07 am
Location: South Africa
Score: 5 Give a positive score

Re: Limit on code in action?

Postby Kalladdolf » Wed Nov 07, 2007 4:30 pm

Wow!
more than 1500 lines a code???
I couldn't think of so much!
complicated game, huh? :wink:
User avatar
Kalladdolf
 
Posts: 2427
Joined: Sat Sep 08, 2007 8:22 am
Location: Germany
Score: 120 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron