[Release] AuctionServer

Results 1 to 7 of 7
  1. #1
    Valued Member UseresU is online now
    MemberRank
    Nov 2015 Join Date
    GermanyLocation
    115Posts

    config [Release] AuctionServer

    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:
    Code:
    - hxsy
        |- AuctionServer
             |- auctions.ini
             |- AuctionServer
             |- config.ini
        |- Data
        |- GatewayServer
        |- LoginServer
        ...
    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:
    su postgres
    psql
    \c ffdb1
    \i '/root/hxsy/AuctionServer/create_tables.sql';
    \q
    exit
    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.

    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 *
    ...
    Code:
    ...
    sleep 5
    cd /root/hxsy/ZoneServer/
    chmod 777 *
    ./ZoneServer &
    sleep 5
    cd /root/hxsy/AuctionServer/
    chmod 777 *
    ./AuctionServer &
    Now we have to add the server to the "stop" file too, just add the following line at the bottom:
    Code:
    killall -9 AuctionServer
    That's all, you're done!

    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.
    Attached Files Attached Files
    Last edited by UseresU; 21-10-19 at 07:26 PM. Reason: uploaded possible fix


  2. #2
    Member rokeys is offline
    MemberRank
    Feb 2012 Join Date
    98Posts

    Re: [Release] AuctionServer

    nice work~

  3. #3
    Account Upgraded | Title Enabled! AaronzitoBr is offline
    MemberRank
    Apr 2010 Join Date
    Rio de JaneiroLocation
    390Posts

    Re: [Release] AuctionServer

    Here it says the libs can't be found in Centos 6.10 64bits.


  4. #4
    Account Upgraded | Title Enabled! yokohiro is offline
    MemberRank
    Jan 2007 Join Date
    NarniaLocation
    727Posts

    Re: [Release] AuctionServer

    Greater share "Users"!

  5. #5
    Valued Member UseresU is online now
    MemberRank
    Nov 2015 Join Date
    GermanyLocation
    115Posts

    Re: [Release] AuctionServer

    @AaronzitoBr: We're using an updated debian distribution for the server but i uploaded a new version that should work on your version of centos.

  6. #6
    Account Upgraded | Title Enabled! AaronzitoBr is offline
    MemberRank
    Apr 2010 Join Date
    Rio de JaneiroLocation
    390Posts

    Re: [Release] AuctionServer

    Quote Originally Posted by UseresU View Post
    @AaronzitoBr: We're using an updated debian distribution for the server but i uploaded a new version that should work on your version of centos.
    I'll try it right now on my VPS, before it expires \o/

    Ty for the share, its a really nice funcitionality

    EDIT: It still don't work, says the same error about Glib
    Last edited by AaronzitoBr; 23-10-19 at 03:51 AM.

  7. #7
    Member doogydog is online now
    MemberRank
    Nov 2018 Join Date
    59Posts

    Re: [Release] AuctionServer

    me too...
    It still don't work, says the same error about Glib



Advertisement