Closed datchannin closed 5 years ago
I coudn't reproduce this issue on TBC.
I've checked it again 5 mins ago with the latest version on WotLK core. And it works for this WotLK core too. Video: https://radikal.ru/video/G3rnhF8ia4P
I believe it will be the same for classic core, but I don't have client to check it.
If it is necessary, I have this data in console: SQL: INSERT INTO auction (id,houseid,itemguid,item_template,item_count,item_randompropertyid,itemowner,buyoutprice,time,moneyTime,buyguid,lastbid,startbid,deposit) VALUES ('1', '6', '14', '2321', '19', '0', '1', '4015942448', '1539812276', '0', '0', '0', '10712', '142') SQL ERROR: Out of range value for column 'buyoutprice' at row 1
I'll recompile it and try again on TBC.
I was able to confirm this. create a stack of 19 for auction and set buyout for the value in OP. WOTLK
Same pattern as https://github.com/cmangos/issues/issues/1638 Cannot reproduce on Linux. Stacks are saved correctly. No SQL error either.
@Warlockbugs price should be higher than max price value in DB table. Value depends from system. Maybe he have old computer or something...
@Warlockbugs P.S. If it helps. Couple years ago max value was 214748 gold 36 silver 47 cooper. But he gets 401594 gold 24 silver 48 cooper... Something goes wrong here, somwhere mistake in data types( maybe converting data dypes ).
Fix coming soon™. Next week.
I'd say a good idea would be to start a transaction whenever doing money or item transfer, and if it fails roll back in game as well?
Interesting how it slipped through this long!
Current behavior: Sorry, but one more bug: If you try to sell stack of items using auction. You can dublicate this stack. You should write price as "5555555". Then you price will transforme to 401594. But after your logout and login - you will see that all items are in your bag and the same items are on the auction.
Check my video: https://radikal.ru/video/LBpKjyvyadU
Expected behavior: Items should not be dublicated
Steps to reproduce:
Client version: 2.4.3 Commit hash: latest Database version: october Operating system: win64