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

Anti-TK Manager (Version 1.1.3 / Updated January 19 2011)


Post New Thread Reply   
 
Thread Tools Display Modes
Rothgar
Veteran Member
Join Date: Nov 2007
Old 01-09-2009 , 22:27   Re: Anti-TK Manager
Reply With Quote #21

Quote:
Originally Posted by Tramp View Post
I found bug. When file AntiTK.txt has ~7-10 MB my server is not loading. After removing it problem disappeared.
That could be a SourceMod bug did it crash? Do you have a crashdump?
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
Lebson506th
Veteran Member
Join Date: Jul 2008
Old 01-09-2009 , 22:42   Re: Anti-TK Manager
Reply With Quote #22

If that's a log, you could just male a new file daily like the normal logs do.
__________________
My Plugins
Spray Tracer by Nican, maintained by me
Simple TK Manager
DoD:S Admin Weapons

Links
Resistance and Liberation (A HL2 Multiplayer Modification)
Lebson506th is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 01-10-2009 , 19:08   Re: Anti-TK Manager
Reply With Quote #23

Have not tested this one but 1.0.6 should now purge players that have expired?

Try it out and let me know how it goes there is a new cvar for the time players should be stored for.

If you can see if there is a crash dump for that problem you were having with a large database though I can see if it's a SourceMod bug, thanks.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
Tramp
Senior Member
Join Date: Aug 2005
Old 01-12-2009 , 18:32   Re: Anti-TK Manager
Reply With Quote #24

There is no crashdump because that wasn't crash that something like stuck/hang on starting server. I tried to do everything, reinstall sourcemod etc. and last ideas was to delete this file and creat new one :d
__________________
STER-Gaming.pl - The Best Multigaming Club, CS 1.6, CS:S, ET, COD 2 more and more ! Check forum forum.ster-gaming.pl

amxmodx - Polish support about amxx.
Tramp is offline
Sille
Junior Member
Join Date: Jan 2009
Old 01-13-2009 , 07:41   Re: Anti-TK Manager
Reply With Quote #25

Quote:
Originally Posted by Tramp View Post
I found bug. When file AntiTK.txt has ~7-10 MB my server is not loading. After removing it problem disappeared.
Got the same problem here. The server crashes and is not loading when try to start it again. Toke me several hours to locate it to the antitk.txt file the first time.

Have the default time on sm_antitk_purge_time.

Last edited by Sille; 01-13-2009 at 07:45.
Sille is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 01-13-2009 , 16:21   Re: Anti-TK Manager
Reply With Quote #26

Quote:
Originally Posted by Sille View Post
Got the same problem here. The server crashes and is not loading when try to start it again. Toke me several hours to locate it to the antitk.txt file the first time.

Have the default time on sm_antitk_purge_time.
You are running the new 1.0.6 version?

Can you keep an eye on the file as it should be automatically purging.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
Tramp
Senior Member
Join Date: Aug 2005
Old 01-14-2009 , 15:01   Re: Anti-TK Manager
Reply With Quote #27

Hmm after installing 1.0.6 i haven't noticed yet any pruning.
Now file has 6MB :d

Maybe you could use SQLx way than .txt as other coders.

I'm adding AntiTK.txt
I don't know why but SourceTV is there as "bot"
And not all entries are correct

