Raised This Month: $ Target: $400
 0% 

Time limit enforcer


Post New Thread Reply   
 
Thread Tools Display Modes
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 08-06-2013 , 11:16   Re: Time limit enforcer
Reply With Quote #91

Quote:
Originally Posted by SilentBr View Post
The server crashes if you type sm cvars sm_forcetimelimit_b34

What plugin can I take to solve my hightower problem?
I take it that mp_match_end_at_timelimit 1 doesn't work on hightower?
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 08-06-2013 , 20:01   Re: Time limit enforcer
Reply With Quote #92

Hi,

Quote:
Originally Posted by SilentBr View Post
The server crashes if you type sm cvars sm_forcetimelimit_b34

What plugin can I take to solve my hightower problem?
1st: sm_cvar sm_forcetimelimit_b34 is not a valid command.
sm_cvar sm_forcetimelimit_version is a valid command, and returns a valid value.

2d: I tested both commands and both give an answer and my server won't crash:
Quote:
] sm_cvar sm_forcetimelimit_b34
[SM] Unable to find cvar: sm_forcetimelimit_b34
/\
|| Normal because it's not a valid command.
Quote:
] sm_cvar sm_forcetimelimit_version
[SM] Value of cvar "sm_forcetimelimit_version": "1.1.203b34"
3rd: If you have troubles, please tell us which versions of SM and Metamod you use, and if you also use Mani or ES.

PS: what's the pb with Hightower? I couldn't find your previous posts about it...
__________________

*** *** ***
-My plugins-

Last edited by St00ne; 09-03-2013 at 22:01.
St00ne is offline
SilentBr
Veteran Member
Join Date: Jan 2009
Old 08-08-2013 , 16:28   Re: Time limit enforcer
Reply With Quote #93

Quote:
Originally Posted by St00ne View Post
Hi,



1st: sm_cvar sm_forcetimelimit_b34 is not a valid command.
sm_forcetimelimit_version is a valid command, and returns a valid value.

2d: I tested both commands and both give an answer and my server won't crash:
/\
|| Normal because it's not a valid command.
3rd: If you have troubles, please tell us which versions of SM and Metamod that you use, and if you also use Mani or ES.

PS: what's the pb with Hightower? I couldn't find your previous posts about it...
Sorry, I got confused.

I mean, if you type sm cvars sm_forcetimelimit_b34 in the server console (or HLSW) the server crashes (not sm_cvar)

hightower never end till someone win a round.

EDIT: No, I didn't say the wrong command in the #90 post. You confused sm cvars with sm_cvar ^.^

Last edited by SilentBr; 08-08-2013 at 16:32.
SilentBr is offline
SilentBr
Veteran Member
Join Date: Jan 2009
Old 08-08-2013 , 16:29   Re: Time limit enforcer
Reply With Quote #94

Quote:
Originally Posted by Powerlord View Post
I take it that mp_match_end_at_timelimit 1 doesn't work on hightower?
No.
SilentBr is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 08-09-2013 , 10:35   Re: Time limit enforcer
Reply With Quote #95

Quote:
Originally Posted by SilentBr View Post
Sorry, I got confused.

I mean, if you type sm cvars sm_forcetimelimit_b34 in the server console (or HLSW) the server crashes (not sm_cvar)

hightower never end till someone win a round.

EDIT: No, I didn't say the wrong command in the #90 post. You confused sm cvars with sm_cvar ^.^
Hi,

Sorry but you didn't say which versions of SM and MM you use.

Plus, what the hell with sm cvars? It's not even a command!

Let me explain you something:
sm_cvar is a command, just like sm_rcon, which lets you touch other cvars:
Example: sm_cvar sm_forcetimelimit_enable 0
OR sm_rcon sm_forcetimelimit_enable 1

Finally, why would you need to type plugin's name instead of plugin cvars? Plugin name is ONLY needed for "sm plugins unload" and "sm plugins load" commands.
Example: sm_rcon sm plugins unload sm_forcetimelimit_b34

I tried all these commands: No crash.

Now, concerning your "trial" of typing a command. If you type a command beginning with sm (and NOT sm_, I mean, just sm) then Sourcemod will admit you wanted to type sm version, which is, let's say, the "main" and "first" command you need to type when installing/checking Sourcemod.

So when you type sm cvars sm_forcetimelimit_b34, you have the answer to sm version:

Quote:
] sm cvars sm_forcetimelimit_b34
SourceMod 1.5.0-dev+3830, by AlliedModders LLC
To see running plugins, type "sm plugins"
To see credits, type "sm credits"
Visit http://www.sourcemod.net/
As you can see, SM version is displayed, and it's not related to the plugin. Console gives the same answer as if I typed sm version.

So, in my opinion, if your server crashes as soon as you type something beginning with sm , your installation is corrupted.

That's why I asked you to say which version you use.

Regards,

St00ne

PS: let me tell you I'm going to make a tiny plugin that checks every 30 seconds if the time limit has been reached.
This way, the plugin is much more simple, and should work on ANY mod.

I'll post it soon.

++
__________________

*** *** ***
-My plugins-

Last edited by St00ne; 08-09-2013 at 10:56.
St00ne is offline
SilentBr
Veteran Member
Join Date: Jan 2009
Old 08-10-2013 , 02:25   Re: Time limit enforcer
Reply With Quote #96

