Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Create an account with IP checking

Newbie Spellweaver
Joined
Jun 27, 2013
Messages
70
Reaction score
2
Hello, RageZONE!

At the moment, I use the global key (XXXX-XXXX-XXXX-XXXX) for register. But I would like to know if I can create an tool to allow just one account by IP.

If someone wants to release it or assist in the creation, I will thank you.

:drool:
 
Junior Spellweaver
Joined
Mar 29, 2013
Messages
123
Reaction score
39
WZ_ACCOUNT_CREATE

add

Code:
-- validate that IP is unique
if exists (SELECT CustomerID from Accounts WHERE lastloginIP=@in_IP) begin
	select 2 as ResultCode, 'Already registered' as ResultMsg;
	return;
	end
 
Upvote 0
Newbie Spellweaver
Joined
Jun 27, 2013
Messages
70
Reaction score
2
WZ_ACCOUNT_CREATE

add

Code:
-- validate that IP is unique
if exists (SELECT CustomerID from Accounts WHERE lastloginIP=@in_IP) begin
    select 2 as ResultCode, 'Already registered' as ResultMsg;
    return;
    end

Thank you so much! ;)

WZ_ACCOUNT_CREATE

add

Code:
-- validate that IP is unique
if exists (SELECT CustomerID from Accounts WHERE lastloginIP=@in_IP) begin
    select 2 as ResultCode, 'Already registered' as ResultMsg;
    return;
    end

Taking advantage, can I set an number of accounts by IP? Thank you!
 
Upvote 0
Back
Top