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 12-14-2018, 07:43 PM
blooberry_eq99
Fire Beetle
 
Join Date: Nov 2017
Posts: 6
Question Player Event: Merchant Transaction

Would anyone else find it useful to have an event that gets triggered when a player purchases or sells something from a merchant?

The use case I see for this is with the task system, if I have a quest that requires obtaining an item, I'd like the task stage to get updated when the player acquires the item, regardless if it was from looting or purchasing from a vendor.

I think a Perl/Lua API for this would be the most flexible, but I could also see such an event being added directly to the task system as another activitytype.
Reply With Quote
  #2  
Old 12-14-2018, 08:34 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,594
Default

You can always just modify your source to do exactly what you described.

We do have queryserver logging for merchant transactions, maybe you can piggyback that and find where you'd need to put your task update code.

A new EVENT_MERCHANT or whatever may not be the best route simply because it would be called every time a transaction occurs, regardless of it being scripted.
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 02:19 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