View Single Post
Re: Debug mm dll on CZ client
Old
  (#6)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Debug mm dll on CZ client - 22-02-2005

I tried the method described in this article but it doesn't seem to work either. The debugger attaches correctly, but just when the world is spawned and the game is about to start, something exits with error code 1 and the whole thing gets on the knees.

@Austin: the mod is CZ, but with Steam, each Steam game has its own copy of the HL engine. You do not need to worry about copying the czero folder. The only thing is that you must change the Steam app number, because here it's not a mod running on the HL engine used for Half-Life (Steam app ID 70) but the default mod (czero) running on the HL engine used for Condition Zero (hence Steam app ID = 80)

You can get the Steam app ID of any Steam app by right-clicking on it in the Steam games list and choosing "create a shortcut on the desktop" and then look at the shortcut's parameters.

However I've set up everything like said, but I can't seem to get the thing running. It attaches, starts a game and then breaks. I'm pretty sure it's not a IsDebuggerPresent() check, because it would have crashed much earlier.

*edit*

for those who are interested, my SteamApps.cfg says this (for CZ):
Quote:
SteamAppId=80
SteamAppVersionId=0
SteamInstallPath=D:\Steam
SteamAppUser=pm@racc-ai.com



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."

Last edited by Pierre-Marie Baty; 22-02-2005 at 17:39..
  
Reply With Quote