Coder Social home page Coder Social logo

growtopiaserver's Introduction

Growtopia Server

First Growtopia Private Server made with ENet. Forked and edited to support other compilers and platforms.

Original code can be found here

NOTE: This version uses SHA256 for hashing password, and thus player files (those in the player folder) from GrowtopiaNoob's version will NOT be usable with this version of the server. Please remove them and recreate your GrowID

Download

  1. Head over to the Releases to obtain the server executable according to your OS.
  2. Setup the server by following the instructions over at GrowtopiaNoob's wiki
  3. Start the server by running the file as shown below:
  • Windows: Double click the exe and you are ready to go.
  • Linux: Open a terminal window in the server folder and type $ ./server-linux
  • MacOS: Open a terminal window in the server folder and type $ ./server-mac

Compiling / Build Instructions

MacOS

  1. Install MacOS XCode build tools if you have not done so $ xcode-select --install
  2. Install ENet from brew if you have brew installed $ brew install enet or from the official website (http://enet.bespin.org/Installation.html)
  3. Clone or download this project and open a terminal window in that folder.
  4. Run this command to build the server executable ($ g++ -o server server.cpp -std=c++11 -lenet)
  5. Now you have your working executable, follow instructions from the wiki here to setup your server
  6. Start the server by opening terminal window in new server folder and running $ ./server

Linux

  1. Make sure you have the build tools ready for installation. You can download them depending on your distribution.
  • For Ubuntu or Debian-based distributions, simply open a terminal window and type in the command ($ sudo apt-get install build-essential)
  • Other distributions, please refer to your package manager and install the one containing g++ and gcc
  1. Install ENet from here (http://enet.bespin.org/Installation.html)
  2. Clone or download this project and open a terminal window in that folder.
  3. Run this command to build the server executable ($ g++ -o server server.cpp -std=c++11 -lenet)
  4. Now you have your working executable, follow instructions from the wiki here to setup your server
  5. Start the server by opening terminal window in new server folder and running $ ./server

Windows

  1. You will need to use MinGW to build this project, and ensure that the files are in your PATH.
  2. After installation, clone or download this project and open a command prompt window in that folder.
  3. Run this command to build the server executable ($ g++ -o server server.cpp -std=c++11 -lenet -lws2_32 -lwinmm)
  4. Now you have your working executable, follow instructions from the wiki here to setup your server
  5. Start the server by running the server.exe program in your new folder after setup.

License

This project has been published under GNU AFFERO GPL license, so you need to publish whole source code and citate orginal authors name, even if you are using your server as service!

Contributing

Feel free to submit any PRs for any code edits, and for issues if not related to compilation/building please direct them to the main repo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.