rehlds / Metamod-R

Optimized fork of Metamod for improved plugin management and compatibility on modern HLDS-based servers.
https://rehlds.dev/docs/metamod-r/
GNU General Public License v3.0
160 stars 38 forks source link

Problem with parsing of game_support.cpp during loading mod's library via metamod-r #33

Closed AEnimka closed 6 years ago

AEnimka commented 6 years ago

Enviroment:


Problems

  1. Metamod-r doesn't change binary file according to requrements. It always uses the first binary by default (.so or .dll file) even if there are several folder's names. For example, it uses hl.so\hl.dll only in all cases (StargateTC) or hl.dll (Sven Coop 5.x).

Affected games:

{ "stargatetc",    "hl.so",     "hl.dll",     "StargateTC (Old, 1.x)"    },
{ "stargatetc",     "stc.so",     "hl.dll",      "StargateTC (Updated, 2.x)"    }, // _i386.so
{ "stargatetc",      "stc_i386_opt.so",    "hl.dll",    "StargateTC (Updated, 2.x)"    },

and

{ "svencoop",    "hl.so",     "hl.dll",     "Sven Coop (Old)"    },
{ "svencoop",    "server.so",    "server.dll",    "Sven Coop (Steam)"    },
  1. Setting of gamedll (config.ini) doesn't help for the bug above.
stamepicmorg commented 6 years ago

Confirmed that here today with svencoop (windows)..

:disappointed_relieved: