Skip to main content

Troubbleshouting

How to report about the problem correctly:​

If you want to make an offer, register a mistake, your fail or you need "live" help and assistance-you can always apply here. Just press the green New issue button and fill out the form.

Developers will be grateful if the description of the problem be as much detail as possible:

  • The version of your operating system; The version (build number) HLDS server (either ReHLDS);
  • The version of your game (or mod);
  • Metamod-r version (build number or build date) ;
    • You can optionally specify a list of modules (by typing meta list in the server console).
  • Attach the logs;
  • Apply crashdumps;

This will help for a more thorough analysis and possibly correction of your problems in the future.


Getting HLDS\reHLDS crash dumps​

Main source (rus). Mirror (rus).

Don't just post dumps on the Internet, as they often contain full information about the server, including rcon and so on. For transmission, you can archive them with a password, which is also useful because they compress very well.

Windows​

Using WER (Windows Error Reporting):​

  • Enable WER (error reports):
  • Before Vista:
  • Run drwtsn32.exe and select "Full" next to Crash Dump File. Here you can also see (or configure) where the dumps will be stored.
  • On Vista and above:
  • Editing the registry, a convenient method from s1lent:

A detailed and quick way to configure the registry to receive dumps for beginners.​

  • Settings:
  • NAME_APP - hlds.exe
  • name of the application that will need to create dumps in case of a crash.
  • REG_LINK - HKLM\Software\Microsoft\Windows\Windows Error Reporting
  • path to the Windows Error Reporting section (This setting most likely does not need to be changed, I think the paths are the same in all Windows)
  • DumpType - 2
  • 0 - Normal dump
  • 1 - Minimum dump
  • 2 - Full dump
  • DumpCount - 15
  • number of dumps to create, if the number of dumps in the folder is greater than the specified value, the old dump will be deleted to create a new dump.
  • DumpFolder - C:\CrashDumps
  • path to the folder where the dumps will be stored.
  • (to avoid any problems, do not use spaces or Cyrillic in the paths)
  • Installation:
  • Download the archive and unzip it.

  • Run add_RegistryDumps.bat

  • After writing to the registry, you must make sure that you have enabled the Windows Error Reporting service.

  • Then press the hotkey Windows + R (the Windows button is between ctrl and alt) or you can call cmd.exe or Start - Run, immediately after that you need to enter gpedit.msc, then see the screenshot.

Computer Configuration -> Administrative Templates -> Windows Components -> Windows Error Reporting

Using the userdumps utility​

  • Instructions from unKn0wn:

Method for obtaining dumps using the utility from MicroSoft: UserModeProcessDumper \ mirror for "UserModeProcessDumper8_1_2929_5.zip".

Thanks to Lev for the settings.

1. Installation​

Unzip the archive you downloaded (by default C:\kktools\userdump8.1).

  • Run the setup.exe file from the directory:
  • If you are using 32-bit Windows XP/2003, then C:\kktools\userdump8.1\x86.
  • If you are using 64-bit Windows XP/2003, then C:\kktools\userdump8.1\x64.
  • In the Installation Wizard window, click Next.
  • (Only for 32-bit OS) In the Terminate Mode window, select Disable "Dump on Process Termination" feature and click Next.

  • Click Finish and wait for the installation to complete. In the User Mode Process Dump Setup window, click the YES button (If for some reason you do not know how to enter the userdump settings menu, you can always find them in Control Panel - Process Dumper).
2. Adding an application​

In the Properties: User Mode Process Dumper Setup window that opens, click New and add the name of the program we need, for example: hlds.exe (the extension is required!) and click OK

3. Settings​

In the Properties: User Mode Process Dumper Setup window, find the application rule you just created, select it and click the Rules button In the Process Monitoring Ruless for hlds.exe window that opens

  1. Select Use custom rules.
  2. If necessary, change the folder for storing the created dumps.
  3. In Exception Codes, select (by left-clicking) the following codes: "Access Violation, Overflow, Illegal Instruction, Stack overflow."
  4. Set the Save Mode parameter to Cyclic saving (5 times). It should look something like this:

PS: I recommend using it together with Dr Watson with the "Brief" dump type, since the doctor can keep logs in text format, which will allow you to select the necessary dumps. And userdump will make full dumps.

Linux​

The server must be started with the -debug key.

If gdb is installed on the system, then clear information about the error will be automatically written to the debug.log file. So it is recommended to install it (the command depends on the system used, on Debian\Ubuntu it is apt install gdb). Although this is not required to create dumps, it is actually necessary to do this if possible, since the crash location will be written to debug.log, which will allow you to immediately say something about the error. Getting the same information on another system from a dump file will require all the binaries from the server.

By default, the dump file is called core, is written to the working folder, and, accordingly, will be overwritten. To avoid this, you can add the process ID to the name:

echo 1 > /proc/sys/kernel/core_uses_pid

or dump the dumps to /tmp:

echo /tmp/%e-%t-%p-%c.dmp > /proc/sys/kernel/core_pattern More information here.

Launch without sudo (as root, otherwise the general system settings should be set to unlimited):

ulimit -c unlimited && ./hlds_run -debug ...

Launch with sudo (as user hlds):

ulimit -Hc unlimited && sudo -u hlds sh -c "ulimit -Sc unlimited && ./hlds_run -debug ..."

Checking launch under sudo:

ulimit -Hc unlimited && sudo -u hlds sh -c "ulimit -Sc unlimited && whoami && ulimit -Sc && ./hlds_run -debug ..."

displays the user name under which the launch will take place and the limit on creating dumps, after which it starts the server.

