This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Server crashing


Post New Thread Reply   
 
Thread Tools Display Modes
MaximusBrood
Veteran Member
Join Date: Sep 2005
Location: The Netherlands
Old 09-20-2006 , 17:06   Re: Server crashing
Reply With Quote #11

TING TING TING TING TING TING TING TING... jackpot!

I'm checking for bots by comparing the steamid of each user with "BOT", but is there an easier (less resource expensive) way?
__________________
Released six formerly private plugins. Not active here since ages.
MaximusBrood is offline
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 09-20-2006 , 17:10   Re: Server crashing
Reply With Quote #12

Code:
if( steamid[0] == 'B' )     return;
or
Code:
is_user_bot(id)
this should work in 1.76 I think
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
MaximusBrood
Veteran Member
Join Date: Sep 2005
Location: The Netherlands
Old 09-20-2006 , 17:21   Re: Server crashing
Reply With Quote #13

I don't think the is_user_bot() native will work, because my advertising bot slips thourgh the get_players() with the "c" flag.
__________________
Released six formerly private plugins. Not active here since ages.
MaximusBrood is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 09-20-2006 , 17:40   Re: Server crashing
Reply With Quote #14

It will work, get_players() has known to been buggy.
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 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 16:43.


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