![]() |
Detecting new round (bug?)..
I was wondering if anything changed to round detection since the realbot metamod plugin does not detect rounds as it should. THe code remained the same, perhaps i missed something here:
Code:
edict_t* pfnFindEntityByString(edict_t *pEdictStartSearchAfter, const char *pszField, const char *pszValue) I saw as well in CS 1.6 as in CS 1.5 the round-detection failed. In my version without metamod this worked okay. Perhaps the info_map_paramaters are initialized by metamod itself or whatever? Gtg now, i hope someone has a quick answer ;) |
Re: Detecting new round (bug?)..
Well, as I see in the email you sent me, you figured out the problem yourself :)
I just forgot to reference pfnFindEntityByString() in the list of engine functions metamod should hook, that's why it was never called :) |
Re: Detecting new round (bug?)..
Stefan, you gotta add one function to the metamod GetEngineFunctions... I also forgot to add pfnRemoveEntity :)
The complete list should be : Code:
C_DLLEXPORT int GetEngineFunctions (enginefuncs_t *pengfuncsFromEngine, int *interfaceVersion) |
Re: Detecting new round (bug?)..
thanks. I had work today so i did not look into this further yet. Applied the 'patch' now :)
|
All times are GMT +2. The time now is 14:55. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.