Jump to content

Search the Community

Showing results for tags 'compile'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News & Updates
    • Announcements
    • Suggestions & Feedback
  • MMO Hub
    • General Chat
    • Gamer's Lounge
    • Member's Lounge
    • Dev Lounge
  • MMO Corner
    • MMO and MMORPG
    • Host Listing
    • Server Listings
    • Server Recruitment
    • Server Reviews
  • User Hub
    • Support
    • Report
    • Contact Staff
  • Creative Corner
    • GFX
    • VFX
  • Merchant Corner
    • Marketplace
  • General Development Releases
    • Applications
  • Tutorials
    • Programming
    • Web Development
  • Wasteland
    • Archives

Categories

  • Creative Corner
    • GFX Releases
    • VFX Releases
    • Resources
  • MMO and MMORPG
    • World of Warcraft
    • Lineage 2
    • Minecraft
  • Webmasters
    • Content Management Systems
    • Addons
    • Scripts
    • Designs
    • Proxies
  • Applications
  • Gaming
    • World of Warcraft
    • Lineage 2
    • Minecraft
    • Emulation
    • Nulled Distributions
  • Marketplace
    • Marsh Designs
    • iDarts

Calendars

  • Community Calendar

Found 6 results

  1. Hello while I was compiling the latest trinitycore I kept getting errors saying this: (I am using visual community 2017) and and and a lot of this warning please help
  2. Compile Spigot on MacOSX! Step 1: As a prerequisite, install Java 7 or above if you don't have it already [OS X Download]. Step 2: Compile the latest build of spigot by doing the following: a. Creating a start.command script in a folder with buildtools. Code (Example): #!/bin/sh cd "$( dirname "$0" )" java -Xms512M -Xmx1G -XX:MaxPermSize=128M -XX:+UseConcMarkSweepGC -jar spigot.jar b. Putting in BuildTools.jar c. save the script into the folder that has buildtools. d. giving yourself permission using chmod a+x in terminal, and dragging the command script into the terminal window. e. double click on the script, and wait for 5-10 minutes for the files to download. Step 1: Create a new startup script (start.command) to launch the JAR: Code (Example): #!/bin/sh cd "$( dirname "$0" )" java -Xms512M -Xmx1G -XX:MaxPermSize=128M -XX:+UseConcMarkSweepGC -jar spigot.jar Note: MaxPermSize is no longer needed or supported in Java 8 Step 2: Open Terminal and type into it: (Don't hit enter!) Code (Text): chmod a+x Step 3: Drag your startup script file into the Terminal window. (Be sure to put a space between chmod a+x and your startup script!) Step 4: Double click your startup script. Enjoy!
  3. Compile Spigot on Linux! Step 1: As a prerequisite, install Java 7 or above if you don't have it already [Ubuntu, CentOS]. Step 2: Compile the latest build by following the BuildTools wiki page. Step 3: Place the file in a new directory dedicated to Spigot. Step 4: After running BuildTools you will find the Spigot/CraftBukkit server jar files in the same directory. Step 5: Create a new startup script (start.sh) in the directory to launch the the JAR: Code (Example): #!/bin/sh java -Xms512M -Xmx1G -XX:MaxPermSize=128M -XX:+UseConcMarkSweepGC -jar spigot.jar Step 6: Note: MaxPermSize is no longer needed or supported in Java 8, and for Debian this start.sh script code will not work. Step 7: Open your terminal and execute the following in the directory: Code (Make executable): chmod +x start.sh Step 8: Run your start up script: Code (Run command): ./start.sh Enjoy!
  4. You'll need: Git bash Java ( https://java.com/en/download/manual.jsp - Choose 64-bit if you have 64-bit) Lastest BuildTools.jar ( https://hub.spigotmc.org/jenkins/job/BuildTools/ ) 1: Place BuildTools.jar in a folder for itself. 2: Open Git Bash 3: Navigate to the buildtools folder (DO NOT RUN BUILDTOOLS YET) cd c:/buildtools/ 4: Run build tools This this into Git Bash java -jar BuildTools.jar 5: Wait as it builds your jars. In a few minutes you should have freshly compiled jars! 6: You can find CraftBukkit and Spigot in the same directory you ran the BuildTools.jar in. You can find Spigot-API in \Spigot\Spigot-API\target\. 7: ??PROFIT?? 8: Enjoy your new server!
  5. Hello members of LordCraft, here is a tutorial about Compile Server,Set Up,Add Customs and Make Online with video. Part 1: Compile pack https://www.youtube.com/watch?v=RNjQ9z_IOA0#ws Part 2: Setup Server https://www.youtube.com/watch?v=zLV6RPFQw5o#ws Part 3: Login-Admin https://www.youtube.com/watch?v=hyyMAByTxRQ#ws Credits: WolfGiaS3na
  6. Hello everyone, I see you are interested in learning how to compile and setup the latest trinity core on Ubuntu 14.04. In this tutorial I will teach you step by step, on how to compile and setup your server! Sections: Required Programs Updating your server (host). Installment of your development tools. Pulling the latest Trinity Core source Creating your build directory Configuring for compiling Compiling Trinity Core Making server public How to import your databases though SSH. Setting up a automatic restarter for your world server How to start your server Required Programs Click the names, for the links. Putty - Putty is a terminal emulator which will allow you to connect to your server though a secure SSH connection. I will assume you know how to log into your server already. Updating your Ubuntu host to get it ready: When you first log into your Ubuntu server, you will need to run the following command(s) to update and upgrade your server. This will save you from having any problems installing the required development tools later on in this tutorial. apt-get update && apt-get upgrade Installment of your development tools: Now you are ready to install the development tools. Run the following commands and wait for them to install. sudo apt-get install build-essential autoconf libtool gcc g++ make cmake git-core wget p7zip-full libncurses5-dev zlib1g-dev libbz2-dev sudo apt-get install openssl libssl-dev mysql-server mysql-client libmysqlclient-dev libmysql++-dev libreadline6-dev sudo apt-get install libboost-dev libboost-thread-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-iostreams-dev The following command is only if you're trying to compile 4.3.4 or 6.x only. sudo apt-get install libzmq-dev Pulling Trinity Core onto your server Now that you have all your development tools installed, you are ready to pull the latest Trinity Core, and compile the source. Pulling the latest Trinity Core source cd /home git clone https://github.com/TrinityCore/TrinityCore.git cd TrinityCore git checkout 3.3.5 Run the following command, to enter your Trinity Core folder you just pulled. cd Trinitycore Creating your build directory To avoid issues with updates and colliding source builds, we create a specific build-directory, so we avoid any possible issues due to that (if any might occur) mkdir build cd build Configuring for compiling You are now ready to configure your cmake to compile. Run the following command. cmake ../ -DPREFIX=/home/`echo $USER`/server Compiling Trinity Core: Now that you have configured your cmake, you are now ready to compile. Run the following command(s) to compile your core. This might take some time, depending on the how fast your server(host) is. Single Core Server(host) The following command(s) should only be used, if your server(host) only has a single core CPU. make make install Multiply Core Server(host) The following command(s) should only be used, if your server(host) has two or more CPU cores. example - make -j 4 (4 being the number of cores the server has.) make -j <number of cores> make install Now after awhile, the server should compile with no compiling errors. You can find your server files under cd /home/root/server Making your server public I see you made it to this part in my tutorial, and I'm glad I could helpful so far. In this next step I will show you how to make your server public! This part of the tutorial is very simple and easy to follow. If you aren't already in the correct folder, please run the following command to get there. cd /home/root/server/etc Okay now that you are in the right folder, run the following command(s) to remove the .dist at the end of the config files. mv authserver.conf.dist authserver.conf mv worldserver.conf.dist worldserver.conf Now you are ready to change the configuration file to get your server online! Run the following command to edit authserver.config nano authserver.config Use the arrow keys to go down, until you find "LoginDatabaseInfo" and change it to your mysql information. and change it to your mysql information. Once you are done changing the mysql information and any other settings you are now ready to save and exit. Push the following keys to save the file, and exit. CTRL+O - hit enter afterwards. CTRL+X Editing WorldServer.Config Run the following command to edit worldserver.config nano worldserver.conf Use the arrow keys to go down, until you find "LoginDatabaseInfo", "WorldDatabaseInfo", "CharacterDatabaseInfo" and change it to your mysql information. Once you are done changing the mysql information and any other settings you are now ready to save and exit. Push the following keys to save the file, and exit. CTRL+O - hit enter afterwards. CTRL+X How to import your databases though SSH. I made this part of the tutorial for those users who wish to import your database SQL files though SSH,rather then waiting for them to import though Heidisql, etc. This is honestly a much faster way. Run the following commands to create your database in case you haven't done that already. mysql -u root -p <-- it'll ask for your root password after you run this command CREATE DATABASE IF NOT EXISTS auth; CREATE DATABASE IF NOT EXISTS characters; CREATE DATABASE IF NOT EXISTS world; After you have ran the commands list above, exit out of the MySQL server window and run the commands listed below: After you have created your databases, exit out of the MySQL window by hitting CTRL + C really quick. Then run the commands listed below: mysql -u root -p auth < /home/TrinityCore/sql/base/auth_database.sql mysql -u root -p auth < /home/TrinityCore/sql/base/characters_database.sql I personally don't know if they host the world database on the git repo, or not. But you can excute the world database the same way as shown above. Downloading and unzip the DBC, Maps, Vmaps: This part of the tutorial will be updated shortly Setting up a automatic restarter for your world server Run the following command to create a new file with the name world-restarter.sh. nano world-restarter.sh After you have ran the command listed above, it should automically open up the new file you just made. You are now ready to copy and paste the code listed below, to setup your restarter. Note: You can paste text into your putty window by copying it, and then right clicking inside the window. #!/bin/bash while : do ./worldserver sleep 5 done Once you have pasted the code above, you will need to save the new file by pushing CTRL+O then hit enter since the file is already named. Followed by CTRL + X to exit the text editor. This is a rather simple restarter, but it gets the job done for new Linux users. How to start your server After you have compiled, setup your database, and downloaded your maps, and what not.. You are now ready to start your server, and log ingame! Run the following command to start your Auth Server: screen -s authserver ./authserver To exit the screen window, push CTRL + A + D. Run the following command to start your World Server: screen -s worldserver ./world-restarter.sh To exit the screen window, push CTRL + A + D. You can reattach to the screens, by typing screen -x and then screen -x PID.worldserver.
×