Register for your free account! | Forgot your password?

You last visited: Today at 20:46

  • 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 04/19/2009, 07:19   #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 04/19/2009, 16:33   #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 04/19/2009, 17:26   #4
 
elite*gold: 0
Join Date: May 2008
Posts: 203
Received Thanks: 86
@The 2 posts above,
No.


justprownage is offline  
Old 04/19/2009, 18:09   #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 04/19/2009, 18:24   #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 04/19/2009, 18:59   #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 04/19/2009, 20:45   #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 04/19/2009, 21:05   #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 04/19/2009, 21:14   #10
 
elite*gold: 0
Join Date: Jun 2005
Posts: 686
Received Thanks: 338
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



« [RELEASE] Garment guy | [RELEASE] SOURCE »

Similar Threads
[Release]Fix LOTF Crash (Somehow)
04/03/2010 - CO2 PServer Guides & Releases - 30 Replies
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 general.cs): Thetimer = new System.Timers.Timer(); Under paste: //Restart Server
[LOTF RELEASE] Ip Ban!!
05/18/2009 - CO2 PServer Guides & Releases - 22 Replies
Ip Ban! Credits to Ultimatum First...Search this ( It is in General.cs ) public static System.IO.StreamWriter sw = new System.IO.StreamWriter(Application.StartupPath + @"\ServerLog.txt", true);
[Release] Those still using LOTF
04/17/2009 - CO2 PServer Guides & Releases - 23 Replies
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 people still using LOTF to move to a more stable source and only use LOFT as a basis of learning and how...
[Release] LOTF Source
08/17/2008 - CO2 PServer Guides & Releases - 55 Replies
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 you like, enjoy. Below are TWO different versions of the LOTF Source, and the Shadow Co Source....



All times are GMT +2. The time now is 20:46.


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.