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: Does It Matter Where You Store RemoteFunctions?

Previous Thread :: Next Thread 
Crazy010517 is not online. Crazy010517
Joined: 17 Sep 2011
Total Posts: 1161
28 Dec 2015 12:02 PM
Should you store it in ReplicatedStorage or is Workspace okay?
Report Abuse
UnstableScript0 is not online. UnstableScript0
Joined: 21 Dec 2015
Total Posts: 1189
28 Dec 2015 12:03 PM
ReplicatedStorage is preferred; workspace is not good or bad.
Report Abuse
USADefender is not online. USADefender
Joined: 27 Jun 2011
Total Posts: 1674
28 Dec 2015 12:03 PM
Don't think it matters really.....
Report Abuse
instawin is not online. 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 is not online. 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 is not online. OzzyFin
Joined: 07 Jun 2011
Total Posts: 3600
28 Dec 2015 12:32 PM
replicatedstorage is meant for them

use it
Report Abuse
Crazy010517 is not online. Crazy010517
Joined: 17 Sep 2011
Total Posts: 1161
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
DivinePheonix is not online. DivinePheonix
Joined: 30 Mar 2011
Total Posts: 11190
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
LongKillKreations is not online. LongKillKreations
Joined: 14 Feb 2014
Total Posts: 4502
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
Crazy010517 is not online. Crazy010517
Joined: 17 Sep 2011
Total Posts: 1161
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
UnstableScript0 is not online. UnstableScript0
Joined: 21 Dec 2015
Total Posts: 1189
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
BFFstick00 is not online. BFFstick00
Joined: 25 Oct 2010
Total Posts: 800
30 Dec 2015 07:29 PM
Doesn't matter, just remember where you put them.
Report Abuse
BFFstick00 is not online. BFFstick00
Joined: 25 Oct 2010
Total Posts: 800
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
ChiefTitan is not online. ChiefTitan
Joined: 03 Dec 2015
Total Posts: 2242
30 Dec 2015 07:35 PM
bff stop
Report Abuse
MrJoeyJoeJoey is not online. MrJoeyJoeJoey
Joined: 20 Aug 2011
Total Posts: 20787
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
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