Raised This Month: $60 Target: $400
 15% 

Timer Controller v0.0.2 [ April 5th 2014 ]


Post New Thread Reply   
 
Thread Tools Display Modes
souvikdas95
Senior Member
Join Date: Mar 2012
Old 04-05-2014 , 04:53   Re: Timer Controller [ April 5th 2014 ]
Reply With Quote #11

Also, I would prefer using system roundtime instead of cVar roundtime. IT would be even faster... although you will have to edit a a bit in your program to make it compatible. The best part would be that the engine would calculate. you don't have to depend on type promotions float * 60 ( integer )
Code:
get_mp_pdata ( "m_iRoundTimeSecs" )
instead of

Code:
get_pcvar_float( g_pRoundTime ) * 60

Last edited by souvikdas95; 04-05-2014 at 05:05.
souvikdas95 is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 04-05-2014 , 05:01   Re: Timer Controller [ April 5th 2014 ]
Reply With Quote #12

Sad really that you think I would steal something from your plugin. Anyone with a basic maths understanding and knowledge of the CGameRules offsets could come up with that logical equation. Nearly everything in my script is available inside the CSSDK. So, no.
The only thing I've used that belongs to someone else is the format of the natives explanation / description in my include file, from Arkshine, because it looks professional.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.

Last edited by hornet; 04-05-2014 at 05:05.
hornet is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 04-05-2014 , 05:03   Re: Timer Controller [ April 5th 2014 ]
Reply With Quote #13

Please learn to use EDIT boutton, souvikdas95.

I don't think it would be faster, even if such case, difference would be trivial, especially for something which won't be called often.

EDIT: W-what , you stole my format ?! Plz give me credit.
__________________

Last edited by Arkshine; 04-05-2014 at 05:05.
Arkshine is offline
souvikdas95
Senior Member
Join Date: Mar 2012
Old 04-05-2014 , 05:21   Re: Timer Controller [ April 5th 2014 ]
Reply With Quote #14

@Hornet - Yes indeed any one can do... That's why I am saying it's similar... not the same... I would still insist on the fact that I posted the logic first
Never mind, it's only upto the wish of the plugin maker anyways

@Arkshine - It's not about stealing any format... I know it's not right either for me to accuse without some solid proof... But I guess I would leave that to his conscience. Atleast I checked the entire plugins list before posting my plugin to clarify that no1 has applied that logic yet. Remember?

I even asked you about it on Orpheu 2.5.1 Thread:

Quote:
Originally Posted by souvikdas95 View Post
Can some1 please post me the signatures of :

float TimeRemaining( void ) { return m_iRoundTimeSecs - gpGlobals->time + m_fRoundCount; }

from gamerules ( CHalfLifeMultiplay )
Quote:
Originally Posted by Arkshine View Post
You are unlucky. Generally such short function, because of compilation optimization, the content is directly copied in it's parent function. So, even if such function exists, it won't be called.

Originally, CHalfLifeMultiplay::TimeRemaining() should be called from CHalfLifeMultiplay::HasRoundTimeExpired().

Same problem with HasRoundTimeExpired() btw. In linux the parent function calls well HasRoundTimeExpired() ; but in windows, the function content has been copied in its parent function (Think() here). So yes, it's a pain to deal with that, because if you want to block HasRoundTimeExpired(), under linux, it's easy ; but under windows, you will need to make memory patch.
and then I said :

Quote:
Originally Posted by souvikdas95 View Post
Too sad. Yet I was able to pause the timer through another but reliable method. Will be posting the plugin soon.
Just 3 things I require now :
1. a way to add C4 bagpack to a player's shoulder/back
2. add "bomb" status to player in scoreboard
3. make a suitable sound using military voice
This was the Plugin : StealC4 Mod

I was referring to this method only. Then I posted my plugin. He definately downloaded the file and viewed it because he reposted it by removing the amxx file I had put by mistake in the archive

Last edited by souvikdas95; 04-05-2014 at 05:25.
souvikdas95 is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 04-05-2014 , 05:32   Re: Timer Controller [ April 5th 2014 ]
Reply With Quote #15

I did that for you as a favour rather than deleting the entire archive, perhaps I will next time since you obviously seem incapable of reading the rules. Doesn't mean that I viewed it.
Anyway, if you want to accuse me more from this point forwardm you can do it via PM rather than continually posting crap in my thread or the messages will be removed.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
souvikdas95
Senior Member
Join Date: Mar 2012
Old 04-05-2014 , 05:43   Re: Timer Controller [ April 5th 2014 ]
Reply With Quote #16

It's okay hornet. I don't envy or want to offend you. You do deserve respect for, you actually created a plugin for it. I never gave it a thought but since you have already created it, it's ok.
We mod for a purpose : to keep HL1 engine still popular even after so many years. Something new and fancy is always admired, regardless of who creates or posts.
If you believe it's your idea, be it then. Yours is still a likely possibility which I can't neglect. So, I apologise if you felt offended. Nice Plugin anyways
#respect

Last edited by souvikdas95; 04-05-2014 at 05:46.
souvikdas95 is offline
Baws
Veteran Member
Join Date: Oct 2012
Old 04-05-2014 , 07:39   Re: Timer Controller [ April 5th 2014 ]
Reply With Quote #17

Finally something useful for counter strike...

Great job!
__________________
Like my clean plugins and work?
Baws is offline
Sun Aloe
Member
Join Date: Jul 2013
Location: Porto, Portugal
Old 04-05-2014 , 17:06   Re: Timer Controller [ April 5th 2014 ]
Reply With Quote #18

Well done hornet! Can be very useful in some situations!
Sun Aloe is offline
GuskiS
Veteran Member
Join Date: Aug 2007
Location: Latvia
Old 04-09-2014 , 02:29   Re: Timer Controller [ April 5th 2014 ]
Reply With Quote #19

Can you add so that we can change current time to some specified?
__________________
Finished mods:
Trouble in Terrorist Town
MurderMod
The Hidden
Cowboys vs Indians
JailBreak Supreme
Survival Madness
GuskiS is online now
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 04-09-2014 , 05:59   Re: Timer Controller [ April 5th 2014 ]
Reply With Quote #20

Quote:
Originally Posted by GuskiS View Post
Can you add so that we can change current time to some specified?
Try this. I've also thrown in a native that you can use.
Attached Files
File Type: zip cstrike.zip (10.1 KB, 54 views)
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:26.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode