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
 

FE raycasting is strange.

Previous Thread :: Next Thread 
fun4nerd is not online. fun4nerd
Joined: 30 Oct 2013
Total Posts: 4440
24 Apr 2017 07:20 PM
It does damage to the enemy player but only in the local view. So the other player cant see I damaged him. Now I have to create all these stupid server scripts.
Report Abuse
Disillusions is not online. Disillusions
Joined: 10 Jul 2011
Total Posts: 6365
24 Apr 2017 07:22 PM

--raycast here
tool.remoteevent:FireServer(enemyhit) --alternatively, mouse.hit.p

--server
either takedamage for the enemyhit or cast the ray and do the damage


Report Abuse
fun4nerd is not online. fun4nerd
Joined: 30 Oct 2013
Total Posts: 4440
24 Apr 2017 07:23 PM
Thats what im doing. Its just strange how roblox client works.
Report Abuse
Disillusions is not online. Disillusions
Joined: 10 Jul 2011
Total Posts: 6365
24 Apr 2017 07:23 PM
why is it strange???


Report Abuse
fun4nerd is not online. fun4nerd
Joined: 30 Oct 2013
Total Posts: 4440
24 Apr 2017 07:24 PM
description you nutjob.
Report Abuse
Disillusions is not online. Disillusions
Joined: 10 Jul 2011
Total Posts: 6365
24 Apr 2017 07:26 PM
thats not strange??????


Report Abuse
fun4nerd is not online. fun4nerd
Joined: 30 Oct 2013
Total Posts: 4440
24 Apr 2017 07:26 PM
Well to me it is.
Report Abuse
Disillusions is not online. Disillusions
Joined: 10 Jul 2011
Total Posts: 6365
24 Apr 2017 07:27 PM
it doesn't replicate the damage done, just like any other aspect??


Report Abuse
fun4nerd is not online. fun4nerd
Joined: 30 Oct 2013
Total Posts: 4440
24 Apr 2017 07:27 PM
you know what tank you.
Report Abuse
Disillusions is not online. Disillusions
Joined: 10 Jul 2011
Total Posts: 6365
24 Apr 2017 07:28 PM
ok


Report Abuse
jody7777 is not online. jody7777
Joined: 22 Feb 2009
Total Posts: 1343
24 Apr 2017 09:34 PM
It make's sense? If you shoot a player and set the player's damage on your own computer, it shouldn't affect the server. What it should do is when you shoot, it should sends the your shot to the server. The server is the master and knows all, and will then calculate if the shot hit and do damage.


FOR THE CAUSE
Report Abuse
fun4nerd is not online. fun4nerd
Joined: 30 Oct 2013
Total Posts: 4440
25 Apr 2017 06:00 AM
If you would read and get your head out of #### #### maybe you would see that I am making scripts to call functions that damage. @Person with bloxy.
Report Abuse
vat21s is not online. vat21s
Joined: 07 Jun 2010
Total Posts: 2508
25 Apr 2017 06:04 AM
Don't do that, just invoke the server with a function that gives the mouse hit position and the weapon. Handle all data, damaging, object creation ect.
from the server or exploiters will tamper with it.
The client should only be doing animations such as reloading firing.
Report Abuse
fun4nerd is not online. fun4nerd
Joined: 30 Oct 2013
Total Posts: 4440
25 Apr 2017 06:05 AM
Keep in mind that kids don't know how to exploit. They just open up the virus ridden program and paste some code in.
Report Abuse
vat21s is not online. vat21s
Joined: 07 Jun 2010
Total Posts: 2508
25 Apr 2017 06:19 AM
Just because your game is FE doesn't mean it's secure.
NEVER let the client modify anything on the server or you've just wasted a long time doing FE for no purpose.
Report Abuse
fun4nerd is not online. fun4nerd
Joined: 30 Oct 2013
Total Posts: 4440
25 Apr 2017 06:21 AM
I actually just clicked the checkbox in workspace properties and my guns work in FE. Since its scripts are client sided outside of workspace.
Report Abuse
vat21s is not online. vat21s
Joined: 07 Jun 2010
Total Posts: 2508
25 Apr 2017 06:38 AM
Did you test it on a Client>Server Environment.
Clients can modify what they perceive as the server, but any changes they make are not Replicated.

Example 1 FE Client Server Vulnerability

Mr CheatyMcCheater decides to make his gun do insane damage, so he exploits a client to server function with the arguments(mouse.Hit,Damage)

On the server side, it will deal the modified Damage as the server does as the client instructs.

Example 2 FE Client Server Patched

Mr CheatyMcCheater decides to make his gun do insane damage, so he exploits a client to server function with the arguments(mouse.Hit,Weapon) and Weapon is the key to a server side table of weapon stats.

On the server side, he may have modified his weapon to be a more powerful weapon. But, the server can still apply all reload and speed penalties.

The server could even check if the weapon he has equipped is the one that was called and replace the one he is holding with that weapon.
Report Abuse
fun4nerd is not online. fun4nerd
Joined: 30 Oct 2013
Total Posts: 4440
25 Apr 2017 06:47 AM
Cheaters r kids who just copy and paste they don't know how to cheat.
Report Abuse
Disillusions is not online. Disillusions
Joined: 10 Jul 2011
Total Posts: 6365
25 Apr 2017 06:48 AM
Or just not fire the weapon or damage at all...*facepalm*


Report Abuse
fun4nerd is not online. fun4nerd
Joined: 30 Oct 2013
Total Posts: 4440
25 Apr 2017 06:48 AM
/\ that too
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