Raised This Month: $ Target: $400
 0% 

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-31-2009 , 17:15   Re: Anti-TK Manager
Reply With Quote #51

Quote:
Originally Posted by Astron View Post
Not worked on ZPS, server crash then first client connected.
I don't see any reason for this, what version of SourceMod are you running? "sm version"

What version of the plugin are you using? "sm plugins list"

Is it right when the first person connects?
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 02-01-2009 , 08:42   Re: Anti-TK Manager
Reply With Quote #52

Sorry mate but i can't use it on my server. This file anti-tk.txt is still not pruning. Everyday i have to stop server, delete file and run server again. Maybe in future i will try run it again and upload more logs. First of all pruning should be fixed (omit TK error). I don't understand why you are using .txt file if sqlite (local-storage) is much better.
__________________
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
Rothgar
Veteran Member
Join Date: Nov 2007
Old 02-01-2009 , 15:30   Re: Anti-TK Manager
Reply With Quote #53

Quote:
Originally Posted by Tramp View Post
Sorry mate but i can't use it on my server. This file anti-tk.txt is still not pruning. Everyday i have to stop server, delete file and run server again. Maybe in future i will try run it again and upload more logs. First of all pruning should be fixed (omit TK error). I don't understand why you are using .txt file if sqlite (local-storage) is much better.
The keyvalue file shouldn't get that big with pruning so I figured there is no reason to use SQL Lite.

Am I able to get access to your server to run some tests? I don't have an active FF server available to check logs etc.

I can see your server is running 1.0.7c and you should see lots of messages in the logs about the purging.

Most of the purge lines should start with "PurgeTKerData"

In any case if you are willing to give me access it'll help narrow down the problem.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
Rothgar
Veteran Member
Join Date: Nov 2007
Old 02-01-2009 , 15:57   Re: Anti-TK Manager
Reply With Quote #54

Also I don't know what version you were using when you took those logs but the weird thing is I can only see one "PurgeTKerData" execution and then never again?

That is bizarre because the timer should be executing so I have added a few more log messages.

If the function is not being executed as we can imagine no purging is going to happen.

Attached is a new version 1.0.7d which will also log the version so we can determine which version is being used and a few more messages for checking the timer.
Attached Files
File Type: smx antitk.smx (16.7 KB, 127 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 02-03-2009 , 10:44   Re: Anti-TK Manager
Reply With Quote #55

I can give you access to my server. Register at gamesnet.pl http://www.gamesnet.pl/?mod=main&p=p...p=reg&lang=eng and send me your login so i will add server to your account.
__________________
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
Rothgar
Veteran Member
Join Date: Nov 2007
Old 02-05-2009 , 16:30   Re: Anti-TK Manager
Reply With Quote #56

Ok thanks to Tramp for letting me use his server.

Can people please test this version of the Anti-TK and let me know if it's purging the file now?

As a note I would stop your server and delete the Anti-TK.txt file before running this otherwise your server will lagg for a few minutes while it goes through your massive log file deleting old records.

Once I know that it's working on other server I will make a release.

Still need information about the "slay" bug.
Attached Files
File Type: smx antitk.smx (16.8 KB, 163 views)

Last edited by Rothgar; 02-05-2009 at 17:05. Reason: Wrong attachment
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 02-16-2009 , 17:13   Re: Anti-TK Manager
Reply With Quote #57

Could you post also source of this version which is working now on my server?
__________________
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
Rothgar
Veteran Member
Join Date: Nov 2007
Old 02-16-2009 , 17:46   Re: Anti-TK Manager
Reply With Quote #58

I'm just waiting for someone else to confirm it works on their server and then I will post an official release.

After that I might try and get you on Steam or something to try and see this "Slay" issue you guys are talking about.
Rothgar is offline
Send a message via ICQ to Rothgar Send a message via AIM to Rothgar Send a message via MSN to Rothgar
eric0279
AlliedModders Donor
Join Date: May 2007
Old 02-21-2009 , 15:17   Re: Anti-TK Manager
Reply With Quote #59

I have a error :
Quote:
[SM] Displaying call stack trace for plugin "antitk.smx":
L 02/21/2009 - 07:540: [SM] [0] Line 599, L:\sm\cstrike\addons\sourcemod\scripting\anti tk.sp::Event_PlayerSpawn()
L 02/21/2009 - 07:543: [SM] Native "GetArraySize" reported: Invalid Handle 0 (error: 4)
L 02/21/2009 - 07:543: [SM] Displaying call stack trace for plugin "antitk.smx":
L 02/21/2009 - 07:543: [SM] [0] Line 599, L:\sm\cstrike\addons\sourcemod\scripting\anti tk.sp::Event_PlayerSpawn()
ligne 583 > 610 :
Quote:
public Action:Event_PlayerSpawn(Handle:event, const String:name[], bool:dontBroadcast)
{
new client = GetClientOfUserId(GetEventInt(event, "userid"));

if (client > 0)
{
if (IsClientInGame(client))
{
// Reset Player Gravity
SetEntityGravity(client, 1.0);
}
}

if (GetConVarBool(g_Cvar_Enabled))
{
// Check Punishment Queue
new arrPunishmentSize = GetArraySize(arrayPlayerPunishments[client]);
decl arrVictimIndex, arrPunishmentIndex, victim, type;

// Quick check if array is damaged?
if (FloatFraction(arrPunishmentSize / 2.0) == 0.0)
{
if (arrPunishmentSize > 0)
{
LogDebug("TKer Client: %d spawned and has queued punishments?", client);

// Array Indexes
arrVictimIndex = arrPunishmentSize - 2;
arrPunishmentIndex = arrPunishmentSize - 1;

// Array Values
victim = GetArrayCell(arrayPlayerPunishments[client],arrVictimIndex);
type = GetArrayCell(arrayPlayerPunishments[client],arrPunishmentIndex);

LogDebug("TKer Client: %d Victim: %d Punishment type: %d", client, victim, type);

// Remove Punishment from Array
RemoveFromArray(arrayPlayerPunishments[client],arrPunishmentIndex);
RemoveFromArray(arrayPlayerPunishments[client],arrVictimIndex);

// Punish TK'er
PunishPlayer(victim, client, type, true);
}
}
else
LogDebug("Punishment array was damaged? Size: %d", arrPunishmentSize);
}
}
the line 599 is red...


and a error in compilation :
[IMG]http://img11.**************/img11/9536/47789199.jpg[/IMG]



thanks for fix for antitk.sp and not this file .smw (Translate in french for next time...)

Last edited by eric0279; 02-21-2009 at 15:34.
eric0279 is offline
Rothgar
Veteran Member
Join Date: Nov 2007
Old 02-21-2009 , 16:03   Re: Anti-TK Manager
Reply With Quote #60

Quote:
Originally Posted by eric0279 View Post
I have a error :
ligne 583 > 610 :
the line 599 is red...


and a error in compilation :
[IMG]http://img11.**************/img11/9536/47789199.jpg[/IMG]



thanks for fix for antitk.sp and not this file .smw (Translate in french for next time...)
Are you running the latest version? What does "sm plugins list" say?

If you are running the test SMX I posted it probably won't match. Also does it fix the TK purge?

Converting the plugin to use a translation file will be a process, but it will be done at some point.
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 07:11.


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