View Single Post
Re: very simple debugging question (MSVC)
Old
  (#14)
koraX
Member
 
koraX's Avatar
 
Status: Offline
Posts: 145
Join Date: Jan 2004
Location: Slovak Republic
Default Re: very simple debugging question (MSVC) - 04-09-2004

Sorry to revive old thread, but I've found way how to debug without hlds

Quote:
Originally Posted by Pierre-Marie Baty
There is, however, an internal check inside the Counter-Strike client.dll that will make the game simply exit if a debugger is detected in the system. Using the normal Counter-Strike client.dll it is NOT possible to debug your bot inside a listenserver.
So client.dll is causing trouble ? Well ... I deleted it . And guess what. Counter-strike ran in debugger, only difference was that I could not join as player, I could only spectate (this is obvious, there is no client dll hehehe). I have CS 1.5. (I set debugger to call c:\sierra\half-life\hl.exe -dev -debug -console -game cstrike +deathmatch 1 +map de_aztec +maxplayers 15 -sw +sv_lan 1)

*edit* well I haven't spawned a bot yet, I wonder if they could spawn if ther is no client.dll, damn.

*edit2* Oh well, they spawn but they don't join Damn this client.dll. At least I can debug something.

BTW is cs client 1.6 with steam terminating if it detect debugger too ? Do you have to debug hlds.exe or you can debug hl.exe ?


kXBot
koraX's utils
- see my homepage for other projects (OpenGL CSG Editor, FAT16 Sim, NNetwork Sim, ...)

Last edited by koraX; 04-09-2004 at 09:35..
  
Reply With Quote