Initiate Mage
- Joined
- Dec 17, 2022
- Messages
- 51
- Reaction score
- 56
Server info
How to run
To play LAN|Online, replace all 127.0.0.1 to your server IP (config/*.xml, fiddler_script.js, bin/loginserver/src/config/index.js,...)
Whitescreen fix
GM Commands
Play on Android
Download links
- Version 3.2 leaked
- All Docker-based services
- Use your loopback address 127.0.0.1
- Quest 80001, 20001 bug fixed
- Daily dungeon always is Sunday
- Create account on login screen
- Sdk port 8080, Muip port 10106
- Install WSL2 and Docker Desktop
- Create & start new containers: [highlight]docker compose -f hk4e-minimal.yml up -d --build[/highlight]
- Start|Stop|Restart containers: [highlight]docker compose -f hk4e-minimal.yml start[/highlight]|[highlight]stop[/highlight]|[highlight]restart[/highlight]
- Wait about 10 minutes for server boot up (Docker Desktop memory usage ~14GB)
- Copy readme/UserAssembly.dll into folder client 3.2/GenshinImpact_Data/Native
- Install Fiddler, paste content of fiddler_script.js into `FiddlerScript` tab and save. Keep Fiddler running & launch game (Server: Development)
To play LAN|Online, replace all 127.0.0.1 to your server IP (config/*.xml, fiddler_script.js, bin/loginserver/src/config/index.js,...)
Docker uses 50% of the host's memory by default. You should create a wsl configuration and allocate enough memory to run all services.
Create file [highlight]C:\Users\YourUsername\.wslconfig[/highlight] and fill it with content below.
After that, restart Docker Desktop
Create file [highlight]C:\Users\YourUsername\.wslconfig[/highlight] and fill it with content below.
Code:
[wsl2]
memory=14GB
PLAYER MUST BE ONLINE TO EXECUTE THE COMMAND
Use direct link to execute GM command (change your UID and COMMAND):
You can find hidden command by HXD, open bin/gameserver, and search for known command words like "HOME_COIN". You will see other GM commands around.
Use direct link to execute GM command (change your UID and COMMAND):
http://[highlight]<Server IP>[/highlight]:10106/api?region=dev_docker&ticket=GM&cmd=1116&uid=[highlight]UID[/highlight]&msg=[highlight]COMMAND[/highlight]
- [highlight]stamina infinite on[/highlight]|[highlight]off[/highlight]
- [highlight]energy infinite on[/highlight]|[highlight]off[/highlight]
- [highlight]kill self[/highlight]
- [highlight]kill monster all[/highlight]
- [highlight]wudi global avatar on[/highlight]|[highlight]off[/highlight](your infinite hp)
- [highlight]wudi global monster on[/highlight]|[highlight]off[/highlight](monster infinite hp)
- [highlight]talent unlock all[/highlight] (unlock talent and constellation current character)
- [highlight]point 3 all[/highlight] (unlock all teleports)
- [highlight]quest accept[/highlight] [highlight]30904[/highlight](Unlock Multiplayer)
- [highlight]quest accept[/highlight] [highlight]35801[/highlight] (Unlock Wish)
- [highlight]quest accept[/highlight] [highlight]35603[/highlight](Unlock Fly)
- [highlight]equip add[/highlight] [highlight]13501 90 6[/highlight] (item_id=13501 level=90 protomte_level=6) (Add Weapons)
- [highlight]item add[/highlight] [highlight]102 555[/highlight] (102=id_item) (555=Amount) (Add Item)
- [highlight]item add all[/highlight] (add all item + including all characters in level 1)
- [highlight]item clear[/highlight] [highlight]102 555[/highlight] (Remove item)
- [highlight]avatar add[/highlight] [highlight]10000002[/highlight] (Add character)
- [highlight]quest add[/highlight]|[highlight]accept[/highlight]|[highlight]finish[/highlight] [highlight]30302[/highlight](Add/Accept/Finish Quest)
- [highlight]player level[/highlight] [highlight] 60[/highlight] (Level Player)
- [highlight]jump[/highlight] [highlight]1009[/highlight](Teleports to scene_id) (1009=AngelShare, not all id_scene work)
- [highlight]goto[/highlight] [highlight]1 1 1[/highlight] (x,y,z in gc use /pos to see location)
- [highlight]dungeon[/highlight] [highlight]30604[/highlight](30604=id_scene not work) (Teleports to dungeon)
- [highlight]monster[/highlight] [highlight]20010101 5 20[/highlight] {20010101=id_monster,5=total,20=level}
- [highlight]mcoin[/highlight] [highlight]10000[/highlight](Genesis Crystal)
- [highlight]scoin[/highlight] [highlight]10000[/highlight](?)
- [highlight]hcoin[/highlight] [highlight]10000[/highlight](?)
- [highlight]home_coin[/highlight] [highlight]1000[/highlight](Realm currency)
You can find hidden command by HXD, open bin/gameserver, and search for known command words like "HOME_COIN". You will see other GM commands around.
Thanks @Kei for the guide
First, edit [highlight]bin\loginserver\src\controllers\hk4e.granter.js[/highlight]
Line 41, change
to
I saw that this was typed as string in Grasscuter's code, this solved the "Network Error" thing.
Then, edit [highlight]bin\loginserver\src\config\index.js[/highlight]
Line 41, change
to
Or something without special characters.
You might need to update your mysql db, not sure if it would work without these rows:
First, edit [highlight]bin\loginserver\src\controllers\hk4e.granter.js[/highlight]
Line 41, change
Code:
data: { guest: false },
Code:
data: "{\"guest\":false}",
Then, edit [highlight]bin\loginserver\src\config\index.js[/highlight]
Line 41, change
Code:
title: 'Development (Offline)',
Code:
title: 'Development',
You might need to update your mysql db, not sure if it would work without these rows:
Code:
USE `db_hk4e_global_deploy`;
SET foreign_key_checks = 0;
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','');
SET foreign_key_checks = 1;
You must be registered to see links
Last edited: