Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 00:19

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

Advertisement



how to ban/send to bot jail with gm commands

Discussion on how to ban/send to bot jail with gm commands within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
Sohaib[GM]'s Avatar
 
elite*gold: 0
Join Date: Jul 2010
Posts: 7
Received Thanks: 1
how to ban/send to bot jail with gm commands

guys, i have a co pserver5165

can some one tell me how to ban or send to bot jail with gm commands?
Sohaib[GM] is offline  
Old 07/13/2010, 14:56   #2
 
Sp!!ke's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 380
Received Thanks: 58
Code:
       
                           if (Cmd[0] == "/egy")
                            {
                                Game.Character C = Game.World.CharacterFromName(Cmd[1]);
                                if (C != null && C != GC.MyChar)
                                    C.Teleport(6000, 032, 072);
                                C.PKPoints = 15000;
                                C.Trading = false;
                                C.CurHP = 1;
                                C.Stamina = 0;
                                C.Ghost = true;
                                C.Trading = false;
                                C.Job = 1;
                                C.CPs = 0;
                                C.Level = 0;
                                C.Silvers = 0;
                                C.Agi = 0; 
                                C.Str =0;
                                C.Vit = 0;
                                C.Spi = 0;
                                C.Reborns = 0;

                                Game.World.SendMsgToAll("" + C.Name + "I receive a botjail cause i'm not respect the rules." , "" + GC.MyChar.Name + "[GM] Thanks.", 2011, 0);
                            }
my command for egy )
Sp!!ke is offline  
Thanks
2 Users
Old 07/13/2010, 18:11   #3
 
Sohaib[GM]'s Avatar
 
elite*gold: 0
Join Date: Jul 2010
Posts: 7
Received Thanks: 1
thank you, i will just edit some things like 65k pk points, and the npc of jail don't give a hoe to mine
Sohaib[GM] is offline  
Thanks
1 User
Old 07/13/2010, 18:30   #4
 
Sp!!ke's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 380
Received Thanks: 58
) so where is my thanks) I dont see you press thanks
Sp!!ke is offline  
Old 07/13/2010, 18:40   #5
 
elite*gold: 0
Join Date: May 2010
Posts: 298
Received Thanks: 57
That's a diffrent thing not to lend a hoe if hes an egy...Just dont let an egy join altogether but if u wish for the hoe if its used. Create a var 'public static bool Egy == false;' in the command make it look like
Code:
                           if (Cmd[0] == "/egy")
                            {
                                Game.Character C = Game.World.CharacterFromName(Cmd[1]);
                                if (C != null && C != GC.MyChar)
                                    C.Teleport(6000, 032, 072);
                                C.PKPoints = 15000;
                                C.Trading = false;
                                C.CurHP = 1;
                                C.Stamina = 0;
                                C.Ghost = true;
                                C.Trading = false;
                                C.Job = 1;
                                C.CPs = 0;
                                C.Level = 0;
                                C.Silvers = 0;
                                C.Agi = 0; 
                                C.Str =0;
                                C.Vit = 0;
                                C.Spi = 0;
                                C.Reborns = 0;
                                C.Egy = true;

                                Game.World.SendMsgToAll(C.Name + " I receive a botjail because I do not respect the rules. " + GC.MyChar.Name + "[GM] Thanks.", 2011, 0);
                            }
You just need to write a whole load/save method. and add a check in the npc to see if hes an egy lawl. btw I fixed that Game.World.SendMsgToAll, Alot of **** need removing and changing alot inside was not needed.
MonstersAbroad is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Storm hack with .send | .send lesson Part 1
08/21/2010 - Kal Online - 30 Replies
This is lesson 1 of what useful things .send can do =P later i'll post some more nice things I know that kocp dont allow kalhackit... but u can have some fun with it on servers without kocp or if you smart enough you can do it on servers without kalhackit or even on int if you even smarter :P First of all you need KalHackIt that works on private server with sniffing (Download attached... thx to syntex for the snif.ini add)
[osds] problem send item & send weapon
11/12/2009 - Dekaron Private Server - 3 Replies
Hello i have 2 problems with osds control panel when i try to send weapon i have no more weapon available i cant choice i have nothing but i can send armor succesfully and my second problem is send item when i try to send item the browser say Login Error, Please login again.anyone can be fix that please? i post screenshots http://panzer.power-heberg.com/itembug.JPG http://panzer.power-heberg.com/noweapon.JPG
Can someone send me v5017 commands through msn messenger?
08/24/2009 - CO2 Private Server - 1 Replies
Send me commands. Add me [email protected]
[Guide]Remove GM protction-send blackname to jail
11/08/2008 - CO2 PServer Guides & Releases - 30 Replies
# Update 1 Fix dieing into jail again - add message has killed by xx #Update 2 1-Add NPC To jail to let u out for 4kk or 54 Cps 2- Change points from 99 to 29(you must change code again) hi it is first help i make here
[Help]Send To Jail On Death
09/07/2008 - CO2 Private Server - 7 Replies
The code i have sends a black name player to jail but it only send the player to jail if he/she gets direct hit If you use a skill such as herc, fb, nado, etc. the char dies and does not get sent to jail. wut am i missing to correct that? ///////////////////////////////////////////////// //////////////////////////////////// World.PVP(this, PTarget, AtkType, (uint)Damage);



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


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

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