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.
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)
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!");
}
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));
}
}
}
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));
}
}
}
[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_