Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server > CO2 PServer Guides & Releases
You last visited: Today at 08:20

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

Advertisement



[Guide]Remove GM protction-send blackname to jail

Discussion on [Guide]Remove GM protction-send blackname to jail within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old 09/11/2008, 06:06   #16
 
elite*gold: 0
Join Date: Oct 2007
Posts: 120
Received Thanks: 24
Quote:
Originally Posted by glupkotrup View Post
Well basically yes, but you should do some editing first... When you got killed you are being sent to Jail, but you can leave it when you have 100+ pkp (Black named). Also I got request where players want to pay dbs to get out of jail, so actually you can add a NPC which will ask you for X CPs or X DBs to let you go out of jail (working similar like conductress but requires items or cps for it). And I think there should be rewards for those who'll capture black named players, so they code have a motive to kill them (or it will be pointless killing them)
ok ty fro advice
i don't make npc because some have this npc already on them sources ,so they will start flam and say that i just copied it
but i'll make one soon after i finish my Pc problems
i will also make it reuqire some money or CPs to let u out
and i plan to make let out every xx:00 or xx:30 if u go to jail on GW (Like CO lol)
about drop gears idk about it ,but i'll try
ty all
elragal_30 is offline  
Old 09/11/2008, 21:35   #17
 
glupkotrup's Avatar
 
elite*gold: 0
Join Date: May 2007
Posts: 1,195
Received Thanks: 457
No problem and if they flame you, they would be wrong. Coz' you didn't copied it... You just made on of your own with your own unique idea! And I think there isn't a server with that NPC... Also I've made a test NPC which give you a use of /clearpkp (clear your pk points) and made an item which will be dropped from monsters with 0.08 drop rate... When you have that item you can click on the NPC and she'll delete your pkps...
glupkotrup is offline  
Old 09/11/2008, 21:49   #18
 
elite*gold: 0
Join Date: Nov 2006
Posts: 29
Received Thanks: 1
Can someone plz explain to me in english what hes trying to help us do? o.o
calisme4ever is offline  
Old 09/11/2008, 21:54   #19
 
glupkotrup's Avatar
 
elite*gold: 0
Join Date: May 2007
Posts: 1,195
Received Thanks: 457
He made a guide "How to make black named players when killed go to jail instead of reviving in the same city..."... Is that simple enough?
glupkotrup is offline  
Old 09/12/2008, 01:02   #20
 
elite*gold: 0
Join Date: Mar 2007
Posts: 6
Received Thanks: 0
Quote:
Originally Posted by pegaeu View Post
the players leaves the NPC how i fix it?...
if (CurrentNPC == 104801)
{

if (Control == 1)
{
if (MyChar.LocMap == 6000 && MyChar.PKPoints > 99)
{
MyChar.Teleport(1002, 514, 355);
}
}
}
and, the players die in jail when they are taken again get jail ..
Code:
if (Control == 1)
                            {
                                if (MyChar.PKPoints > 99)
                                    return;
                                MyChar.Teleport(1002, 514, 355);
                            }
                        }
that keeps them in jail
iono1234 is offline  
Old 09/18/2008, 20:29   #21
 
elite*gold: 0
Join Date: Oct 2007
Posts: 120
Received Thanks: 24
Quote:
Originally Posted by iono1234 View Post
Code:
if (Control == 1)
                            {
                                if (MyChar.PKPoints > 99)
                                    return;
                                MyChar.Teleport(1002, 514, 355);
                            }
                        }
that keeps them in jail
sorry all for this bug that make u die again in jail
1- i edit it now and it is Work
but you must rechange all codes again and change 99 or 100 with 29

2- add Npc Jail that let you away if you r less than 29 pkp
or if you are red name u pay 4 kk or Black pay 54 Cps
elragal_30 is offline  
Thanks
1 User
Old 09/19/2008, 09:42   #22
 
elite*gold: 0
Join Date: Jul 2008
Posts: 13
Received Thanks: 9
Quote:
Originally Posted by elragal_30 View Post
sorry all for this bug that make u die again in jail
1- i edit it now and it is Work
but you must rechange all codes again and change 99 or 100 with 29

2- add Npc Jail that let you away if you r less than 29 pkp
or if you are red name u pay 4 kk or Black pay 54 Cps
Quote:
Originally Posted by iono1234 View Post
Code:
if (Control == 1)
                            {
                                if (MyChar.PKPoints > 99)
                                    return;
                                MyChar.Teleport(1002, 514, 355);
                            }
                        }
that keeps them in jail
Code:
if (Control == 1)
                            {
                                 if (MyChar.PKPoints > 99)
                                    return;
                                MyChar.Teleport(1002, 514, 355);
                            }
                        }
it should be like this

Code:
if (Control == 1)
                            {
                                if (MyChar.PKPoints [B]<[/B] 100)
                                    return;
                                MyChar.Teleport(1002, 514, 355);
                            }
                        }
that means if pkp are LOWER than 100 char can leave jail
btw , i dont think "return" is needed lol
luiskp is offline  
Thanks
1 User
Old 09/19/2008, 09:52   #23
 
taguro's Avatar
 
