View Full Version : round end
What do I need to do to restart the round in CSS?
As a test I tried hooking FireEvent and sending a round end. It plays the sound (Ter/CT win) and displays the reason for winning in the white center text, but it doesn't restart the round.
Anyone know how I can end the round?
BAILOPAN
05-23-2005, 21:37
You can do it forcefully if you find the DLL offset of the function which restarts the round. It's hacky, but it works. I can help you more with that on IRC if you want.
In theory with SourceHook could we re-route that function, and basically prevent the round from ending?
Josh
BAILOPAN
05-24-2005, 13:31
No, the function isn't virtual. However, I think it's only called by CCSGameRules::Think(), which _is virtual. If you knew the offset for that, you could hook it with SourceMM and prevent it from being called.
o hell yes... time to start guessing random offsets.. LOL is that the only way to find it out? Like even if we have the leaked CS:S code shit?
You can do it forcefully if you find the DLL offset of the function which restarts the round. It's hacky, but it works. I can help you more with that on IRC if you want.
I'll hit you up sometime.
I'm trying to catch you on IRC now. Hope your around sometime in the next few days. Thanks.
vBulletin® v3.8.7, Copyright ©2000-2024, vBulletin Solutions, Inc.