Raised This Month: $32 Target: $400
 8% 

Timeleft Hostname


Post New Thread Reply   
 
Thread Tools Display Modes
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Old 09-25-2007 , 08:42   Re: Timeleft Hostname
Reply With Quote #11

You should disable your timer when the last player disconnects. That should allow the server to fall back into an idle state.
__________________
I'm a blast from the past!
ferret is offline
Hell Phoenix
Senior Member
Join Date: Jan 2005
Old 09-26-2007 , 10:20   Re: Timeleft Hostname
Reply With Quote #12

Thats strange, I have it on my server and dont see any cpu usage increase.

There actually is a cvar to control how often it updates. By default its every 2 seconds.

sm_timeleft_hostname_frequency 2.0
^ that is the default.
__________________
Hell Phoenix is offline
jones ray
Member
Join Date: Aug 2007
Old 09-26-2007 , 13:26   Re: Timeleft Hostname
Reply With Quote #13

cpu usage here FINE as well
jones ray is offline
J@y-R
Senior Member
Join Date: Jan 2007
Location: Hamburg (Germany)
Old 09-26-2007 , 22:05   Re: Timeleft Hostname
Reply With Quote #14

Hello

I find this in my sourcemod log's

Code:
L 09/27/2007 - 01:34:39: [SM] Native "CloseHandle" reported: Handle 0 is invalid (error 4)
L 09/27/2007 - 01:34:39: [SM] Displaying call stack trace for plugin "timeleft_hostname.smx":
L 09/27/2007 - 01:34:39: [SM]   [0]  Line 71, /home/groups/alliedmodders/forums/files/3/7/6/4/20404.attach::OnMapEnd()
L 09/27/2007 - 01:34:39: [SM] Native "CloseHandle" reported: Handle 0 is invalid (error 4)
L 09/27/2007 - 01:34:39: [SM] Displaying call stack trace for plugin "timeleft_hostname.smx":
L 09/27/2007 - 01:34:39: [SM]   [0]  Line 76, /home/groups/alliedmodders/forums/files/3/7/6/4/20404.attach::OnPluginEnd(
JaY
J@y-R is offline
Send a message via ICQ to J@y-R Send a message via MSN to J@y-R
Hell Phoenix
Senior Member
Join Date: Jan 2005
Old 09-27-2007 , 13:40   Re: Timeleft Hostname
Reply With Quote #15

Whoops...sorry about that. Get the new version, it fixes the errors.

1.2
* Fixed errors in the console
__________________
Hell Phoenix is offline
-=CsFF=- Eagle
SourceMod Donor
Join Date: May 2005
Old 10-03-2007 , 08:59   Re: Timeleft Hostname
Reply With Quote #16

Hi there,

the cvar sm_timeleft_hostname_frequency seems not to work. Set them to another time ex. 5 and it change every 2 seconds the name.
Thanks for your work

Eagle
-=CsFF=- Eagle is offline
Hell Phoenix
Senior Member
Join Date: Jan 2005
Old 10-03-2007 , 10:12   Re: Timeleft Hostname
Reply With Quote #17

Hmmm...I will look into that. Thanks for the report =D
__________________
Hell Phoenix is offline
Falco
SourceMod Donor
Join Date: Dec 2004
Location: CANADA
Old 10-04-2007 , 00:34   Re: Timeleft Hostname
Reply With Quote #18

Getting this error:
Quote:
L 10/03/2007 - 18:572: [SM] Native "CloseHandle" reported: Handle 27c0124 is invalid (error 3)
L 10/03/2007 - 18:572: [SM] Displaying call stack trace for plugin "timeleft_hostname.smx":
L 10/03/2007 - 18:572: [SM] [0] Line 81, /home/groups/alliedmodders/forums/files/3/7/6/4/20404.attach::OnPluginEnd()
__________________
[DmZ|EPSILON CSS 70.75.139.92:27016
[DmZ|EPSILON GG 70.75.167.30:27015
[DmZ|EPSILON CS:GO Classic Casual 70.75.139.92:27013
[DmZ|EPSILON CS:GO Demolition 70.75.139.92:27014
[DmZ|EPSILON BF3 69.46.43.221:25203 (8-slot) Practice Server
www.dmzepsilon.ca
----------------------
Falco is offline
Hell Phoenix
Senior Member
Join Date: Jan 2005
Old 10-04-2007 , 10:34   Re: Timeleft Hostname
Reply With Quote #19

OK, I have the cvar working...I will post the version later today hopefully after I hear back from Falco.

Falco, when are you getting that error? I cant reproduce it after version 1.2.
__________________
Hell Phoenix is offline
Falco
SourceMod Donor
Join Date: Dec 2004
Location: CANADA
Old 10-04-2007 , 18:04   Re: Timeleft Hostname
Reply With Quote #20

I have not received the error for 16hrs now. I removed the bots. It appears to be related to that possibly.
Win server
Meta list
Quote:
[01] FPS Boost 1.0 sslice RUN
[02] SourceMod 1.0.0.153 AlliedModders LLC RUN
[03] SteamBans Detox 1.1 sslice/opi RUN
[04] Statsmeminimum Plug 1.3.0.10 Roger Devil RUN
[05] GlitterMod 1.3.0.14 Roger Devil RUN
[06] CS:S Tools 1.0.0.147 AlliedModders RUN
[07] SDK Tools 1.0.0.152 AlliedModders LLC RUN
[08] Hacks Extension 1.3.0.0 Knagg0 RUN
sm plugins list
Quote:
6:01:12 [SM] Listing 40 plugins:
01 "1v1" (1.0) by dalto
02 "Admin Auth" (1.0.0.0) by AlliedModders LLC
03 "Admin File Reader" (1.0.0.1533) by AlliedModders LLC
04 "SQL Admins (Threaded)" (1.0.0.1533) by AlliedModders LLC
05 "Admin Help" (1.0.0.1533) by AlliedModders LLC
06 "Admin loggin" (1.0) by vIr-Dan
07 "Aimbot Detection" (0.0.1.0) by devicenull
08 "Anti-Flood" (1.0.0.1533) by AlliedModders LLC
09 "Advanced Team Attack Control" (1.3.3) by FlyingMongoose
10 "Bad name ban" (1.4) by vIr-Dan
11 "Basic Chat" (1.0.0.1533) by AlliedModders LLC
12 "Basic Comm Control" (1.0.0.1533) by AlliedModders LLC
13 "Basic Commands" (1.0.0.1533) by AlliedModders LLC
14 "Basic Fun Commands" (1.0.0.1533) by AlliedModders LLC
15 "Basic Fun Votes" (1.0.0.1533) by AlliedModders LLC
16 "Basic Info Triggers" (1.0.0.1533) by AlliedModders LLC
17 "Basic Votes" (1.0.0.1533) by AlliedModders LLC
18 "Bot Ping" (1.0.0) by Knagg0
19 "Bounty" (1.0.9.0) by Shane A. ^BuGs^ Froebel, FlyingMongoose, and stoic
20 "Basic Server Crontab" (1.0.0.2b) by dubbeh
21 "Cheer!" (1.2) by dalto
22 "Country Filter" (1.0.0) by Knagg0
23 "Healthkit On Death" (1.3.0) by Knagg0
24 "HLstatsX Plugin" (1.6) by Tobi17
25 "Nextmap" (1.0.0.1533) by AlliedModders LLC
26 "QuakeSounds" (1.6) by AMP
27 "RateChecker" (0.2) by pRED*
28 "Reserved Slots" (1.0.0.1533) by AlliedModders LLC
29 "Sm_Cash" (1.2) by ferret
30 "SM Super Commands" (0.51) by pRED*
31 "SM Super Menu" (0.4) by pRED*
32 "SourceBans" (g) by SteamFriends Development Team
33 "SQL Admin Manager" (1.0.0.1533) by AlliedModders LLC
34 "Team Bets" (1.4) by ferret
35 "Timeleft Hostname" (1.2) by Hell Phoenix
36 "WeaponRewards ADVANCED" (2.0.0) by FlyingMongoose/theY4Kman
37 "Weapon Logging" (1.5) by Tobi17
38 "Web Shortcuts" (1.0.1) by James "sslice" Gray
39 "Word Filter Plugin" (1.1) by Tobi17
40 "YeGods High Ping Remover" (1.0.0.4) by dubbeh
__________________
[DmZ|EPSILON CSS 70.75.139.92:27016
[DmZ|EPSILON GG 70.75.167.30:27015
[DmZ|EPSILON CS:GO Classic Casual 70.75.139.92:27013
[DmZ|EPSILON CS:GO Demolition 70.75.139.92:27014
[DmZ|EPSILON BF3 69.46.43.221:25203 (8-slot) Practice Server
www.dmzepsilon.ca
----------------------
Falco 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 13:07.


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