elite*gold: 0
Join Date: Jun 2007
Posts: 387
Received Thanks: 64
Quote:
Originally Posted by luiskp View Post
that means if pkp are LOWER than 100 char can leave jail btw , i dont think "return" is needed lol
Then why did you put it in?
taguro is offline  
Thanks
1 User
Old 09/19/2008, 15:35   #24
 
glupkotrup's Avatar
 
elite*gold: 0
Join Date: May 2007
Posts: 1,195
Received Thanks: 457
Haha lol... Also I made a quest which will give you an item that can delete your pkps (using /clearpkp)... Many of the testers like it
glupkotrup is offline  
Old 09/19/2008, 15:45   #25
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
Useless thread eh?
~Yuki~ is offline  
Old 09/19/2008, 15:53   #26
 
glupkotrup's Avatar
 
elite*gold: 0
Join Date: May 2007
Posts: 1,195
Received Thanks: 457
Maybeee?
glupkotrup is offline  
Old 09/19/2008, 18:40   #27
 
elite*gold: 0
Join Date: Oct 2007
Posts: 120
Received Thanks: 24
@luiskp
it is not my code ,it is some one request it and i just try to help him
but look at my code i don't use this
@ glupkotrup
good i'll search for your post
but why you don't make this with PK Amulet
2- about make it lost equip and about reward :
i make it pay 4 kk if red name or 54 Cps for Black name
but i can't get the killer name to record it
so can u tell me where i can get red,balck name's killer when they kill ???
and about Unequipped i try it now
but about lose inventory items i search it alot
may be because i still 18 hrs on editing so wait me
elragal_30 is offline  
Thanks
1 User
Old 09/19/2008, 23:34   #28
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
@luispk or whatever;

The code is like this if Your PKP are GREATER THAN 99, it returns and calls no more functions. Thats what "return" does...
tao4229 is offline  
Thanks
1 User
Old 09/20/2008, 11:32   #29
 
glupkotrup's Avatar
 
elite*gold: 0
Join Date: May 2007
Posts: 1,195
Received Thanks: 457
Yeah and without the "return" actually the code won't work
glupkotrup is offline  
Thanks
1 User
Old 10/29/2008, 21:41   #30
 
elite*gold: 0
Join Date: Oct 2008
Posts: 1
Received Thanks: 1
[quote=elragal_30;1416754]# 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
plz don't flam , i just send for some newbies that don't know(I'm also noob lol)
and I'm don't take from any one i just make it
and Hint for all beginners don't aim to publish source on line quickly ,but try to learn C# and practice for make any thing yourself
it works for me at shadow server
lets go

First : How to remove GM protection on guards :

Go to "entities.cs" go to line 334
u should find some thing like that :

u may delete it or put protection on type u want
(i just know Status ==8 >> GM / 7 >>>PM )
sorry i'm just starter ,so if u have some thing best tell here for all

Second : How to Make Black Name Send to jail on (Now Working on die so u can't revive him with skill or command):

1-go to "character.cs" go to Line 827 or Search for

add

2-go to "Character.cs" go to Line 795 (Press Ctrl+G):
or search for
[quote]if (Tele)
{
foreach (ushort[] revp in DataBase.RevPoints)
{
Quote:
after " { "

and before
add

**Adding Jail NPC

go to ur
then go to conquer database >> Table >> Npc
Click Insert and fill fields as follow :


then go to Your Source >>> Client.Cs
Go to NPC Section>>
and Search for
after it add this :


then search for

After it add


Wait for update to make money go to killer


Now To Prevent using city Scrolls to use in Jail (ty For @tao4229 for remind me) :
go to Character.cs and search for (Near Line 2808)



and exchange with this Code (Make Backup for character.Cs be4 changing it) :


and now if u want also prevent using "/Scroll " command into jail
go To Client.Cs and Search for

and exchange with :

sorry I'm just starter ,so if u have some thing best tell here for all
i hope it work for all ,and i will give more soon as i make new
press thanks if u see it is good


hey say when the guide remove qeu there and put it down or add another?

because I did what the guide said, and anyway I am 118 pk in black and not send me to jail?
artiman is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
how to ban/send to bot jail with gm commands
07/13/2010 - CO2 Private Server - 4 Replies
guys, i have a co pserver5165 can some one tell me how to ban or send to bot jail with gm commands?
Question on blackname and jail
12/14/2009 - CO2 Private Server - 9 Replies
#region Warden case 42: { if (Control == 0) { GC.AddSend(Packets.NPCSay("Do you want to leave jail?")); GC.AddSend(Packets.NPCLink("Yes.", 1)); GC.AddSend(Packets.NPCLink("Just passing by.", 255)); ...
[HELP]PK Points in jail and arena remove? How?
10/18/2009 - CO2 Private Server - 7 Replies
How do i remove, so peopels dont get PK Points in jail and arena?? I really need help, cause i cant fix it :P Thats all Thanks:handsdown:
Guide to help [New Server Owners] fix bot jail!
08/22/2009 - Zero - 3 Replies
Hey i would like to Release this to server owners that dont know much about the db...This will help with some of the Main Problems... Bot Jail Fix: First way. Run this in you Navicat when doing Maintenince will take them out of bot Jail. SQL: UPDATE cq_user SET recordmap_id=1102; UPDATE cq_user SET recordx=511; UPDATE cq_user SET recordy=850;
[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 08:20.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.