Register for your free account! | Forgot your password?

You last visited: Today at 18:25

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

Advertisement



[HELP]Cps NPC

Discussion on [HELP]Cps NPC within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2009
Posts: 4
Received Thanks: 0
[HELP]Cps NPC

i need help.. i want to make a npc which tells: exchange 2kk silvers for 2k cps
then if u give the npc 2,000,000 silvers it gives u 2,000 cps
fearmeh is offline  
Old 03/03/2009, 20:31   #2
 
elite*gold: 0
Join Date: Feb 2008
Posts: 23
Received Thanks: 11
Hey,
Depending on your source this should work, it dont work with TQ Binarys

So place this into NpcSay.

Code:
if (CurrentNPC == 74547)
{
SendPacket(General.MyPackets.NPCSay("I can exchange 2,000,000 silvers into 2,000  cps.  Do you want to trade?"));
SendPacket(General.MyPackets.NPCLink("Yes", 1));
SendPacket(General.MyPackets.NPCLink("No", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}
Next Place this into NPCDo,

Code:
if (CurrentNPC == 74547)
{
if (Control == 1)
{
if (MyChar.Silvers >= 2000000)
{
MyChar.Silvers -= 2000000;
MyChar.CPs += 2000;
Drop(); //dont need this but i use it to refresh the client
}
}
}
Spawn the npc with UID : 74547

Hope this helped
cazzon717 is offline  
Old 03/03/2009, 21:07   #3
 
elite*gold: 0
Join Date: Mar 2009
Posts: 4
Received Thanks: 0
ty
fearmeh is offline  
Old 03/03/2009, 21:10   #4
 
elite*gold: 0
Join Date: Mar 2009
Posts: 4
Received Thanks: 0
and does any1 know it too for tq binarys?
fearmeh is offline  
Old 03/03/2009, 21:12   #5
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
here try this one , you dont need to drop your client for this one and i think it will work better

Code:
                            if (CurrentNPC == 7501)
                            {
                                SendPacket(General.MyPackets.NPCSay("Do you need Conquer Points? Give me 2M Silvers and ill give you 2k Cps"));
                                SendPacket(General.MyPackets.NPCLink("Ok Sweet", 1));
                                SendPacket(General.MyPackets.NPCLink("No Thanks, Rip Off Much!", 255));
                                SendPacket(General.MyPackets.NPCSetFace(30));
                                SendPacket(General.MyPackets.NPCFinish());
                            }
and the controls

Code:
                            if (CurrentNPC == 7501)
                            {
                                if (Control == 1)
                                {
                                    if (MyChar.Silvers >= 2000000)
                                    {
                                        MyChar.Silvers -= 2000000;
                                        MyChar.CPs += 2000;
                                        SendPacket(General.MyPackets.Vital((long)MyChar.UID, 4, MyChar.Silvers));
                                        SendPacket(General.MyPackets.Vital((long)MyChar.UID, 30, MyChar.CPs));

                                    }
                                }
                            }
no i didnt copy off anything i just made it in like 2 minutes if it dont work it then tell me but it should ><

BTW

this is for LOTF
PeTe Ninja is offline  
Old 03/04/2009, 08:35   #6
 
elite*gold: 0
Join Date: Oct 2008
Posts: 20
Received Thanks: 2
hey can someone add my id :,cuz i want to asck something about this npc
Alex0071988 is offline  
Old 03/04/2009, 14:42   #7
 
elite*gold: 0
Join Date: Aug 2007
Posts: 180
Received Thanks: 158
fearmeh part2 link below (I think)
galdik is offline  
Reply




All times are GMT +1. The time now is 18:25.


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.