rehlds / metamod-r

Metamod is a plugin/DLL manager that sits between the Half-Life Engine and an HL Game mod, allowing the dynamic loading/unloading of mod-like DLL plugins to add functionality to the HL server or game mod. Metamod-r is improved version of metamod.
GNU General Public License v3.0
160 stars 38 forks source link

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

Closed stamepicmorg closed 7 years ago

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

Try 1.3.73

stamepicmorg commented 7 years ago

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 ..

theAsmodai commented 7 years ago

Ok then I need a crashdump.

stamepicmorg commented 7 years ago

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

theAsmodai commented 7 years ago

Metamod can not load the gamedll. Check server logs.

stamepicmorg commented 7 years ago

~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; typemeta 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: https://github.com/theAsmodai/metamod-r/commit/daea1f8 (asmodai)

and there are no any other logs was created


tomorrow i will try to install on new clean server.

stamepicmorg commented 7 years ago

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; typemeta 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: https://github.com/theAsmodai/metamod-r/commit/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.

WPMGPRoSToTeMa commented 7 years ago

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

stamepicmorg commented 7 years ago

@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.

hajimura commented 7 years ago

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

stamepicmorg commented 7 years ago

@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 https://github.com/theAsmodai/metamod-r/pull/12.