|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Quests::Q&A This is the quest support section |
05-07-2014, 04:48 PM
|
Hill Giant
|
|
Join Date: Feb 2010
Posts: 207
|
|
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.
|
|
|
|
05-07-2014, 05:01 PM
|
|
Administrator
|
|
Join Date: Feb 2009
Location: MN
Posts: 2,071
|
|
Quote:
Originally Posted by Esildor
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.
|
|
|
|
05-07-2014, 05:04 PM
|
Hill Giant
|
|
Join Date: Feb 2010
Posts: 207
|
|
Ahh, I tried AddAlternateCurrency, didn't have the value after.
Thanks Akka!
|
05-07-2014, 05:05 PM
|
|
Developer
|
|
Join Date: Mar 2003
Posts: 1,497
|
|
Hah, nevermind
Last edited by joligario; 05-07-2014 at 05:05 PM..
Reason: OBE
|
05-07-2014, 06:36 PM
|
Hill Giant
|
|
Join Date: Feb 2010
Posts: 207
|
|
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.
|
05-07-2014, 06:50 PM
|
|
Developer
|
|
Join Date: Dec 2012
Posts: 515
|
|
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');
|
05-07-2014, 07:31 PM
|
Hill Giant
|
|
Join Date: Feb 2010
Posts: 207
|
|
Quote:
Originally Posted by NatedogEZ
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.
|
05-07-2014, 07:48 PM
|
|
Developer
|
|
Join Date: Dec 2012
Posts: 515
|
|
did you #reloadallrules or restart server?
|
05-07-2014, 07:51 PM
|
Hill Giant
|
|
Join Date: Feb 2010
Posts: 207
|
|
Restarted server, restarting again for something else so i'll see if it takes again :P
|
05-07-2014, 08:00 PM
|
Hill Giant
|
|
Join Date: Feb 2010
Posts: 207
|
|
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.
|
04-01-2017, 12:09 AM
|
Fire Beetle
|
|
Join Date: Sep 2013
Posts: 19
|
|
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 ....
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 09:12 PM.
|
|
|
|
|
|
|
|
|
|
|
|
|