DayZHive - Hive application [MySQL] [Node.js]

Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    Account Upgraded | Title Enabled! AWA is offline
    MemberRank
    Feb 2008 Join Date
    1,320Posts

    DayZHive - Hive application [MySQL] [Node.js]

    This is an application which simulates DayZ's hive/saving system. In comparision to other implementations, mine saves the character data in a MySQL database.

    GitHub repo:
    https://github.com/matsuiman/DayZHive

    Download:
    https://github.com/matsuiman/DayZHiv...ive/master.zip


    Requirements:


    How to use:


    1. Install Node.js and MySQL (I'm not giving instructions for that)
    2. Run the install.bat file included (multiple times if needed)
    3. Open up server.js in a text editor, edit the MySQL details:
      PHP Code:
      var connection mysql.createConnection({ 
         
      host'localhost'
         
      user'root'
         
      password''
         
      database'hive'
      }); 
    4. Run run.bat
    5. Start up your DayZ Server

    You can also edit the port and allowed IP's if you want to.


    TODO:
    • You tell me
    Last edited by AWA; 17-06-14 at 05:55 PM.


  2. #2
    R.I.P Millercent FatalLulz is offline
    MemberRank
    Nov 2012 Join Date
    AustraliaLocation
    2,248Posts

    Re: DayZHive - Hive application [MySQL] [Node.js]

    This should hopefully save people a lot of headaches trying to get the other way of saving working.

    Very nice work man. Downloaded and using now. Hope to see more from you in the future

  3. #3
    Enthusiast War Inc is offline
    MemberRank
    Apr 2013 Join Date
    39Posts

    Re: DayZHive - Hive application [MySQL] [Node.js]

    wow one person shared anything? you got a piece of my heart.

  4. #4
    Valued Member linuxking51 is offline
    MemberRank
    Oct 2013 Join Date
    132Posts

    Re: DayZHive - Hive application [MySQL] [Node.js]

    not work on linux ubuntu :-(

  5. #5
    Elder Member Shinra is offline
    MemberRank
    May 2003 Join Date
    SomewhereLocation
    586Posts

    Re: DayZHive - Hive application [MySQL] [Node.js]

    Fantastic work, thank you very much for sharing <3 Much better than raw dumps on a webserver

  6. #6
    Account Upgraded | Title Enabled! AWA is offline
    MemberRank
    Feb 2008 Join Date
    1,320Posts

    Re: DayZHive - Hive application [MySQL] [Node.js]

    Added MySQL pooling to the application.

  7. #7
    Elder Member Shinra is offline
    MemberRank
    May 2003 Join Date
    SomewhereLocation
    586Posts

    Re: DayZHive - Hive application [MySQL] [Node.js]

    Great application so far, I have noticed one game breaking bug which is sometimes, when the server saves/queues data the hive application crashes. Or if it somehow finds player data not there when it trys to /load/queue/find it will crash out. Undefined data error.

    Yeah its happening when a player either looses connection while dying, the server trys to queue them when they logout, no data is found so the application is crashed, because kill before queue had deleted the data.
    Last edited by Shinra; 18-06-14 at 02:26 PM.

  8. #8
    Account Upgraded | Title Enabled! AWA is offline
    MemberRank
    Feb 2008 Join Date
    1,320Posts

    Re: DayZHive - Hive application [MySQL] [Node.js]

    I'll try fixing the crash bugs, but for now just edit the run.bat:
    :start
    node index.js
    goto start

  9. #9
    Elder Member Shinra is offline
    MemberRank
    May 2003 Join Date
    SomewhereLocation
    586Posts

    Re: DayZHive - Hive application [MySQL] [Node.js]

    Thanks for the swift response!

    Maybe make queue ignore the request if it cannot find the uid in database, and make save remake the uid if it cannot find the uid in database.
    Last edited by Shinra; 18-06-14 at 03:06 PM.

  10. #10
    Enthusiast Marc Keirle is offline
    MemberRank
    Oct 2013 Join Date
    somersetLocation
    27Posts

    Re: DayZHive - Hive application [MySQL] [Node.js]

    Hi trying to use this on my windows server ,installed node.js and had mysql all ready installed , when running the install.bat it comes back with "npm is not recognized as a internal or external command" also the run.bat says similar ""node is not recognized as a internal or external command"" any help please ?

  11. #11
    Account Upgraded | Title Enabled! JonnyTruant is offline
    MemberRank
    Mar 2013 Join Date
    555Posts

    Re: DayZHive - Hive application [MySQL] [Node.js]

    Quote Originally Posted by linuxking51 View Post
    not work on linux ubuntu :-(
    It should work. Node.js was made to work on linux.

  12. #12
    Apprentice Eagleone is offline
    MemberRank
    May 2014 Join Date
    Loei, ThailandLocation
    8Posts

    Re: DayZHive - Hive application [MySQL] [Node.js]

    not work for me

  13. #13
    Member bfoucaul is offline
    MemberRank
    May 2014 Join Date
    66Posts

    Re: DayZHive - Hive application [MySQL] [Node.js]

    Working well ! Many thanks ;)

  14. #14
    Apprentice Eagleone is offline
    MemberRank
    May 2014 Join Date
    Loei, ThailandLocation
    8Posts

    Re: DayZHive - Hive application [MySQL] [Node.js]

    Thx me work now

  15. #15
    Account Upgraded | Title Enabled! adam47 is offline
    MemberRank
    Jun 2014 Join Date
    315Posts

    Re: DayZHive - Hive application [MySQL] [Node.js]

    can any one explaine that



Page 1 of 2 12 LastLast

Advertisement