Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Online Players - Show Current IP (https://postpacific.loc-online.com/showthread.php?t=7009)

khelben 03.03.2007 16:11

Online Players - Show Current IP
 
I'm trying to write a status script for GMs that builds off of L2CP's online players. I'm trying to add the current IP address of online players but I can't seem to find a table or stored proc that will get a players Current IP address. the lin2db.user_account.last_ip field only gets updated when a player logs out.


Anyone have any other ideas?

Thanks in advance.

m4rk 03.03.2007 16:22

https://postpacific.loc-online.com/f...ght=last_login

khelben 03.03.2007 16:33

You're awesome! Thanks!

khelben 03.03.2007 22:49

Hmmm, this isn't what i'm looking for.

ap_SLog fires after logout.

Ok, I login from x.x.x.x

Play for a bit, log out.

Then start playing again later, but now my ip is y.y.y.y

last_ip still says x.x.x.x, only after i log out again does last ip get updated to y.y.y.y

I need the current ip (y.y.y.y) to help my GMs

FidoW 03.03.2007 23:06

You cant get current IP except ingame with //debug command.

khelben 03.03.2007 23:12

that's what i was afraid of...


All times are GMT. The time now is 15:49.