Post: Sacrifice a GSC, Save up to 263 Unique Strings!
02-13-2012, 08:28 PM #1
Amanda
Can’t trickshot me!
(adsbygoogle = window.adsbygoogle || []).push({}); Note: All these things below have been tested and work perfectly on PC. I need someone to test them on PS3 too. If it works, then we will have endless posibilities for Mods and MW2 style Menus Smile

With 263 more strings available we can create over 200 sub-menus, with unlimited options in the same patch, or use a MW2 style menu with over 200 options!

The only limitation to this method is that we need the rank.gsc intact in the patch. This means that if we rename it in order to clear it and write our own scripts in it, then the game will read it from the disc and the trick will not work.

The method to save strings is simple! We just make the game not to read and precache all the challenge names from the .csv file, but we give all challenges a name of our choice, the same name! For example if someone in the game achieves 100 Headshots with the M40A3 the following message would appear: CHALLENGE COMPLETED. M40A3 EXPERT. ACHIEVE 100 HEADSHOTS WITH THIS WEAPON. Now with the modified data this message will appear when the player completes the same challenge or any other challenge: CHALLENGE COMPLETED. HIDDEN CHALLENGE!


Here is the only change you should do in rank.gsc
Find the function BuildChallengeInfo() and modify it as shown in the picture!


You must login or register to view this content.

Here is some proof that actually works on PC! I believe that it works on a PS3 too because they both read the strings from the .csv file and then precache them, but need someone to test for sure!

You must login or register to view this content.

You must login or register to view this content.

Function used for the test:

    StringTest() {
display = createFontString("default",1.5 ,self);
display setPoint("CENTER","CENTER",0,0);
i=0;
for(;Winky Winky
{
display setText("^6We love Patty " + i + " <3");
i++;
wait 1;
}
}


as a sub thread on PlayerSpawned();



Results:
PC originally supports up to 90 extra strings!
By removing the challenges names, it supports 353 custom strings such as Menu Options etc.
So we saved 353 - 90 = 263 more strings!
263 is almost the number of challenges that exist in the game!
PS3 supports near 30 strings, 60 less than PC.
But it shares the same 263 challenges...
So what if we remove their names?
If this works the same way, that means that we will have 233 free strings to use on a PS3 without worrying for an overflow anymore!

The only limitation we will have is the size of the rawfiles Winky Winky
(adsbygoogle = window.adsbygoogle || []).push({});

The following 37 users say thank you to Amanda for this useful post:

aerosoul94, Baby-panama, BossamBemass, Choco, codybenti, Correy, d7w7z, DlBSY993, EpiiiCxDGx, Full-Evil, FutureOps, IELIITEMODZX, iiReFuZee, iPROFamily, iReset Nigga, IVI40A3Fusionz, Jacob-And-Britt, KCxFTW, Kush Friendly, Loxy, oCmKs_4_LiFe, Cmd-X, Rainbow Gravity, Right, Taylor, TheFuziioN-, ThePhantom410., Uk_ViiPeR, Vampytwistッ, x_DaftVader_x, xHeAVeN, xMrCheatVisionx, xMrSuperMoDzZ--
02-14-2012, 07:13 PM #65
Karoolus
I'm the W@W Menu Guy !
damn.. that's too bad..

but then HOW did MW2 menu's last so long without overflowing while they had 200-300 strings ?
02-14-2012, 07:15 PM #66
Originally posted by Karoolus View Post
damn.. that's too bad..

but then HOW did MW2 menu's last so long without overflowing while they had 200-300 strings ?
i dont no i think mw2 is dif and use's the way your saying
02-14-2012, 07:27 PM #67
Karoolus
I'm the W@W Menu Guy !
Originally posted by IELIITEMODZX View Post
i dont no i think mw2 is dif and use's the way your saying


that's soooo weird..
i'm gonna write a function real quick to spam my screen & 2 bots' screens with the SAME string.. see how far i can go without overflow..
then use this fix and try it again Smile

i'll post results !
02-14-2012, 07:29 PM #68
Originally posted by Karoolus View Post
that's soooo weird..
i'm gonna write a function real quick to spam my screen & 2 bots' screens with the SAME string.. see how far i can go without overflow..
then use this fix and try it again Smile

i'll post results !


do it on ps3 or xbox because i tryed the same thing on pc and it dident count :/
02-14-2012, 07:49 PM #69
Karoolus
I'm the W@W Menu Guy !
Originally posted by IELIITEMODZX View Post
do it on ps3 or xbox because i tryed the same thing on pc and it dident count :/


i somehow lost 13 strings..
and i cba to transfer for something like this, my 3.55 WITH bluray is at a friends, so i can't test it..
02-14-2012, 07:50 PM #70
d7w7z
Bounty hunter
Originally posted by Amanda View Post
An RGB editor can spend 255 strings ( numbers 0 - 255 to be displayed as a string )


If you only need to display numbers, you can use setValue() instead of setText(). setValue doesn't overflow but can only display integers.
02-14-2012, 07:55 PM #71
Originally posted by d7w7z View Post
If you only need to display numbers, you can use setValue() instead of setText(). setValue doesn't overflow but can only display integers.


yes everyone know's that its because there is no "" in setValue()
02-14-2012, 08:23 PM #72
Amanda
Can’t trickshot me!
If the exact same string is displayed 2147483647 times to 2147483647 clients it counts ONLY ONCE! NOTE THAT:
setTexT("Hello! ");
setTexT("^7Hello! ");
setTexT("^7Hello!");

Give the same optical result on screen... But there is not the same string!

This is how it works! Let's suppose the game creates a global array before all inits();


The array name could be level.strings[355];

When somewhere during the program execution a new string appears on screen , or is being precached there is a thread somewhere in the game engine that checks this array.

There is a script like that somewhere in the gsc files:

    CheckIfAlreadyExists(newstring) {
found = false;
for(i=0; i<level.strings.size; i++)
{
if (strcmp(level.strings[i], newstring) == 0 ) { found = true; break; }
}
if (!found) { println("New string imported in level.strings[] ") level.strings[level.strings.size] = newstring; }
if(level.strings.size>=354) { perror("CONFIGSTRING INDEX ERROR OVERFLOW" + newstring); exit("EXIT_FAILURE"); } // Yes, this is the error that makes your PROGRAM CRASH!
}


Don't forget that all HUD WELCOME MESSAGES STILL COUNT AS STRINGS, this is why MW2 overflows sometimes, also the same rules apply for Player Menus...
Destroying() a string DOES NOT REMOVE IT FROM level.strings!

Destroying() AND RE-ADDING THE EXACT SAME STRING DOES NOT COUNT IT AGAIN Smile
02-14-2012, 08:35 PM #73
I'm so glad W@W zombies has none of this shit Happy

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo