Jump to content
  • 0

Question

Posted

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

 

1 answer to this question

Recommended Posts

  • 0
Posted

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]);

 

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...