Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here
NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Pages: [1]   Go Down
  Print  
Author Topic: aimbot detector  (Read 857 times) Bookmark and Share
Sr. Member
****
OS: Windows
Type: Renting Server with B3
Gameservers: CoD5
Posts: 251
Offline Offline
« on: January 10, 2012, 01:53:26 AM »

Technical question :

Is client.var() wil reset the list of the client in this plugin ??

thx
Logged

XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 947
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #1 on: January 10, 2012, 02:50:33 AM »

Sorry, not sure I understand your question  Undecided
Logged

Sr. Member
****
OS: Windows
Type: Renting Server with B3
Gameservers: CoD5
Posts: 251
Offline Offline
« Reply #2 on: January 10, 2012, 05:01:27 AM »

i can understand, you can't understand the question.  Cheesy

I would like to know how i can reset the history for all the client in the plugin you made.


Logged
XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 947
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #3 on: January 10, 2012, 11:40:18 AM »

I think something like this resets killstreak for all players.

Code: python
def reset_killstreak_for_all_players(self):
   for c in self.console.clients.getList():
       HitlocStats = self.getHitlocStats(c)
       HitlocStats.hitloc_kills = 0
Logged

Sr. Member
****
OS: Windows
Type: Renting Server with B3
Gameservers: CoD5
Posts: 251
Offline Offline
« Reply #4 on: January 11, 2012, 01:22:55 AM »

Wow thx...

Is it forc

or
for c ?
Logged
XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 947
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #5 on: January 11, 2012, 03:37:29 AM »

There's a space in between for and c. Note that I haven't tested this and this method should be called upon some sort of event.
Logged

Sr. Member
****
OS: Windows
Type: Renting Server with B3
Gameservers: CoD5
Posts: 251
Offline Offline
« Reply #6 on: January 11, 2012, 04:22:11 AM »

I know...

I'm testing it... (it's just to reset the killstreak when the round is ended)
Logged
Sr. Member
****
OS: Windows
Type: Renting Server with B3
Gameservers: CoD5
Posts: 251
Offline Offline
« Reply #7 on: January 13, 2012, 04:38:37 AM »

ok , i have modified it. so normally now the number of killstreak is reset at each round start.

I checked it yesterday on our server and it works but i think you should check more.

I added a thresholdban value, this is for me the extrem limit if you want to protect your server when you use notify only. (i saw a server where it was notified but the guy was still there and emptied the server)

PS :
 i added the subroutine, but i don't know how to call it so i added the lines function after the event.
« Last Edit: January 13, 2012, 04:41:09 AM by Mariodu62 » Logged
Jr. Member
**
OS: Linux
Type: Renting Server with B3
Gameservers: CoD4
Posts: 27
Offline Offline
WWW
« Reply #8 on: February 11, 2012, 01:54:13 AM »

ok , i have modified it. so normally now the number of killstreak is reset at each round start.

I checked it yesterday on our server and it works but i think you should check more.

I added a thresholdban value, this is for me the extrem limit if you want to protect your server when you use notify only. (i saw a server where it was notified but the guy was still there and emptied the server)

PS :
 i added the subroutine, but i don't know how to call it so i added the lines function after the event.

Thank you I will do test
Logged

Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal