[Ascent] Red Hat Based Server Compile & Setup

Results 1 to 8 of 8
  1. #1
    Apprentice enigami is offline
    MemberRank
    Jan 2007 Join Date
    21Posts

    [Ascent] Red Hat Based Server Compile & Setup

    1. Downloads
      Putty (http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html)
      sqlYog (http://www.webyog.com/downloads/SQLyog607.exe)
      Map Extractor (http://www.wowmyst.com/DL/ad.exe)
      TortoiseSVN (http://prdownloads.sourceforge.net/tortoisesvn/TortoiseSVN-1.4.5.10425-win32-svn-1.4.5.msi?download)
    2. Connect to Your Linux Machine
      Use putty to connect to your linux server remotely (this will make it ALOT easier! ... its pretty self explanitory
    3. Getting the Packages You Need
      Code:
      Yum -y install automake
      Code:
      Yum -y install gcc
      Code:
      Yum -y install gcc-c++
      Code:
      Yum -y install mysqld
      Code:
      Yum -y install mysql-devel
      Code:
      yum -y install compat-gcc-32 compat-gcc-32-c++ compat-libstdc++-296 compat-libstdc++-33
      Code:
      yum install zlibyum install zlib-devel
      Code:
      yum -y install vsftpd
      Code:
      yum -y install subversion
    4. Starting/Stopping Services
      Start Mysql:
      Code:
      service mysqld start

      Stop IPtables if installed:

      Code:
      /etc/init.d/iptables stop
      Start VSFTPD
      Code:
      /etc/init.d/vsftpd start
    5. Setup Your FTP
      Open the VSFTPD Conf File
      Code:
      vi /etc/vsftpd/vsftpd.conf
      Code:
      # Allow anonymous FTP?
      anonymous_enable=NO
      ...
      # The directory which vsftpd will try to change
      # into after an anonymous login. (Default = /var/ftp)
      anon_root=/opt/
      ...
      # Uncomment this to allow local users to log in.
      local_enable=YES
      ...
      # Uncomment this to enable any form of FTP write command.
      # (Needed even if you want local users to be able to upload files)
      write_enable=YES
      ...
      # Uncomment to allow the anonymous FTP user to upload files. This only
      # has an effect if global write enable is activated. Also, you will
      # obviously need to create a directory writable by the FTP user.
      #anon_upload_enable=YES
      ...
      # Uncomment this if you want the anonymous FTP user to be able to create
      # new directories.
      #anon_mkdir_write_enable=YES
      ...
      # Activate logging of uploads/downloads.
      xferlog_enable=YES
      ...
      # You may override where the log file goes if you like.
      # The default is shown below.
      xferlog_file=/var/log/vsftpd.log
      Restart VSFTPD:
      Code:
      /etc/init.d/vsftpd restart
      Vi Basic Commands
      • "i" insert
      • "alt"+"w" to stop editing
      • "shift"+"ZZ" write & exit
    6. Setting Up Mysql
      Change your Mysql Root Pass
      Code:
      mysqladmin -u root password 'new-password'
      Create Ascent DB
      Code:
      mysqladmin -h localhost -u root -ppassword create ascent
      Create Character DB
      Code:
      mysqladmin -h localhost -u root -ppassword create character
      Create Mysql User
      Code:
      Mysql -u root
      Code:
      USE mysql;
      Code:
      INSERT INTO user (Host, User, Password, Select_priv) VALUES ('', 'USER1', password('supersecret'), 'Y');
      Grant Permissions To User
      Code:
      GRANT ALL PRIVILEGES ON ascent.* TO User1;
      Code:
      GRANT ALL PRIVILEGES ON character.* TO User1;
      Code:
      FLUSH PRIVILEGES;
      Code:
      Quit
      Restart Mysql
      Code:
      Service Mysqld Restart
    7. Compiling Ascent
      Svn Checkout
      Code:
      svn co svn://www.emupedia.com/svn/ascent/trunk
      Or to get a specific revision:
      Code:
      svn co -r REVNUMBER svn://www.emupedia.com/svn/ascent/trunk


      Configuring
      Code:
      cd trunk/
      Code:
      autoreconf --install --force
      Code:
      ./configure --prefix=/opt/ascent/ --libdir=/opt/ascent/lib/
      Compile
      Code:
      Make
      Code:
      Make Install
    8. Import Your DB
      I recommend using NCDB
      Checkout NCDB with TortoiseSVN
      1. Make a folder on your local computer
      2. Right click on the folder and click SVN Checkout
      3. Address:
        Code:
        svn://emupedia.com/svn/ncdb
      Once it has downloaded you will need to edit the Tool.bat

      Once you have edited it run it pressing "w" to import world and "c" to import the character DB
    9. Editing Your Conf Files
      You will now need to edit your conf files to make eveything work!

      1. Make a directory for the confs
      Code:
      cd /opt/ascent
      Code:
      mkdir etc
      Code:
      mkdir conf
      2. Move the confs
      Code:
      cd ~/trunk/src
      Code:
      mv ascent.conf /opt/ascent/conf
      Code:
      mv realms.conf /opt/ascent/conf
      Code:
      mv logonserver.conf /opt/ascent/etc
      3. Edit logonserver.conf
      Code:
      cd /opt/ascent/etc
      Code:
      vi logonserver.conf
      4. Edit Ascent.conf
      Code:
      cd ../conf
      Code:
      vi ascent.conf
      5. Edit Realms.conf
      Code:
      vi realms.conf
    10. Maps, GM Scripts, & DBCs
      Extract your maps by placing ad.exe in you World of Warcraft directory and making a folder called maps! Then run ad.exe

      Download the DBC files
      http://www.wowmyst.com/DL/DBC.zip


      Uploading
      Open Explorer (My Computer)
      Type in the address bar ftp://HOSTNAMEorIP
      Click File-->Logon As
      Enter Root and your pass

      Go to the Ascent directory and make a directory called maps, another called DBC, and another called scripts

      Upload all the files accordingly
      **Note the scripts are found in the NCDB SVN you downloaded under Development
    11. Making You Server Starter
      Make a file called run.sh
      Code:
      cd /opt/ascent
      Code:
      touch run.sh
      Edit it
      Code:
      vi run.sh
      Enter the following:
      Code:
      #!/bin/sh
      ./bin/ascent --conf conf/ascent.conf --realmconf conf/realms.conf
    12. Starting Your Server
      First run your logonserver
      Code:
      cd /opt/ascent/bin/
      Code:
      ./logonserver

      Then start your world server

      Code:
      cd /opt/ascent
      Code:
      sh ./run.sh


  2. #2
    Novice tdmarkoo is offline
    MemberRank
    Dec 2007 Join Date
    1Posts

    Re: [Ascent] Red Hat Based Server Compile & Setup

    Someties i have Segmentaion Fault after server runs few mins or hrs...

  3. #3
    Apprentice Zason is offline
    MemberRank
    Nov 2007 Join Date
    15Posts

    Re: [Ascent] Red Hat Based Server Compile & Setup

    Try this. Scroll down and read your OS, I use Ubuntu.

    For Linux
    The easiest way to get ascent is by running:

    svn export http://217.149.194.150/svn/ascent/branches/2_4_stable/ /folder/for/source --username anonymous --password ""
    Replacing /folder/for/source with something like /home/johnny/source

    Note: In order to have ascent work under linux, you must use svn to download the source, DO NOT use TortiseSVN and then copy the files to your linux server, it will not work (you will get segmentation fault).

    Retrieved from "http://www.ascentemu.com/wiki/index.php/Checkout"

  4. #4
    Novice orjan1992 is offline
    MemberRank
    Jun 2007 Join Date
    2Posts

    Re: [Ascent] Red Hat Based Server Compile & Setup

    When i run it after completed the guide i only get this error:
    Code:
    15:32 N ObjectMgr: Loading Transports...
    Sql query failed due to [Table 'ascent_world.transport_creatures' doesn't exist], Query: [SELECT * FROM transport_creatures WHERE transport_entry = 181646]
    Sql query failed due to [Table 'ascent_world.transport_creatures' doesn't exist], Query: [SELECT * FROM transport_creatures WHERE transport_entry = 176495]
    Sql query failed due to [Table 'ascent_world.transport_creatures' doesn't exist], Query: [SELECT * FROM transport_creatures WHERE transport_entry = 177233]
    Sql query failed due to [Table 'ascent_world.transport_creatures' doesn't exist], Query: [SELECT * FROM transport_creatures WHERE transport_entry = 176310]
    Sql query failed due to [Table 'ascent_world.transport_creatures' doesn't exist], Query: [SELECT * FROM transport_creatures WHERE transport_entry = 176231]
    Sql query failed due to [Table 'ascent_world.transport_creatures' doesn't exist], Query: [SELECT * FROM transport_creatures WHERE transport_entry = 176244]
    Sql query failed due to [Table 'ascent_world.transport_creatures' doesn't exist], Query: [SELECT * FROM transport_creatures WHERE transport_entry = 175080]
    Sql query failed due to [Table 'ascent_world.transport_creatures' doesn't exist], Query: [SELECT * FROM transport_creatures WHERE transport_entry = 164871]
    Sql query failed due to [Table 'ascent_world.transport_creatures' doesn't exist], Query: [SELECT * FROM transport_creatures WHERE transport_entry = 20808]
    15:32 N World: Starting Auction System...
    15:32 N AuctionMgr: Loading Auction Houses...
    15:32 N World: Backgrounding loot loading...
    15:32 N BattlegroundManager: Starting...
    15:32 N DayWatcherThread: Started.
    Starting network subsystem...
    Loading External Script Libraries...
      libGossipScripts.so : 0x00000000 : error! [../lib/libGossipScripts.so: cannot open shared object file: No such file or directory]
      libSpellHandlers.so : 0x00000000 : error! [../lib/libSpellHandlers.so: cannot open shared object file: No such file or directory]
      libInstanceScripts.so : 0x00000000 : error! [../lib/libInstanceScripts.so: cannot open shared object file: No such file or directory]
      libServerStatusPlugin.so : 0x00000000 : error! [../lib/libServerStatusPlugin.so: cannot open shared object file: No such file or directory]
    Loaded 0 external libraries.

  5. #5
    Member W0LFMAN is offline
    MemberRank
    Jan 2007 Join Date
    Netherlands , LelystadLocation
    59Posts

    Re: [Ascent] Red Hat Based Server Compile & Setup

    mv lib/ ../

    and re-run run.sh

    worked for me

    I do have another question..

    I got the 2_4_stable version and its running.. but what database should i use ?

    because i'm getting a few errors on this one...

    It is compatible with NCDB i presume so i just need the right version ....

  6. #6
    Novice l2mitch is offline
    MemberRank
    Dec 2007 Join Date
    2Posts

    Re: [Ascent] Red Hat Based Server Compile & Setup

    Having a bit of trouble with getting the SVN.

    Code:
    # svn co svn://www.emupedia.com/svn/ascent/trunk
    svn: Can't connect to host 'www.emupedia.com': Connection refused
    Fedora 7, following the instructions from this thread.

    Edit: I found out that I should read more closely. :)

  7. #7
    Novice l2mitch is offline
    MemberRank
    Dec 2007 Join Date
    2Posts

    Re: [Ascent] Red Hat Based Server Compile & Setup

    More troubles, except at the config part.
    Code:
    checking for pthread_create in -lpthread... yes
    checking for compress in -lz... yes
    checking for ftime  in -lcompat... no
    checking for mysql_init in -lmysqlclient... no
    checking for mysql_init in -lmysql... no
    configure: error: Missing mysql
    However, I have Mysql running right now.

  8. #8
    Account Upgraded | Title Enabled! Noaru is offline
    MemberRank
    Jul 2009 Join Date
    207Posts

    Re: [Ascent] Red Hat Based Server Compile & Setup

    I get this error...

    Code:
    No rule to make target `hearthstone_getopt.o', needed by `libshared.a'.  Stop.
    make[3]: Leaving directory `/root/ascent/ascent/trunk/src/ascent-shared'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/root/ascent/ascent/trunk/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/ascent/ascent/trunk'
    make: *** [all] Error 2



Advertisement