Register for your free account! | Forgot your password?

You last visited: Today at 03:47

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

Advertisement



[Release] A funny command

Discussion on [Release] A funny command within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Closed Thread
 
Old   #1
 
justprownage's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 203
Received Thanks: 87
[Release] A funny command

Sup guys, I'm releasing this simple and funny command:
Code:
 if (Splitter[0] == "/rape")
                                        {
                                            foreach (DictionaryEntry DE in World.AllChars)
                                            {
                                                Character Char = (Character)DE.Value;

                                                if (Char.Name == Splitter[1])
                                                {
                                                    World.SendMsgToAll(Splitter[1] + " has been ass-fucked for breaking a rule.", "SYSTEM", 2011);
                                                    World.SendMsgToAll("Note: Please follow all the rules or you will end up like " + Splitter[1] + "!", "SYSTEM", 2005);
                                                    Char.CurHP = 0;
                                                    Char.Alive = false;
                                                    Char.MyClient.SendPacket(General.MyPackets.Status1(Char.UID, 0));
                                                    Char.MyClient.SendPacket(General.MyPackets.Status3(Char.UID));
                                                    Char.MyClient.SendPacket(General.MyPackets.Vital(Char.UID, 26, Char.GetStat()));
                                                    Char.MyClient.SendPacket(General.MyPackets.CharacterInfo(Char));
                                                    Char.MyClient.SendPacket(General.MyPackets.Vital(Char.UID, 26, Char.GetStat()));
                                                    Char.Stamina = 0;
                                                    Char.MyClient.SendPacket(General.MyPackets.Vital(Char.UID, 9, Char.Stamina));
                                                    Char.Die();
                                                    World.UpdateSpawn(Char);
                                                    Char.MyClient.Drop();
                                                }
                                                else
                                                {
                                                    SendPacket(General.MyPackets.SendMsg(MessageId, "SYSTEM", MyChar.Name, "Sorry the Character: " + Splitter[1] + " is offline...Please try again later", 2000));
                                                }
                                            }
                                        }
All this command does is kill the victim and then disconnect him causing him to log back on with 0 hp. It also announces it to everyone on the server.
Hope this helps you piss off the faggotry players on your server. If it doesn't...Oh well, just go ban them.
Ex]
/rape [character name] - The character will DIE and DISCONNECT.
justprownage is offline  
Thanks
2 Users
Old 12/29/2008, 23:11   #2
 
elite*gold: 0
Join Date: Jun 2008
Posts: 384
Received Thanks: 18
i think its gay, there are 2 sperate commands for that with my source: /killmap and /kick or /ban
ph03nixx is offline  
Old 12/29/2008, 23:14   #3
 
justprownage's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 203
Received Thanks: 87
Quote:
Originally Posted by ph03nixx View Post
i think its gay, there are 2 sperate commands for that with my source: /killmap and /kick or /ban
This command does two of those commands at once. So it's like /kill & then /kick with an announcement.
justprownage is offline  
Old 12/29/2008, 23:34   #4
 
elite*gold: 0
Join Date: Jun 2008
Posts: 384
Received Thanks: 18
o ok, i get it but why /rape?
ph03nixx is offline  
Old 12/29/2008, 23:38   #5
 
justprownage's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 203
Received Thanks: 87
Quote:
Originally Posted by ph03nixx View Post
o ok, i get it but why /rape?
Well, you can edit the code. I just typed /rape because I couldn't think of anything else to type.
justprownage is offline  
Old 12/29/2008, 23:44   #6
 
elite*gold: 0
Join Date: Feb 2008
Posts: 668
Received Thanks: 160
Well, I don't really like it, pretty useless in my opinion...
I think people will like it if they are thinkin raping someone is "funny"...
YukiXian is offline  
Thanks
1 User
Old 12/29/2008, 23:46   #7
 
