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

Connect Announce


Post New Thread Reply   
 
Thread Tools Display Modes
Cuz
Senior Member
Join Date: May 2007
Location: Alaska
Old 06-28-2010 , 01:47   Re: Connect Announce
Reply With Quote #411

v1.1.1 was working fine, then I added the geoip 'city' support.

Quote:
L 06/27/2010 - 22:22:46: [SM] Native "CloseHandle" reported: Handle 0 is invalid (error 4)
L 06/27/2010 - 22:22:46: [SM] Displaying call stack trace for plugin "cannounce.smx":
L 06/27/2010 - 22:22:46: [SM] [0] Line 28, D:\Dev\sourcemod\cannounce\trunk\tools\source mod-1.3.2\addons\sourcemod\scripting\include\geoc ity.inc::GeoipCity()
L 06/27/2010 - 22:22:46: [SM] [1] Line 302, temp\cannounce.sp::GetFormattedMessage()
L 06/27/2010 - 22:22:46: [SM] [2] Line 240, temp\cannounce.sp:rintFormattedMessageToAll ()
L 06/27/2010 - 22:22:46: [SM] [3] Line 73, temp\cannounce/countryshow.sp::OnPostAdminCheck_CountryShow( )
L 06/27/2010 - 22:22:46: [SM] [4] Line 165, temp\cannounce.sp::OnClientPostAdminCheck()
L 06/27/2010 - 22:25:18: [SM] Native "CloseHandle" reported: Handle 0 is invalid (error 4)
L 06/27/2010 - 22:25:18: [SM] Displaying call stack trace for plugin "cannounce.smx":
L 06/27/2010 - 22:25:18: [SM] [0] Line 28, D:\Dev\sourcemod\cannounce\trunk\tools\source mod-1.3.2\addons\sourcemod\scripting\include\geoc ity.inc::GeoipCity()
L 06/27/2010 - 22:25:18: [SM] [1] Line 302, temp\cannounce.sp::GetFormattedMessage()
L 06/27/2010 - 22:25:18: [SM] [2] Line 240, temp\cannounce.sp:rintFormattedMessageToAll ()
L 06/27/2010 - 22:25:18: [SM] [3] Line 149, temp\cannounce/countryshow.sp::event_PlayerDisc_CountryShow( )
L 06/27/2010 - 22:25:18: [SM] [4] Line 219, temp\cannounce.sp::event_PlayerDisconnect()
L 06/27/2010 - 22:26:19: [SM] Native "CloseHandle" reported: Handle 0 is invalid (error 4)
L 06/27/2010 - 22:26:19: [SM] Displaying call stack trace for plugin "cannounce.smx":
Cuz is offline
Darkthrone
Senior Member
Join Date: Jun 2009
Old 06-29-2010 , 16:49   Re: Connect Announce
Reply With Quote #412

can you make menu for sm_geolist @all command, and allow access for all players?
this already implemented in get location plugin
will be usefull if we can use only one plugin instead of two
__________________
all the best for your Zombie:Reloaded server
Auto !zspawn | ZProp | Infinite Ammo | Anti-Doorblock

Darkthrone is offline
Arg!
Veteran Member
Join Date: Jul 2008
Location: Australia
Old 06-29-2010 , 17:04   Re: Connect Announce
Reply With Quote #413

But theres no relevant cost to running extra plugins and i shouldnt really duplicate functionality.
__________________
Arg! is offline
Arg!
Veteran Member
Join Date: Jul 2008
Location: Australia
Old 07-04-2010 , 02:19   Re: Connect Announce
Reply With Quote #414

ok, this might be the issue, can someone please test the geocity thingo again?
sorry about the delay it should have been a quick easy fix but end of financial year is a bitch!
Attached Files
File Type: smx cannounce.smx (21.2 KB, 180 views)
__________________
Arg! is offline
Cuz
Senior Member
Join Date: May 2007
Location: Alaska
Old 07-04-2010 , 03:20   Re: Connect Announce
Reply With Quote #415

