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

Development::Feature Requests Post suggestions/feature requests here.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-01-2009, 08:33 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,490
Default Rule to Allow EXP from Merchants

I have noticed you can't get experience from killing merchants. This takes away a little bit from Live. Would be nice to allow servers the option to gain EXP from merchants rather than use the perl script.

If the original reason to not give experience was to prevent people from killing merchants, we could always set them immune to melee/spells in the database now.
Reply With Quote
  #2  
Old 08-01-2009, 08:58 PM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,450
Default

Quote:
Originally Posted by joligario View Post
I have noticed you can't get experience from killing merchants. This takes away a little bit from Live. Would be nice to allow servers the option to gain EXP from merchants rather than use the perl script.

If the original reason to not give experience was to prevent people from killing merchants, we could always set them immune to melee/spells in the database now.
The reason to give them no experience is because it was like that on live. If you want to change it (or code a rule for it) it's in

around line 2795, attack.cpp

Code:
	if (give_exp_client && !IsCorpse() && MerchantType == 0)
change to

Code:
	if (give_exp_client && !IsCorpse())
and if you want them giving corpses,

around line 2888, attack.cpp

Code:
if (!HasOwner() && class_ != MERCHANT && class_ != ADVENTUREMERCHANT && !GetSwarmInfo()
change to

Code:
if (!HasOwner() && class_ != ADVENTUREMERCHANT && !GetSwarmInfo()
you can also remove the adventure merchant option if you would like.

have fun.
Reply With Quote
  #3  
Old 08-01-2009, 09:40 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,490
Default

I seem to remember being able to get EXP from most merchants on live. Was this not the case?
Reply With Quote
  #4  
Old 08-01-2009, 09:48 PM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,450
Default

Quote:
Originally Posted by joligario View Post
I seem to remember being able to get EXP from most merchants on live. Was this not the case?
Nope. At least in Classic EQ you couldn't. They would die and poof with no corpse or exp.
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 06:20 PM.


 

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