11.01.2016, 21:29
well, i only want to update the 'ip' field if it changes, and now it's updating on each time a player connects.
Lets say for example i connect using ip 127.0.0.1 now, it would update the 'ip' field and set it to 127.0.0.1
But i changed my ip, and i am connecting using 192.168.1.10 i want to update the `ip` field, and take the data in the `ip` field and put that into the `pip` field.
So if someone claims a different IP has accessed their account i can simply check.
Is this a good way or am i talking trash now?
Lets say for example i connect using ip 127.0.0.1 now, it would update the 'ip' field and set it to 127.0.0.1
But i changed my ip, and i am connecting using 192.168.1.10 i want to update the `ip` field, and take the data in the `ip` field and put that into the `pip` field.
So if someone claims a different IP has accessed their account i can simply check.
Is this a good way or am i talking trash now?