Jump to content
  • 0

Characters online in 1 IP


celeron0134

Question


  • Group:  Members
  • Topic Count:  66
  • Topics Per Day:  0.02
  • Content Count:  194
  • Reputation:   1
  • Joined:  12/13/16
  • Last Seen:  

is there a way to see characters on the same map with the same ip?

use: for detecting bots on the map.. where i can see names lang farm1,farm2,farm3,farm4,farm5 all rogues with same ip.. so i could make fun on them and warp them on dif places or just ban them

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  477
  • Reputation:   269
  • Joined:  06/13/17
  • Last Seen:  

To see all players IP and Name on same map as you just use this script somewhere as Command or an NPC.

getmapunits(BL_PC,strcharinfo(4),.@name$);
for(.@i = 0;.@i < getarraysize(.@name$);.@i++)
	mes "Player name : "+.@name$[.@i]+" | IP Address :"+getcharip(.@name$[.@i]);

if you want to know the player with the same ip with your target, you just need to add an input for Player Name and check if there are players with same IP

input .@target_name$;
getmapunits(BL_PC,strcharinfo(4),.@name$);
for(.@i = 0;.@i < getarraysize(.@name$);.@i++)
	if(getcharip(.@target_name$)==getcharip(.@name$[.@i]))
		mes "Player name : "+.@name$[.@i]+" | IP Address :"+getcharip(.@name$[.@i]);

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...