Raised This Month: $ Target: $400
 0% 

Round Timer


Post New Thread Reply   
 
Thread Tools Display Modes
Medowar
Junior Member
Join Date: Aug 2012
Location: javascript:get.location(
Old 07-01-2013 , 16:01   Re: [TF2] Round Countdown
Reply With Quote #11

added cvar sm_countdown_display (def. 1) to toggle, if the countdown should be displayed or not.

Download: https://bitbucket.org/Medowar/source...smx?at=default
Source: https://bitbucket.org/Medowar/source....sp?at=default
__________________
Medowar is offline
rh0381
Junior Member
Join Date: Dec 2012
Old 07-24-2013 , 15:37   Re: [TF2] Round Countdown
Reply With Quote #12

1. It stops working after 1 map

2. (with the fixed version) it stops working if a map vote is manualy made or if a rtv vote comes up

Please fix it its really annoying

Last edited by rh0381; 07-24-2013 at 19:23.
rh0381 is offline
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Old 07-25-2013 , 00:54   Re: [TF2] Round Countdown
Reply With Quote #13

Quote:
Originally Posted by rh0381 View Post
1. It stops working after 1 map

2. (with the fixed version) it stops working if a map vote is manualy made or if a rtv vote comes up

Please fix it its really annoying
Should be fixed. I sort of gave it a re-release. Let me know how it works.
Changes:
  • Fixed invalid handle errors on map change
  • Added convar to enable/disable timer from displaying in hud
  • Added convar to enable/disable timer from displaying in center text
  • Now automatically determines when round timer starts
  • Now supports any game
  • Changed name of plugin and convars
Make sure you delete the config and let it regenerate. The name of the plugins and convars have been changed.
ReFlexPoison is offline
rh0381
Junior Member
Join Date: Dec 2012
Old 07-26-2013 , 06:48   Re: Round Timer
Reply With Quote #14

Havnt tested the newer one yet but it also started with a time of 15 minutes for the first round, but im putting the newer one on my servers now, will post again after ive tested it
__________________
rh0381 is offline
rh0381
Junior Member
Join Date: Dec 2012
Old 07-26-2013 , 16:28   Re: Round Timer
Reply With Quote #15

The new one conflicts with the advertisements plugin (http://forums.alliedmods.net/showthread.php?t=155705)

Any way you can fix it?
__________________
rh0381 is offline
rh0381
Junior Member
Join Date: Dec 2012
Old 07-26-2013 , 17:59   Re: Round Timer
Reply With Quote #16

Its been buggy for me, im not sure if its the plugin or what, but I have this in my plugin.roundtimer.cfg

Code:
// This file was auto-generated by SourceMod (v1.5.0-dev+3855)
// ConVars for plugin "roundtimer.smx"
 
// Enable displaying timer in center text
// 0 = Disabled
// 1 = Enabled
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_roundtimer_center "0"
// Commands to run once the timer ends
// -
// Default: "sm_say The round time has ended, you were to slow!;sm_slay @red"
sm_roundtimer_commands "sm_say The round time has ended, you were to slow!;sm_slay @red"
// Enable Round Timer
// 0 = Disabled
// 1 = Enabled
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_roundtimer_enabled "1"
// Enable displaying timer in hud
// 0 = Disabled
// 1 = Enabled
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_roundtimer_hud "1"
// Round timer time
// -
// Default: "300"
// Minimum: "30.000000"
sm_roundtimer_time "420"
// X hud position
// -1 = Center
// -
// Default: "-1"
// Minimum: "-1.000000"
// Maximum: "1.000000"
sm_roundtimer_xhud "-1"
// Y hud position
// -1 = Center
// -
// Default: "0.15"
// Minimum: "-1.000000"
// Maximum: "1.000000"
sm_roundtimer_yhud "0.5"
I cant find any errors but it looks like this. It is starting at 5 minutes when I have set it for 7 minutes and I moved it down to the bottom of the hud but its still up at the top yet the center timer is off.



Any idea how I can fix this?
__________________

Last edited by rh0381; 07-26-2013 at 20:52.
rh0381 is offline
ReFlexPoison
☠☠☠
Join Date: Jul 2011
Location: ☠☠☠
Old 07-27-2013 , 02:39   Re: Round Timer
Reply With Quote #17

Quote:
Originally Posted by rh0381 View Post
The new one conflicts with the advertisements plugin (http://forums.alliedmods.net/showthread.php?t=155705)

Any way you can fix it?
This plugin doesn't conflict with it in any way. You have another problem.
I also tested the convars add they are all working properly.

Last edited by ReFlexPoison; 07-27-2013 at 02:45.
ReFlexPoison is offline
Windroid
Member
Join Date: Mar 2013
Old 09-01-2013 , 03:50   Re: Round Timer
Reply With Quote #18

can you add a HUD like "Round Remaining:" upside the timer?people don't know what timer do when they saw it.

Thank you.
Windroid is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 03-07-2014 , 03:09   Re: Round Timer
Reply With Quote #19

Updated version by me which adds a few things to the plugin and adds a Native to kill the Timer at anytime. Made for the TF2Jail plugin in order to make things easier to work with.

Updated: Removed my personal include.. my bad. Also implemented the changes Powerlord made in order to work for other games as well.

UPDATE: Latest editions & Natives have been updated for use with TF2Jail. [3/31/2014]
Attached Files
File Type: smx roundtimer.smx (6.5 KB, 347 views)
File Type: inc roundtimer.inc (652 Bytes, 341 views)
File Type: sp Get Plugin or Get Source (roundtimer.sp - 264 views - 6.6 KB)

Last edited by Drixevel; 07-04-2014 at 15:45.
Drixevel is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 03-07-2014 , 11:07   Re: Round Timer
Reply With Quote #20

Quote:
Originally Posted by r3dw3r3w0lf View Post
Updated version by me which adds a few things to the plugin and adds a Native to kill the Timer at anytime. Made for the TF2Jail plugin in order to make things easier to work with.
Code:
C:\Projects\SourceMod\plugins\roundtimer.sp(7) : fatal error 120: cannot read from file: "jackofdesigns"
Forgetting a file?
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
Reply



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 08:17.


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