Jump to content

JoWei

Members
  • Content Count

    4
  • Joined

  • Last visited

Posts posted by JoWei


  1. After a bit of research in the source, you can modify the field it reads inside of Hercules's /src/login/account_sql.c at line 525:

    "SELECT `account_id`,`userid`,`user_pass`,`sex`,`email`,`group_id`,`state`,`unban_time`,`expiration_time`,`logincount`,`lastlogin`,`last_ip`,`birthdate` FROM `%s` WHERE `account_id` = %d" 

     

    just change `group_id` to `level`.

     

    It should be around the same place in eAthena (and other) source if you want to change the other emulator query instead.


  2. There's one way and that is to make Hercules read from database "level" field or make the other one read the "group_id" field through modifying source.

    However I'm unsure where in the source it's at.

     

    As for conflict, it would happen when an emulator goes through a field or require one that doesn't exist in either emulator.

     

    Personally, I wouldn't recommend sharing existing server database for second channel since it risks breaking down on future update from either emulator.

×
×
  • Create New...

Important Information

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