Any chance we could get some specs on the language? What's the range of an int? float? Maximum string length? Maximum script length? Anything else you can think of?
Max length of code,
I THINK its 5000 characters, but the number seems to keep getting larger
Max Run Time
I think you have 1000'ish instructions,
I only include instructions like setting a variable, going through a loop, and function calls. A few other things as well.
OK, thanks for the help! Unfortunately I'm not sure if the maximums will be enough for all the cool things you can do with scripts these days. Johnny suggested a text adventure game but without functions and with these limitations, that'd have to be a pretty short game. For the idea I'm working on right now, I've used 5,691 characters just to set up the framework. One of the big problems is that ALL the server-side stuff for your web site has to fit in the one HTTP script. :/
Johnny told me the limit was 15k characters, and my 12.5k text adventure part one game fits in. Haven't ported it to HackScript, because I'm waiting for custom functions which are coming soon.
But for now, program it in javascript and port later. They're fairly similar, so porting just needs some tweaking here and there.
—
Come visit BlehCo at 2.718.2.818 for free challenge answers!
I'm up to 10.5 kb so far. I'm going to have to wait for those custom functions too before I finish what I'm up to. What's the point of script size limitations? Why not just jack it up to 100kb or something? If server HD space is a problem, don't let people save more than 500kb on their account or something. Would it be possible to allow HTTP scripts to have a longer max run-time and max size?
It's less an issue with HD space server-side and more an issue with write times... It already takes a long time to write some of the larger accounts to the DB during the save process... Also as we noticed with the store about a week ago, if a save file gets insanely big it can cause real bandwidth issues... We have upped the characters to something like 15k for scripts, and 13k for text files , and I think I threw the maximum instructions up to something pretty high like 5012 from 512 or something like that.... With functions, it should be possible to do quite a bit within reason.... We planned for a few thousand lines of code.
The script is literally
The script is literally sitting ontop of java. All the primtives are just java Object primitives with a wrapper around them.
For primitives
http://java.sun.com/docs/books/tutorial/java/nutsandbolts/datatypes.html
Max length of code,
I THINK its 5000 characters, but the number seems to keep getting larger
Max Run Time
I think you have 1000'ish instructions,
I only include instructions like setting a variable, going through a loop, and function calls. A few other things as well.
Max length and run time
OK, thanks for the help! Unfortunately I'm not sure if the maximums will be enough for all the cool things you can do with scripts these days. Johnny suggested a text adventure game but without functions and with these limitations, that'd have to be a pretty short game. For the idea I'm working on right now, I've used 5,691 characters just to set up the framework. One of the big problems is that ALL the server-side stuff for your web site has to fit in the one HTTP script. :/
From Wartt Hog
Johnny told me the limit was
Johnny told me the limit was 15k characters, and my 12.5k text adventure part one game fits in. Haven't ported it to HackScript, because I'm waiting for custom functions which are coming soon.
But for now, program it in javascript and port later. They're fairly similar, so porting just needs some tweaking here and there.
Come visit BlehCo at 2.718.2.818 for free challenge answers!
Ug
I'm up to 10.5 kb so far. I'm going to have to wait for those custom functions too before I finish what I'm up to. What's the point of script size limitations? Why not just jack it up to 100kb or something? If server HD space is a problem, don't let people save more than 500kb on their account or something. Would it be possible to allow HTTP scripts to have a longer max run-time and max size?
From Wartt Hog
It's less an issue with HD
It's less an issue with HD space server-side and more an issue with write times... It already takes a long time to write some of the larger accounts to the DB during the save process... Also as we noticed with the store about a week ago, if a save file gets insanely big it can cause real bandwidth issues... We have upped the characters to something like 15k for scripts, and 13k for text files , and I think I threw the maximum instructions up to something pretty high like 5012 from 512 or something like that.... With functions, it should be possible to do quite a bit within reason.... We planned for a few thousand lines of code.
Limitations
Cool. I'll do what I can and we'll see how it goes. Thanks.
From Wartt Hog
Script Size limitations
the limitation is actually 30k characters for boths scripts and text files.
30k
Oh good. That should be enough. Thanks guys!
From Wartt Hog
Woot! That means I can
Woot! That means I can actually make parts two and three without overflowing! (Maybe)
Come visit BlehCo at 2.718.2.818 for free challenge answers!