To test dump settings, you can use a specially developed module: FixItAll \ FixItAll mirror or Crash.sma*.


Summary table:​

Folder - the directory of your mod or game. In columns and the names of the executable files from the folder 'dlls, which is located in the directoryyour mod or game'.

❌ - platform version does not exist

Game \ ModFolder
Action Half-Lifeactionahl.dllahl.so
Adrenaline Gameragag.dllag.so
openAGagag.dllag.so
Azure Sheepasheephl.dll❌
Base Defensebdefserver.dllserver.so
The Battle Groundsbgbg.dllbg.so
Brutal Half-Lifebhlbhl.dll❌
Brain Breadbrainbreadbb.dll❌
Half-Life: Blue Shiftbshifthl.dllbshift.so
Bumper Carsbumpercarshl.dll❌
BuzzyBotsbuzzybotsbb.dll❌
Chicken Fortress 3ckf3mp.dll❌
Counter-Strike 1.0cs10mp.dll❌
Counter-Strike 1.5csv15mp.dll❌
Counter-Strike 1.6cstrikemp.dllcs.so
Counter-Strike:Condition Zeroczeromp.dllcs.so
Counter-Strike:Condition Zero Deleted Scenesczerorcz.dllcz.so
Desert Crisisdcrisisdc.dlldc.so
Half-Life: Decaydecaydecay.dll❌
Deathmatch Classicdmcdmc.dlldmc.so
Day of Defeatdoddod.dlldod.so
Digital Paintballdpbpb.dllpb.i386.so
Earth's Special Forces (Old)esfhl.dllhl.so (Π»Π΅ΠΆΠΈΡ‚ Π½Π΅ Π² dlls ΠΊΠ°Ρ‚Π°Π»ΠΎΠ³Π΅, Π° Π² linuxdll)
Earth's Special Forcesesfhl.dllhl.so
Existenceexistenceexistence.dll❌
Firearmsfirearmsfirearms.dll❌
Frontline Forcefrontlinefrontline.dllfront.so
Gangsta Warsgangstawarsgwars27.dll❌
Gangwarsgangwarsmp.dll❌
Opposing Forcegearboxopfor.dllopfor.so
Global Warfareglobalwarfaremp.dllgw.so
Goldeneyegoldeneyemp.dll❌
Headcrab Frenzyhcfrenzyhcfrenzy.dllhcfrenzy.so
Half-Life 1.5: Weapon Editionhl15wehl.dllhl.so
HL-Rallyhlrallyhlrally.dllhlr.so
Holy Warsholywarsholywars.dllhl.so
Hostile Intenthostileintenthl.dllhl.so
International Online Socceriosios.dllios.so
Judgementjudgedmmp.dlljudge.so
Kanonballkanonballkanonball.dllhl.so
Monkeystrikemonkeystrikemonkey.dllms.so
Morbid InclinationMorbidPRmorbid.dllmorbid.so
Move In!moveinhl.dllhl.so
Master Sword Continuedmscms.dll❌
Natural Selectionnsns.dllns.so
Natural Selection Betanspns.dllns.so
Over Groundogog.dllog.so
Outlawsmodolhl.dllol.so
Operations 1942ops1942spirit.dllspirit.so
Open-Source Jailbreakosjbjail.dllosjb.so
Out Breakoutbreakhl.dll❌
Oz Deathmatchozmp.dllmp.so
Paintballpaintballmp.dllpb.so
Public Enemypenemype.dllpe.so
Point of No Returnponreturnmp.dllponr.so
Pirates, Vikings and Knightspvkhl.dllhl.so
Rocket Crowbar 2rc2rc2.dllrc2.so
Resident Evil : Cold Bloodrecbb2recb.dllrecb.so
Gunman Chroniclesrewolfgunman.dll❌
Ricochetricochetmp.dllricochet.so
Rocket Crowbarrockcrowbarrc.dllrc.so
Rival Speciesrspecieshl.dllhl.so
Scientist Huntscihuntshunt.dllshunt.so
The Shipshipship.dllship.so
Science & Industrysisi.dllsi.so
Snow-Warsnowsnow.dllsnow.so
StargateTC (Old, 1.x)stargatetchl.dllhl.so
StargateTC (Updated, 2.x)stargatetchl.dllstc.so
StargateTC (Updated, 2.x)stargatetchl.dllstc_i386_opt.so
Sven Coop (Old)svencoophl.dllhl.so
Sven Coop (Steam)svencoopserver.dllserver.so
Swarmswarmswarm.dllswarm.so
Team Fortress Classictfctfc.dlltfc.so
The Wastesthewastesthewastes.dllthewastes.so
Project Timelesstimelesstimeless.dllpt.so
Tour of Dutytodhl.dllhl.so
Train Hunterstrainhuntersth.dllth.so
The Specialiststsmp.dllts.so
The Trenchestttt.dlltt.so
Underworld Bloodlineunderworlduw.dlluw.so
Half-Lifevalvehl.dllhl.so
VampireSlayervsmp.dllvs.so
Wanted!wantedhlwanted.dllhl.so
Wizard Wars (Steam)wizardwarswizardwars.dllwizardwars.so
Wizard Wars Beta (Steam)wizardwars_betawizardwars.dllwizardwars.so
Wizard Wars (Old)wizwarsmp.sohl.dll
WormsHLwormshlwormshl.dllwormshl.so
Zombie Paniczpmp.dllhl.so

Any assistance and contribution to the project is welcome. The more tests and feedback, the stronger the development of Metamod-r and other related products. Goodluck!