Post: Injecting My Menu Instantly Freezes
01-25-2016, 10:46 AM #1
DoraTheKiller97
Treasure hunter
(adsbygoogle = window.adsbygoogle || []).push({}); Hey you beautiful hax0rs.

On PS3, i inject my menu (a little over 400 kb, 5 gsc's) and it freezes as soon as the fifth one injects. I use GSC Studio and whether or not i use TMAPI or CCAPI it still freezes as soon as the last gsc injects.

I figured it was the size, and GSC Studio has a problem injecting that much into PS3 i believe. So i went and said to myself "Hmm well maybe if i used JWM's GSC editor.." And when i use that and inject folder by TMAPI or CCAPI a white box pops up and says "error" No code, no reason just "error"

I know the menu works, because when i use GSC Studio with my Xbox it injects and works fine. I really hope someone has a solution to this, this is really gonna bug me if there is none. :(

Thank you NGU! <3
(adsbygoogle = window.adsbygoogle || []).push({});

The following user groaned DoraTheKiller97 for this awful post:

oCmKs_4_LiFe
01-25-2016, 12:19 PM #2
anthonything
Space Ninja
Definitely not the size. The maximum size constraints are undiscovered, and i have injected compiled files twice that size. But if it freezes when the fifth injects do 2 seperate injections?. Also you could just move that code into 1 gsc file tbh. RIP readability but in reality that isnt as important as functionality.
01-25-2016, 02:03 PM #3
DoraTheKiller97
Treasure hunter
Originally posted by anthonything View Post
Definitely not the size. The maximum size constraints are undiscovered, and i have injected compiled files twice that size. But if it freezes when the fifth injects do 2 seperate injections?. Also you could just move that code into 1 gsc file tbh. RIP readability but in reality that isnt as important as functionality.

Eh. Even so, Dynamic worked with 5 seperate gsc's and if i try combing 2 gsc's, i get a "Unreadable string type" error. Sad Awesome Ill edit back when i do the separate injections. I havent tried that. Thank you!
01-25-2016, 03:12 PM #4
had similar issue like 30 mins ago xD, where my menu was freezing on ps3 but worked on pc, and i thought to myself that my menu was 500kbs and is seperated around 10+ .gsc files, so i tried using jwm's injector but wasnt the case. my issue was
that i was calling alot of shader/text elem properties for example: .glowcolor/.glowalpha/.alpha/.color/scaleOverTime/moveOverTime etc. it didnt matter
what text elem i was calling them for or where i would call them, i would freeze no matter what. there must be a limit to how many you can use. so i cleaned my menu up abit and changed the format:

from say:

    openmenu()
{
self.menubackground fadeovertime(0.2);
self.menubackground.alpha = 1;
}

closemenu()
{
self.menubackground fadeovertime(0.1);
self.menubackground.alpha = 0;
}


to:

    openmenu()
{
self adjustmenu(0.2, 1);
}

closemenu()
{
self adjustmenu(0.1, 0);
}

adjustmenu(fadetime, alpha)
{
self.menubackground fadeovertime(fadetime);
self.menubackground.alpha = alpha;
}


saves calling shader/text elem properties over and over.

instead of calling

    self.menubackground fadeovertime
self.menubackground.alpha


twice im only calling it once

i knew this was my issue because i narrowed it down to 1 line where
if i removed 1 shader/text elem propertie from being in the gsc it wouldnt freeze.

so i just made a thread in a random location in the gsc not calling it or nothing

    testfreeze()
{
self.testlimit.color = (0, 1, 1);
}


and it freezed
Idk your issue quite well could be something else and u might already know this
thought id share anyway Smile

The following user thanked OfficialCoolJay for this useful post:

DoraTheKiller97
01-25-2016, 09:06 PM #5
DoraTheKiller97
Treasure hunter
Originally posted by OfficialCoolJay View Post
had similar issue like 30 mins ago xD, where my menu was freezing on ps3 but worked on pc, and i thought to myself that my menu was 500kbs and is seperated around 10+ .gsc files, so i tried using jwm's injector but wasnt the case. my issue was
that i was calling alot of shader/text elem properties for example: .glowcolor/.glowalpha/.alpha/.color/scaleOverTime/moveOverTime etc. it didnt matter
what text elem i was calling them for or where i would call them, i would freeze no matter what. there must be a limit to how many you can use. so i cleaned my menu up abit and changed the format:

from say:

    openmenu()
{
self.menubackground fadeovertime(0.2);
self.menubackground.alpha = 1;
}

closemenu()
{
self.menubackground fadeovertime(0.1);
self.menubackground.alpha = 0;
}


to:

    openmenu()
{
self adjustmenu(0.2, 1);
}

closemenu()
{
self adjustmenu(0.1, 0);
}

adjustmenu(fadetime, alpha)
{
self.menubackground fadeovertime(fadetime);
self.menubackground.alpha = alpha;
}


saves calling shader/text elem properties over and over.

instead of calling

    self.menubackground fadeovertime
self.menubackground.alpha


twice im only calling it once

i knew this was my issue because i narrowed it down to 1 line where
if i removed 1 shader/text elem propertie from being in the gsc it wouldnt freeze.

so i just made a thread in a random location in the gsc not calling it or nothing

    testfreeze()
{
self.testlimit.color = (0, 1, 1);
}


and it freezed
Idk your issue quite well could be something else and u might already know this
thought id share anyway Smile

That is really strange. I could definitely use this. Look at what mine looks like. xD

    openMenu()
{
self freezeControls(false);
self enableInvulnerability();
self setClientUiVisibilityFlag("hud_visible", 0);
self thread feed();
self SetBlur( 1, 0 );

self thread ConfusionText();
self StoreText(self.CurMenu, self.CurTitle);


self.menu.background.alpha = 0.83;
self.menu.background.archived = false;
self.menu.background2.alpha = 0.83;
self.menu.background2.archived = false;

self.menu.bar.alpha = 1;
self.menu.bar.archived = false;
self.menu.borderLeft.alpha = 1;
self.menu.borderLeft.archived = false;
self.menu.borderRight.alpha = 1;
self.menu.borderRight.archived = false;
self.menu.background.archived = false;

self updateScrollbar();
self.menu.open = true;
}


And

    closeMenu()
{
self notify("menu_exit");
self.Firstopen = false;
self freezecontrols(false);
self setClientUiVisibilityFlag("hud_visible", 1);
self playLocalsound("cac_grid_equip_item",self);

self SetBlur( 0, 0 );

if(self.unicorn == true)
self disableInvulnerability();

self.Private["options"].alpha = 0;
self.menu.ConfusionText.alpha = 0;
self.menu.borderLeft.alpha = 0;
self.menu.borderRight.alpha = 0;
self.menu.background.alpha = 0;
self.menu.background2.alpha = 0;

self.menu.root.alpha = 0;
self.menu.bar.alpha = 0;
self.menu.open = false;
}


I will definitely give it a try. Thank you! Smile
01-25-2016, 10:40 PM #6
jwm614
NextGenUpdate Elite
Originally posted by dorathekiller97 View Post
Hey you beautiful hax0rs.

On PS3, i inject my menu (a little over 400 kb, 5 gsc's) and it freezes as soon as the fifth one injects. I use GSC Studio and whether or not i use TMAPI or CCAPI it still freezes as soon as the last gsc injects.

I figured it was the size, and GSC Studio has a problem injecting that much into PS3 i believe. So i went and said to myself "Hmm well maybe if i used JWM's GSC editor.." And when i use that and inject folder by TMAPI or CCAPI a white box pops up and says "error" No code, no reason just "error"

I know the menu works, because when i use GSC Studio with my Xbox it injects and works fine. I really hope someone has a solution to this, this is really gonna bug me if there is none. :(

Thank you NGU! <3


pm it to me/skype
01-25-2016, 10:45 PM #7
DoraTheKiller97
Treasure hunter
Originally posted by jwm614 View Post
pm it to me/skype

If i cant fix it i will, whats your skype bro? Smile
01-25-2016, 10:59 PM #8
jwm614
NextGenUpdate Elite
Originally posted by dorathekiller97 View Post
If i cant fix it i will, whats your skype bro? Smile


jwm614

The following user thanked jwm614 for this useful post:

DoraTheKiller97
01-25-2016, 11:43 PM #9
DoraTheKiller97
Treasure hunter
Originally posted by jwm614 View Post
jwm614

Sent. Thank you. Smile
01-26-2016, 02:38 AM #10
jwm614
NextGenUpdate Elite
Originally posted by dorathekiller97 View Post
Hey you beautiful hax0rs.

On PS3, i inject my menu (a little over 400 kb, 5 gsc's) and it freezes as soon as the fifth one injects. I use GSC Studio and whether or not i use TMAPI or CCAPI it still freezes as soon as the last gsc injects.

I figured it was the size, and GSC Studio has a problem injecting that much into PS3 i believe. So i went and said to myself "Hmm well maybe if i used JWM's GSC editor.." And when i use that and inject folder by TMAPI or CCAPI a white box pops up and says "error" No code, no reason just "error"

I know the menu works, because when i use GSC Studio with my Xbox it injects and works fine. I really hope someone has a solution to this, this is really gonna bug me if there is none. :(

Thank you NGU! <3


when my says error like that your file inst named correct i dont know why i didnt add the string to the messagebox

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo