Post: Exceeded maximum script variables!
07-31-2012, 07:17 PM #1
Jacob-And-Britt
I’m too L33T
(adsbygoogle = window.adsbygoogle || []).push({}); Hey guys i have been working on my menu for about 4 months now and would love to release it but now im getting this error and i dont know how to fix it i thought about switching every for in the patch to a self thread scriptname() so it will still loop but without using a variable. This happens to me after using 2 scripts in my patch. PLEASE HELP!
(adsbygoogle = window.adsbygoogle || []).push({});
08-01-2012, 08:58 PM #2
LightModz
League Champion
Originally posted by Britt View Post
Hey guys i have been working on my menu for about 4 months now and would love to release it but now im getting this error and i dont know how to fix it i thought about switching every for in the patch to a self thread scriptname() so it will still loop but without using a variable. This happens to me after using 2 scripts in my patch. PLEASE HELP!


i get this sometimes for mw2 aswel, i only get this when ive put to many threads,patches,level threads etc inside a patch... the only way around it is to remove some things or just put // to disable some functions to see if it will load.
also maybe u can delete some default .gscs and they might help, i dont know if it will still load for cod4 but if i delete some default .gsc files for mw2 it still loads. hope this helps.
08-01-2012, 11:21 PM #3
Harry
Former Staff
Originally posted by LightModz View Post
i get this sometimes for mw2 aswel, i only get this when ive put to many threads,patches,level threads etc inside a patch... the only way around it is to remove some things or just put // to disable some functions to see if it will load.
also maybe u can delete some default .gscs and they might help, i dont know if it will still load for cod4 but if i delete some default .gsc files for mw2 it still loads. hope this helps.


you can delete them and it will still load because in a custom.ff you don't require them all.... You must login or register to view this content.

that will still load even tho its missing alot of default gsc's :p
08-21-2012, 01:08 AM #4
Originally posted by Britt View Post
Hey guys i have been working on my menu for about 4 months now and would love to release it but now im getting this error and i dont know how to fix it i thought about switching every for in the patch to a self thread scriptname() so it will still loop but without using a variable. This happens to me after using 2 scripts in my patch. PLEASE HELP!

I keep getting this error on mine if you find a fix let me know. Im using a custom patch to.
08-21-2012, 02:35 AM #5
IVI40A3Fusionz
Former Gaming Squad Member
From personal experience i got the error 'Exceeded Maximum Number of Script Variables' when i had a variable getting called each time in too many infinite loops.
08-21-2012, 02:54 AM #6
Taylor
Former Black Knight.
Originally posted by IVI40A3Fusionz View Post
From personal experience i got the error 'Exceeded Maximum Number of Script Variables' when i had a variable getting called each time in too many infinite loops.


i use a variable each time u spawn :lol: I dont get it

    
c=RandomInt(9);
self iPrintln("^"+c+"Welcome To The Yardsale Patch v7");
08-21-2012, 11:56 AM #7
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by xYARDSALEx View Post
i use a variable each time u spawn :lol: I dont get it

    
c=RandomInt(9);
self iPrintln("^"+c+"Welcome To The Yardsale Patch v7");


Yes each time you spawn not in an infinite loop without a waittill, long wait etc.
08-21-2012, 04:58 PM #8
Taylor
Former Black Knight.
Originally posted by IVI40A3Fusionz View Post
Yes each time you spawn not in an infinite loop without a waittill, long wait etc.


its still in a for loop Gaspkay: so it sorta is infinite
08-21-2012, 05:34 PM #9
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by xYARDSALEx View Post
its still in a for loop Gaspkay: so it sorta is infinite


I don't think you under stand what i mean stare.

    
self.Something = 0;
for(;Winky Winky
{
self.Something ++;
wait .00001;
}


^ Having too many of them.
08-21-2012, 06:58 PM #10
Taylor
Former Black Knight.
Originally posted by IVI40A3Fusionz View Post
I don't think you under stand what i mean stare.

    
self.Something = 0;
for(;Winky Winky
{
self.Something ++;
wait .00001;
}


^ Having too many of them.


No im only joking :lol: also, wait .00001; will just return as .01 cuz .01 is the lowest value

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo