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

VAC Ban Status


Post New Thread Reply   
 
Thread Tools Display Modes
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 03-23-2009 , 00:54   Re: VAC Ban Status
Reply With Quote #111

Oh yes, it does

http://87.106.185.178/amxbans/ban_list.php
__________________

Mordekay is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 03-23-2009 , 03:08   Re: VAC Ban Status
Reply With Quote #112

Hey Bugsy. Sorry for being bothering but i was looking at your code and saw that you have a function to convert a steamID to a communityProfileID. Sometime ago i made one myself and it's much better than that one so i'm sending you it. I profiled both of them so i also sent you the results. They are not absolutely fair, since mine has some lower assumptions but, the algorithm of mine is much better anyway. Feel free to test it, change it, compare it, use it.

Contrary to my initial belief, the profile results don't add the time of a nested function to its caller so take a good look at the results.

(the function name is "converter")

I believe that the assumptions on which my algorithm relies will be always true. If someone can prove that i'm wrong go ahead.

(My variable's naming sucks but since i didn't used it in any plugin, I didn't took the time to cleaning it up)
Attached Files
File Type: sma Get Plugin or Get Source (steamID.sma - 664 views - 3.7 KB)
File Type: txt steamID.txt (1.9 KB, 118 views)
__________________

Last edited by joaquimandrade; 03-23-2009 at 04:21.
joaquimandrade is offline
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 03-23-2009 , 11:12   Re: VAC Ban Status
Reply With Quote #113

Quote:
Originally Posted by joaquimandrade View Post
Hey Bugsy. Sorry for being bothering but i was looking at your code and saw that you have a function to convert a steamID to a communityProfileID. Sometime ago i made one myself and it's much better than that one so i'm sending you it. I profiled both of them so i also sent you the results. They are not absolutely fair, since mine has some lower assumptions but, the algorithm of mine is much better anyway. Feel free to test it, change it, compare it, use it.

Contrary to my initial belief, the profile results don't add the time of a nested function to its caller so take a good look at the results.

(the function name is "converter")

I believe that the assumptions on which my algorithm relies will be always true. If someone can prove that i'm wrong go ahead.

(My variable's naming sucks but since i didn't used it in any plugin, I didn't took the time to cleaning it up)
Yours really seems faster, but it's hard to tell with that much functions profiled, considering the profile is not cumulative, if you jump to another funcion it's execution time won't be added to the func. that called it.

Unfortunately the profiler natives don't work. I'll try doing some optimization in mine and see if I can make it at least a little faster.
__________________

Community / No support through PM
danielkza is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 03-23-2009 , 11:35   Re: VAC Ban Status
Reply With Quote #114

Quote:
Originally Posted by danielkza View Post
Yours really seems faster, but it's hard to tell with that much functions profiled, considering the profile is not cumulative, if you jump to another funcion it's execution time won't be added to the func. that called it.

Unfortunately the profiler natives don't work. I'll try doing some optimization in mine and see if I can make it at least a little faster.
You just need to look at:

n | isdigit | 1180000 | 2.583643 / 0.000001 / 0.000857
f | NumString_Add | 60000 | 8.203515 / 0.000090 / 0.000469
f | char_to_num | 1180000 | 2.645098 / 0.000001 / 0.000109
f | num_to_char | 900000 | 1.995075 / 0.000001 / 0.000296

You don't need to optimize yours, just use mine and perfect it.
__________________
joaquimandrade is offline
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 03-23-2009 , 11:39   Re: VAC Ban Status
Reply With Quote #115

Quote:
Originally Posted by joaquimandrade View Post
You just need to look at:

n | isdigit | 1180000 | 2.583643 / 0.000001 / 0.000857
f | NumString_Add | 60000 | 8.203515 / 0.000090 / 0.000469
f | char_to_num | 1180000 | 2.645098 / 0.000001 / 0.000109
f | num_to_char | 900000 | 1.995075 / 0.000001 / 0.000296

You don't need to optimize yours, just use mine and perfect it.
Yours is much better for this situation because it's a specialized function, mine is more generic, and should work for other uses (not that I know any BTW lol).

Besides, I like doing it to learn a little, it never hurts.
__________________

Community / No support through PM
danielkza is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 03-23-2009 , 11:40   Re: VAC Ban Status
Reply With Quote #116

Quote:
Originally Posted by danielkza View Post
Yours is much better for this situation because it's a specialized function, mine is more generic, and should work for other uses (not that I know any BTW lol).

Besides, I like doing it to learn a little, it never hurts.
Yes, yours is generic and do many checks. To learn? Go ahead.
__________________
joaquimandrade is offline
Old 03-23-2009, 23:42
Bugsy
This message has been deleted by Bugsy. Reason: nvm
Spock
Member
Join Date: May 2007
Old 03-25-2009 , 18:56   Re: VAC Ban Status
Reply With Quote #117

Quote:
Originally Posted by danielkza View Post
I'm almost done with it.
When do you think it will be released?
Spock is offline
Spock
Member
Join Date: May 2007
Old 03-27-2009 , 07:44   Re: VAC Ban Status
Reply With Quote #118

When I do a manual search, I get this error. Is that why it freezes? (the server is not responding)

* [VAC Ban Status] Checking Spock [STEAM_0:1: xxxxxx]
* [VAC Ban Status] Server took too long to respond. Please try again.

Last edited by Spock; 03-27-2009 at 07:47.
Spock is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 03-27-2009 , 22:27   Re: VAC Ban Status
Reply With Quote #119

Quote:
Originally Posted by Spock View Post
When I do a manual search, I get this error. Is that why it freezes? (the server is not responding)

* [VAC Ban Status] Checking Spock [STEAM_0:1: xxxxxx]
* [VAC Ban Status] Server took too long to respond. Please try again.
I made the checking process much more reliable and stable. Once the sql is done I will release.
__________________
Bugsy is offline
Mordekay
Squirrel of Fortune
Join Date: Apr 2006
Location: Germany
Old 03-29-2009 , 10:36   Re: VAC Ban Status
Reply With Quote #120

343 banned ID's until now.
Amazing
Can't wait for the new version, hopefully it fixes the "unknown_" error.
__________________

Mordekay 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 08:51.


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