|
You last visited: Today at 21:29
Advertisement
[help] problem CpAdmin
Discussion on [help] problem CpAdmin within the CO2 Private Server forum part of the Conquer Online 2 category.
10/13/2008, 13:38
|
#1
|
elite*gold: 0
Join Date: Sep 2008
Posts: 7
Received Thanks: 0
|
[help] problem CpAdmin
How does that change can CpAdmin 1 Dbs to 256 cps or 10 dbs to 2,560 cps ????????????
Thank you
|
|
|
10/13/2008, 16:55
|
#2
|
elite*gold: 0
Join Date: Jan 2007
Posts: 220
Received Thanks: 63
|
Quote:
Originally Posted by shinichi79
How does that change can CpAdmin 1 Dbs to 256 cps or 10 dbs to 2,560 cps ????????????
Thank you
|
huh?? go to Character.cs, then find the NPC and there you will see something like that "MyChar.CPs += 215;" change it to w/e price you want, do the same thing to "MyChar.CPs += 2150;".....umm enjoy? O.O
|
|
|
10/13/2008, 19:32
|
#3
|
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
|
Then, search for 7500 again,where you find the code for the exchance,and replace it with this:
First,search for 7500 ( NPC ID ) until you find the npc chat. Replace it with this :
Quote:
if (CurrentNPC == 7500)
{
SendPacket(General.MyPackets.NPCSay("Got many dragon balls you want to get rid of? Well i can give you 215 cps for each dragon ball you give me."));
SendPacket(General.MyPackets.NPCLink("Yes, i want CPs for my dragon ball!", 1));
SendPacket(General.MyPackets.NPCLink("Yes, I want 2560 CPs for my DBScroll", 2));
SendPacket(General.MyPackets.NPCLink("I don't have a dragon ball.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
|
Quote:
if (CurrentNPC == 7500)
{
if (Control == 1)
{
if (MyChar.InventoryContains(1088000, 1))
{
MyChar.RemoveItem(MyChar.ItemNext(1088000));
MyChar.CPs += 256;
SendPacket(General.MyPackets.Vital(MyChar.UID, 30, MyChar.CPs));
}
}
if (Control == 2)
{
if (MyChar.InventoryContains(720028, 1))
{
MyChar.RemoveItem(MyChar.ItemNext(720028));
MyChar.CPs += 2560;
SendPacket(General.MyPackets.Vital(MyChar.UID, 30, MyChar.CPs));
}
}
}
|
Not tested,goodluck.
|
|
|
10/14/2008, 02:30
|
#4
|
elite*gold: 0
Join Date: Sep 2008
Posts: 7
Received Thanks: 0
|
thank you very much
|
|
|
10/15/2008, 02:19
|
#5
|
elite*gold: 0
Join Date: Nov 2007
Posts: 306
Received Thanks: 75
|
If he couldn't even figure out how to hit ctrl+f then type CP and search, then DON'T GIVE HIM THE SCRIPT. You are breeding script-kiddie non-coding newbs! STOP! go ahead and HINT to him how to find it, but stop feeding the trolls like that.
|
|
|
10/15/2008, 02:43
|
#6
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,885
|
Quote:
Originally Posted by Rechocto
If he couldn't even figure out how to hit ctrl+f then type CP and search, then DON'T GIVE HIM THE SCRIPT. You are breeding script-kiddie non-coding SCRIPTS AND CODING ARE DIFFERENT, THEY ARE NOT A HIERARCHY, GET IT THROUGH YOUR HEAD. newbs! STOP! go ahead and HINT to him how to find it, but stop feeding the trolls like that.
|
I'm saying this one more ******* time before I start calling you a dumbass everyone I quote you.
|
|
|
10/17/2008, 09:05
|
#7
|
elite*gold: 0
Join Date: May 2007
Posts: 46
Received Thanks: 0
|
lol
|
|
|
 |
Similar Threads
|
New Modified CPAdmin
09/15/2010 - CO2 PServer Guides & Releases - 9 Replies
Hi I kind of modified the code for CPAdmin so instead of selling one db for 215 cps you can sell all of then in your inventory in one shot and same thing with the DBScroll. This is my first time playing around with the C# so please do not flame me. And i tested this code and it works perfect in my client 5165.
Press the thanks button if you like it :D
#region CPAdmin
case XXXXX: <<< Make the case whatever you want and add the NPC
{...
|
CPAdmin Issues.
02/02/2010 - CO2 Private Server - 4 Replies
Hey guys, I have recently got my server online again, and have had some issues with coding in NPC's. I can get them physically there, but then no dialog appears at all. Here is my cq_action for CPAdmin, could anyone please tell me if anything is incorrect?
Cheers
|
[Request] CPAdmin
03/16/2009 - Conquer Online 2 - 2 Replies
Yes, ninja, before u ask, i already search a lot but nothing works.
sorry for disturbing u guys, but i have some problem here, i need a npc to change money or dbs for cps. but my server comes without this npc, could someone show me exactly how i need to do, to this npc exange gold or dbs for cps in the middle of tc?
Thanks guys,
I'm waiting for a resolution. thanks again.
|
CPAdmin!!
02/21/2009 - CO2 Private Server - 2 Replies
Tq Binarys !!! i haven't CPAdmin or npc for trading Money for cps?? can anyone learn me how to add npcs in Tq binarys?
|
CPAdmin...
06/08/2008 - Conquer Online 2 - 2 Replies
//
|
All times are GMT +2. The time now is 21:30.
|
|