Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Half-Life 1 server error] Unrecognized game: valve (rehlds 3.0.0.5xx + metamod-r .66 or .73) #11

Closed
stamepicmorg opened this issue Jul 11, 2017 · 11 comments

Comments

Projects
None yet
4 participants
@stamepicmorg
Copy link
Collaborator

commented Jul 11, 2017

  1. half-life 1 сервер на windows. не counterstrike -> regame.dll отсутствует.
  2. установлен свежий rehlds 3.0.0.578. (пробовал и на предпоследних).
  3. при запуске сервера, при инициализации метамода происходит краш.
  4. пробовал запускать чистый метамод без дополнений, вроде amxx и прочего.
@theAsmodai

This comment has been minimized.

Copy link
Owner

commented Jul 11, 2017

Try 1.3.73

@stamepicmorg

This comment has been minimized.

Copy link
Collaborator Author

commented Jul 11, 2017

I already tried x.66 and 1.3.73.

I asked @neygomon first and he said about version 1.3.73 too. but It still does crashes.. Therefore, wrote here ..

@stamepicmorg stamepicmorg changed the title Server crashes at start. Half-Life 1 Server crashes at start (rehlds 3.0.0.5xx + metamod-r .66 or .73) Jul 11, 2017

@theAsmodai

This comment has been minimized.

Copy link
Owner

commented Jul 11, 2017

Ok then I need a crashdump.

@stamepicmorg

This comment has been minimized.

Copy link
Collaborator Author

commented Jul 11, 2017

done. catched .dmp file when server crashed.
hlds.exe.3704.zip

@theAsmodai

This comment has been minimized.

Copy link
Owner

commented Jul 11, 2017

Metamod can not load the gamedll. Check server logs.

@stamepicmorg

This comment has been minimized.

Copy link
Collaborator Author

commented Jul 12, 2017

ok. i will check it. very strange..

maby because i am using Bugfixed and improved HL release (custom hl.dll)? i will check it too. nope. replaced back original files and nothing changed..

i have only logs at qconsole file. and it clear.

Console initialized.
Base networking initialized.
Initializing deltas
Protocol version 48
Exe version 1.1.2.2/Stdio (valve)
Exe build: 21:01:25 Jul 11 2017 (1186)
"sv_version" changed to "1.1.2.2/Stdio,48,1186"
40.0 Mb heap
execing valve.rc
execing language.cfg
execing autoexec.cfg
execing violence.cfg
Server IP address 192.168.1.15:1018
No IPX Support.

Adding: valve/addons\metamod\dlls\metamod.dll

Metamod-r version 1.3.73 Copyright (c) 2016-2017 ReHlds Team (rebuild of original Metamod by Will Day)
Metamod-r comes with ABSOLUTELY NO WARRANTY; for details type meta gpl'. This is free software, and you are welcome to redistribute it under certain conditions; type meta gpl' for details.

Metamod-r v1.3.73, API (5:13)
Metamod-r build: 22:25:38 Jul 6 2017 (1.3.73)
Metamod-r from: daea1f8 (asmodai)

and there are no any other logs was created


tomorrow i will try to install on new clean server.

@stamepicmorg

This comment has been minimized.

Copy link
Collaborator Author

commented Jul 12, 2017

okay. i think, i catched and logged errors.

metamod cant recognize "valve" game. plz, see qconsole log below.

hm..and why metamod trying to find plugins.ini file at addons-folder?

tested on windows 10, x64, 1703 build, russian system locale.


my steps to reproduce the problem.

  1. downloadded via steamcmd new server with 7xxx build.
  2. installed rehlds 3.0.0.580.
  3. installed metamod-r 1.3.73 without any plugins (like amxmodx). just metamod-r.
  4. server crashes.

start arguments:

hlds.exe -console -condebug +log on -dev

or

hlds.exe -game valve +map crossfire -maxplayers 32 -console -condebug +log on -dev

steamcmd:

steamcmd +login anonymous +force_install_dir "c:/users/epicmorg/desktop/t/" +app_set_config 90 mod valve +app_update 90 validate +quit

liblist.gam:

// Valve Game Info file
// These are key/value pairs. Certain mods will use different settings.
//
game "Half-Life"
startmap "c0a0"
trainmap "t0a0"
mpentity "info_player_deathmatch"
gamedll "addons\metamod\metamod.dll"
gamedll_linux "dlls/hl.so"
gamedll_osx "dlls/hl.dylib"
secure "1"
type "singleplayer_only"

