DJFUNK Posted December 12, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 115 Reputation: 4 Joined: 10/25/12 Last Seen: August 31, 2023 Share Posted December 12, 2012 (edited) I need the NPC script for track IP for my player as GM tool in game (include the features that player's same IP,etc...) so I can use it in game nor in gameCP Edited December 14, 2012 by DJFUNK Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted December 12, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted December 12, 2012 - script flsdfjlskdfj -1,{ OnInit: bindatcmd "whoip", strnpcinfo(0)+"::Onaaa",60,99; end; Onaaa: while ( getusers(1) > .@count ) { .@nb = query_sql("select name, last_ip from `char` left join login on `char`.account_id = login.account_id where online = 1 order by last_ip limit 128 offset "+ .@count, .@name$, .@ip$ ); .@i = 0; while ( .@i < .@nb ) { message strcharinfo(0), ( .@count + .@i +1 )+". "+ .@name$ +" -> "+ .@ip$; .@i++; } .@count += 128; } freeloop 0; } hmm .. ? this is just listing all players name and their IP otherwise, please specify more in detail of your request 1 Quote Link to comment Share on other sites More sharing options...
DJFUNK Posted December 13, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 115 Reputation: 4 Joined: 10/25/12 Last Seen: August 31, 2023 Author Share Posted December 13, 2012 how can I use that? hhm... I think the NPC that I can input the ID or Char name, and track their IP. just like this gmassistant.txt it doesn't work for rAthena.. /spin how I can use it Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted December 13, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted December 13, 2012 [sql]: DB error - Unknown column 'level' in 'field list' [Debug]: at d:\eathena\rathena sql 16819\src\map\script.c:14506 - select `sex`,` email`,`level`,`unban_time`,`logincount`,`lastlogin`,`last_ip` from `login` wher e `account_id` = '2000000' [Debug]: Source (NPC): GM Assistant at prontera (156,181) that's because rathena has changed `level` field into `group_id` field run a replace all find `level' replace all with `group_id` and this script will works in rathena 1 Quote Link to comment Share on other sites More sharing options...
DJFUNK Posted December 14, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 115 Reputation: 4 Joined: 10/25/12 Last Seen: August 31, 2023 Author Share Posted December 14, 2012 DONE... it's work.. only that changes? to use in rAthena Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted December 14, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted December 14, 2012 only that changes? to use in rAthena as far as I can tell, yeah that's itthough sometimes I can be wrong too, because everyone might make mistakes in their scripts so if you have spotted another bug that you couldn't able to solve it on your own always welcome to make a discussion here and we can discuss how to solve your problem together Quote Link to comment Share on other sites More sharing options...
Question
DJFUNK
I need the NPC script for track IP for my player as GM tool in game
(include the features that player's same IP,etc...)
so I can use it in game nor in gameCP

Edited by DJFUNKLink to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.