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
 

camera validation

Previous Thread :: Next Thread 
mattscy is online. mattscy
Joined: 06 May 2011
Total Posts: 1079
24 Nov 2017 01:13 AM
hey scrippies

how would i validate a players camera position and rotation on the server, which is sent through with a remoteevent, seeing as the server script cant access camera information
Report Abuse
mattscy is online. mattscy
Joined: 06 May 2011
Total Posts: 1079
24 Nov 2017 05:54 AM
bump


Report Abuse
realdance is online. realdance
Joined: 28 Apr 2016
Total Posts: 119
24 Nov 2017 05:59 AM
Are u trying to lock a camera position?
Report Abuse
mattscy is online. mattscy
Joined: 06 May 2011
Total Posts: 1079
24 Nov 2017 06:01 AM
no just get its location and rotation on the server


Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
24 Nov 2017 06:38 AM
No point.

You can send these values over but it is not gonna be "more secure" just because you are doing it on the server.
Report Abuse
mattscy is online. mattscy
Joined: 06 May 2011
Total Posts: 1079
24 Nov 2017 06:41 AM
no but i need a way to make it secure on the server

so if the client gave the position and orientation of the camera to the server, how would the server make sure those details are correct?


Report Abuse
Kazertt is not online. Kazertt
Joined: 03 Jan 2017
Total Posts: 429
24 Nov 2017 07:32 AM
workspace.CurrentCamera.CFrame
Report Abuse
mattscy is online. mattscy
Joined: 06 May 2011
Total Posts: 1079
24 Nov 2017 07:35 AM
but you cant do that from a server script, so thats why im using remote events to send that information over to the server

the problem is exploiters can fire the remote event with a made up camera cframe which i dont want


Report Abuse
Pastures is not online. Pastures
Joined: 15 Aug 2015
Total Posts: 943
24 Nov 2017 07:36 AM
The camera is attached to the head. Make sure the camera position cframe that is passed through a remote is at the position of the head.
Report Abuse
mattscy is online. mattscy
Joined: 06 May 2011
Total Posts: 1079
24 Nov 2017 07:37 AM
what if theyre not in first person?


Report Abuse
Pastures is not online. Pastures
Joined: 15 Aug 2015
Total Posts: 943
24 Nov 2017 07:39 AM
Then why would valid camera position matter? There isn't anything you can do in that case.

They would already be able to maneuver the camera however they want in third person, so why do you need validation?

Report Abuse
mattscy is online. mattscy
Joined: 06 May 2011
Total Posts: 1079
24 Nov 2017 07:41 AM
the camera is scriptable, and i want to make sure that they cant move it anywhere/send whatever cframe to the server

the camera position is important for something im doing on the server


Report Abuse
timothy_teakettle is not online. timothy_teakettle
Joined: 28 Nov 2008
Total Posts: 300
24 Nov 2017 08:08 AM
this probably cannot be done without the context of what you are attempting to do, as there is likely a solution that depends on what you are doing with said camera
Report Abuse
mattscy is online. mattscy
Joined: 06 May 2011
Total Posts: 1079
24 Nov 2017 08:10 AM
actually yes thats true, thanks for the help


Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
24 Nov 2017 08:11 AM
"so if the client gave the position and orientation of the camera to the server, how would the server make sure those details are correct?"
It wouldn't. You're doing it waaay wrong if you're sending camera details to the server like this.


Report Abuse
mattscy is online. mattscy
Joined: 06 May 2011
Total Posts: 1079
24 Nov 2017 08:13 AM
i need it to redistribute the information to the other players, and the only way is through the server



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