ahmedsuffian / aionxemu

Automatically exported from code.google.com/p/aionxemu
0 stars 0 forks source link

shift click sell to shop #204

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Core revision:227

Bug description:i cant sell items with shift click repacking.

What steps will reproduce the problem?:
open shop.
click sell.
shift click item and enter number.
sell.
it doesnt increase your kinah.

What is the expected output?:
increase kinah

i guess:
TradeService.java
wrong : if (inventory.decreaseItemCount(item, tradeItem.getCount()) > 0) {
right : if (inventory.decreaseItemCount(item, tradeItem.getCount()) >= 0) {

and the return value of decreaseItemCount() in Storage is too mysterious...

Original issue reported on code.google.com by pl6...@gmail.com on 30 Mar 2011 at 9:23

GoogleCodeExporter commented 9 years ago
See if this fixes your issue:
http://aionxemu.com/viewtopic.php?f=6&t=1095

Original comment by ZeroSign...@gmail.com on 30 Mar 2011 at 3:38

GoogleCodeExporter commented 9 years ago
i fixed it in local by the change to TradeService.java.

Original comment by pl6...@gmail.com on 31 Mar 2011 at 1:37

GoogleCodeExporter commented 9 years ago
Apply patch and report test result.

Original comment by ZeroSign...@gmail.com on 1 Apr 2011 at 9:19

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed Committed Revision 244.

Original comment by ZeroSign...@gmail.com on 6 Apr 2011 at 3:53