Emps-World Forum

Emps-World => General Discussion => Topic started by: Emps Loover on January 14, 2017, 07:15:39 pm

Title: Grand Exchange mechanic
Post by: Emps Loover on January 14, 2017, 07:15:39 pm
Could anyone explain to me how the GE chooses which item from which player it buys. I always thought it would buy the item from the player who was selling it for the lowest amount of cash. But it seems it doesn't work like that. I had 2 granite mauls selling on GE, one for 599.999 coins and one for 600.000 coins, and the one for 600.000 coins was sold and the other one not.
Title: Re: Grand Exchange mechanic
Post by: Mary on January 14, 2017, 08:47:06 pm
Highest gets sold for the price that the buyer puts up (so if closest offer is 8m you get 8m for the 6m offer), unless someone is buying it specifically for 599.999.
Title: Re: Grand Exchange mechanic
Post by: Thomy on January 14, 2017, 09:10:05 pm
First come, first served.

All sell requests for a specific item are placed in an ordered list (new offers are appended at the end). When you place a buy request, this list is iterated from the beginning to the end. The first offer that matches your buy request (your price >= sell price) is picked.
Title: Re: Grand Exchange mechanic
Post by: Ameer on January 14, 2017, 09:30:15 pm
First come, first served.

All sell requests for a specific item are placed in an ordered list (new offers are appended at the end). When you place a buy request, this list is iterated from the beginning to the end. The first offer that matches your buy request (your price >= sell price) is picked.

Didn't you say once that it is completely random and the order keeps on changing ?
Title: Re: Grand Exchange mechanic
Post by: Thomy on January 14, 2017, 09:43:59 pm
First come, first served.

All sell requests for a specific item are placed in an ordered list (new offers are appended at the end). When you place a buy request, this list is iterated from the beginning to the end. The first offer that matches your buy request (your price >= sell price) is picked.

Didn't you say once that it is completely random and the order keeps on changing ?

Yup, you're right. I just checked the code and the offers are shuffled. So it's random. Looks like I explained the initial version, shuffling was an upgrade. :)
Title: Re: Grand Exchange mechanic
Post by: Emps Loover on January 15, 2017, 11:14:55 am
First come, first served.

All sell requests for a specific item are placed in an ordered list (new offers are appended at the end). When you place a buy request, this list is iterated from the beginning to the end. The first offer that matches your buy request (your price >= sell price) is picked.

Didn't you say once that it is completely random and the order keeps on changing ?

Yup, you're right. I just checked the code and the offers are shuffled. So it's random. Looks like I explained the initial version, shuffling was an upgrade. :)

Okay thanks , now I understand. Thank you !