Register for your free account! | Forgot your password?

You last visited: Today at 14:30

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

Advertisement



PK arena npc

Discussion on PK arena npc within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2006
Posts: 93
Received Thanks: 9
PK arena npc

I thought id help cause I couldn't find any release of this and in the loft source I have it was not there.

First Follow the npc guide in the all in 1 thread by plasma-hand

Once your npc is made
Open your source do ctrl + g 955
Go right below the comment */ type this in
Code:
if (CurrentNPC == NPCUIDHERE)
                            
                         {
                            SendPacket(General.MyPackets.NPCSay("Hello,Would you like to enter the PK arena."));
                            SendPacket(General.MyPackets.NPCLink("Yes please.", 1));
                            SendPacket(General.MyPackets.NPCLink("No thanks.", 255));
                            SendPacket(General.MyPackets.NPCSetFace(30));
                            SendPacket(General.MyPackets.NPCFinish());
                          }
Ctrl + g again to 1967
And type this in
Code:
if (CurrentNPC == NPCUIDHERE)
      {
         if (Control == 1)
      {
         MyChar.Teleport(1005, 52, 69);
                                    
      }
         if (Control == 2)
     {
         SendPacket(General.MyPackets.NPCSay("Good Bye"));
     }
     
    }
Hope this helps, and if my coding is bad it cause I don't know any C at all this was just using my brain to find the things I needed cause they were not all in one place for me to use.

Hope this helps

p.s
If you don't want me sending people to your guide plasma-hand let me know and I will make a guide on making a npc
Valkmax is offline  
Old 11/04/2008, 19:04   #2
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
Quote:
if (CurrentNPC == NPCUID)

{
SendPacket(General.MyPackets.NPCSay("Hello " + MyChar.Name + ". Like to enter PK arena for a fee of 50 silvers?"));
SendPacket(General.MyPackets.NPCLink("Yes please.", 1));
SendPacket(General.MyPackets.NPCLink("No thanks.", 255));
SendPacket(General.MyPackets.NPCSetFace(30));
SendPacket(General.MyPackets.NPCFinish());
}


Quote:
if (CurrentNPC == NPCUID)
{
if (Control == 1)
{
if (MyChar.Silvers >= 50)
{
MyChar.Silvers -= 50;
MyChar.Teleport(1005, 52, 69);
SendPacket(General.MyPackets.Vital(MyChar.UID, 4, MyChar.Silvers));


}
}


}

Thats how I would do it.
_Emme_ is offline  
Old 11/04/2008, 19:24   #3
 
elite*gold: 20
Join Date: Aug 2005
Posts: 1,734
Received Thanks: 1,001
I wouldn't do it like this
Code:
if (MyChar.Silvers >= 50;
Might want to replace the ' ; ' with ')'
tanelipe is offline  
Old 11/04/2008, 19:30   #4
 
elite*gold: 0
Join Date: Feb 2008
Posts: 1,590
Received Thanks: 154
And MyChar.Silvers -= 50.. Unless you just want them to have 50 silvers instead of removing them...
tao4229 is offline  
Old 11/04/2008, 19:58   #5
 
elite*gold: 0
Join Date: Aug 2006
Posts: 93
Received Thanks: 9
Thanks for the tips =)
Valkmax is offline  
Old 11/04/2008, 20:56   #6
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,162
Oh ****,my bad. #Updated
_Emme_ is offline  
Reply


Similar Threads Similar Threads
[Arena] up to 20% more damage in arena for first 25~ seconds
12/03/2009 - WoW Exploits, Hacks, Tools & Macros - 1 Replies
Ravenous Pathogen - Spell - World of Warcraft This is a debuff that increases damage done by 5% per stack, up to 20% after 4 stacks. Since debuffs dont disappear when you join arenas, you can carry that debuff into arenas. http://img132.imageshack.us/img132/5798/arenaexpl oit.jpg This debuff is given by a mob called Darkclaw Bat Darkclaw Bat - NPC - World of Warcraft http://img339.imageshack.us/img339/9326/arenaexpl oit2.jpg
[NEW]Arena Tournament server 2.4.3 (Instant lvl70 free S3 arena fight for S4)
10/31/2009 - WoW Private Server - 0 Replies
#edit #close
[Arena]Orgrimmar Arena Trick
12/14/2008 - WoW Exploits, Hacks, Tools & Macros - 1 Replies
Picture:http://www.pic-upload.de/14.12.08/z4hxv.JP G Before the lift takes you up to start the match, you can minimize your WoW and come back and youll be floating in air so...15seconds till battle starts. - Minimize - Open wow back up in 15 seconds and you are floating up top while lift is still coming up, pretty cool just figure it out
[Exploits][Arena]Krieger Buff in der Lorderon Arena
01/20/2008 - WoW Exploits, Hacks, Tools & Macros - 7 Replies
Dieser Trick geht nur in der Lorderon Arena, weil dort die Kammer (der Vorbereitungsraum) groß genug ist. Der Krieger hat 2 Schlachtschreie. Der eine gibt +1080 Gesundheit und der andere Angriffskraft. Krieger+Druide, Krieger+Paladin oder Krieger+Priester sind Combos in welcher der Heiler keine Angriffskraft braucht aber die Gesundheit. Erst stehen beide nahbeieinander und der Krieger bufft - Gesundheit dann geht er in die hinterste Ecke und der Heiler ganz nah an das Tor. So kann der...
Arena
04/18/2007 - World of Warcraft - 3 Replies
Huhu, Da es ja keinen Service gibt die für einen die Arenapunkte holen und ich selbst dafür kaum Zeit habe und auch keine Lust, wollte ich fragen ob sich jemand berreit erklärt mit meinem Mage schön Arena geht damit ich das Gladi. Set so schnell wie möglich habe ^^. Würd auch ein bisschen Geld dafür geben aber ma sehen... PS: Falls es im falschen Thread ist dann bitte moven.



All times are GMT +1. The time now is 14:31.


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.