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: Get Players' IP Addresses in Server

Previous Thread :: Next Thread 
Pika_Bolt is not online. Pika_Bolt
Joined: 21 Nov 2011
Total Posts: 156
05 Apr 2016 06:56 PM
Hello,
I'm wondering how I can get each player's IP address when they join one of my game's servers.
I know this is possible using NetworkServer, however, I don't know how to get the players belonging to their corresponding IP addresses. I'd greatly appreciate if someone could help me out.

I'd want the results stored in a table called PlayersIPList.

This is pretty much how the table should behave (all the below IPs are obviously fake):

Player1's IP = 000.123.456.789
Player2's IP = 123.000.456.789
Player3's IP = 123.456.000.789
Player4's IP = 123.456.789.000

PlayersIPList = {}
-- for Loop (Each Player or IP Address in NetworkServer)
-- Store Player Names and IP Addresses in PlayersIPList table
--[[ EXAMPLE:
PlayersIPList[1] = game.Players[Player].Name
PlayersIPList["IP"..1] = (GET PLAYER'S IP via NetworkServer)
--]]


====================
print(PlayersIPList[1])
> Player1
print(PlayersIPList["IP"..1])
> 000.123.456.789

print(PlayersIPList[2])
> Player 2
print(PlayersIPList["IP"..2])
> 123.000.456.789

print(PlayersIPList[3])
> Player 3
print(PlayersIPList["IP"..3])
> 123.456.000.789

print(PlayersIPList[4])
> Player 4
print(PlayersIPList["IP"..4])
> 123.456.789.000

Thanks,
Pika_Bolt (formerly Pikachu84639)
• The answer to a math question is the question itself. Proof: 9+10 = 9+10 - Correct ✔
Report Abuse
Flux_Capacitor is not online. Flux_Capacitor
Joined: 07 Apr 2008
Total Posts: 45720
05 Apr 2016 07:00 PM
You can't
Report Abuse
Pika_Bolt is not online. Pika_Bolt
Joined: 21 Nov 2011
Total Posts: 156
05 Apr 2016 07:02 PM
If this is successful, I will release an ANTI-VPN / PROXY script that pairs up with this ;)
• The answer to a math question is the question itself. Proof: 9+10 = 9+10 - Correct ✔
Report Abuse
Lua_Basics is not online. Lua_Basics
Joined: 04 Jun 2012
Total Posts: 9977
05 Apr 2016 07:04 PM
You Can't and getting a IP from a VPN, gl on that.
Report Abuse
Pika_Bolt is not online. Pika_Bolt
Joined: 21 Nov 2011
Total Posts: 156
05 Apr 2016 07:11 PM
I have seen working IP ban scripts here and there, so I don't understand why this is impossible...
• The answer to a math question is the question itself. Proof: 9+10 = 9+10 - Correct ✔
Report Abuse
KLGA is not online. KLGA
Joined: 19 Apr 2014
Total Posts: 2571
05 Apr 2016 07:12 PM
You haven't seen any working ip ban scripts made with roblox lua. Maybe regular lua, but roblox doesn't let you get ips
Report Abuse
Lua_Basics is not online. Lua_Basics
Joined: 04 Jun 2012
Total Posts: 9977
05 Apr 2016 07:14 PM
Why would it, that's too much power to the player.
Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
05 Apr 2016 07:15 PM
imPOSSIble



r+://393244197r+://393244224r+://393244262
Report Abuse
Lua_Basics is not online. Lua_Basics
Joined: 04 Jun 2012
Total Posts: 9977
05 Apr 2016 07:16 PM
You might be able to using your own server, and http service. Would that work..?
Report Abuse
Pika_Bolt is not online. Pika_Bolt
Joined: 21 Nov 2011
Total Posts: 156
05 Apr 2016 07:16 PM
Yes, I have seen working IP Ban scripts made with Roblox LUA, not Regular LUA.
Roblox does let you get IPs, but not easily. Here's a script that allows you to get the IP address of the joining player:

game.ChildAdded:connect(function(child)
if child:IsA("NetworkServer") then
child.IncomingConnection:connect(function(IP, replicator)
Instance.new("StringValue", workspace).Name = IP
print(IP)
end)
end)

Pika_Bolt



