GithubHelp home page GithubHelp logo

ccshiro / corecraft Goto Github PK

View Code? Open in Web Editor NEW
30.0 14.0 61.0 20.54 MB

Go 0.01% CMake 0.33% PHP 0.01% Python 1.35% C++ 94.33% Batchfile 0.01% C 2.49% HTML 0.82% Makefile 0.10% Shell 0.09% D 0.05% M4 0.10% Roff 0.29% SQLPL 0.04%

corecraft's Introduction

This is the codebase of corecraft as was when the project stopped.
Its's filled with problems and bad code, and should not be used in a production server.
A lot of effort was put into the content, so we're putting it up for downloads
if anyone is curious to check it out. The git history has been stripped as it contained
private information.

The server has been tested on Ubuntu compilled with GCC and Clang. It uses various
C++11/14 features and might not compile on Windows with MSVC.

To run the server:
Put scriptdev2 in bindings folder.
Run CMake on the server directory, resolve any dependencies you're missing.
Compile & install with make.
Generate data files with the tools (-DTOOLS=1 for CMake).
Set up the database, found in database/.
Fix the config files.
Run mangosd and realmd.
(setup_test.txt might be useful, its the steps we took to set up our many tests)

corecraft's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

corecraft's Issues

setup

Hey,
I followed the setup_test.txt to install this core on my VM (Ubuntu) but i get stuck at compiling it.
The First error was:
CMake Error at CMakeLists.txt:87 (message): Could not find <sparsehash/dense_hash_map>.

so i installed (sudo apt-get libsparsehash-dev) the lib to get cmake working.
i hope that was correct.

Now i get (when doing make) the error:

[ 96%] Linking CXX executable mangosd ../game/libgame.a(Map.cpp.o): In function google::sparsehash_internal::sh_hashtable_settings<ObjectGuid, std::tr1::hash, unsigned long, 4>::hash(ObjectGuid const&) const': /usr/include/sparsehash/internal/hashtable-common.h:244: undefined reference tostd::tr1::hash::operator()(ObjectGuid) const' collect2: error: ld returned 1 exit status src/mangosd/CMakeFiles/mangosd.dir/build.make:244: recipe for target 'src/mangosd/mangosd' failed make[2]: *** [src/mangosd/mangosd] Error 1 CMakeFiles/Makefile2:930: recipe for target 'src/mangosd/CMakeFiles/mangosd.dir/all' failed make[1]: *** [src/mangosd/CMakeFiles/mangosd.dir/all] Error 2 Makefile:127: recipe for target 'all' failed make: *** [all] Error 2

Any one got an solution for this?

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.