![]() |
|
|
#1 |
|
Архивный участник
Join Date: Mar 2006
Posts: 104
|
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. |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Jan 2006
Posts: 607
|
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: Mar 2006
Posts: 104
|
You're awesome! Thanks!
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Mar 2006
Posts: 104
|
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 |
|
|
|
|
#5 |
|
Архивный участник
Join Date: Sep 2005
Posts: 1,014
|
You cant get current IP except ingame with //debug command.
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Mar 2006
Posts: 104
|
that's what i was afraid of...
|
|
|
|
|