• The answer to a math question is the question itself. Proof: 9+10 = 9+10 - Correct ✔
Report Abuse
Pika_Bolt is not online. Pika_Bolt
Joined: 21 Nov 2011
Total Posts: 156
05 Apr 2016 07:17 PM
It's either a working script, or I will implement this IP script into a Single-Player server, as there's only one single IP address collected, which obviously belongs to the only Player in the server.

Pika_Bolt
• The answer to a math question is the question itself. Proof: 9+10 = 9+10 - Correct ✔
Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
05 Apr 2016 07:19 PM
do you know how to script?
that script is checking if a player joins then checks if the player is a networkserver, lmaoooo its not possible, but keep looking in your fm's



r+://393244197r+://393244224r+://393244262
Report Abuse
KLGA is not online. KLGA
Joined: 19 Apr 2014
Total Posts: 2571
05 Apr 2016 07:19 PM
It just says "an error occured" when you run that.
Report Abuse
Lua_Basics is not online. Lua_Basics
Joined: 04 Jun 2012
Total Posts: 9977
05 Apr 2016 07:21 PM
Lol, roblox is one of the companies that takes hiding and encrypting IP's into strong detail. Trust me you can't through studio and by the time it would take you to crack into it and get them, roblox would have of patched it.
Report Abuse
Pika_Bolt is not online. Pika_Bolt
Joined: 21 Nov 2011
Total Posts: 156
05 Apr 2016 07:33 PM
I guess I should focus on making more anti-exploit scripts...
There's way too many exploiting idiots out there to make an unprotected game...


• The answer to a math question is the question itself. Proof: 9+10 = 9+10 - Correct ✔
Report Abuse
Pika_Bolt is not online. Pika_Bolt
Joined: 21 Nov 2011
Total Posts: 156
05 Apr 2016 07:34 PM
@iJacobness

Yes, I do know how to script.
However, I just grabbed that script from a random place, with people saying it works...
• The answer to a math question is the question itself. Proof: 9+10 = 9+10 - Correct ✔
Report Abuse
Lua_Basics is not online. Lua_Basics
Joined: 04 Jun 2012
Total Posts: 9977
05 Apr 2016 07:36 PM
Anti Exploit = Filtering Enabled. Problem solved, mostly.
Report Abuse
Pika_Bolt is not online. Pika_Bolt
Joined: 21 Nov 2011
Total Posts: 156
05 Apr 2016 07:39 PM
No, Filtering Enabled is not enough, unfortunately.
People can still locally exploit themselves or "their copy" of the Workspace.

Besides, I have actually found that some exploits still work with FilteringEnabled on.
• The answer to a math question is the question itself. Proof: 9+10 = 9+10 - Correct ✔
Report Abuse
Mehssi is not online. Mehssi
Joined: 15 Mar 2015
Total Posts: 599
05 Apr 2016 07:39 PM
What if Roblox masked the players IPs but still showed a unique IP for every players location?
This way you could IP ban players without knowing their real IP
???
Report Abuse
Lua_Basics is not online. Lua_Basics
Joined: 04 Jun 2012
Total Posts: 9977
05 Apr 2016 07:39 PM
Also, more exploits are being made, to bypass Filtering Enabled.
Report Abuse
Lua_Basics is not online. Lua_Basics
Joined: 04 Jun 2012
Total Posts: 9977
05 Apr 2016 07:40 PM
@meh, that's player Id. Lol
Report Abuse
Mehssi is not online. Mehssi
Joined: 15 Mar 2015
Total Posts: 599
05 Apr 2016 07:42 PM
yes but with playerid you can hop onto your alt and rejoin the game and perform your hacks again
im talking about your real ip except it's masked under something so that nobody can see, however, the developer can still use it to ip ban somebody
Report Abuse
Pika_Bolt is not online. Pika_Bolt
Joined: 21 Nov 2011
Total Posts: 156
05 Apr 2016 07:43 PM
Besides, if I banned people, they can make an alt.
• The answer to a math question is the question itself. Proof: 9+10 = 9+10 - Correct ✔
Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
05 Apr 2016 07:43 PM
As could they use a VPN



r+://393244197r+://393244224r+://393244262
Report Abuse
XTheFlamingCactusX is not online. XTheFlamingCactusX
Joined: 18 Dec 2015
Total Posts: 2224
05 Apr 2016 07:43 PM
Why the heck do you want Ip's that crap has gotten people murdered you can find addresses through that for saying stuff like this on the forums you might get Ip banned bro.
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