The Dink Network

What is the limit for single script?

August 23rd 2002, 05:29 AM
fish.gif
What is the limit of the size and the length of a script?

Currently I have a 12KB, 900 lines script, which is going to be even bigger. I am wondering that if I should break it into a few different ones.

I remembered that someone mentioned such information in the boards before, but I can't find it now. So please...
August 23rd 2002, 05:44 AM
old.gif
: What is the limit of the size and the length of a script?

: Currently I have a 12KB, 900 lines script, which is going to be even bigger. I am wondering that if I should break it into a few different ones.

: I remembered that someone mentioned such information in the boards before, but I can't find it now. So please...

I dont know, but man! THATS A HUGE SCRIPT, mmm, still no match for ds3d.

Hey btw, I thought it was 30kb, not sure, but you will never make 30kb!
August 23rd 2002, 06:44 AM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
: : What is the limit of the size and the length of a script?

: : Currently I have a 12KB, 900 lines script, which is going to be even bigger. I am wondering that if I should break it into a few different ones.

: : I remembered that someone mentioned such information in the boards before, but I can't find it now. So please...

: I dont know, but man! THATS A HUGE SCRIPT, mmm, still no match for ds3d.

: Hey btw, I thought it was 30kb, not sure, but you will never make 30kb!

I believe the limit is actually 32 KB, no guarantees.

And 12 KB isn't that large... I've made a 16 KB script for FIAT v1.00 (not a cutscene either). And I know of someone who made a 58 KB script... and then found out about the 32 KB limit later. I've looked at it, and it might be possible to split it into multiple scripts... it would be a rather laborous undertaking.
August 23rd 2002, 06:50 AM
old.gif
: : : What is the limit of the size and the length of a script?

: : : Currently I have a 12KB, 900 lines script, which is going to be even bigger. I am wondering that if I should break it into a few different ones.

: : : I remembered that someone mentioned such information in the boards before, but I can't find it now. So please...

: : I dont know, but man! THATS A HUGE SCRIPT, mmm, still no match for ds3d.

: : Hey btw, I thought it was 30kb, not sure, but you will never make 30kb!

: I believe the limit is actually 32 KB, no guarantees.

: And 12 KB isn't that large... I've made a 16 KB script for FIAT v1.00 (not a cutscene either).  And I know of someone who made a 58 KB script... and then found out about the 32 KB limit later.  I've looked at it, and it might be possible to split it into multiple scripts... it would be a rather laborous undertaking.

redink1, lol, spawn("part2")

spawn("part3");

and go on, btw, use kill_this_task ;p

August 23rd 2002, 07:02 AM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
: : : : What is the limit of the size and the length of a script?

: : : : Currently I have a 12KB, 900 lines script, which is going to be even bigger. I am wondering that if I should break it into a few different ones.

: : : : I remembered that someone mentioned such information in the boards before, but I can't find it now. So please...

: : : I dont know, but man! THATS A HUGE SCRIPT, mmm, still no match for ds3d.

: : : Hey btw, I thought it was 30kb, not sure, but you will never make 30kb!

: : I believe the limit is actually 32 KB, no guarantees.

: : And 12 KB isn't that large... I've made a 16 KB script for FIAT v1.00 (not a cutscene either).  And I know of someone who made a 58 KB script... and then found out about the 32 KB limit later.  I've looked at it, and it might be possible to split it into multiple scripts... it would be a rather laborous undertaking.

: redink1, lol, spawn("part2")

: spawn("part3");

: and go on, btw, use kill_this_task ;p

If the script was just a simple cutscene, you would of course be quite correct. And you would be correct in any other linear script.

Except, you are quite wrong in this case, as the script is very non-linear, and uses a lot of local variables and loops.

And the author is trying to limit the use of globals as much as possible (always a good idea, and the D-Mod in question is a large Epic so the limiting of globals is even more critical). So how exactly do you communicate between the spawned scripts, which is necessary?

You can't, without quite a lot of work.
August 23rd 2002, 09:45 AM
wizard.gif
Chrispy
Peasant He/Him Canada
I'm a man, but I can change, if I have to.I guess. 
: : : : : What is the limit of the size and the length of a script?

: : : : : Currently I have a 12KB, 900 lines script, which is going to be even bigger. I am wondering that if I should break it into a few different ones.

: : : : : I remembered that someone mentioned such information in the boards before, but I can't find it now. So please...

: : : : I dont know, but man! THATS A HUGE SCRIPT, mmm, still no match for ds3d.

: : : : Hey btw, I thought it was 30kb, not sure, but you will never make 30kb!

: : : I believe the limit is actually 32 KB, no guarantees.

: : : And 12 KB isn't that large... I've made a 16 KB script for FIAT v1.00 (not a cutscene either).  And I know of someone who made a 58 KB script... and then found out about the 32 KB limit later.  I've looked at it, and it might be possible to split it into multiple scripts... it would be a rather laborous undertaking.

: : redink1, lol, spawn("part2")

: : spawn("part3");

: : and go on, btw, use kill_this_task ;p

: If the script was just a simple cutscene, you would of course be quite correct.  And you would be correct in any other linear script.

: Except, you are quite wrong in this case, as the script is very non-linear, and uses a lot of local variables and loops.

: And the author is trying to limit the use of globals as much as possible (always a good idea, and the D-Mod in question is a large Epic so the limiting of globals is even more critical).  So how exactly do you communicate between the spawned scripts, which is necessary?

: You can't, without quite a lot of work.

I thought that the limit was 64kb. I think I read that in the D-mod authoring faq. Ya know, that one by SETH?

August 23rd 2002, 12:56 PM
wizardb.gif
Kyle
Peasant He/Him Belgium
 
: : : : : : What is the limit of the size and the length of a script?

: : : : : : Currently I have a 12KB, 900 lines script, which is going to be even bigger. I am wondering that if I should break it into a few different ones.

: : : : : : I remembered that someone mentioned such information in the boards before, but I can't find it now. So please...

: : : : : I dont know, but man! THATS A HUGE SCRIPT, mmm, still no match for ds3d.

: : : : : Hey btw, I thought it was 30kb, not sure, but you will never make 30kb!

: : : : I believe the limit is actually 32 KB, no guarantees.

: : : : And 12 KB isn't that large... I've made a 16 KB script for FIAT v1.00 (not a cutscene either).  And I know of someone who made a 58 KB script... and then found out about the 32 KB limit later.  I've looked at it, and it might be possible to split it into multiple scripts... it would be a rather laborous undertaking.

: : : redink1, lol, spawn("part2")

: : : spawn("part3");

: : : and go on, btw, use kill_this_task ;p

: : If the script was just a simple cutscene, you would of course be quite correct.  And you would be correct in any other linear script.

: : Except, you are quite wrong in this case, as the script is very non-linear, and uses a lot of local variables and loops.

: : And the author is trying to limit the use of globals as much as possible (always a good idea, and the D-Mod in question is a large Epic so the limiting of globals is even more critical).  So how exactly do you communicate between the spawned scripts, which is necessary?

: : You can't, without quite a lot of work.

: I thought that the limit was 64kb. I think I read that in the D-mod authoring faq. Ya know, that one by SETH?

No, it's 32 kb, TRUST ME, I know...