Page 1 of 1

Limit on code in action?

PostPosted: Wed Nov 07, 2007 7:28 am
by summer_goth
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.

Re: Limit on code in action?

PostPosted: Wed Nov 07, 2007 12:01 pm
by makslane
I think is a bug.

Re: Limit on code in action?

PostPosted: Wed Nov 07, 2007 12:16 pm
by summer_goth
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.

Re: Limit on code in action?

PostPosted: Wed Nov 07, 2007 12:36 pm
by makslane
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.

Re: Limit on code in action?

PostPosted: Wed Nov 07, 2007 2:45 pm
by summer_goth
Thank you very much Makslane.

Re: Limit on code in action?

PostPosted: Wed Nov 07, 2007 4:30 pm
by Kalladdolf
Wow!
more than 1500 lines a code???
I couldn't think of so much!
complicated game, huh? :wink: