Quantcast
Channel: OTLand
Viewing all articles
Browse latest Browse all 32031

Instant logout / Improve the "ipcheck" of the player

$
0
0
My question is kinda simple ( i guess ) ? xD

There is this option in player.cpp , that checks if the player has no IP, then disconnect the player, but I would like to improve it.

I would like to set it like :

if the character has inside a protective zone -> and has no IP, than logout ( check in 2 seconds without IP )
if the character has battle then -> canlogout (check in 60 seconds without IP )
if the character has combat sign-> the player cantlogout, ( it is already working).

You can...

Instant logout / Improve the "ipcheck" of the player

Viewing all articles
Browse latest Browse all 32031

Trending Articles