|
| 28 Dec 2015 12:02 PM |
| Should you store it in ReplicatedStorage or is Workspace okay? |
|
|
| Report Abuse |
|
|
|
| 28 Dec 2015 12:03 PM |
| ReplicatedStorage is preferred; workspace is not good or bad. |
|
|
| Report Abuse |
|
|
|
| 28 Dec 2015 12:03 PM |
| Don't think it matters really..... |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 28 Dec 2015 12:11 PM |
| As long as you put it in a place where both the server and client can reach it. ReplicatedStorage is designed exactly for this purpose though, dunno why you would choose to put it in workspace (though it would work) |
|
|
| Report Abuse |
|
|
Link5659
|
  |
| Joined: 04 Jun 2012 |
| Total Posts: 4525 |
|
|
| 28 Dec 2015 12:23 PM |
| man for me, i still can figure out how to use RemoteFunctions, im used the wiki, youtube threads it just doesnt click for me :( |
|
|
| Report Abuse |
|
|
OzzyFin
|
  |
| Joined: 07 Jun 2011 |
| Total Posts: 3600 |
|
|
| 28 Dec 2015 12:32 PM |
replicatedstorage is meant for them
use it |
|
|
| Report Abuse |
|
|
|
| 30 Dec 2015 04:03 PM |
| Which one is better to use to stop hackers? That's my main reason for this question. I stored it in workspace because j thought that's the only place you could |
|
|
| Report Abuse |
|
|
|
| 30 Dec 2015 04:04 PM |
| I really would store it in ReplicatedStorage, hackers can access them but unless they know what to fire/invoke then they can't do anything. |
|
|
| Report Abuse |
|
|
|
| 30 Dec 2015 04:48 PM |
Store them in ReplicatedStorage.
"I really would store it in ReplicatedStorage, hackers can access them but unless they know what to fire/invoke then they can't do anything." Even if they know what to invoke the server with, if doing so is a vulnerability then you're probably handling your remotes wrong. |
|
|
| Report Abuse |
|
|
|
| 30 Dec 2015 05:50 PM |
| What do you mean you are doing it wrong if they can access them? Right now, I'm naming them weird things people wouldn't guess. |
|
|
| Report Abuse |
|
|
|
| 30 Dec 2015 07:27 PM |
That's easily bypassed.
for Key, Value in next, game.ReplicatedStorage:GetChildren() do print("Key: "..Key, "Name: "..Value.Name, "Value: "..Value) end |
|
|
| Report Abuse |
|
|
|
| 30 Dec 2015 07:29 PM |
| Doesn't matter, just remember where you put them. |
|
|
| Report Abuse |
|
|
|
| 30 Dec 2015 07:31 PM |
| Also if you want to secure them just don't use RemoteFunctions/Events if you don't want a hacker to touch them. As I said earlier that if you want to have a secure communication between scripts use variables like I use with the computers that I make in ROBLOX. Then make sure that filtering is enabled. |
|
|
| Report Abuse |
|
|
| |
|
|
| 30 Dec 2015 07:44 PM |
Okay it's actully super simple! :D
OKay so this is a normal function right?!
local function cornpudding(dog) print(dog) end cornpudding(40) -- 40
Well this is pretty much how a remote function works!
--Heres what you put in the sever script!
game.ReplicatedStorage.RemoteFunction.OnServerEvent:connect(function(player,potato) print(potato+2) end)
-- Heres what you put in a localscript!!!! :D
game.ReplicatedStorage.RemoteFunction:FireServer(7)
-- After this, in the server's output, it would say 9! Now why do we have the player argument? Roblox automagicly puts it in there :O, and then our arguments get put in after !
|
|
|
| Report Abuse |
|
|