Jump to content

Recommended Posts

Posted

At this time, it's not possible to give IP ban without touching config files and restarting LS (afaik) so I've spent last days by rewriting this. I've extended LS/GS protocol so you can block/unblock IP address from the game by simply writing //blockip <ip> [dd.MM.yy] [HH:mm] or //unblockip <ip>. You can still ban whole IP range with command e.g. //blockip 10.0.0.0.

 

When used, GS will send BlockAddress/UnblockAddress request to LS, which will process it and returns BanInfo with information about which IP address has been blocked/unblocked and the success. The message is shown to all online GMs. The banlist has been moved to the database (reason column is excessive at this time, maybe I'll use it for some web banlist).

 

Date and Hour formats of the blockip command are configurable :)

 

Download: http://www.4shared.com/file/257825949/c478df6c/Patches.html

Credits: RiZe

 

WARNING: It's not tested.

Posted

screens with mysql tables :D

lol dude :P

 

Anyway its kinda of a mess, who is the actual coder of it?

  • 2 weeks later...
  • 3 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock