Raised This Month: $51 Target: $400
 12% 

H-Reserved (Advanced Reserved Slots)


Post New Thread Reply   
 
Thread Tools Display Modes
saint555
BANNED
Join Date: Aug 2009
Location: Hungary
Old 10-13-2009 , 04:14   Re: H-Reserved (Advanced Reserved Slots)
Reply With Quote #481

Anyone can help me?
This plugin is a great idea. Working for me like a charm. Thanks! +karma
But I have two little problems.

1, My servers screenlog.0 file is seems like this:
"[hreserved_slots] no slot amount defined, using 1 hidden slots as reserved.
[hreserved_slots] public slot used (13/49)"
These warnings presented with all players. Now 1/4 of my screenlog is full with this warnings.
How can i disable the echo (or logging) only for this script?

2, In my screnlog.0 found:
unknown command "0"
This warning is present only if this script run.
The "error" is not in cfg or the phrases file. I think, this little bug is somewhere in the smx file.
Sorry for my very bad english.
Br.: saint

Last edited by saint555; 10-13-2009 at 04:16.
saint555 is offline
red!
Senior Member
Join Date: Sep 2007
Location: Germany
Old 10-13-2009 , 05:22   Re: H-Reserved (Advanced Reserved Slots)
Reply With Quote #482

1. Hmm, I don't know how to disable logging for one app. Of course I could add a switch to silence logging. 2. I never heard about this. Which sm-version do you use and could you please post a corresponding snippet (with some lines before and after the error message) of your log, please.
red! is offline
saint555
BANNED
Join Date: Aug 2009
Location: Hungary
Old 10-13-2009 , 07:52   Re: H-Reserved (Advanced Reserved Slots)
Reply With Quote #483

Thanks for your answer.
Quote:
sv_pure value unchanged (current value is 1).
--------------------------------------------------------
Weapon weapon_hegrenade is restricted to 12 per team
Weapon weapon_smokegrenade is restricted to 10 per team
couldn't exec ./mani_admin_plugin/defaults.cfg
couldn't exec
couldn't exec
couldn't exec
Unknown command "0"
****** Executing mani_server.cfg ******
****** Executing mani_quake_sounds.cfg ******
****** Finished executing mani_server.cfg ******
Invalid terrorist spawnpoint at (-514.0,144.0,144.0)
[hreserved_slots] no slot amount defined, using 0 hidden slots as reserved.
[hreserved_slots] public slot used (1/50)
Game will not start until both teams have players.
[hreserved_slots] no slot amount defined, using 0 hidden slots as reserved.
[hreserved_slots] public slot used (2/50)
Calculate Stats total time [0.002930]
This is a part of the screenlog from today morning.
I use:
- metamod source 1.7.1
- sourcemod 1.2.3
- Mani admin plugin 1.2_S Hotfix2 ( I know. This app is full with bugs, but the 40+ spawnpoints and the admin skins need this. Replacement is ongoing with sourcemod apps. )

Another question:
"[hreserved_slots] no slot amount defined, using 0 hidden slots as reserved."
Edited: This is my fault. Sorry! I add the .cfg file, but wrong place. To:.cstrike/addons/sourcemod/configs and the sourcemod generate another .cfg file in the: ./cstrike/cfg (this is the right place for this file.
What do you think?
Br.: saint

Last edited by saint555; 10-13-2009 at 10:53.
saint555 is offline
red!
Senior Member
Join Date: Sep 2007
Location: Germany
Old 10-13-2009 , 09:05   Re: H-Reserved (Advanced Reserved Slots)
Reply With Quote #484

First: The '0' does not seem to be originating from my plugin, but from some config you're calling from within your server.cfg or autoexec.cfg. When you set sm_hreserved_slots_amount "-1" the plugin will use all invisible slots as reserved. If you set it to any value above "0", the hidden slot config is ignored and the configured value from sm_hreserved_slots_amount is used. Please try to reproduce this misbehavior, and post a dump from command hrs_status which will allow further analysis on the plugins state.
red! is offline
saint555
BANNED
Join Date: Aug 2009
Location: Hungary
Old 10-13-2009 , 10:10   Re: H-Reserved (Advanced Reserved Slots)
Reply With Quote #485

I was edited my post. Please read.
Now i have only one little "problem".
The screenlog. Now in the serverlog i found, when my server is full (49/50):
Quote:
[hreserved_slots] public slot used (16/49)
[hreserved_slots] no free public slots
L 10/13/2009 - 16:51:18: [hreserved_slots.smx] unpriviledged user SlaYeRz [STEAM_0:0:0] connected to reserved slot
L 10/13/2009 - 16:51:18: [hreserved_slots.smx] kicking rejected player SlaYeRz [STEAM_0:0:0]
Dropped SlaYeRz from server (This slot is reserved for admins)
I think those entries are obsolete in the screenlog.0 file. Because
generate too many entries here. These entries are removed?
Thank you for your patience.
Br.: saint

Last edited by saint555; 10-13-2009 at 10:56.
saint555 is offline
red!
Senior Member
Join Date: Sep 2007
Location: Germany
Old 10-13-2009 , 14:39   Re: H-Reserved (Advanced Reserved Slots)
Reply With Quote #486

Hm, ok. But nevertheless I don't know anything about the screenlog.0 file you're talking about. The messages you mentioned are dunped to the sm-logs at sourcemod/logs/ folder. But I am running sm1.2.1 because newer versions do crash my server. Maybe that's a new thing. But yes, I could make a more silent version. But not today, think I'll stay on the porch and watch the Simpsons for now...
red! is offline
saint555
BANNED
Join Date: Aug 2009
Location: Hungary
Old 10-14-2009 , 03:17   Re: H-Reserved (Advanced Reserved Slots)
Reply With Quote #487

Thank you for your help and your work!
The program is working well. The screenlog thing is my problem. But I am waiting for a "silent" variant.
Regards ( und danke schön ): saint
saint555 is offline
red!
Senior Member
Join Date: Sep 2007
Location: Germany
Old 10-14-2009 , 17:02   Re: H-Reserved (Advanced Reserved Slots)
Reply With Quote #488

Hi,

maybe I'll introduce a silence-option for the next release, but until that I just removed any logging on connect. No big deal but maybe that'll help you.
Attached Files
File Type: sp Get Plugin or Get Source (hreserved_slots.sp - 486 views - 22.1 KB)
red! is offline
saint555
BANNED
Join Date: Aug 2009
Location: Hungary
Old 10-15-2009 , 03:05   Re: H-Reserved (Advanced Reserved Slots)
Reply With Quote #489

Hi.
Congratulations to you. This "silent" version seems to work fine. From this morning it runs on my server (now 50 slots). The "echoes" disappeared from my screenlog. (Now my screenlog is "only" 8-9 Megs / 24 hour )
Many thanks: saint

Last edited by saint555; 10-15-2009 at 03:09.
saint555 is offline
Kage
New Member
Join Date: Dec 2008
Old 11-14-2009 , 14:35   Re: H-Reserved (Advanced Reserved Slots)
Reply With Quote #490

Hello,

I was wondering if you could assist me in getting this to work on our server?

I've installed everything and filled up the server but when I attempt to connect via the console I still get the message saying the server is full.

This is for Team Fortress 2;
- All files were installed in the proper location. I've even attempted to remove admin immunity from the plugin but it's not working.

Could somebody give me direct locations for the installation just to be safe and any other suggestions that might help?
Kage 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 01:36.


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