Register for your free account! | Forgot your password?

Go Back   elitepvpers > Conquer Online 2 > CO2 Main - Discussions / Questions
You last visited: Today at 22:32

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

 

[Release] Special NPC for 5017 Pvp

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2009
Posts: 52
Received Thanks: 23
[Release] Special NPC for 5017 Pvp

Hello elitepvps this is my first release so please dont flame me.

Oh k i coded this npc that gives away free gold cps and exp to a char but i didnt get to test it becouse my dads pc is really gay and wont let me play co or co pservers

oh k search for....

CurrentNPC = NPCID;

and under it add....

if (CurrentNPC == 57210)//Mr.Free
{
SendPacket(General.MyPackets.NPCSay("Hello "+ MyChar.Name +". My name is Mr.Free and i will give you free Cps, Exp and Gold. Would you like some?"));
SendPacket(General.MyPackets.NPCLink("Hell yea. Cps pls!", 1));
SendPacket(General.MyPackets.NPCLink("Hell yea. Exp pls!", 2));
SendPacket(General.MyPackets.NPCLink("Hell yea. Gold pls!", 3));
SendPacket(General.MyPackets.NPCLink("Nah im good.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}

then search for...

if (CurrentNPC == 390)

and under it add...

if (CurrentNPC == 57210)
{
if (Control == 1)
{
if (MyChar.CPs == 0)
{
MyChar.CPs += 100000;
SendPacket(General.MyPackets.Vital(MyChar.UID, 30, MyChar.CPs));
MyChar.Save();
}
}
if (Control == 2)
{
if (MyChar.Exp == 0)
{
MyChar.Exp += 90000000;
SendPacket(General.MyPackets.Vital(MyChar.UID, 30, MyChar.Exp));
MyChar.Save();
}
}
if (Control == 3)
{
if (MyChar.Silvers == 100)
{
MyChar.Silvers += 100000;
SendPacket(General.MyPackets.Vital(MyChar.UID, 30, MyChar.Silvers));
MyChar.Save();
}
}
}

that all test it out for me and if it worked and it helped press Thanks and if it dont work see if u can fix it or ill try and fix it wen u tell me the error =)

Note.
This is for 5017 server that want to be pvp. i released this to help them out =)

P.S.
The id for Mr.Free is 1320 use that when u swam the npc on server =). Oh and just to tell you i did this in like 20sec and some people will call this a noob release if you do im ok with it i guess =)



vipper123 is offline  
Old   #2
 
elite*gold: 0
Join Date: Mar 2009
Posts: 52
Received Thanks: 23
woops i posted it in wrong spot........

i have it in right spot now



vipper123 is offline  
Old   #3
 
elite*gold: 20
Join Date: Aug 2005
Posts: 1,734
Received Thanks: 992
#Closed
tanelipe is offline  
Closed Thread



« Previous Thread | Next Thread »

Similar Threads
[RELEASE] old 5017 lotf
it works okay... this is my second draft because my first one got wiped so dont expect it to be as good... haven't spent much time on it.. its all...
8 Replies - CO2 PServer Guides & Releases
[RELEASE]Special Force Public D3D Thanksgiving Special Rev: 3 LEECHED LANG TO
Special Force Public D3D Thanksgiving Special Rev: 3 Features: * Player Box 3D * Asus Wallhack * XRay * No Fog
71 Replies - Soldier Front Hacks, Bots, Cheats & Exploits
[RELEASE]Big Project..5095,5065,5017,5017 (command Server)
Hi, Yes i made a big project with my self by my self i host i edit i control i code. The Project contain 3 Co plvling Servers and 1 Command server...
23 Replies - CO2 PServer Guides & Releases
[RELEASE] 5017 Source
.
18 Replies - CO2 PServer Guides & Releases



All times are GMT +1. The time now is 22:32.


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

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.