example
Code:
"Anti-TK"
{
	"STEAM_0:1:9835489"
	{
		"karma"		"0"
		"kills"		"0"
		"tks"		"0"
		"saved"		"1231963343"
	}
	"karma"		"0"
	"kills"		"0"
	"tks"		"0"
	"saved"		"1231964424"
	"STEAM_0:0:5205140"
	{
		"karma"		"0"
		"kills"		"9"
		"tks"		"0"
		"saved"		"1231964424"
	}
STV

Code:
	"bot"
	{
		"karma"		"0"
		"kills"		"0"
		"tks"		"0"
		"saved"		"1231964423"
	}
Attached Files
File Type: rar AntiTK.rar (454 Bytes, 307 views)
__________________
STER-Gaming.pl - The Best Multigaming Club, CS 1.6, CS:S, ET, COD 2 more and more ! Check forum forum.ster-gaming.pl

amxmodx - Polish support about amxx.

Last edited by Tramp; 01-14-2009 at 15:28.
Tramp is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 01-14-2009 , 17:51   Re: Anti-TK Manager
Reply With Quote #28

Can I get you to stop the server completely, delete the antitk file and then upload this attached copy?

This has been compiled with Debug and will print a bunch of information to the SourceMod logs.

I want to know if it's attempting to Purge or not. I have also tried to add a few additional checks to stop it from printing data outside the SteamID keys and not print for bots.
Attached Files
File Type: smx antitk.smx (16.5 KB, 207 views)
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
Tramp
Senior Member
Join Date: Aug 2005
Old 01-14-2009 , 18:35   Re: Anti-TK Manager
Reply With Quote #29

Code:
L 01/14/2009 - 21:20:27: [SM] Native "CloseHandle" reported: Handle 16700a5 is invalid (error 1)
L 01/14/2009 - 21:20:27: [SM] Displaying call stack trace for plugin "antitk.smx":
L 01/14/2009 - 21:20:27: [SM]   [0]  Line 321, antitk.sp::CvarChange_PurgeTime()
L 01/14/2009 - 21:46:56: Error log file session closed.
L 01/14/2009 - 22:37:07: SourceMod error session started
That is from official 1.0.6

I uploaded this new one for testing

The first error from the newest

Code:
L 01/15/2009 - 00:37:40: SourceMod error session started
L 01/15/2009 - 00:37:40: Info (map "de_dust2") (file "errors_20090115.log")
L 01/15/2009 - 00:37:40: [SM] Native "GetArraySize" reported: Invalid Handle 0 (error: 4)
L 01/15/2009 - 00:37:40: [SM] Displaying call stack trace for plugin "antitk.smx":
L 01/15/2009 - 00:37:40: [SM]   [0]  Line 604, antitk.sp::Event_PlayerSpawn()
0 players, 1 STV.
People are sleeping now
__________________
STER-Gaming.pl - The Best Multigaming Club, CS 1.6, CS:S, ET, COD 2 more and more ! Check forum forum.ster-gaming.pl

amxmodx - Polish support about amxx.

Last edited by Tramp; 01-14-2009 at 18:40.
Tramp is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 01-14-2009 , 18:51   Re: Anti-TK Manager
Reply With Quote #30

Quote:
Originally Posted by Tramp View Post
Code:
L 01/14/2009 - 21:20:27: [SM] Native "CloseHandle" reported: Handle 16700a5 is invalid (error 1)
L 01/14/2009 - 21:20:27: [SM] Displaying call stack trace for plugin "antitk.smx":
L 01/14/2009 - 21:20:27: [SM]   [0]  Line 321, antitk.sp::CvarChange_PurgeTime()
L 01/14/2009 - 21:46:56: Error log file session closed.
L 01/14/2009 - 22:37:07: SourceMod error session started
That is from official 1.0.6

I uploaded this new one for testing

The first error from the newest

Code:
L 01/15/2009 - 00:37:40: SourceMod error session started
L 01/15/2009 - 00:37:40: Info (map "de_dust2") (file "errors_20090115.log")
L 01/15/2009 - 00:37:40: [SM] Native "GetArraySize" reported: Invalid Handle 0 (error: 4)
L 01/15/2009 - 00:37:40: [SM] Displaying call stack trace for plugin "antitk.smx":
L 01/15/2009 - 00:37:40: [SM]   [0]  Line 604, antitk.sp::Event_PlayerSpawn()
0 players, 1 STV.
People are sleeping now
Interesting, I am wondering if the cvar change happens even if the value is the same, I have added an extra log so I can see old and new values.

I have also adjusted the spawn event to not run on fake clients? This should fix bots throwing that erorr not if you just have a STV I have no idea why they are calling the spawn event?

Can you do the same thing please close completely and delete and upload script, thanks.
Attached Files
File Type: smx antitk.smx (16.5 KB, 219 views)
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
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:56.


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