Hello, I need help to repair the "Auction House", for those who do not know it is an item of sale system (alt + B ) the player selects the item to be sold, the price and the amount of time he'll be selling (1-9 days), if during that time the item is not sold it returns to the owner. Hi5 removed a review, but I'm with some errors, they are: the expiry of the time item he does not return to the player (owner of the item), and when the item is purchased adena is not transferred to the owner. I hope someone can help, below the original code and the adaptation made by me. (ADAPTED TO ACIS)
ORIGINAL code:
ADAPTED code: