TFS 0.X Upgrade System + Auction System

samandriel

Member
Joined
Oct 19, 2016
Messages
99
Reaction score
4
I have 2 systems who need to work together, but idk how to do

1- auction system, its like a offline trade to 8.6, you can buy and sell items offline by using website and talkactions
My version of this script: hastebin (https://hastebin.com/ififewedix.php)
take from this base: TalkAction - Offline player to player item trader (Auction System). (https://otland.net/threads/offline-player-to-player-item-trader-auction-system.51447/)

2- perfect upgrade items system, its a system where players upgrade his items and make it more stronger
My version of this script: hastebin (https://hastebin.com/derezahayu.rb)
take from this base: Perfect Upgrade System (https://www.xtibia.com/forum/topic/187075-perfect-upgrade-system/)



I want to some how, players can put upgrade items to sell and buy items upgraded on auction system


My idea was add a new row, like this:
Code:
ALTER TABLE `auction_system` ADD `upgrade_level` INT NOT NULL DEFAULT '0' AFTER `date`;
And somehow use this row to make it work


Is anybody pls could help me?
It could be so usefull, a lot servers uses both systems.
 

gabriel28

Intermediate OT User
Joined
Mar 16, 2012
Messages
199
Reaction score
23
@samandriel
Maybe setting an unique id when the player make the upgrade and make ir visible on description of the item, so when player use the talkaction to put on the auction, he uses !offer add, UNIQUE ID, QUANT, VALUE.
Well, is just a thought.
 
Top