[Include] [WIP] Ban system
#20

Quote:
Originally Posted by TheArcher
Посмотреть сообщение
You know i love you Slice.
Yay!

Quote:
Originally Posted by AndreT
Посмотреть сообщение
Thanks a lot for the explanation, Slice. I wasn't aware of such functions in MySQL and had never before looked into how IP addresses can be integers. For anyone interested, here's an article with some benchmarking on how storing IP addresses can be made more efficient.

This change will make 4 string fields into 2 unsigned integer fields. And the change to the ban checking query which is ran every time a player connects, will improve things even more!

I'll sure look into your code even more and I hope you haven't forgotten your awesome topic about optimizations and enhancements. I'd love to see something new in there!
Well not only that, but you will easily be able to compare IPs in the server (for example, find players with the same IP/subnet).
Are you familiar with bitwise operations such as AND, OR, XOR, shifting? If not, you should read about that a little bit and you'll be able to do and understand so much more.
Reply


Messages In This Thread
Ban system - by Slice - 07.11.2011, 20:41
Re: [WIP] Ban system - by Pinguinn - 07.11.2011, 20:42
Respuesta: [WIP] Ban system - by Manuel7284 - 07.11.2011, 21:34
Re: [WIP] Ban system - by Fool - 08.11.2011, 03:09
Re: [WIP] Ban system - by RBTDM - 08.11.2011, 07:41
Re: [WIP] Ban system - by iPLEOMAX - 08.11.2011, 08:16
Re: [WIP] Ban system - by Slice - 08.11.2011, 08:36
Re: [WIP] Ban system - by Simon - 08.11.2011, 08:40
Re: [WIP] Ban system - by Slice - 08.11.2011, 08:52
Re: [WIP] Ban system - by Darius - 08.11.2011, 09:18
Re: [WIP] Ban system - by Simon - 08.11.2011, 09:58
Re: [WIP] Ban system - by Slice - 08.11.2011, 13:52
Re: [WIP] Ban system - by Mr_Scripter - 08.11.2011, 14:15
Re: [WIP] Ban system - by Slice - 10.11.2011, 17:52
Re: [WIP] Ban system - by AndreT - 10.11.2011, 18:10
Re : [WIP] Ban system - by Habdel - 10.11.2011, 18:33
Re: [WIP] Ban system - by Slice - 10.11.2011, 19:01
Re: [WIP] Ban system - by TheArcher - 10.11.2011, 19:13
Re: [WIP] Ban system - by AndreT - 10.11.2011, 20:45
Re: [WIP] Ban system - by Slice - 11.11.2011, 07:02
Re: [WIP] Ban system - by Calgon - 11.11.2011, 14:00
Re: [WIP] Ban system - by Slice - 15.11.2011, 13:33
Re: [WIP] Ban system - by thiaZ_ - 15.11.2011, 15:31
Re: [WIP] Ban system - by Pinguinn - 15.11.2011, 16:09
Re: [WIP] Ban system - by Slice - 15.11.2011, 16:22
Re: [WIP] Ban system - by Chris# - 15.11.2011, 16:54
Re: [WIP] Ban system - by Astralis - 15.11.2011, 19:28
Re: [WIP] Ban system - by Scenario - 16.11.2011, 02:41
Re: [WIP] Ban system - by Slice - 16.11.2011, 05:30
Re: [WIP] Ban system - by Slice - 16.11.2011, 18:58
Re: [WIP] Ban system - by TheArcher - 05.09.2012, 18:25
Re: [WIP] Ban system - by Ada32 - 06.01.2014, 12:44
Re: [WIP] Ban system - by Sojo12 - 11.01.2014, 08:59

Forum Jump:


Users browsing this thread: 1 Guest(s)