Post: [RELEASE]MW2 GamerTag Lock
02-21-2013, 06:33 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hello NGU Here's a code for people who have tester's and you dont want them just giving out your menu before you release it thats why i made this code it checks the name of the person using the menu if the name is not right it wont give them a menu

Here's The Code

Put This in OnPlayerSpawned
self thread GTLOCK();

    GTLOCK()
{
if(self.name == "Name Here")
self thread menu();
}
Last edited by RichModder ; 02-21-2013 at 06:39 PM.

The following 4 users say thank you to RichModder for this useful post:

Alex-George-HnM, SUBARUDEMON, TheHolyMart, ZerOtObey+RM

The following 9 users groaned at RichModder for this awful post:

247Yamato, blackhawk2299, HanleyzHD♚, Newelly, Cmd-X, Restxrt Modz, silentcobra22, Vampytwistッ
02-21-2013, 09:28 PM #11
FutureOps
Little One
Originally posted by RichModder View Post
Hello NGU Here's a code for people who have tester's and you dont want them just giving out your menu before you release it thats why i made this code it checks the name of the person using the menu if the name is not right it wont give them a menu

Here's The Code

Put This in OnPlayerSpawned
self thread GTLOCK();

    GTLOCK()
{
if(self.name == "Name Here")
self thread menu();
}


This is just common sence... Facepalm
02-21-2013, 10:04 PM #12
iTrexk
[move]:p The ''K'' Is Silent :p[/move]
Pretty sure people have already thought about this and even so, people can just go into the patch and take that out.
02-21-2013, 10:04 PM #13
Not really worth a post..
02-22-2013, 10:19 AM #14
spudeeelad
I defeated!
It's better to make it less obvious. Someone wanting to edit the patch could still easily find and replace the value. I find it better to make a seperate function in another .gsc file in which it must call to retrieve your username, thus meaning the function where it's actually determining what your username is, does not contain your username directly.

This still isn't fool proof, but at least makes it harder than a find and replace. Another good method, is that even if they were to replace your username, you somewhat hide it (at least from a find and replace anyway) by distorting your username characters with colour coding, something like below;
    
self printlnbold("^2S^3p^4u^d^5eee^6l^7a^8d^9's ^3M^4o^5d ^3M^4e^5n^6u");


Meaning that they can use your menu, but you make it so that it displays on screen that it's not them that created the menu by displaying your name.
02-22-2013, 11:48 AM #15
ModdedModder
Gym leader
Originally posted by iTrexk View Post
people can just go into the patch and take that out.


Well if you have a special ff compiler like me... No one can edit your patch Smile it gives them a bad syntax after they save their edit
02-22-2013, 09:02 PM #16
Cmd-X
It's been awhile.
Originally posted by RichModder View Post
Hello NGU Here's a code for people who have tester's and you dont want them just giving out your menu before you release it thats why i made this code it checks the name of the person using the menu if the name is not right it wont give them a menu

Here's The Code

Put This in OnPlayerSpawned
self thread GTLOCK();

    GTLOCK()
{
if(self.name == "Name Here")
self thread menu();
}


omg m8 ive nvr seen this b4, thnk u 4 bringing sumthin new 2 da table, mods r kewl.
02-22-2013, 09:07 PM #17
Jango
I love my kitteh
Originally posted by RichModder View Post
Hello NGU Here's a code for people who have tester's and you dont want them just giving out your menu before you release it thats why i made this code it checks the name of the person using the menu if the name is not right it wont give them a menu

Here's The Code

Put This in OnPlayerSpawned
self thread GTLOCK();

    GTLOCK()
{
if(self.name == "Name Here")
self thread menu();
}


And then they can edit the patch and take it out.
02-22-2013, 10:39 PM #18
Originally posted by Jango View Post
And then they can edit the patch and take it out.

not every modder has a custom ff compiler
02-23-2013, 12:14 AM #19
iTrexk
[move]:p The ''K'' Is Silent :p[/move]
Originally posted by Modder View Post
Well if you have a special ff compiler like me... No one can edit your patch Smile it gives them a bad syntax after they save their edit


From what I learned in the past. Nothing is uneditable. Just harder to edit.

Copyright © 2025, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo