Forum > Serverside Modding

Anti-Multiboxing?

(1/2) > >>

Kobiesan:
I'm trying to counter multiboxing on my server and I am trying to achieve this with an SQL constraint. I know there is a way to disallow duplicate last_ip in auth.account but I want to allow 3 duplicate accounts from the same IP at a given time (I don't want to disallow friends/family/people in the same apartment complex to not be able to play). Is there a way to accomplish this or any better anti-multiboxing methods out there?

schlumpf:
likely not without custom code.

SELECT COUNT(*) FROM auth.account WHERE last_ip = %1

should help

Kobiesan:

--- Quote from: schlumpf on February 01, 2018, 07:20:03 pm ---likely not without custom code.

SELECT COUNT(*) FROM auth.account WHERE last_ip = %1

should help

--- End quote ---

This runs once though. I want to have it constantly running to only allow no more than 3 duplicates.

schlumpf:
run it on logging in?

Kobiesan:

--- Quote from: schlumpf on February 01, 2018, 07:36:15 pm ---run it on logging in?

--- End quote ---

How would I do that? Lua?

Navigation

[0] Message Index

[#] Next page

Go to full version