[Release] A funny command

12/29/2008 23:02 justprownage#1
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.
12/29/2008 23:11 ph03nixx#2
i think its gay, there are 2 sperate commands for that with my source: /killmap and /kick or /ban
12/29/2008 23:14 justprownage#3
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.
12/29/2008 23:34 ph03nixx#4
o ok, i get it but why /rape?
12/29/2008 23:38 justprownage#5
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.
12/29/2008 23:44 YukiXian#6
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"...
12/29/2008 23:46 justprownage#7
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)
12/29/2008 23:50 ph03nixx#8
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.....
12/29/2008 23:51 -Reflexis-#9
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:p
12/29/2008 23:53 justprownage#10
Quote:
Originally Posted by -Reflexis- View Post
trust me he cant edit the code:p
Well I see dumbasses doing it all the time. ;)
12/29/2008 23:54 ph03nixx#11
Quote:
Originally Posted by -Reflexis- View Post
trust me he cant edit the code:p
and to who is this comment supposed to be 4???
12/30/2008 00:15 crappyreleases2#12
i use command and it fuked the other guy up. yo it mess up my server and then it freeze why? help me
12/30/2008 00:30 _Emme_#13
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.
12/30/2008 00:56 tao4229#14
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 :|
12/30/2008 01:46 justprownage#15
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.