Go to Your Database In Your Navicat and Proceed With These Steps
Go Warz \ dbo \ Functions \ WZ_ACCOUNT_CREATE
Look for and Why
add below
Then go into your launcher and test if it is working Thanks!
---------------------------------------------------------------------------------------------
Sorry for not speak much English -GoogleTradutor-
Credits: @MUIT0L0K0
Go Warz \ dbo \ Functions \ WZ_ACCOUNT_CREATE
Look for and Why
Code:
-- validate that email is unique
if exists (SELECT CustomerID from Accounts WHERE email=@in_Email) begin
select 2 as ResultCode, 'Email already in use' as ResultMsg;
return;
end
add below
Code:
-- validate that IP is unique --mt
if exists (SELECT CustomerID from Accounts WHERE lastloginIP=@in_IP) begin
select 2 as ResultCode, 'Already registered' as ResultMsg;
return;
end
Then go into your launcher and test if it is working Thanks!
---------------------------------------------------------------------------------------------
Sorry for not speak much English -GoogleTradutor-
Credits: @MUIT0L0K0
Last edited: