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

HLSW Info 1.1 (Updated 05/13/09)


Post New Thread Reply   
 
Thread Tools Display Modes
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 08-21-2008 , 08:55   Re: HLSW Info
Reply With Quote #21

What about it? Works fine on TF2 here.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
Caught off Guard
Senior Member
Join Date: Jan 2008
Old 08-22-2008 , 04:31   Re: HLSW Info
Reply With Quote #22

Hi,

great plugin and seemed to be working fine with my insurgency server . However this morning, 30 mins after the cron job executed to restart the server there was this error in the logs:

Code:
L 08/22/2008 - 04:06:02: SourceMod error session started
L 08/22/2008 - 04:06:02: Info (map "ins_baghdad") (file "errors_20080822.log")
L 08/22/2008 - 04:06:02: [SM] Native "HookConVarChange" reported: Invalid convar handle 0 (error 4)
L 08/22/2008 - 04:06:02: [SM] Displaying call stack trace for plugin "hlswinfo.smx":
L 08/22/2008 - 04:06:02: [SM]   [0]  Line 23, /home/groups/alliedmodders/forums/files/3/4/6/6/8/30230.attach::OnPluginStart()
L 08/22/2008 - 04:31:05: Error log file session closed.
I can report that nextmap and timeleft info is currently (server ip: 217.163.31.17:27015 for info) being shown in HLSW but thought you would want to know about the error message
Caught off Guard is offline
Caught off Guard
Senior Member
Join Date: Jan 2008
Old 08-25-2008 , 01:56   Re: HLSW Info
Reply With Quote #23

I just updated to the latest 1.0 snapshot (1.0.4.2472) on my insurgency server and when I did sm plugin list i got the folllowing message:

Load Errors:
HLSW Nextmap & Timeleft: Error detected in plugin startup (see error logs)

the error logs had this info:

L 08/25/2008 - 05:41:57: SourceMod error session started
L 08/25/2008 - 05:41:57: Info (map "ins_baghdad") (file "errors_20080825.log")
L 08/25/2008 - 05:41:57: [SM] Native "HookConVarChange" reported: Invalid convar handle 0 (error 4)
L 08/25/2008 - 05:41:57: [SM] Displaying call stack trace for plugin "hlswinfo.smx":
L 08/25/2008 - 05:41:57: [SM] [0] Line 23, /home/groups/alliedmodders/forums/files/3/4/6/6/8/30230.attach::OnPluginStart()
L 08/25/2008 - 05:46:42: SourceMod error session started
L 08/25/2008 - 05:46:42: Info (map "ins_baghdad") (file "errors_20080825.log")
L 08/25/2008 - 05:46:42: [SM] Native "HookConVarChange" reported: Invalid convar handle 0 (error 4)
L 08/25/2008 - 05:46:42: [SM] Displaying call stack trace for plugin "hlswinfo.smx":
L 08/25/2008 - 05:46:42: [SM] [0] Line 23, /home/groups/alliedmodders/forums/files/3/4/6/6/8/30230.attach::OnPluginStart()
L 08/25/2008 - 05:483: SourceMod error session started
L 08/25/2008 - 05:483: Info (map "ins_baghdad") (file "errors_20080825.log")
L 08/25/2008 - 05:483: [SM] Native "HookConVarChange" reported: Invalid convar handle 0 (error 4)
L 08/25/2008 - 05:483: [SM] Displaying call stack trace for plugin "hlswinfo.smx":
L 08/25/2008 - 05:483: [SM] [0] Line 23, /home/groups/alliedmodders/forums/files/3/4/6/6/8/30230.attach::OnPluginStart()
L 08/25/2008 - 05:51:08: SourceMod error session started
L 08/25/2008 - 05:51:08: Info (map "ins_baghdad") (file "errors_20080825.log")
L 08/25/2008 - 05:51:08: [SM] Native "HookConVarChange" reported: Invalid convar handle 0 (error 4)
L 08/25/2008 - 05:51:08: [SM] Displaying call stack trace for plugin "hlswinfo.smx":
L 08/25/2008 - 05:51:08: [SM] [0] Line 23, /home/groups/alliedmodders/forums/files/3/4/6/6/8/30230.attach::OnPluginStart()

if ou could fix it so I can use it again it would be appreciated.

thanks
Caught off Guard is offline
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 09-03-2008 , 15:03   Re: HLSW Info
Reply With Quote #24

same errors in CS:S
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
Caught off Guard
Senior Member
Join Date: Jan 2008
Old 09-10-2008 , 05:58   Re: HLSW Info
Reply With Quote #25

bump^^

thanks
Caught off Guard is offline
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 09-15-2008 , 03:01   Re: HLSW Info
Reply With Quote #26

Hi everybody!

I made a small change to the code and on our Server (TF2) the error is gone and everything seems to be fine in HLSW.

I attached the file so you can try it

Another thing you could try is renaming the plugin. I don't know the order Sourcemod is loading the plugins but my guess is it loads them alphabetically. This means it first loads HLSW.smx and then the nextmap.smx. And when HLSW is loaded it tries to get the cvar "sm_nextmap" which isn't present until nextmap is loaded so the error occurs.
Attached Files
File Type: sp Get Plugin or Get Source (HLSW.sp - 754 views - 2.0 KB)

Last edited by Sillium; 09-15-2008 at 04:42.
Sillium is offline
Caught off Guard
Senior Member
Join Date: Jan 2008
Old 09-16-2008 , 17:21   Re: HLSW Info
Reply With Quote #27

thanks it seems to be working.
Caught off Guard is offline
Sillium
AlliedModders Donor
Join Date: Sep 2008
Location: Germany
Old 09-18-2008 , 02:34   Re: HLSW Info
Reply With Quote #28

Ok... our server admin told me that the error still occurs for the first map. We'll now try renaming the plugin to something like next_hlsw.smx. I'll let you know if it works
__________________
brb, dishes have developed their own language and are talking to the garbage about overthrowing me... i must correct this

www.unterwasserpyromanen.de
Sillium is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 05-13-2009 , 11:11   Re: HLSW Info 1.1 (Updated 05/13/09)
Reply With Quote #29

Updated. Added support for Pending Vote (when mapchooser is enabled), and rewrote it a bit to fix the bugs.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 05-13-2009 , 16:51   Re: HLSW Info 1.1 (Updated 05/13/09)
Reply With Quote #30

Did you change the name of the smx by chance, would be HLSW.smx?
__________________

DontWannaName 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 21:53.


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