Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 08-14-2007, 09:17 AM
gernblan
Discordant
 
Join Date: Aug 2006
Posts: 394
Default #npcstats upgrade

This is SO convenient! Thanks to bleh for being kind enough to provide this by request.

It's SO good it should be shared. Hopefully someone will check it in.

Ok, this is based on build 1030.

AFTER line 1628 of command.cpp add this line:

c->Message(0,"Spawn Group: %i",c->GetTarget()->CastToNPC()->GetSp2());

Then, when you do an #npcstats it will show what spawngroup the mob is in. Nice and clean. While I am aware that #showstats does this too... it's another command, and when trying to work on mobs in game, the less scroll the better. This addition makes it very easy to make PHs and see what spawngroup a mob is in. To me, this is a Godsend.

Here's a screenshot of what it looks like when compiled in.

__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast
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 01:38 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