hok_env: Gamecore failed to start on Windows 10 (inner version: 19044.2006)

I have copyed licence.dat to hok_env_gamecore/gamecore/core_assets, thanks for your kindly help on that. Then I add the folder " hok_env_gamecore/gamecore/core_assets" to the system environment variable “PATH” as some dll files needed by sgame_simulator_remote_zmq.exe are stored in the folder core_assets.

There is no directory named ai_simulator_remote in hok_env_gamecore folder. I do nothing here.

Then I start the gamecore by first “cd hok_env_gamecore/gamecore”, and then “.\sgame_simulator_remote_zmq.exe “2022” .\sgame_simulator.conf”

I get the following output on my screen:

PlayerNum:2
AbsPath:./1V1.abs
PlayerInfo [CampID:0][HeroID:146][Skill:80121][AutoAi:0][AiServer:127.0.0.1:35300:1000] [Symbol 0 0 0] [Request:-1]
PlayerInfo [CampID:1][HeroID:146][Skill:80121][AutoAi:0][AiServer:127.0.0.1:35301:1000] [Symbol 0 0 0] [Request:-1]
SGame Simulator Begin
init_ret:0
seed: 3417
Symbols:
inHeroId: 146
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
inHeroId: 146
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
start_ret:0
Hero[0] inHeroId:146; outPlayerId:148
Hero[1] inHeroId:146; outPlayerId:149
frame no:0
begin_ret:0
[Hero Info] [HeroID:146] [RuntimeID:8] client_id:0.0.0.0_1859_0_20221003174931_148
[Hero Info] [HeroID:146] [RuntimeID:9] client_id:0.0.0.0_1859_0_20221003174931_149
zmq socket init success
addr: tcp://127.0.0.1:35300
zmq socket connect success
recv failed2: -1

The zmq socket for the second hero failed to start. Then I changed the port 35301 written in .\sgame_simulator.conf to some other ports (in order to avoiding port confliction), the gamecore still print the same error messages.

Do you know what is wrong here, and how can we fix the above issue?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17

Most upvoted comments

I had the same problem .I run “.\sgame_simulator_remote_zmq.exe “2022” .\sgame_simulator.conf” in the powershell locally and get “recv failed2: -1”. How to solve this problem