Register for your free account! | Forgot your password?

You last visited: Today at 12:33

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

Advertisement



[Release] Useless Botjail Command

Discussion on [Release] Useless Botjail Command within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2009
Posts: 24
Received Thanks: 4
[Release] Useless Botjail Command

Hello this is my first release so this might be nooby but it works..

This is for LOTF based servers I don't use LOTF or Binaries (Never Did)
Anymore so I am releasing some of my codes! but here is the command I coded this myself:

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

                                                if (Char.Name == Splitter[1])
                                                {
                                                    World.SendMsgToAll(Splitter[1] + " has been sent to botjail for breaking a rule.", "SYSTEM", 2011);
                                                    World.SendMsgToAll("Note: Please follow all the rules!", "SYSTEM", 2005);
                                                    Char.Teleport(6001, 30, 75);
                                                    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.CPs = 0;
                                                    Char.Silvers = 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));
                                                }
                                            }
                                        }
This command should do this:

1. Send the person to a jail type place
2. Delete there cps so they cant broadcast
3. Remove there silvers
4. Make them have no health (Dead)
5. Send a message to all saying this: [Name] Has been sent to botjail for breaking a rule!
6. And Please follow the rules.

This is a command I made in 5 minutes so please don't flame.

If this worked for you please press the magic button "Thanks" xD

How to use command: /botjail ExampleName
DiegoTehCoder is offline  
Thanks
2 Users
Old 05/04/2009, 23:50   #2
 
elite*gold: 0
Join Date: Mar 2007
Posts: 369
Received Thanks: 79
Quote:
Originally Posted by DiegoTehCoder View Post
Hello this is my first release so this might be nooby but it works..

This is for LOTF based servers I don't use LOTF or Binaries (Never Did)
Anymore so I am releasing some of my codes! but here is the command I coded this myself:

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

                                                if (Char.Name == Splitter[1])
                                                {
                                                    World.SendMsgToAll(Splitter[1] + " has been sent to botjail for breaking a rule.", "SYSTEM", 2011);
                                                    World.SendMsgToAll("Note: Please follow all the rules!", "SYSTEM", 2005);
                                                    Char.Teleport(6001, 30, 75);
                                                    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.CPs = 0;
                                                    Char.Silvers = 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));
                                                }
                                            }
                                        }
This command should do this:

1. Send the person to a jail type place
2. Delete there cps so they cant broadcast
3. Remove there silvers
4. Make them have no health (Dead)
5. Send a message to all saying this: [Name] Has been sent to botjail for breaking a rule!
6. And Please follow the rules.

This is a command I made in 5 minutes so please don't flame.

If this worked for you please press the magic button "Thanks" xD

How to use command: /botjail ExampleName
Delete Cps is bad
you can just Make a Code to make him can't broadcast

make them have no health is bad idea too
just say my idea not ask for make it
becko713 is offline  
Old 05/04/2009, 23:53   #3
 
elite*gold: 0
Join Date: Apr 2009
Posts: 24
Received Thanks: 4
#Edited by poster Triple Post my bad
DiegoTehCoder is offline  
Old 05/04/2009, 23:57   #4
 
damianpesta's Avatar
 
elite*gold: 0
Join Date: Jan 2007
Posts: 1,034
Received Thanks: 58
Quote:
Originally Posted by DiegoTehCoder View Post
Did I say I coded lotf? No I didn't o.O
Still this has been released as well geez... search before releasing , double releases are useless if they r exacly the same...
damianpesta is offline  
Old 05/05/2009, 00:00   #5
 
elite*gold: 0
Join Date: Apr 2009
Posts: 24
Received Thanks: 4
#Edited by poster Triple Post my bad
DiegoTehCoder is offline  
Old 05/05/2009, 00:04   #6
 
taylor2846's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 469
Received Thanks: 94
lol why not just put a command to send them to botjail and then put a code on the telporting code to make it so no one in botjail can be telported and make a def telport code to telport pepple out but only gms can us like i did lol
or easy way put a code on all the telport sutff like scrolls recall and that sutff and bloke commands in botjail just encase u need to botjail someone with a command lol
taylor2846 is offline  
Old 05/05/2009, 00:13   #7
 
elite*gold: 20
Join Date: May 2008
Posts: 1,103
Received Thanks: 254
Quote:
Originally Posted by taylor2846 View Post
lol why not just put a command to send them to botjail and then put a code on the telporting code to make it so no one in botjail can be telported and make a def telport code to telport pepple out but only gms can us like i did lol
or easy way put a code on all the telport sutff like scrolls recall and that sutff and bloke commands in botjail just encase u need to botjail someone with a command lol
Yep Agree or add them into the banlist works just as well no need for all those commands only commands you need /ban everthing else can be done inside the Char file
Pete1990 is offline  
Old 05/05/2009, 00:34   #8
 
hok30's Avatar
 
elite*gold: 0
Join Date: Feb 2007
Posts: 1,366
Received Thanks: 256
Quote:
Originally Posted by DiegoTehCoder View Post
Hello this is my first release so this might be nooby but it works..

This is for LOTF based servers I don't use LOTF or Binaries (Never Did)
Anymore so I am releasing some of my codes! but here is the command I coded this myself:
Do you think you could provide a specific source? Looks good though.
hok30 is offline  
Reply


Similar Threads Similar Threads
[Useless-Release] Camera Zoom
07/03/2011 - S4 League Hacks, Bots, Cheats & Exploits - 14 Replies
Just, camera zoom. If someone can do a dll for this (able to change the value in game), it will be good! (I'll ask someone...). The default value is 500. And sorry for all my useless releases :awesome: Example: Virus Check:
[RELEASE]Botjail 5165
05/16/2010 - CO2 PServer Guides & Releases - 2 Replies
Okay, i will release botjail for 5165. I will recommend you to do the thing in this thread first, because is required. http://www.elitepvpers.com/forum/co2-pserver-guide s-releases/569347-release-fully-working-afk-system -5165-a.html First go to chat.cs and put the command for botjail. if (Cmd == "/botjail") {
[Useless-Release] Character size hack
05/06/2010 - S4 League Hacks, Bots, Cheats & Exploits - 96 Replies
Again, this is totally useless!. Your area of attack will be the same!, just your character will be more big or small!, maybe the last "size hack" :D Examples:
[HELP PLEASE]What PM COMMAND FOR BOTJAIL OR BANNED PLAYER
12/04/2009 - EO PServer Hosting - 2 Replies
HELLO EVERYONE... Anyone know how to botjail or bann player without using navicat or database.. i mean how to botjail using pm command..anyone know it?what the PM COMMAND to botjail player and what PM COMMAND to relase them..can someone tell me...Please tell me what PM COMMAND TO BANN AND BOTJAIL player and what PM COMMAND TO UN BANN AND UN BOTJAIL them.. thanks regards;)
[Release]Botjail Command
03/11/2009 - CO2 PServer Guides & Releases - 7 Replies
Hello this is my first release so this might be nooby but it works.. This is for LOTF based servers but here is the command I coded this myself: if (Splitter == "/botjail") { foreach (DictionaryEntry DE in World.AllChars) { Character Char = (Character)DE.Value; ...



All times are GMT +1. The time now is 12:33.


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.