Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 03.03.2007, 16:11   #1
khelben
Архивный участник
 
Join Date: Mar 2006
Posts: 104
Default 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.
khelben is offline  
Old 03.03.2007, 16:22   #2
m4rk
Архивный участник
 
Join Date: Jan 2006
Posts: 607
Default

https://postpacific.loc-online.com/f...ght=last_login
m4rk is offline  
Old 03.03.2007, 16:33   #3
khelben
Архивный участник
 
Join Date: Mar 2006
Posts: 104
Default

You're awesome! Thanks!
khelben is offline  
Old 03.03.2007, 22:49   #4
khelben
Архивный участник
 
Join Date: Mar 2006
Posts: 104
Default

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
khelben is offline  
Old 03.03.2007, 23:06   #5
FidoW
Архивный участник
 
Join Date: Sep 2005
Posts: 1,014
Default

You cant get current IP except ingame with //debug command.
FidoW is offline  
Old 03.03.2007, 23:12   #6
khelben
Архивный участник
 
Join Date: Mar 2006
Posts: 104
Default

that's what i was afraid of...
khelben is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 20:10.