Closed melker closed 9 years ago
acceptTradeOffer method has been prepared and tested for partial trades. Todo: server: parameter and call to it, tradeAccept-file client: select how much to fullfill. Calc gcd (costcount, sellcount) and use as divisor for the steps of the slider.
public int GCD(int a, int b) { return b==0 ? a : GCD(b, a%b); }
0.5.23
https://plus.google.com/+ErikMelkersson/posts/jV1VyokybCF