• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Windows Auction system, got mysql skills?

Cornex

Web Developer
Senator
Joined
Jun 15, 2008
Messages
3,443
Solutions
6
Reaction score
1,170
Location
Sweden
Hiho, i using auction system. Nothing speciell but when a player1 buy player2's item player2 don't get any money.

The db execute is this i belive:

LUA:
db.executeQuery("UPDATE `players` SET `auction_balance` = `auction_balance` + " .. buy:getDataInt("cost") .. " WHERE `id` = " .. buy:getDataInt("player") .. ";")
                        buy:free()

Someone see anything wrong? Thanks


*Already solved lol*
 
Last edited:
Back
Top