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-24-2013, 07:28 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,498
Default

It is in the code, but I don't think there is a perl export for it.
Reply With Quote
  #2  
Old 10-24-2013, 08:26 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Quote:
Originally Posted by joligario View Post
It is in the code, but I don't think there is a perl export for it.
That is probably what I did last time was modify the source.
Reply With Quote
  #3  
Old 10-24-2013, 08:32 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,603
Default

Quote:
Originally Posted by provocating View Post
That is probably what I did last time was modify the source.
Did you attempt what I said?
Reply With Quote
  #4  
Old 10-24-2013, 09:00 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Not yet, have not had a chance yet.
Reply With Quote
  #5  
Old 10-24-2013, 09:01 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,603
Default

Quote:
Originally Posted by provocating View Post
Not yet, have not had a chance yet.
Okay, just keep me posted.
Reply With Quote
  #6  
Old 10-24-2013, 11:22 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Quote:
Originally Posted by Kingly_Krab View Post
Did you attempt what I said?
Yeah definitely not working, the temp merchant list keeps getting larger.
Reply With Quote
  #7  
Old 10-25-2013, 09:24 AM
rencro
Hill Giant
 
Join Date: Sep 2008
Location: So. California
Posts: 219
Default

Is this what you are looking for? If not perhaps it can do what you need..


Code:
quest::MerchantSetItem(merchant's npc id, item id, quanity of item) - changes the number of the item that the merchant has available to sell
quest::MerchantCountItem(merchant npc id, item id) returns the number of that item in stock.
Reply With Quote
  #8  
Old 10-25-2013, 12:31 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

I knew about those two, I need a simple clear inventory.
Reply With Quote
  #9  
Old 10-25-2013, 02:22 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

I had to edit around 4~5 .cpp files but now it is working like a champ. I created a function in C++ to delete the table rows for that NPC and made the companion PERL function and it works like a champ. One step closer.
Reply With Quote
Reply

Thread Tools
Display Modes

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 10:23 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 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3