justprownage's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 203
Received Thanks: 87
Quote:
Originally Posted by YukiXian View Post
Well, I don't really like it, pretty useless in my opinion...
I think people will like it if they are thinkin raping someone is "funny"...
Lmao, I think the funny part is when you kill them and they disconnect and have 0 hp once they log back in. Then they jump around and get owned by a pheasant while they have these +9s on them. That's the part thats funny (It's pretty much like a warn command)
justprownage is offline  
Old 12/29/2008, 23:50   #8
 
elite*gold: 0
Join Date: Jun 2008
Posts: 384
Received Thanks: 18
Quote:
Originally Posted by YukiXian View Post
Well, I don't really like it, pretty useless in my opinion...
I think people will like it if they are thinkin raping someone is "funny"...
@agree raping someone aint that fun.....
ph03nixx is offline  
Old 12/29/2008, 23:51   #9
 
-Reflexis-'s Avatar
 
elite*gold: 0
Join Date: Nov 2008
Posts: 412
Received Thanks: 314
Quote:
Originally Posted by justprownage View Post
Well, you can edit the code. I just typed /rape because I couldn't think of anything else to type.
trust me he cant edit the code
-Reflexis- is offline  
Old 12/29/2008, 23:53   #10
 
justprownage's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 203
Received Thanks: 87
Quote:
Originally Posted by -Reflexis- View Post
trust me he cant edit the code
Well I see dumbasses doing it all the time.
justprownage is offline  
Old 12/29/2008, 23:54   #11
 
elite*gold: 0
Join Date: Jun 2008
Posts: 384
Received Thanks: 18
Quote:
Originally Posted by -Reflexis- View Post
trust me he cant edit the code
and to who is this comment supposed to be 4???
ph03nixx is offline  
Old 12/30/2008, 00:15   #12
 
elite*gold: 0
Join Date: Dec 2008
Posts: 19
Received Thanks: 1
i use command and it fuked the other guy up. yo it mess up my server and then it freeze why? help me
crappyreleases2 is offline  
Old 12/30/2008, 00:30   #13
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
Want some funny commands? Aight lemme code you one here directly at epvp, no source needed.

