Jump to content

AkQ

Members
  • Content Count

    14
  • Joined

  • Last visited

Posts posted by AkQ


  1. Imo, people who doesn't know basic, or at least, cannot even do basic search, should not open a server. But right, next guide will have a section "to go further" explaining security and other :)

    I could not agree more. But your guide makes it possible to host server without almost any knowledge at all. At that point, "should" and "should not" -things don't really matter.

     

    If you need help with next guide, i'm up. I was actually thinking to make a Debian guide myself, with exception of using two servers, one for emulator and one for web-server. But i never seem to have time to do it.


  2. Great guide!

     

    But do you think that new-to-linux-world should be installing insecure server like this?
    Meaning, anyone who needs this guide is probably unaware of security things. I know that it's not really part of the guide, but it really should be mentioned for the sake of all the new servers who are insecure :S
    At least give a link to things to do first for a brand new Debian server before starting to follow the guide.
    Anyway, great guide! :)


  3. Stay away from "ready RO-servers" by any means.
    Any unmanaged VPS is much better (and cheaper) option. Set up your own linux or windows server, configure your own emulator. Don't fall into tricks.

     

    Remember: SSD is better for Database-queries, but it is not mandatory

    Also: herc/ea/ra, they all use only one single core of CPU, so any more than that is waste of money and resources.

    Space of hdd/ssd is also not to be conserned. Server for thousands can be fit less than 10GB, easy.
    RAM is the same, you dont need gigabytes of it.
    Personally, i recommend OVH Cloud VPS
    But any VPS in 2016 are capable to run a relatively big server of 1000 players without problems, and they are still MUCH cheaper than those "ready to go" -servers.
     


  4. Problem is solved by help from Hercules IRC-channel.

    I had wrong IP's in char-, map- and login-servers. *All* the ip's, server_ip: and bind_ip: was supposed to be WAN and not 127.0.0.1.
    Because i had 127.0.0.1 in bind_ip: - the server did not listen connections from anywhere else..

    Now everything seems to be working as intended.

    This is amazing community! :) So much help for noob like me.


  5. Got my server up & running yesterday after thousand failures. MySQL configured correctly, servers are connected to each other and "Server is 'ready' "

    Diffing the client is pain in the ass. Why can't there just be one basic client for every server, just change the connection info and GO! And if the server owner wants some fancy stuff other than basic, then figure it out with the stuff that are now released. I just would want to see if the client and the server works..

    Anyways, i've tried several different ragexe, and ofc i changed the packetver in mm.h but it just hasn't helped.

    After many other problems, the problem that i got stuck currently, is following:
    I open the client, i write in ID and password and i press "Login" - it waits a while and ends up in this:
    f600fa16c2.jpg

    Any help, advice or tip would be awesome !


  6. Heya - i've been trying to install Hercules to my Debian VPS (DigitalOcean) but i've yet to succeed. I'm quite new to Linux-world, but i have been able to set up the server, apache, mysql, php, mumble-server and wordpress (woohoo.. )
     

    Got error in ./config at first, but it was related to mysql, which i fixed with apt-get install libmysqlclient-dev and apt-get install libssl-dev - i'm not sure which one actually fixed the problem.. but it worked.

    After that, i got error in compiler, which indicated that i missed C for compiling anything.
    After installing that, i managed to start the compile but it resulted in the error at hand.

    Here is the command shell log:


    root@lolsuomi:~/Hercules# make sql
      MAKE   mt19937ar
    make[1]: Entering directory '/root/Hercules/3rdparty/mt19937ar'
      CC   mt19937ar.c
    make[1]: Leaving directory '/root/Hercules/3rdparty/mt19937ar'
      MAKE   libconfig
    make[1]: Entering directory '/root/Hercules/3rdparty/libconfig'
      CC   libconfig.c
      CC   grammar.c
      CC   scanctx.c
      CC   scanner.c
      CC   strbuf.c
    make[1]: Leaving directory '/root/Hercules/3rdparty/libconfig'
      MAKE   common_sql
    make[1]: Entering directory '/root/Hercules/src/common'
      MKDIR obj_all
      CC   conf.c
      CC   db.c
      CC   des.c
      CC   ers.c
      CC   grfio.c
      CC   HPM.c
      CC   mapindex.c
      CC   md5calc.c
      CC   mutex.c
      CC   nullpo.c
      CC   random.c
      CC   showmsg.c
      CC   strlib.c
      CC   sysinfo.c
      CC   thread.c
      CC   timer.c
      CC   utils.c
      CC   console.c
      CC   core.c
      CC   memmgr.c
      CC   socket.c
      AR   obj_all/common.a
      MKDIR obj_sql
      CC   sql.c
      AR   obj_sql/common_sql.a
      CC   console.c
      CC   core.c
      CC   memmgr.c
      CC   socket.c
      AR   obj_all/common.a
      MKDIR obj_sql
      CC   sql.c
      AR   obj_sql/common_sql.a
      CC   console.c
      CC   core.c
      CC   memmgr.c
      CC   socket.c
      AR   obj_all/common_mini.a
    make[1]: Leaving directory '/root/Hercules/src/common'
      MAKE   login_sql
    make[1]: Entering directory '/root/Hercules/src/login'
      MKDIR obj_sql
      CC   account_sql.c
      CC   HPMlogin.c
      CC   ipban_sql.c
      CC   login.c
      CC   loginlog_sql.c
      LD   login-server
    make[1]: Leaving directory '/root/Hercules/src/login'
      MAKE   char_sql
    make[1]: Entering directory '/root/Hercules/src/char'
      MKDIR obj_sql
      CC   char.c
      CC   HPMchar.c
      CC   loginif.c
      CC   mapif.c
      CC   geoip.c
      CC   inter.c
      CC   int_auction.c
      CC   int_elemental.c
      CC   int_guild.c
      CC   int_homun.c
      CC   int_mail.c
      CC   int_mercenary.c
      CC   int_party.c
      CC   int_pet.c
      CC   int_quest.c
      CC   int_storage.c
      CC   pincode.c
      LD   char-server
    make[1]: Leaving directory '/root/Hercules/src/char'
      MAKE   map_sql
    make[1]: Entering directory '/root/Hercules/src/map'
      MKDIR obj_sql
      CC   atcommand.c
      CC   battle.c
      CC   battleground.c
      CC   buyingstore.c
      CC   channel.c
      CC   chat.c
      CC   chrif.c
      CC   clif.c
      CC   date.c
      CC   duel.c
      CC   int_elemental.c
      CC   int_guild.c
      CC   int_homun.c
      CC   int_mail.c
      CC   int_mercenary.c
      CC   int_party.c
      CC   int_pet.c
      CC   int_quest.c
      CC   int_storage.c
      CC   pincode.c
      LD   char-server
    make[1]: Leaving directory '/root/Hercules/src/char'
      MAKE   map_sql
    make[1]: Entering directory '/root/Hercules/src/map'
      MKDIR obj_sql
      CC   atcommand.c
      CC   battle.c
      CC   battleground.c
      CC   buyingstore.c
      CC   channel.c
      CC   chat.c
      CC   chrif.c
      CC   clif.c
      CC   date.c
      CC   duel.c
      CC   elemental.c
      CC   guild.c
      CC   homunculus.c
      CC   HPMmap.c
      CC   instance.c
      CC   intif.c
      CC   irc-bot.c
      CC   itemdb.c
      CC   log.c
      CC   mail.c
      CC   map.c
      CC   mapreg_sql.c
      CC   mercenary.c
      CC   mob.c
      CC   npc.c
      CC   npc_chat.c
      CC   party.c
      CC   path.c
      CC   pc.c
      CC   pc_groups.c
      CC   pet.c
      CC   quest.c
      CC   script.c
      CC   searchstore.c
      CC   skill.c
      CC   status.c
      CC   storage.c
      CC   trade.c
      CC   unit.c
      CC   vending.c
      LD   map-server
    obj_sql/HPMmap.o: In function `HPM_shared_symbols':
    /root/Hercules/src/map/../common/HPMSymbols.inc.h:401: undefined reference to `npc_chat'
    /root/Hercules/src/map/../common/HPMSymbols.inc.h:422: undefined reference to `libpcre'
    collect2: error: ld returned 1 exit status
    Makefile:117: recipe for target '../../map-server' failed
    make[1]: *** [../../map-server] Error 1
    make[1]: Leaving directory '/root/Hercules/src/map'
    Makefile:120: recipe for target 'map_sql' failed
    make: *** [map_sql] Error 2
    root@lolsuomi:~/Hercules#


    I tried to google the shit out from that error but i could not find anything that would have helped me :(
    So i post it here, hoping that i can get this error solved and server up & running.
     


    =========================================================================================================

    This problem was fixed with
    apt-get install libpcre3 libpcre3-dev

    and then
    ./configure
    make clean
    make sql

    No errors.
    Thanks to Ema for the help, on IRC, #Hercules@Rizon

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.