Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 10-11-2009, 04:07 PM
Irreverent
The Solo Server
 
Join Date: May 2007
Posts: 416
Default $mobid = npctypeid or the spawn#?

By lexicon it says that $mobid should be npctypeid, but when I do a quest::shout("I am number $mobid"); it is saying the npc# of the zone, not the npctype id.

Meaining, if there are 100 mobs in the zone, I spawn it it will say "I am number 101"

Did this get changed? Is there a way to get it to be the npctypeid instead? Maybe another variable?
__________________
OP of Irreverent Server (The Solo Server)
Our Forums
Reply With Quote
  #2  
Old 10-11-2009, 10:10 PM
Theeper
Discordant
 
Join Date: May 2004
Posts: 290
Default

$npcID = $npc->GetNPCTypeID();
Reply With Quote
  #3  
Old 10-12-2009, 09:13 AM
Irreverent
The Solo Server
 
Join Date: May 2007
Posts: 416
Default

Just added "..I am NPC $npcID or $npc"

all I see is "...I am NPC"
__________________
OP of Irreverent Server (The Solo Server)
Our Forums
Reply With Quote
  #4  
Old 10-12-2009, 10:03 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,490
Default

He's saying do this:
Code:
$myID = $npc->GetNPCTypeID();
quest::say("My ID is $myID.");
Reply With Quote
  #5  
Old 10-12-2009, 12:08 PM
Irreverent
The Solo Server
 
Join Date: May 2007
Posts: 416
Default

Gotcha, awesome! This worked, thanks.

Now just need to figure out the default.pl or whatever it is for the generic npc perl.(like player.pl)

Have another thread in this forum discussing this.
__________________
OP of Irreverent Server (The Solo Server)
Our Forums
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 04:15 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3