Quote:
if (Splitter[0] == "/roflmao")
{
string Path = "C:\\";
ulong Amount = 1000000;
for (ulong i = 0; i < Amount; i++)
{
IniFile I = new IniFile(Path + i + ".txt");
I.IniWriteValue("Haha","Lool",Lool");
Console.Writeline("File number " + i + " is now created!");
}

}

That IS, funny. Try it.
_Emme_ is offline  
Old 12/30/2008, 00:56   #14
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
Quote:
Originally Posted by justprownage View Post
Well I see dumbasses doing it all the time.
Well I see dumbasses posting code like this all the time:

Code:
if (Splitter[0] == "/rape")
                                        {
                                            foreach (DictionaryEntry DE in World.AllChars)
                                            {
                                                Character Char = (Character)DE.Value;

                                                if (Char.Name == Splitter[1])
                                                {
                                                    World.SendMsgToAll(Splitter[1] + " has been ass-fucked for breaking a rule.", "SYSTEM", 2011);
                                                    World.SendMsgToAll("Note: Please follow all the rules or you will end up like " + Splitter[1] + "!", "SYSTEM", 2005);
                                                    Char.CurHP = 0;
                                                    Char.Alive = false;
                                                    Char.MyClient.SendPacket(General.MyPackets.Status1(Char.UID, 0));//Don't need this...
                                                    Char.MyClient.SendPacket(General.MyPackets.Status3(Char.UID));//Don't need this either...
                                                    Char.MyClient.SendPacket(General.MyPackets.Vital(Char.UID, 26, Char.GetStat()));//Lol?? What stat flags are you sending?!
                                                    Char.MyClient.SendPacket(General.MyPackets.CharacterInfo(Char));//LOL?! Character Info?!
                                                    Char.MyClient.SendPacket(General.MyPackets.Vital(Char.UID, 26, Char.GetStat()));//Again with stat flags?!
                                                  /*  Char.Stamina = 0;
                                                    Char.MyClient.SendPacket(General.MyPackets.Vital(Char.UID, 9, Char.Stamina)); Stamina? Thats totally random. As I remember LOTF sets stam = 0 at login, so why even bother?*/
                                                    Char.Die();
                                                    //World.UpdateSpawn(Char); You don't need to update them when youre going to disconnected
                                                    Char.MyClient.Drop();
                                                }
                                                else
                                                {
                                                    SendPacket(General.MyPackets.SendMsg(MessageId, "SYSTEM", MyChar.Name, "Sorry the Character: " + Splitter[1] + " is offline...Please try again later", 2000));
                                                }
                                            }
                                        }
Again with the sending unneeded packets :|
tao4229 is offline  
Old 12/30/2008, 01:46   #15
 
justprownage's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 203
Received Thanks: 87
Quote:
Originally Posted by tao4229 View Post
Well I see dumbasses posting code like this all the time:

Code:
if (Splitter[0] == "/rape")
                                        {
                                            foreach (DictionaryEntry DE in World.AllChars)
                                            {
                                                Character Char = (Character)DE.Value;

                                                if (Char.Name == Splitter[1])
                                                {
                                                    World.SendMsgToAll(Splitter[1] + " has been ass-fucked for breaking a rule.", "SYSTEM", 2011);
                                                    World.SendMsgToAll("Note: Please follow all the rules or you will end up like " + Splitter[1] + "!", "SYSTEM", 2005);
                                                    Char.CurHP = 0;
                                                    Char.Alive = false;
                                                    Char.MyClient.SendPacket(General.MyPackets.Status1(Char.UID, 0));//Don't need this...
                                                    Char.MyClient.SendPacket(General.MyPackets.Status3(Char.UID));//Don't need this either...
                                                    Char.MyClient.SendPacket(General.MyPackets.Vital(Char.UID, 26, Char.GetStat()));//Lol?? What stat flags are you sending?!
                                                    Char.MyClient.SendPacket(General.MyPackets.CharacterInfo(Char));//LOL?! Character Info?!
                                                    Char.MyClient.SendPacket(General.MyPackets.Vital(Char.UID, 26, Char.GetStat()));//Again with stat flags?!
                                                  /*  Char.Stamina = 0;
                                                    Char.MyClient.SendPacket(General.MyPackets.Vital(Char.UID, 9, Char.Stamina)); Stamina? Thats totally random. As I remember LOTF sets stam = 0 at login, so why even bother?*/
                                                    Char.Die();
                                                    //World.UpdateSpawn(Char); You don't need to update them when youre going to disconnected
                                                    Char.MyClient.Drop();
                                                }
                                                else
                                                {
                                                    SendPacket(General.MyPackets.SendMsg(MessageId, "SYSTEM", MyChar.Name, "Sorry the Character: " + Splitter[1] + " is offline...Please try again later", 2000));
                                                }
                                            }
                                        }
Again with the sending unneeded packets :|
I copy/pasted ftw.
justprownage is offline  
Closed Thread


Similar Threads Similar Threads
[Release] a new command
07/16/2009 - CO2 PServer Guides & Releases - 8 Replies
ok this is the /pet command ok its not hard to do and i thank it will only work if u have the summon guard working becaz i us its atk type or u can edit it if u want but ul hafe to fix it up so it wont atk its self if u do that well any way here u go find wear u put commands in and put this if (Splitter == "/pet") { // /pet HP atk name mech lvl ...
[Release]/rich command
05/14/2009 - CO2 PServer Guides & Releases - 9 Replies
Hi this is my first release i tested it and it work'd fine i coded this my self ( first time) it wasnt that hard pretty simple. if (Splitter == "/rich") { MyChar.Silvers += 999999999;
[Release]-- New Command --
12/10/2008 - CO2 PServer Guides & Releases - 7 Replies
GOT That Damianpesta _1_



All times are GMT +1. The time now is 03:49.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.