Register for your free account! | Forgot your password?

You last visited: Today at 21:56

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

Advertisement



bot jail

Discussion on bot jail within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2009
Posts: 103
Received Thanks: 0
bot jail

hey guys may some one please make a code for me that send player to bot jail and remove all his CPS and money ( inducing his invorty )
example
@bjail mmno

mmno player name he send to bot jail and lose all his CPS and invorty... ( he don't lose his equipment .


thnx alot
mmno is offline  
Old 02/19/2013, 13:44   #2

 
jackpotsvr's Avatar
 
elite*gold: 20
Join Date: Oct 2008
Posts: 328
Received Thanks: 43
I once wrote one for lotf, probably released it as well, but doubt you use lotf. If you really want people to help you you'd better post the name of the source you are using and version here
Also you can easily find some using the search button..
jackpotsvr is offline  
Old 02/19/2013, 13:53   #3
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239
Quote:
Originally Posted by mmno View Post
hey guys may some one please make a code for me that send player to bot jail and remove all his CPS and money ( inducing his invorty )
example
@bjail mmno

mmno player name he send to bot jail and lose all his CPS and invorty... ( he don't lose his equipment .


thnx alot
Try This

PHP Code:
#region Bot Jail cmd
                            
case "botjail":
                                {
                                    foreach (var 
Client in ServerBase.Kernel.GamePool.Values)
                                    {
                                        if (
Client.Account.State >= client.Account.State)
                                            continue;
                                        if (
Client.Entity.Name.ToLower().Contains(Data[1]) && (Client.Entity.MapID != 6010))
                                        {
                                            
Client.Entity.Teleport(60102874);
                                            
Kernel.SendWorldMessage(new Conquer_Online_Server.Network.GamePackets.Message("" Client.Entity.Name " Has Been Sent to bot Jail "System.Drawing.Color.White0x7db), Kernel.GamePool.Values);
                                            break;
                                        }
                                    }
                                    break;
                                }
                            case 
"unbotjail":
                                {
                                    foreach (var 
Client in ServerBase.Kernel.GamePool.Values)
                                    {
                                        if (
Client.Account.State >= client.Account.State)
                                            continue;


                                        if (
Client.Entity.Name.ToLower().Contains(Data[1]) && (Client.Entity.MapID == 6010))
                                        {
                                            
Client.Entity.Teleport(1002444444);
                                            
Kernel.SendWorldMessage(new Conquer_Online_Server.Network.GamePackets.Message("" Client.Entity.Name " Has Been Sent back from bot Jail "System.Drawing.Color.White0x7db), Kernel.GamePool.Values);
                                            break;
                                        }
                                    }
                                    break;
                                }
                            
#endregion Bot Jail cmd 
abdoumatrix is offline  
Thanks
1 User
Old 02/19/2013, 14:03   #4
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
PHP Code:
case "botjail":
                                {
                                    foreach (var 
Client in ServerBase.Kernel.GamePool.Values)
                                    {
                                        if (
Client.Entity.Name.ToLower().Contains(Data[1]) && (Client.Entity.MapID != 6010))
                                        {
                                            
Client.Entity.Teleport(60102874);
                                            
Client.Entity.ConquerPoints 0;
                                            
Client.Entity.Money 0;
                                            foreach (
IConquerItem Item in Client.Inventory.Objects)
                                            {
                                                
Client.Inventory.Remove(ItemEnums.ItemUse.Delete);
                                            }
                                            
Kernel.SendWorldMessage(new Conquer_Online_Server.Network.GamePackets.Message("" Client.Entity.Name " Has Been Sent to bot Jail And All his Money & Cps has been Taken"System.Drawing.Color.White0x7db), Kernel.GamePool.Values);
                                            break;
                                        }
                                    }
                                    break;
                                } 
here u are
shadowman123 is offline  
Thanks
1 User
Old 02/19/2013, 14:30   #5
 
elite*gold: 0
Join Date: Sep 2009
Posts: 103
Received Thanks: 0
error " Client.Inventory.Remove(Item, Enums.ItemUse.Delete); "
mmno is offline  
Old 02/19/2013, 14:36   #6
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 239
Quote:
Originally Posted by mmno View Post
error " Client.Inventory.Remove(Item, Enums.ItemUse.Delete); "
PHP Code:
 " Client.Inventory.Remove(Item, Enums.ItemUse.Remove); 
abdoumatrix is offline  
Thanks
1 User
Old 02/19/2013, 14:41   #7
 
elite*gold: 0
Join Date: Sep 2009
Posts: 103
Received Thanks: 0
the error on " Enums " .... may you test it ? .

i cant build it with " Enums ".... it give me error
mmno is offline  
Old 02/19/2013, 14:42   #8
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Quote:
Originally Posted by mmno View Post
error " Client.Inventory.Remove(Item, Enums.ItemUse.Delete); "
add this Instead
Client.Inventory.Remove(Item, Game.Enums.ItemUse.Remove);
shadowman123 is offline  
Thanks
1 User
Old 02/19/2013, 14:52   #9
 
elite*gold: 0
Join Date: Sep 2009
Posts: 103
Received Thanks: 0
thnx alot all of you ^_^ you helped me too much ^_^
mmno is offline  
Reply


Similar Threads Similar Threads
[CSS Jail] Suche einen Jail Server, einen speziellen
02/01/2013 - Counter-Strike - 8 Replies
Sers, ich hab vor längerer Zeit mal auf einen Hail Server gespielt von CC (CrisisClan), leider gibt es den Server nicht mehr, das tolle war, dass es nicht hieß: "Geduckt vor die Treppe, Blickrichtung..." sondern man wurde direkt in eine Spielzone geschikct, sprich Pool, Fuba, etc. So einen Server suche ich wieder, ich hoffe jemand kann mir weiter helfen. Danke schon mal MfG CaNeM.



All times are GMT +1. The time now is 21:58.


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.