Register for your free account! | Forgot your password?

You last visited: Today at 07:48

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

Advertisement



[Question]NPC

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

Reply
 
Old   #1
 
coreymills's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 555
Received Thanks: 99
[Question]NPC

with the dic city npc how does the npc know ur killing the right mob
coreymills is offline  
Old 01/20/2010, 01:07   #2
 
.Ryu's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 583
Received Thanks: 119
Quote:
Originally Posted by coreymills View Post
with the dic city npc how does the npc know ur killing the right mob
What do you mean for the item droping?
.Ryu is offline  
Old 01/20/2010, 01:10   #3
 
coreymills's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 555
Received Thanks: 99
no like in dis city u have to kill 1300 mobs befor it will teleport u to the next stage how would the npc know that u killed the 1300 mobs
coreymills is offline  
Old 01/20/2010, 01:17   #4
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
The npc has no idea. You have to code it into the monster death code by saying something along the line of

Code:
if(GC.MyChar.DisCityON && map number = lvl 2 dis)
   {
        if (GC.MyChar.DisKo < #Needed to continue)        
           GC.MyChar.DisKO += 1;
        else
           print msg saying that you have enough kos
    }
I probably have some of that wrong seeing as I don't use lotf but that's basically how it works.

Then have the npc check that the kos are > amount needed to move on and if they are, teleport the player to next dis level.
pro4never is offline  
Thanks
1 User
Old 01/20/2010, 01:17   #5
 
.Ryu's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 583
Received Thanks: 119
Quote:
Originally Posted by coreymills View Post
no like in dis city u have to kill 1300 mobs befor it will teleport u to the next stage how would the npc know that u killed the 1300 mobs
Hahah nvm pro4never gave you it :P
.Ryu is offline  
Old 01/20/2010, 01:24   #6
 
coreymills's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 555
Received Thanks: 99
thanks again pro
coreymills is offline  
Old 01/20/2010, 01:49   #7
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
No problem. If you have any other questions lemme know. I'm getting bored again and have nothing to code really (I'm kinda tempted to write a FULL dis quest for CoEmu... just cause there's been so many half finished ones in the past few days)
pro4never is offline  
Old 01/20/2010, 02:20   #8
 
coreymills's Avatar
 
elite*gold: 0
Join Date: Mar 2008
Posts: 555
Received Thanks: 99
yai'm doing it to get better at coding
coreymills is offline  
Old 01/20/2010, 05:03   #9
 
elite*gold: 80
Join Date: Sep 2007
Posts: 642
Received Thanks: 168
Quote:
Originally Posted by pro4never View Post
No problem. If you have any other questions lemme know. I'm getting bored again and have nothing to code really (I'm kinda tempted to write a FULL dis quest for CoEmu... just cause there's been so many half finished ones in the past few days)
You should update the CoFuture source to 5017 like you said you wanted to. Hehe. I know you don't want to get into it really, but hey, will teach ya some about packets i suppose.
Santa is offline  
Reply


Similar Threads Similar Threads
[QUESTION]How do i bypass Xtrap for any private server?[QUESTION]
10/12/2009 - Cabal Online - 3 Replies
Exactly what the title says. I keep on getting an xTrap error when i try and load ANY private server that uses XTrap and it's driving me absolutely insane. I cant figure out why it's showing me the error. If anyone has any bypasser for Helix / PaRaDoX or any other server u know that has xTrap can u either PM me the bypass or post it here pls......this is driving me nuts Bump.
[QUESTION]How do i bypass Xtrap for any private server?[QUESTION]
10/02/2009 - Cabal Private Server - 2 Replies
Exactly what the title says. I keep on getting an xTrap error when i try and load ANY private server that uses XTrap and it's driving me absolutely insane. I cant figure out why it's showing me the error. If anyone has any bypasser for Helix / PaRaDoX or any other server u know that has xTrap can u either PM me the bypass or post it here pls......this is driving me nuts



All times are GMT +1. The time now is 07:49.


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.