KalmoneusJoin Date: 2008-06-30 Post Count: 84 |
It would be very helpful if you could block a sertin player by name so they can't join your game, see your profile, game info, game pic, etc.
I've got very mad over this one guy who copied one of my game exactly how it was built and never gave me credit. For that he got over 3 times more plays than me. |
|
kension19Join Date: 2008-01-17 Post Count: 6964 |
you can do this with scripts.
however it would be helpful if they had a feature to block all people from a certain IP address from going to your place :D |
|
KalmoneusJoin Date: 2008-06-30 Post Count: 84 |
Yes, thats what i was talking about.
|
|
GigsD4XJoin Date: 2008-06-06 Post Count: 3794 |
If you have no idea how to gain access to the IP Addresses, use this reference.
game.NetworkServer
Any entering player's IP will be created here, named after the IP. |
|
kension19Join Date: 2008-01-17 Post Count: 6964 |
:P how are you supposed to find the IP address yourself? its not like you can just rip it off someone whenever you feel like it. |
|
GigsD4XJoin Date: 2008-06-06 Post Count: 3794 |
Example,
blockedIP = {"98.123.45", "98.678.90"}
function ChildAdded(Child)
for a = 1, #blockedIP do
if string.sub(Child.Name, 1, string.len(blockedIP[a])) == blockedIP[a] then
Child:Remove()
end
end
end
game.NetworkServer.ChildAdded:connect(ChildAdded) |
|
GigsD4XJoin Date: 2008-06-06 Post Count: 3794 |
Really, you can rip the IP yourself.
recentIP = nil
function ChildAddedA(Child)
b = Instance.new("ObjectValue")
b.Name = "IPAddress"
b.Value = recentIP
b.Parent = Child
end
function ChildAddedB(Child)
recentIP = Child
end
game.Players.ChildAdded:connect(ChildAddedA)
game.NetworkServer.ChildAdded:connect(ChildAddedB) |
|
GigsD4XJoin Date: 2008-06-06 Post Count: 3794 |
Of course, you don't need 2 triggers on NetworkServer's ChildAdded, you can join them. |
|
kension19Join Date: 2008-01-17 Post Count: 6964 |
:P
HOW DO U FIND THE IP OF THE PERSON YOU WANA BAN?!
function onD'oh(hit)
subjectImTrying2GetAcross = script.Parent
if hit.Parent.Name == "GigsD4X" then
print("HURRAY HE GOT IT! :D")
else
print("Aww...I missed...")
end
end
script.Parent.Touched:connect(onD'oh) |
|
GigsD4XJoin Date: 2008-06-06 Post Count: 3794 |
Or, you can refer to the direct IP access tag that was created, on my 2nd post. ChildAddedA.
So it would be, adding on the first post:
function Touched(Object)
player = game.Players:GetPlayerFromCharacter(Object.Parent)
if player ~= nil then
table.insert(blockedIP, player.IPAddress.Value.Name)
end
end
game.Workspace.ThePart.Touched:connect(Touched) |
|
kension19Join Date: 2008-01-17 Post Count: 6964 |
*facenuke*
lets just give out all the scripts to the public why don't we? >:O
function t(hit)
x = hit.Parent:findFirstChild("Humanoid")
if x ~= nil then x.Health = 0 else wait()
end end --COPY ME I'M LAVA SCRIPTY! :D
script.Parent.Touched:connect(t) |
|
GigsD4XJoin Date: 2008-06-06 Post Count: 3794 |
Oops, I didn't notice I was releasing super-duper-mega-secret coding from my head. Sorry! XD
... Now we just have to hope people don't start using this on Script Builders.
Blame my intelligence. |
|
kension19Join Date: 2008-01-17 Post Count: 6964 |
who thought of thinking anyways? >:( |
|
GigsD4XJoin Date: 2008-06-06 Post Count: 3794 |
How can you think of thinking? |
|
GigsD4XJoin Date: 2008-06-06 Post Count: 3794 |
What do you want to block players for anyway?
If you want them to stop sending you messages, I'm working on a program for that. It's going to be pwnsome, I call it RoMail XD |
|
kension19Join Date: 2008-01-17 Post Count: 6964 |
X)
srsly, lets just merge Twitter and roblox.
we'll call it Troblitter |
|
GigsD4XJoin Date: 2008-06-06 Post Count: 3794 |
Twiblox. |
|
kension19Join Date: 2008-01-17 Post Count: 6964 |
OMG!
Twitterblox!!!!!!!!!! |
|
GigsD4XJoin Date: 2008-06-06 Post Count: 3794 |
I like Twiblox better <_<
Twitter can't own half of the name. |
|
SharkminJoin Date: 2009-11-22 Post Count: 104 |
noobs will use block everyone |
|
|
GigsD4XJoin Date: 2008-06-06 Post Count: 3794 |
@Yoshislayer; Or Roblitter. |
|
KalmoneusJoin Date: 2008-06-30 Post Count: 84 |
Why are we talking about tiwter all of a sudden? |
|
GigsD4XJoin Date: 2008-06-06 Post Count: 3794 |
To bump the thread, secretly. |
|