__ __ __ __ /\ \ /\ \/\ \ /\ \ \ \ \ __ ___ ___ __ \ \ \_\ \ __ __\ \ \____ \ \ \ __ /'__`\ /' __` __`\ /'__`\ \ \ _ \/\ \/\ \\ \ '__`\ \ \ \_\ \/\ \_\.\_/\ \/\ \/\ \/\ \_\.\_\ \ \ \ \ \ \_\ \\ \ \_\ \ \ \____/\ \__/.\_\ \_\ \_\ \_\ \__/.\_\\ \_\ \_\ \____/ \ \_,__/ \/___/ \/__/\/_/\/_/\/_/\/_/\/__/\/_/ \/_/\/_/\/___/ \/___/ LamaHub is multi-platform NMDC Protocol server written in C. This one was tested on Linux, FreeBSD, ZeX/OS and Windows. Created by ZeXx86 INSTALL ------- Linux / Unix - Source --------------------- LamaHub need packages: - gcc - make - zlib1g-dev (zlib with source code) : for support zpipe compression - lua51 : for support lua script language - lua51-dev (source of lua lang.) Installation process: 1. first you need extract archive, type in console/terminal: gunzip LamaHub-X.X.X.X.tar.gz and: tar xvf LamaHub-X.X.X.X.tar where X.X.X.X is version of hubsoft 2. you need go to folder with LamaHub: cd X.X.X.X 3. for compilation: make (You can enable zpipe or lua with: ZPIPE=1 LUA=1 make) or use fallowing command for ZeX/OS build: CC=i586-pc-zexos-gcc LIBS=" " make 4. in the end, you need create owner account over: ./server ownernick ownerpassword 5. after it, you can start hub with command: ./server -d Windows - Source ---------------- For compilation you need Dev-C++ (http://www.bloodshed.net/dev/devcpp.html). If you have problem with build, try add parameter to linker in project, press right ALT + P, click on Parameters and command Add library. Parameter is library a 'libwsock32.a', is placed in Dev-C++ folder/lib. Now you can try built it again. You need to create owner account, so start Server.exe and type your nick and password. Linux binary ------------ 1. start: ./server -a for create owner account 2. for start a hub, type: ./server -d Files of LamaHub: - server (binary) - start.sh (deamon script) - hub.conf (config of hub) - motd.conf (here you can put motd) - *.cpp (C++ files : source code) - *.h (header files : source code) Parameters ---------- Type this command to console for start hubsoft: ./server For run program as daemon type: ./server -d If you want create owner account: ./server -a