Register for your free account! | Forgot your password?

You last visited: Today at 23:36

  • Please register to post and access all features, it's quick, easy and FREE!

 

[Release] A GM Advantage (LOTF)

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2008
Posts: 203
Received Thanks: 86
[Release] A GM Advantage (LOTF)

I was just so bored and got the idea to make something like a speed hack.

This is a code that will let GMs have unlimited stamina, unlimited cyclone, unlimited superman, and invisibility all in just one command.

First in Character.cs, go to public void TimerElapsed(object source, ElapsedEventArgs e)

Under it add this code:
Code:
  
            if (GM)
            {
                Stamina = 100;
                Stamina -= 0;
                MyClient.SendPacket(General.MyPackets.Vital(UID, 9, Stamina));
                BlueNameGone();
                Invisible = true;
                CycloneOn = true;
                XpCircle = 0;
                XPActivated = DateTime.Now;
                ExtraXP = 20000;
                SMOn = true;
                MyClient.SendPacket(General.MyPackets.Vital(UID, 26, GetStat()));
            }
Then go to Client.cs, and add this command in the commands section:
Code:
  
                                        if (Splitter[0] == "/gamemaster")
                                        {
                                            if (Splitter[1] == "on")
                                            {
                                                MyChar.GM = true;
                                            }
                                            else if (Splitter[1] == "off")
                                            {
                                                MyChar.GM = false;
                                            }
                                        }
And in-game type /gamemaster on to enable unlimited cyclone, unlimited superman, unlimited stamina, and unlimited invisibility.

#Edit
Go define GM as a bool.



justprownage is offline  
Thanks
3 Users
Old   #2
 
elite*gold: 0
Join Date: Apr 2008
Posts: 7
Received Thanks: 2
can you post a video on how to do it?


killer999man is offline  
Old   #3
 
elite*gold: 0
Join Date: Oct 2008
Posts: 131
Received Thanks: 13
awesome man but i can't add this where to find the account section ?? let me ry and if i didn't work you must upload ur cilent.cs and character.cs please
mohamedstarTO is offline  
Old   #4
 
elite*gold: 0
Join Date: May 2008
Posts: 203
Received Thanks: 86
@The 2 posts above,
No.


justprownage is offline  
Old   #5
 
elite*gold: 0
Join Date: Jul 2006
Posts: 46
Received Thanks: 3
Dude must i add GM as a bool because it say's GM doesnt exist in current context :P
And if i must add it as a bool must i write some more code that uses the GM or is it just enough to add GM as a bool?
taushif is offline  
Old   #6
 
elite*gold: 0
Join Date: Apr 2009
Posts: 71
Received Thanks: 5
nice job prownage =]

+K but probably wont use
r.0ck is offline  
Old   #7
 
elite*gold: 0
Join Date: Feb 2009
Posts: 59
Received Thanks: 7
Add GM as a bool. And it worked for me. I can turn it on, but if I want to turn off I have to relog... So I don't really know. But 0 errors
doku66655 is offline  
Thanks
1 User
Old   #8
 
elite*gold: 0
Join Date: Apr 2008
Posts: 7
Received Thanks: 2
can you plz post a video on how to do it?
killer999man is offline  
Old   #9
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 153
Quote:
Originally Posted by killer999man View Post
can you plz post a video on how to do it?
Can you pls post a video of you killing yourself?
tao4229 is offline  
Old   #10
 
elite*gold: 0
Join Date: Jun 2005
Posts: 686
Received Thanks: 337
Quote:
Originally Posted by tao4229 View Post
Can you pls post a video of you killing yourself?
Watch out, someone streamed it on Justin.tv.


nTL3fTy is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
[Release]Fix LOTF Crash (Somehow)
Here is a release for LOTF (5017) that can fix your crashes some how. What is it?? Well is just an auto restart every XX:00 First find (in...
30 Replies - CO2 PServer Guides & Releases
[LOTF RELEASE] Ip Ban!!
Ip Ban! Credits to Ultimatum First...Search this ( It is in General.cs ) public static System.IO.StreamWriter sw = new...
22 Replies - CO2 PServer Guides & Releases
[Release] Those still using LOTF
Help yourself be a better coder and listen to what the community is trying to say. One day you will understand why some are trying to encourage...
23 Replies - CO2 PServer Guides & Releases
[Release] LOTF Source
Here is the Official LOTF Source, readily available to download. If you thinks it fake, don't download it. Miss out on the source. Scan it if...
55 Replies - CO2 PServer Guides & Releases



All times are GMT +2. The time now is 23:36.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.