I am having a problem setting up Trade signs for my players.
When I set up a test Trade sign for buying, it only works about half the time. For example. if I make a sign:
[Trade]
1 dirt
$0.60:10
The sign builds just fine and $6.00 is deducted from my account. If I used the same syntax and make a sign:
[Trade]
1 emerald
$1.00:1
Again, the sign builds just fine and $1.00 is deducted from my account. However if I make the sign:
[Trade]
1 emerald
$2.00:1
The sign fails and tells me "Error:Quantities must be greater than 0". I am, of course, running my tests with over $1000 in my balance. So, what could possibly be happening?
I just checked, and it seems to be happening any time I enter a dollar amount over $1.00 for the trade price. What gives? Is there a limit somewhere?
I'm confused about that. For example, if I have $55 in my balance, what if I want to buy one emerald and I want to offer the price of $50. By this reasoning, I can't create a sign that offers that. The syntax for that kind of sign would be:
[Trade]
1 emerald
$50:1
As far as I understand it, this sign would mean I want to buy one emerald for $50, and I'm putting one unit of $50 into the sign to cover that cost. This isn't possible with trade signs?
I'm confused about that. For example, if I have $55 in my balance, what if I want to buy one emerald and I want to offer the price of $50. By this reasoning, I can't create a sign that offers that. The syntax for that kind of sign would be:
[Trade]
1 emerald
$50:1
As far as I understand it, this sign would mean I want to buy one emerald for $50, and I'm putting one unit of $50 into the sign to cover that cost. This isn't possible with trade signs?
I see what your intent is now. To fix this replace 1 on line three with 50 x n. n=the number you want to sell.
[Trade]
1 Emerald
$50:500
^This will allow you to buy 10 emeralds, 1 at a time for 50 each, for $500 total.
I really appreciate the assistance. I'm not looking to sell. If I were selling, I would use...
[Trade]
$1.00
1 dirt:50
... which would give a user who clicks the sign 1 dirt block for $1.00, with a sign stock of 50 blocks of dirt.
What I want to do is the opposite. I want to be able to set up trade signs for buying. So, if line 2 is what I want and line three is what I offer, I want to offer $50 for per emerald and have a bank of, say, $200 available for that.
I really appreciate the assistance. I'm not looking to sell. If I were selling, I would use...
[Trade]
$1.00
1 dirt:50
... which would give a user who clicks the sign 1 dirt block for $1.00, with a sign stock of 50 blocks of dirt.
What I want to do is the opposite. I want to be able to set up trade signs for buying. So, if line 2 is what I want and line three is what I offer, I want to offer $50 for per emerald and have a bank of, say, $200 available for that.
OMG, I'm such a nerd. I was thinking of the number after the colon as a ratio or multiplier of the unit on the left. So, like, in my head if I typed...
[Trade]
1 emerald
$50:2
... I was telling the sign to load up 2 units of $50, so it should bank $100. Nope. Derp! It's raw dollars. I get it now. Myyyyyy huge mistake. Thank you so much for walking me out of my own head.
Hey there, all, and thanks for any help.
I am having a problem setting up Trade signs for my players.
When I set up a test Trade sign for buying, it only works about half the time. For example. if I make a sign:
[Trade]
1 dirt
$0.60:10
The sign builds just fine and $6.00 is deducted from my account. If I used the same syntax and make a sign:
[Trade]
1 emerald
$1.00:1
Again, the sign builds just fine and $1.00 is deducted from my account. However if I make the sign:
[Trade]
1 emerald
$2.00:1
The sign fails and tells me "Error:Quantities must be greater than 0". I am, of course, running my tests with over $1000 in my balance. So, what could possibly be happening?
I just checked, and it seems to be happening any time I enter a dollar amount over $1.00 for the trade price. What gives? Is there a limit somewhere?
If you don't find a solution I recommend using [Buy] signs.
[Buy]
1
Emerald
$2.00
*Edit* I'll look for what is causing this
Found the issue; trade signs must have a greater or equivilant second number than first number on line 3 when dealing with money...
[Trade]
1 emerald
$1.00:2
instead of
[Trade]
1 emerald
$2.00:1
I'm confused about that. For example, if I have $55 in my balance, what if I want to buy one emerald and I want to offer the price of $50. By this reasoning, I can't create a sign that offers that. The syntax for that kind of sign would be:
[Trade]
1 emerald
$50:1
As far as I understand it, this sign would mean I want to buy one emerald for $50, and I'm putting one unit of $50 into the sign to cover that cost. This isn't possible with trade signs?
No it is; just change it to...
[Trade]
1 emerald
$1:50
So you are trading one emerald for 50 units of $1
I'm going to test it, but I'm pretty sure that a sign that says...
[Trade]
1 emerald
$1:50
...means that I am prepared to buy 1 emerald for $1.00 with a bank of $50, so that 50 different people can sell me an emerald for $1.
Yep. That's exactly what happens. It buys the emerald for $1.00, and leaves 49 in the sign back for 49 other $1 purchases...
I see what your intent is now. To fix this replace 1 on line three with 50 x n. n=the number you want to sell.
[Trade]
1 Emerald
$50:500
^This will allow you to buy 10 emeralds, 1 at a time for 50 each, for $500 total.
I really appreciate the assistance. I'm not looking to sell. If I were selling, I would use...
[Trade]
$1.00
1 dirt:50
... which would give a user who clicks the sign 1 dirt block for $1.00, with a sign stock of 50 blocks of dirt.
What I want to do is the opposite. I want to be able to set up trade signs for buying. So, if line 2 is what I want and line three is what I offer, I want to offer $50 for per emerald and have a bank of, say, $200 available for that.
Per: http://ess.khhq.net/wiki/Sign_Tutorial#Essentials_Eco_Signs
I said buy?
[Trade]
<What you get>
<What they get>
Being specific to what you said...
[Trade]
1 Emerald
$50:200
Thank you!
OMG, I'm such a nerd. I was thinking of the number after the colon as a ratio or multiplier of the unit on the left. So, like, in my head if I typed...
[Trade]
1 emerald
$50:2
... I was telling the sign to load up 2 units of $50, so it should bank $100. Nope. Derp! It's raw dollars. I get it now. Myyyyyy huge mistake. Thank you so much for walking me out of my own head.