Quote:
Originally Posted by St00ne View Post
Hi,

Sorry but you didn't say which versions of SM and MM you use.

Plus, what the hell with sm cvars? It's not even a command!

Let me explain you something:
sm_cvar is a command, just like sm_rcon, which lets you touch other cvars:
Example: sm_cvar sm_forcetimelimit_enable 0
OR sm_rcon sm_forcetimelimit_enable 1

Finally, why would you need to type plugin's name instead of plugin cvars? Plugin name is ONLY needed for "sm plugins unload" and "sm plugins load" commands.
Example: sm_rcon sm plugins unload sm_forcetimelimit_b34

I tried all these commands: No crash.

Now, concerning your "trial" of typing a command. If you type a command beginning with sm (and NOT sm_, I mean, just sm) then Sourcemod will admit you wanted to type sm version, which is, let's say, the "main" and "first" command you need to type when installing/checking Sourcemod.

So when you type sm cvars sm_forcetimelimit_b34, you have the answer to sm version:

As you can see, SM version is displayed, and it's not related to the plugin. Console gives the same answer as if I typed sm version.

So, in my opinion, if your server crashes as soon as you type something beginning with sm , your installation is corrupted.

That's why I asked you to say which version you use.

Regards,

St00ne

PS: let me tell you I'm going to make a tiny plugin that checks every 30 seconds if the time limit has been reached.
This way, the plugin is much more simple, and should work on ANY mod.

I'll post it soon.

++
Let me explain you. If you type sm cvars <plugin> in HLSW or in the server console itself, you can list all cvars in the plugin. So, I got your plugin and I tried to check all cvars and then the server crashed.

But, NOW, I realized that sm cvars <whatever_plugin> is crashing. So it's not your plugin, I think there is something wrong with sourcemod that is crashing when you try sm cvars <plugin>, I am using latest snapshot, and both my TF2 and L4D2 servers crashed (the files is not corrupted).

Code:
03:21:20 [SM] Usage: sm cvars [reset] <plugin #>
But forget about this sm cvars thing. I would love your new version to solve hightower problem, but I think your current version already does this, right? Going to test.
SilentBr is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 08-10-2013 , 09:13   Re: Time limit enforcer
Reply With Quote #97

Hi SilentBr,

I see, I didn't know this command listing all cvar of a plugin, and the most strange is that I tried, and it didn't list the cvars. See, I typed sm cvars sm_forcetimelimit_b34 and got sm version instead (cf. previous post).
Maybe we need to type sm cvars sm_forcetimelimit.smx or something like that, I mean we are missing something... anyway, nevermind, I'll try at home tonight.

I will also post the new version of the plugin. In about 6 or 7 hours now when I get home.
But I already made a version for servers having special maps changing timelimit to 0... here is the link -> http://forums.alliedmods.net/showpos...6&postcount=77
This should fix your Hightower problem.

For your crashes, I definitely recommend you to use latest 1.5 snapshots, and not 1.6 snapshots.
MMS 1.9.3 stable recommended too.

See you

++
__________________

*** *** ***
-My plugins-

Last edited by St00ne; 08-10-2013 at 09:30.
St00ne is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 08-10-2013 , 18:24   Re: Time limit enforcer
Reply With Quote #98

As planned, here is a plugin that checks every 30 seconds if timelimit has been reached.
It also works if you change mp_timelimit during the game (like the other plugin).

So this plugin is 'less' precise in the way that it will change the map maybe 30 seconds after real timelimit, but the good thing is that it is really 'simple', and thus, has a lower probability to give errors.

NB: For Hightower I think you will still need this: http://forums.alliedmods.net/showpos...6&postcount=77

Edit: FCVAR_REPLICATED removed (version rx21) to prevent console warnings.

++
Attached Files
File Type: smx sm_forcetimelimit_rx4.smx (3.8 KB, 95 views)
File Type: sp Get Plugin or Get Source (sm_forcetimelimit_rx4.sp - 256 views - 2.7 KB)
__________________

*** *** ***
-My plugins-

Last edited by St00ne; 06-10-2020 at 21:45. Reason: Using OnConfigsExecuted to check timelimit, working with maps configs.
St00ne is offline
XenTerSiO
SourceMod Donor
Join Date: Nov 2011
Location: Black Mesa
Old 08-17-2013 , 22:24   Re: Time limit enforcer
Reply With Quote #99

How to disable every 30 seconds?
The plugin does not extend the map by voting

Last edited by XenTerSiO; 08-18-2013 at 05:22.
XenTerSiO is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 08-18-2013 , 10:16   Re: Time limit enforcer
Reply With Quote #100

Quote:
Originally Posted by XenTerSiO View Post
How to disable every 30 seconds?
The plugin does not extend the map by voting
Hi,

It's weird because I tried to extend mp_timelimit manually and the map didn't change.
So I don't know why time extending doesn't work for you.
Maybe, you have a bad setting regarding your mapchooser config, like when a map is extended, it changes maxfrag or maxround but not the timelimit. Please check this.
I'll test tonight too.

++
__________________

*** *** ***
-My plugins-
St00ne 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 18:20.


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