Quote:
Originally Posted by Arg! View Post
ok, this might be the issue, can someone please test the geocity thingo again?
sorry about the delay it should have been a quick easy fix but end of financial year is a bitch!
This is the error log from that one:
Code:
L 07/04/2010 - 00:04:51: SourceMod error session started
L 07/04/2010 - 00:04:51: Info (map "cp_dustbowl") (file "errors_20100704.log")
L 07/04/2010 - 00:04:51: [SM] Native "CloseHandle" reported: Handle 0 is invalid (error 4)
L 07/04/2010 - 00:04:51: [SM] Displaying call stack trace for plugin "cannounce.smx":
L 07/04/2010 - 00:04:51: [SM]   [0]  Line 28, D:\Dev\sourcemod\cannounce\trunk\tools\sourcemod-1.3.2\addons\sourcemod\scripting\include\geocity.inc::GeoipCity()
L 07/04/2010 - 00:04:51: [SM]   [1]  Line 302, temp\cannounce.sp::GetFormattedMessage()
L 07/04/2010 - 00:04:51: [SM]   [2]  Line 240, temp\cannounce.sp::PrintFormattedMessageToAll()
L 07/04/2010 - 00:04:51: [SM]   [3]  Line 73, temp\cannounce/countryshow.sp::OnPostAdminCheck_CountryShow()
L 07/04/2010 - 00:04:51: [SM]   [4]  Line 148, temp\cannounce.sp::OnClientAuthorized()
L 07/04/2010 - 00:04:51: [SM] Native "CloseHandle" reported: Handle 0 is invalid (error 4)
L 07/04/2010 - 00:04:51: [SM] Displaying call stack trace for plugin "cannounce.smx":
L 07/04/2010 - 00:04:51: [SM]   [0]  Line 28, D:\Dev\sourcemod\cannounce\trunk\tools\sourcemod-1.3.2\addons\sourcemod\scripting\include\geocity.inc::GeoipCity()
L 07/04/2010 - 00:04:51: [SM]   [1]  Line 302, temp\cannounce.sp::GetFormattedMessage()
L 07/04/2010 - 00:04:51: [SM]   [2]  Line 240, temp\cannounce.sp::PrintFormattedMessageToAll()
L 07/04/2010 - 00:04:51: [SM]   [3]  Line 73, temp\cannounce/countryshow.sp::OnPostAdminCheck_CountryShow()
L 07/04/2010 - 00:04:51: [SM]   [4]  Line 148, temp\cannounce.sp::OnClientAuthorized()
Cuz is offline
Arg!
Veteran Member
Join Date: Jul 2008
Location: Australia
Old 07-04-2010 , 03:57   Re: Connect Announce
Reply With Quote #416

damn, exactly the same.
By any chance can you confirm the IP is showing up on disconnect?
__________________
Arg! is offline
Arg!
Veteran Member
Join Date: Jul 2008
Location: Australia
Old 07-04-2010 , 04:29   Re: Connect Announce
Reply With Quote #417

heres another attempt.

i actually had to change the include file so if this fails then i may have to back to the developer of the geoipcity include for assistance.
Attached Files
File Type: smx cannounce.smx (21.2 KB, 194 views)
File Type: zip cannounce_1.1.1.zip (37.9 KB, 186 views)
__________________

Last edited by Arg!; 07-04-2010 at 17:09.
Arg! is offline
Darkthrone
Senior Member
Join Date: Jun 2009
Old 07-04-2010 , 07:38   Re: Connect Announce
Reply With Quote #418

please don't forget to post source, maybe someone can help to fix issue
__________________
all the best for your Zombie:Reloaded server
Auto !zspawn | ZProp | Infinite Ammo | Anti-Doorblock

Darkthrone is offline
GoD-Tony
Veteran Member
Join Date: Jul 2005
Old 07-04-2010 , 13:40   Re: Connect Announce
Reply With Quote #419

Is it possible to release a stable version of the bug fixes, and save the new features for beta versions?
GoD-Tony is offline
step
Senior Member
Join Date: May 2010
Old 07-04-2010 , 14:39   Re: Connect Announce
Reply With Quote #420

Quote:
Originally Posted by Arg! View Post
-Now strip carriage returns from disconnect messages, if applicable
What does this mean?
step 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 02:06.


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