Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Dissable Multi Account Login In 1 IP


hisherwin
 Share

Recommended Posts

Seriously Robin is Lazy to add this :DD but it does work ..

Credits to Robin

Find this

```

If IsMultiAccounts(Name) Then

Call AlertMsg(index, "Multiple account logins is not authorized.")

Exit Sub

End If

```

Add this below

```

If IsMultiIPOnline(Trim$(GetPlayerIP(index))) Then

Call AlertMsg(index, "You are already logged in.")

Exit Sub

End If

```

Find This

```

' Prevent hacking

If Len(Trim$(Name)) > ACCOUNT_LENGTH Or Len(Trim$(Password)) > NAME_LENGTH Then

Call AlertMsg(index, "Your account name must be between 3 and 12 characters long. Your password must be between 3 and 20 characters long.")

Exit Sub

End If

```

Add This below

```

If IsMultiIPOnline(Trim$(GetPlayerIP(index))) Then

Call AlertMsg(index, "You are already logged in.")

Exit Sub

End If

```

Thanks

~Sherwin
Link to comment
Share on other sites

> This is going to cause others in the same household unable to play…instead of using the IP, use the character name. That will make it so in case your character is already on, it will say that...not through the IP :/

Robin made the function , I made the activation
Link to comment
Share on other sites

> instead of using the IP, use the character name. That will make it so in case your character is already on, it will say that…not through the IP :/

Pretty sure it wont let you log into the same account twice, already…. This is suppose to stop people from dual logging on more then one account....
Link to comment
Share on other sites

> Except his is client-side, so I don't think he quite wins. A quick little hack will knock that to shreds.

Feel free to come up with code and instructions on the use of a Mutex or other alternative to go along with your criticism, guy.
Link to comment
Share on other sites

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
 Share

×
×
  • Create New...