Post: Do Menu's Have Limit's?
06-05-2016, 05:43 AM #1
ODLeslie
Do a barrel roll!
(adsbygoogle = window.adsbygoogle || []).push({});
Looking for a staight up answer, Yes or No. And if Yes, Is there a solution?

Before you read this, As i think i've mentioned before somewhere, I'm more into the game-mode part of GSC not necessarily menu's but i gave it ago and don't know whether this is what i think it is maybe i just messed the coding up but still have a read, no need to hate it's a question. :spongegar:

Explanation:
Do mod menu's have a limit of how many option's can be added? I've been working on a zombie's menu that i have not even had the thought of releasing due to the fact it was originally started so me and a mate could just muck around, but when i was adding a weapon's list to the players menu, If i was to just do the normal weapon list ( No Upgraded list nor Equipment list. ) Some options wen't blank and were like removed from the perk menu in players, when i added add 3 ( Normal, Upgraded, Equipment ) to the players menu, if i was to select "Players Menu" The game would stop except me as if it was to freeze, but after about 10-15 seconds it would back out and say something like "The maximum child script - blah blah blah..." That's an example i don't remember what it all said but as anthony mentioned that his menu reached it's limits or something along those lines, so is there a limit to how many options you can add and is there a solution if so? Never have ran into this issue so I thought i'd ask.

And yes the menu itself had a fair bit of options seeing that i had worked on it for a few weeks Smile
I can try to re-add the options to see what exactly it said if needed.
(adsbygoogle = window.adsbygoogle || []).push({});
06-06-2016, 12:51 AM #2
itsSorrow
In my man cave
Yes there are limits but only in GSC Studio. JWM GSC Studio has limits but its most likely that you will never get to them and stuff like that. Hope I helped.

The following user thanked itsSorrow for this useful post:

ODLeslie
06-06-2016, 01:32 AM #3
ODLeslie
Do a barrel roll!
Originally posted by GentleSlugger View Post
Yes there are limits but only in GSC Studio. JWM GSC Studio has limits but its most likely that you will never get to them and stuff like that. Hope I helped.


Oh I see, Cheers mate.

Thread can be closed admin.

The following user thanked ODLeslie for this useful post:

itsSorrow
06-06-2016, 04:28 AM #4
anthonything
Space Ninja
Originally posted by ODLeslie View Post
Oh I see, Cheers mate.

Thread can be closed admin.


Originally posted by GentleSlugger View Post
Yes there are limits but only in GSC Studio. JWM GSC Studio has limits but its most likely that you will never get to them and stuff like that. Hope I helped.


That is absolutely incorrect. Menus do very much so have limits. There are two possible limitations:
1: Canonical string limits
-When ever you use a string, the string must be saved somewhere in memory to be used. The system keeps a string table at the bottom of the system memory, and when the limits of the table are exceeded, you can no longer play the game. This is the reason loz and i stopped development on zombies, and why menus cannot expand past certain sizes.

2: Script variable limits:
-Whenever a new variable is utilized in a script, memory has to be allocated for the variable to be referenced. When too many allocations are made, there is no longer memory to allocate such variables and the script must be terminated. This is the error you are speaking of.

The following user thanked anthonything for this useful post:

ODLeslie
06-06-2016, 04:30 AM #5
anthonything
Space Ninja
Originally posted by ODLeslie View Post
Looking for a staight up answer, Yes or No. And if Yes, Is there a solution?

Before you read this, As i think i've mentioned before somewhere, I'm more into the game-mode part of GSC not necessarily menu's but i gave it ago and don't know whether this is what i think it is maybe i just messed the coding up but still have a read, no need to hate it's a question. :spongegar:

Explanation:
Do mod menu's have a limit of how many option's can be added? I've been working on a zombie's menu that i have not even had the thought of releasing due to the fact it was originally started so me and a mate could just muck around, but when i was adding a weapon's list to the players menu, If i was to just do the normal weapon list ( No Upgraded list nor Equipment list. ) Some options wen't blank and were like removed from the perk menu in players, when i added add 3 ( Normal, Upgraded, Equipment ) to the players menu, if i was to select "Players Menu" The game would stop except me as if it was to freeze, but after about 10-15 seconds it would back out and say something like "The maximum child script - blah blah blah..." That's an example i don't remember what it all said but as anthony mentioned that his menu reached it's limits or something along those lines, so is there a limit to how many options you can add and is there a solution if so? Never have ran into this issue so I thought i'd ask.

And yes the menu itself had a fair bit of options seeing that i had worked on it for a few weeks Smile
I can try to re-add the options to see what exactly it said if needed.


Closest solution, by the way, is integer references to replace canonical associative arrays.
06-06-2016, 04:49 AM #6
ODLeslie
Do a barrel roll!
Originally posted by anthonything View Post
That is absolutely incorrect. Menus do very much so have limits. There are two possible limitations:
1: Canonical string limits
-When ever you use a string, the string must be saved somewhere in memory to be used. The system keeps a string table at the bottom of the system memory, and when the limits of the table are exceeded, you can no longer play the game. This is the reason loz and i stopped development on zombies, and why menus cannot expand past certain sizes.

2: Script variable limits:
-Whenever a new variable is utilized in a script, memory has to be allocated for the variable to be referenced. When too many allocations are made, there is no longer memory to allocate such variables and the script must be terminated. This is the error you are speaking of.


Yeah cheers for the info man, I'm not even going to bother with menu's anymore :laughing: Aha wish i knew that before i started tho, but oh well, now i don't see a reason to do menu's just because it has it's limits which is a good thing to know. Thanks Anthony Smile
06-06-2016, 06:48 AM #7
anthonything
Space Ninja
Originally posted by ODLeslie View Post
Yeah cheers for the info man, I'm not even going to bother with menu's anymore :laughing: Aha wish i knew that before i started tho, but oh well, now i don't see a reason to do menu's just because it has it's limits which is a good thing to know. Thanks Anthony Smile


No problem. I feel the same way, hence the gamemode spree.

The following user thanked anthonything for this useful post:

ODLeslie
06-06-2016, 01:46 PM #8
Patrick
League Champion
Originally posted by ODLeslie View Post
Yeah cheers for the info man, I'm not even going to bother with menu's anymore :laughing: Aha wish i knew that before i started tho, but oh well, now i don't see a reason to do menu's just because it has it's limits which is a good thing to know. Thanks Anthony Smile


Not really just don't fill your menu up with pointless shit and make sure you optimise your code.

The following 2 users say thank you to Patrick for this useful post:

DF_AUS, ODLeslie
06-06-2016, 03:32 PM #9
oCmKs_4_LiFe
< ^ > < ^ >
Originally posted by 32085
Not really just don't fill your menu up with pointless shit and make sure you optimise your code.


They Call Me Michael Jordan.

You must login or register to view this content.

The following user groaned oCmKs_4_LiFe for this awful post:

DF_AUS

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo