Hi Ragezone!
This AuctionServer provides your auction house with items to make it feel more alive.
We tested it on our server and the feedback from the community was very positive so we decided to share it with everyone.
Once added to your server files it will work like any other subserver.
Download (same as the attachment in this post): https://drive.google.com/file/d/1bMD...OHXYr9bVW/view
How to add it to your current server files?
1) The first step is to create a character ingame, this character will be used to run the auctions. It can be any character on any account, it does not need gm privileges or a specific name. Open your database ffdb1 and get the character id from player_characters, we need that id later.
2) Copy the AuctionServer folder inside your main server folder. It should look like this:3) In the folder there is also a file for updating your database called "create_tables.sql". You have to execute it inside the ffdb1 database.Code:- hxsy |- AuctionServer |- auctions.ini |- AuctionServer |- config.ini |- Data |- GatewayServer |- LoginServer ...
4) Open the config.ini that is inside the AuctionServer folder. Fill out password with your database password and add the id from step 1 to player_id.Code:su postgres psql \c ffdb1 \i '/root/hxsy/AuctionServer/create_tables.sql'; \q exit
5) Now the only thing left to do is to call this server on startup. Edit the "start" file in your server folder and add these lines:
Code:... killall -9 WorldServer killall -9 ZoneServer killall -9 AuctionServer cd /root/hxsy/TicketServer/chmod 777 * ...Now we have to add the server to the "stop" file too, just add the following line at the bottom:Code:... sleep 5 cd /root/hxsy/ZoneServer/ chmod 777 * ./ZoneServer & sleep 5 cd /root/hxsy/AuctionServer/ chmod 777 * ./AuctionServer &
That's all, you're done!Code:killall -9 AuctionServer
Additional Info:
- "max_auctions" is the amount of items that the server should place inside the auction house at the same time.
- auctions.ini contains all the items that can be listed in the auction house, you can modify everything in there to fit your server economy. Make sure to have no blank lines in the auction.ini file after you edit it!
- The AuctionServer will refill the auction house every 10 min. It will do nothing if no items were sold. Every day the AuctionServer will delete all its auctions and add new ones.



Reply With Quote![[Release] AuctionServer](http://ragezone.com/hyper728.png)


