View Single Post
Re: Desperate Help !!! :))
Old
  (#9)
The Storm
Council Member / E[POD]bot developer
 
The Storm's Avatar
 
Status: Offline
Posts: 1,620
Join Date: Jul 2004
Location: Bulgaria
Default Re: Desperate Help !!! :)) - 27-05-2008

From that I saw you have been using metamod 1.17 headers, the current metamod is 1.19 and dunno what version of the SDK, probably the original from the installer witch is out of date. I putted in to the archive the latest HLSDK and Metamod headers and I modified your project file to work with them, I modified some parts of the source and I putted comments, just look for "The Storm" without the quotes, your RunPlayerMove() function is not calling because the check in StartFrame() that loops around all bots fails, you must see whats wrong there, I can't easy go up with so messy code. :}
Find the structure with the engine function tables like the DLL_FUNCTIONS structure and put there your hook functions that you want to call because now the MessageBegin() will not be called because I deleted this lines so you to be able to fix it up. So After all the main problem is that the loop in StartFrame() that search for bots and call RunPlayerMove() for them is failing.

I recommend downloading Metamod from http://metamod-p.sf.net/ and to create new project with the "stub" plugin example and make it clean this time.
Attached Files
File Type: zip CounterBot_mm_modded.zip (256.8 KB, 503 views)
  
Reply With Quote