Timer Controller v0.0.2 [ April 5th 2014 ]
2 Attachment(s)
.:Timer Controller:. At the moment, this is a plugin with very basic functionality for pausing and unpausing the round timer and extending / reducing the timer between round end and the next round start.Version 0.0.2 By hornet .:Description:. Also includes some API for scripters to use. To do list:
.:CVARS:.
-Sets the amount of time between round end and the start of the next round.:Commands:.
-Pauses / Unpauses the round timer [ Admin CVAR access required ] .:Custom Modules Required:. .:Installation:.
.:API:. This plugin's functionality is accessible from other plugins. Will be more useful once more features are added. The following natives exist:
-Pauses / Unpauses the round timer
-Returns if the round timer is paused or not.:Change Log:.
Spoiler
|
Re: Timer Controller [ April 3rd 2014 ]
Good job.
|
Re: Timer Controller [ April 3rd 2014 ]
realy cool ! ; +karma !
|
Re: Timer Controller [ April 3rd 2014 ]
Really good job.
I always wanted to know how to change the time there: Quote:
I still wonder how you found out, that it was related to the m_fTeamCount offset. Oo EDIT2: register_native( "RoundTimerPause", "_RoundTime_Pause" ); -> register_native( "RoundTimerPause", "_RoundTimerPause" ); |
Re: Timer Controller [ April 3rd 2014 ]
All is about checking game binary. With IDA for example. Don't if looked to CSSDK or not, but when you look at CheckWinConditions, you see round are ended this way :
Code:
inline void TerminateRound( float tmDelay, int iWinStatus ) |
Re: Timer Controller [ April 5th 2014 ]
Yep, the good old CSSDK tells all :)
Thanks Bibu, the API was a last second addon cheers for pointing that out haha. Fixed and updated. |
Re: Timer Controller [ April 5th 2014 ]
Thanks dudes.
|
Re: Timer Controller [ April 5th 2014 ]
@hornet - Really sad... no credits... nothing? xD
|
Re: Timer Controller [ April 5th 2014 ]
Quote:
|
Re: Timer Controller [ April 5th 2014 ]
That timer setting component and pausing? I mean before I posted my Steal C4, no1 actually brought up the idea :P The logic :P
Tell me if I am wrong. I would be ready to apologise FYI - it's not the same ofcourse. But the similarity can be witnessed unless if you deny even that :P In your Plugin EDIT: Code:
if( !IsTimerPaused ) Code:
// Time Control |
All times are GMT -4. The time now is 02:23. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.