![]() |
Been trying, need help. (manipulating brokerage fee displays)
1 Attachment(s)
Ive been trying to teach myself some UI Builder things,
but i cant seem to figure out how to do this: I want to create a modification to the player-merchant window that will list not only the base-price the player has set his items to be sold at, but also the prices that will appear at the 20% and 40% brokerage fees (and the associated actual fee) Example: This way, people can try to 'even out' thier prices so thier customers end up paying the price merchants want them to pay, instead of an inflated price. This is a photoshopped picture. My skills graphically far outweigh my XML skills. |
Also, i was hoping to create some kind of "coin calculator" within EQ2
so i wouldnt have to keep alt-tabbing to Excel in case this type of thing didnt work... but i cant find any posts that demonstrate using mathmatics within the UI? |
Nice for the custom, but bad for the seller ;) I'm not trying to discourage your UI, cause I like the idea, but you know that people can buy from right where you sell from with out an extra fee?
As for the UI, I dunno how to help ya on that one :p |
Quote:
Someone is more likely to pay 1g instead of 1g 20s and knowing how much to set your merchant prices for to cut under the competition just enough while still ramaining in the black is really nice. Especially on low-ticket items like harvestables, where its easier for the buyer to stay at the broker and buy 40 somethings, instead of wandering all over the city to buy those 40 somethings and then back to their crafting den. |
Math is done through OnEvents. You'd need a button with an OnPress property to run the calculations. Rather, that is what you would need if you could perform math on price values. Here's the problem:
Not only are there letters attached to the end of each value, making it so you can't perform math functions on them, the price is one long string ("9999p 99g 99s 99c" is all in the same text object) and we have no way of breaking apart strings (we can't concatenate strings either). So, unfortunately, what you're trying to do isn't possible. =/ Quib |
When selling items, I just compare the base price everyone else has and set my base price accordingly. I really don't see the need for something complicated like this, myself.
/shrug |
If your in your own room setting prices, the prices are listed without a brokage fee.
|
| All times are GMT -5. The time now is 02:29 PM. |
vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI