Genshin 3.2 Docker & GM Commands

Page 8 of 8 FirstFirst 12345678
Results 106 to 115 of 115
  1. #106
    Novice Fraquel is offline
    MemberRank
    Apr 2020 Join Date
    4Posts
    nice work thank you information



    Quote Originally Posted by Kei View Post
    Update regarding fixing loginserver for Android auth:

    First, edit bin\loginserver\src\controllers\hk4e.granter.js
    Line 41, change
    Code:
    data: { guest: false },
    to
    Code:
    data: "{\"guest\":false}",
    I saw that this was typed as string in Grasscuter's code, this solved the "Network Error" thing.

    Then, edit src\config\index.js
    Line 41, change
    Code:
    title: 'Development (Offline)',
    to
    Code:
    title: 'Development',
    Or something without special characters.

    You might need to update your mysql db, not sure if it would work without these rows:
    Code:
    USE `db_hk4e_global_deploy`;
    INSERT INTO `t_bind_config` VALUES (3,'OSRELAndroid3.2.0','dev_docker','1');
    INSERT INTO `t_client_channel_id_config` VALUES (3,'OSRELAndroid3.2.0',1,1,'','');
    INSERT INTO `t_client_config` VALUES (3,'OSRELAndroid3.2.0','OSRELAndroid','','{\"sdkenv\":\"1\",\"checkdevice\":false,\"loadPatch\":false,\"showexception\":false,\"regionConfig\":\"pm|fk|add\",\"downloadMode\":\"0\"}','027d8a5fcdc9c5cf');
    INSERT INTO `t_client_region_config` VALUES (3,'OSRELAndroid3.2.0','dev_docker','');

  2. #107
    Member Alucard1112 is offline
    MemberRank
    Jul 2008 Join Date
    Somewhere.....Location
    88Posts
    Quote Originally Posted by Kei View Post
    Code:
    USE `db_hk4e_global_deploy`;
    INSERT INTO `t_bind_config` VALUES (3,'OSRELAndroid3.2.0','dev_docker','1');
    INSERT INTO `t_client_channel_id_config` VALUES (3,'OSRELAndroid3.2.0',1,1,'','');
    INSERT INTO `t_client_config` VALUES (3,'OSRELAndroid3.2.0','OSRELAndroid','','{\"sdkenv\":\"1\",\"checkdevice\":false,\"loadPatch\":false,\"showexception\":false,\"regionConfig\":\"pm|fk|add\",\"downloadMode\":\"0\"}','027d8a5fcdc9c5cf');
    INSERT INTO `t_client_region_config` VALUES (3,'OSRELAndroid3.2.0','dev_docker','');
    Small nitpick but you need to reorder these with the default DB. It won't let you insert into t_bind_config without first having that value in t_client_config.
    Otherwise, thanks for the sauce. This thread has been an abundance of good info.

  3. #108
    Novice yue9 is offline
    MemberRank
    Jan 2023 Join Date
    1Posts
    Quote Originally Posted by Kei View Post
    Update regarding fixing loginserver for Android auth:

    First, edit bin\loginserver\src\controllers\hk4e.granter.js
    Line 41, change
    Code:
    data: { guest: false },
    to
    Code:
    data: "{\"guest\":false}",
    I saw that this was typed as string in Grasscuter's code, this solved the "Network Error" thing.

    Then, edit src\config\index.js
    Line 41, change
    Code:
    title: 'Development (Offline)',
    to
    Code:
    title: 'Development',
    Or something without special characters.

    You might need to update your mysql db, not sure if it would work without these rows:
    Code:
    USE `db_hk4e_global_deploy`;
    INSERT INTO `t_bind_config` VALUES (3,'OSRELAndroid3.2.0','dev_docker','1');
    INSERT INTO `t_client_channel_id_config` VALUES (3,'OSRELAndroid3.2.0',1,1,'','');
    INSERT INTO `t_client_config` VALUES (3,'OSRELAndroid3.2.0','OSRELAndroid','','{\"sdkenv\":\"1\",\"checkdevice\":false,\"loadPatch\":false,\"showexception\":false,\"regionConfig\":\"pm|fk|add\",\"downloadMode\":\"0\"}','027d8a5fcdc9c5cf');
    INSERT INTO `t_client_region_config` VALUES (3,'OSRELAndroid3.2.0','dev_docker','');
    The Android version displays 4206 error. Is there any solution? The port used 8080. For your information, it works well in the PC version.

  4. #109
    Account Upgraded | Title Enabled! Tryout is offline
    MemberRank
    Jul 2020 Join Date
    341Posts
    Which OS to set this up? Sorry for being a newbie.

  5. #110
    Valued Member jonipin is online now
    MemberRank
    Jan 2013 Join Date
    New YorkLocation
    122Posts
    Quote Originally Posted by Tryout View Post
    Which OS to set this up? Sorry for being a newbie.

    again any OS that has docker Windows/Linux both work. I'm using Linux but that's my main OS, the recommended way is to use docker desktop with Windows.

  6. #111
    Account Upgraded | Title Enabled! Tryout is offline
    MemberRank
    Jul 2020 Join Date
    341Posts
    Can someone help me install this server? I can't seem to make it from the start. Already installed WSL and Docker Desktop but still has a problem. I am using Windows Server 2022 VPS with 16gb of RAM, I can give some amount or an extra VPS same specs if ever. Thanks!

  7. #112
    Valued Member jonipin is online now
    MemberRank
    Jan 2013 Join Date
    New YorkLocation
    122Posts
    16 won't be enough. The server uses 14GB with the minimal install and 24/26GB with the full server. so 16GB wont be enough for the OS and Docker.
    Increase it to atleast 32GB, also make sure to have at least 6 cores.

  8. #113
    Apprentice Deathu is offline
    MemberRank
    Dec 2022 Join Date
    11Posts
    Heya, so im having an issue i tried to start the full version on a physical server i bought i changed all 127.0.0.1 ips to my public ip so anyone that i gave the ip to could join i port forwarded 8080 i get to login with no issues but when it gets to "fetching resources and b4 the door shows up it freezes a few times and gives me an error 4206 can't connect i also did the .wslconfig file but it doesn't seem to do anything server always slowly gets up in ram getting to 14 then slowly 17 and eventually 24, do i need to wait for the while 24gb till i can try ? or am i missing something? (i checked firewall its not blocking it i even tried to fully disable it no difference) also the register account page works with no issues using my public ip:8080.

  9. #114
    Valued Member jonipin is online now
    MemberRank
    Jan 2013 Join Date
    New YorkLocation
    122Posts
    Quote Originally Posted by Deathu View Post
    Heya, so im having an issue i tried to start the full version on a physical server i bought i changed all 127.0.0.1 ips to my public ip so anyone that i gave the ip to could join i port forwarded 8080 i get to login with no issues but when it gets to "fetching resources and b4 the door shows up it freezes a few times and gives me an error 4206 can't connect i also did the .wslconfig file but it doesn't seem to do anything server always slowly gets up in ram getting to 14 then slowly 17 and eventually 24, do i need to wait for the while 24gb till i can try ? or am i missing something? (i checked firewall its not blocking it i even tried to fully disable it no difference) also the register account page works with no issues using my public ip:8080.
    You need to edit the ip's in bin/loginserver/src/config/index.js and rebuild the docker image.

  10. #115
    Apprentice Deathu is offline
    MemberRank
    Dec 2022 Join Date
    11Posts
    Quote Originally Posted by jonipin View Post
    You need to edit the ip's in bin/loginserver/src/config/index.js and rebuild the docker image.

    I did that, still the same issue. i don't know what i missed.



Page 8 of 8 FirstFirst 12345678

Advertisement