generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: How to find a users IP?

Previous Thread :: Next Thread 
Ozmozian is not online. Ozmozian
Joined: 26 Mar 2016
Total Posts: 358
01 Jun 2016 10:09 PM
I am making a IP ban system, but I used this guy's script, and all it does is print "ServerReplicator"

while true do
wait(1)
g = game.NetworkServer:GetChildren()
for i = 1,#g do
print(g[i].Name) -- g[i].Name is the ip... this is good for banning people by ip.
end
end


#code print("I am cool")
Report Abuse
2eggnog is not online. 2eggnog
Joined: 08 Nov 2008
Total Posts: 1351
01 Jun 2016 10:11 PM
You can't. It used to be possible several years ago, but Roblox patched it.


Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
01 Jun 2016 10:11 PM
http://wiki.roblox.com/index.php?title=API:Class/NetworkReplicator/MachineAddress

"This member cannot be used in scripts, but is usable in the command bar."

I feel like giving out everyone's IP would be a bad idea by roblox.
Report Abuse
Ozmozian is not online. Ozmozian
Joined: 26 Mar 2016
Total Posts: 358
01 Jun 2016 10:12 PM
Is it possible to IP ban someone though?


#code print("I am cool")
Report Abuse
2eggnog is not online. 2eggnog
Joined: 08 Nov 2008
Total Posts: 1351
01 Jun 2016 10:12 PM
no


Report Abuse
Refactor is not online. Refactor
Joined: 20 Apr 2014
Total Posts: 487
01 Jun 2016 10:15 PM
> Is it possible to IP ban someone though?
no
Report Abuse
TGazza is not online. TGazza
Joined: 16 Jan 2008
Total Posts: 242
01 Jun 2016 10:52 PM
yeah its not possible through IP but there is a simular property found on each player called UserId

EG:
g = game.Players:GetChildren()
for Index,Player in pairs(g) do
print(Index, Player.Name,Player.UserId)
end

Perhaps you could use that as a work around.
According to the wiki: http://wiki.roblox.com/index.php?title=API:Class/Player/UserId The userId property is unique to each character.

That would mean you could ban characters but not if the offending player had another account on the same computer and uses that one Which would mean you would have to ban that other character too

hope this helps :)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image