with this code u can only leave jail if u have 99 pkp or less
u'll have to find the id of ur leaving jail npc and put it where it says JailNPCID:
Code:
case JailNPCID:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Would u like to leave the jail if u have more then 100pk points u'll have to wait tell u get them down to 99 "));
GC.AddSend(Packets.NPCSay("or u can mine 5 copper ores of rate 5 and i'll let u out then"));
GC.AddSend(Packets.NPCLink("I have 99pkp or less let me out", 1));
GC.AddSend(Packets.NPCLink("I have the Rate5 Copper Ores", 2));
GC.AddSend(Packets.NPCLink("Lend me a hoe", 3));
GC.AddSend(Packets.NPCLink("no", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
if (Control == 1)
{
if (GC.MyChar.PKPoints <= 99)
{
GC.MyChar.Teleport(1002, 513, 356);
}
else
{
GC.AddSend(Packets.NPCSay("Sorry, you have to many pkp"));
GC.AddSend(Packets.NPCLink("I see", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
if (Control == 2)
{
if (GC.MyChar.InventoryContains(1072024, 5))
{
GC.MyChar.RemoveItem(GC.MyChar.NextItem(1072024));
GC.MyChar.RemoveItem(GC.MyChar.NextItem(1072024));
GC.MyChar.RemoveItem(GC.MyChar.NextItem(1072024));
GC.MyChar.RemoveItem(GC.MyChar.NextItem(1072024));
GC.MyChar.RemoveItem(GC.MyChar.NextItem(1072024));
GC.MyChar.Teleport(1002, 513, 356);
}
else
{
GC.AddSend(Packets.NPCSay("Sorry, you do not have the copper ores"));
GC.AddSend(Packets.NPCLink("I see", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
if (Control == 3)
{
GC.MyChar.AddItem(562001);
}
break;
}
[Release] Jail NPC (CoEmu) 06/07/2009 - CO2 PServer Guides & Releases - 8 Replies Ok .. here is the npc jail in TwinCity (Enter the jail and go out the jail)
in Handlers / NpcTalk.cs Search for
default:
{
Text("NPC " + ID + "'s dialog is not coded.", CSocket);
and above it add :
case 43:// enter the Jail
[Release] Fixed RevPoints for Jail & PK Arena 12/30/2008 - CO2 PServer Guides & Releases - 4 Replies First search for: public static void LoadRevPoints() in Database.cs
And replace the whole thing with this:
public static void LoadRevPoints()
{
RevPoints = new ushort;
RevPoints = new ushort { 1002, 1002, 430, 380 };
RevPoints = new ushort { 1005, 1005, 50, 50 };
RevPoints = new ushort { 1006, 1002, 430, 380 };
RevPoints = new ushort { 1008, 1002, 430, 380 };
RevPoints = new ushort { 1009, 1002, 430, 380 };
Jail... 05/10/2006 - Conquer Online 2 - 3 Replies Hi, if i rename arena.dmap to prison.DMAP and i go throug portal i get d/c.
After that, i close conquer and i put the original prison.DMAP in the folder.
If i start up conquer again and i log in, im just back in jail :/
Help me out of this plz, i'm new to these things...
In jail 03/19/2006 - Conquer Online 2 - 5 Replies I need help getting out of bot jail... well or getting into it. This means a place to find a bot that will get me caught not just words telling me to use a certain bot. send files to [email protected]
Jail BJX 08/27/2005 - Conquer Online 2 - 1 Replies Well, i was arrestes, and i need 100k to exit, hoe can i exit without paying 100k?