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 05-07-2014, 04:48 PM
Esildor
Hill Giant
 
Join Date: Feb 2010
Posts: 207
Default Alt Currency Reward

Currently I'm using Radiant Crystals although I want to switch because they're default in the main part of the UI under the 'Radiant Crystals' not in the alt. currency tab.

Because of this they need to be put into the alt currency tab to spend them on an alt currency merchant(class 70, I tried class 67 for radiant crystal, not working).

So, right now my radiant crystals are rewarded via missions, when you complete the mission I'm using the quest string:

Code:
$client->AddCrystals(40,0);
My question is, if I am to switch to Orux or something, how can I reward them when you complete the mission? I don't see any quest string like that in the perl reference on the wiki, and adding the item id on the quest reward is only going to give 1 of them.
Reply With Quote
  #2  
Old 05-07-2014, 05:01 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,071
Default

Quote:
Originally Posted by Esildor View Post
Currently I'm using Radiant Crystals although I want to switch because they're default in the main part of the UI under the 'Radiant Crystals' not in the alt. currency tab.

Because of this they need to be put into the alt currency tab to spend them on an alt currency merchant(class 70, I tried class 67 for radiant crystal, not working).

So, right now my radiant crystals are rewarded via missions, when you complete the mission I'm using the quest string:

Code:
$client->AddCrystals(40,0);
My question is, if I am to switch to Orux or something, how can I reward them when you complete the mission? I don't see any quest string like that in the perl reference on the wiki, and adding the item id on the quest reward is only going to give 1 of them.
Curreny is an exported object, it's just not in the Wiki, I need to go through and do a comb through to make sure everything added lately is in there.

$client->AddAlternateCurrencyValue(currency_id, currency_amount);

Class 70 is for Alternate Currency Merchants.
Reply With Quote
  #3  
Old 05-07-2014, 05:04 PM
Esildor
Hill Giant
 
Join Date: Feb 2010
Posts: 207
Default

Ahh, I tried AddAlternateCurrency, didn't have the value after.

Thanks Akka!
Reply With Quote
  #4  
Old 05-07-2014, 05:05 PM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,497
Default

Hah, nevermind

Last edited by joligario; 05-07-2014 at 05:05 PM.. Reason: OBE
Reply With Quote
  #5  
Old 05-07-2014, 06:36 PM
Esildor
Hill Giant
 
Join Date: Feb 2010
Posts: 207
Default

Got it working well, only issue I have now is the alt currency merchant's buy back. He'll buy everything back at 100% value, is there anyway to change this? I've played with the sell rate, doesn't seem to affect alt currency stuff.
Reply With Quote
  #6  
Old 05-07-2014, 06:50 PM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

There is a rule in newer databases ... "EnableAltCurrencySell" -- haven't tested it.. but I am guessing it works

If you don't have it...

Code:
INSERT INTO `rule_values` (`ruleset_id`, `rule_name`, `rule_value`, `notes`) VALUES (1, 'Merchant:EnableAltCurrencySell', 'true', 'Enables the ability to resell items to alternate currency merchants');
Reply With Quote
  #7  
Old 05-07-2014, 07:31 PM
Esildor
Hill Giant
 
Join Date: Feb 2010
Posts: 207
Default

Quote:
Originally Posted by NatedogEZ View Post
There is a rule in newer databases ... "EnableAltCurrencySell" -- haven't tested it.. but I am guessing it works

If you don't have it...

Code:
INSERT INTO `rule_values` (`ruleset_id`, `rule_name`, `rule_value`, `notes`) VALUES (1, 'Merchant:EnableAltCurrencySell', 'true', 'Enables the ability to resell items to alternate currency merchants');
Hm, changed it false. Doesn't seem to have worked unfortunately.
Reply With Quote
  #8  
Old 05-07-2014, 07:48 PM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

did you #reloadallrules or restart server?
Reply With Quote
  #9  
Old 05-07-2014, 07:51 PM
Esildor
Hill Giant
 
Join Date: Feb 2010
Posts: 207
Default

Restarted server, restarting again for something else so i'll see if it takes again :P
Reply With Quote
  #10  
Old 05-07-2014, 08:00 PM
Esildor
Hill Giant
 
Join Date: Feb 2010
Posts: 207
Default

Got it to work.

There was only the rule with ruleset_id of 10, I added the same rule with ruleset_id of 1, 2, and 4 and it works now.

Thanks Nate.
Reply With Quote
  #11  
Old 04-01-2017, 12:09 AM
emho24
Fire Beetle
 
Join Date: Sep 2013
Posts: 19
Default

Has anyone tried this lately? I'm either doing something very wrong or it's not functional.

I've got some alt currency merchants setup and I don't want them to buy back anything. I've created the 'Merchant:EnableAltCurrencySell' rule for the ruleset_id that the zone is using that my merchants are in.

The rule_value is false, and when you buy an item from these merchants and then click the sell button to sell it back, your character can no longer interact with any merchants at all, right clicking on them does nothing. Rof2 client.

rule_values entry looks like this (24 is my rule set for my hub zone where these merchants are):
24 Merchant:EnableAltCurrencySell false Enables the ability ....
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 09:29 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