qconsole log:

Console initialized.
Base networking initialized.
"sv_cheats" changed to "1"
Initializing deltas
Protocol version 48
Exe version 1.1.2.2/Stdio (valve)
Exe build: 21:01:25 Jul 11 2017 (1186)
"sv_version" changed to "1.1.2.2/Stdio,48,1186"
40.0 Mb heap
execing valve.rc
execing language.cfg
execing autoexec.cfg
execing violence.cfg
Server logging data to file logs\L0713004.log
L 07/13/2017 - 02:24:06: Log file started (file "logs\L0713004.log") (game "valve") (version "48/1.1.2.2/Stdio/1186")
Server IP address 192.168.1.15:27015
Could not get IPX address, IPX disabled
Reason: WSAENOTSOCK

Adding: valve/addons\metamod\metamod.dll
L 07/13/2017 - 02:24:06: [META] dev: called: GiveFnptrsToDll

Metamod-r version 1.3.73 Copyright (c) 2016-2017 ReHlds Team (rebuild of original Metamod by Will Day)
Metamod-r comes with ABSOLUTELY NO WARRANTY; for details type meta gpl'. This is free software, and you are welcome to redistribute it under certain conditions; type meta gpl' for details.

Metamod-r v1.3.73, API (5:13)
Metamod-r build: 22:25:38 Jul 6 2017 (1.3.73)
Metamod-r from: daea1f8 (asmodai)
L 07/13/2017 - 02:24:06: [META] (debug:3) set config int: debuglevel = 0
L 07/13/2017 - 02:24:06: [META] (debug:3) set config bool: clientmeta = false
L 07/13/2017 - 02:24:06: [META] (debug:2) Loading from config file: c:/users/epicmorg/desktop/t/valve/addons/metamod/config.ini
L 07/13/2017 - 02:24:06: [META] (debug:3) set config int: debuglevel = 42
L 07/13/2017 - 02:24:06: [META] (debug:3) set config bool: clientmeta = false
L 07/13/2017 - 02:24:06: [META] (debug:5) Empty file: c:/users/epicmorg/desktop/t/valve/addons/metamod/plugins.ini
L 07/13/2017 - 02:24:06: [META] (debug:5) Unable to stat 'c:/users/epicmorg/desktop/t/valve/addons/plugins.ini': No such file or directory
L 07/13/2017 - 02:24:06: [META] (debug:2) No plugins.ini file found: plugins.ini
L 07/13/2017 - 02:24:06: [META] ERROR: dll: Unrecognized game: valve
L 07/13/2017 - 02:24:06: [META] ERROR: Failure to load game DLL; exiting...

my dump file:
hlds.exe.2644.zip


p.s. installed rehlds (without regame) and metamod-r on same server, but at cstrike folder - fully worked.

@stamepicmorg stamepicmorg changed the title Half-Life 1 Server crashes at start (rehlds 3.0.0.5xx + metamod-r .66 or .73) [Half-Life 1 server error] Unrecognized game: valve (rehlds 3.0.0.5xx + metamod-r .66 or .73) Jul 12, 2017

@WPMGPRoSToTeMa

This comment has been minimized.

Copy link

commented Jul 13, 2017

Try to add -game valve +map crossfire -maxplayers 32

@stamepicmorg

This comment has been minimized.

Copy link
Collaborator Author

commented Jul 13, 2017

@WPMGPRoSToTeMa, a day ago i tried at production server (with other arguments. like -game, +map, etc).

ok. i am tested it again. and added other arguments at new test server (form this comment).

same problem.

In-line added a commit to In-line/metamod-r that referenced this issue Jul 17, 2017

@theshadowz

This comment has been minimized.

Copy link

commented Jul 17, 2017

@stamepicmorg, now you can check it again and say, will everything work or not

@stamepicmorg

This comment has been minimized.

Copy link
Collaborator Author

commented Jul 17, 2017

@Phantomsq, ok. I will try with new build 1.3.76 (17 Jul 17 19:59).

build "Metamod-r version 1.3.74" works fine too.


@theAsmodai, @In-line, @WPMGPRoSToTeMa, @Phantomsq, Success! Thanks! Fixed with this patch from pull-request #12.

s1lentq added a commit that referenced this issue Jul 17, 2017

Fix #11 (#12)
* Fix #11
* Add documentation to config.ini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.