Stymi
|
  |
| Joined: 19 Sep 2015 |
| Total Posts: 1077 |
|
|
| 21 Sep 2015 08:20 AM |
| Welding, damage & ray outline creation server-side and everything else client-side, I'm thinking. |
|
|
| Report Abuse |
|
|
|
| 21 Sep 2015 08:27 AM |
| i do everything on the server |
|
|
| Report Abuse |
|
|
Stymi
|
  |
| Joined: 19 Sep 2015 |
| Total Posts: 1077 |
|
|
| 21 Sep 2015 08:29 AM |
| That's not efficient, though. |
|
|
| Report Abuse |
|
|
|
| 21 Sep 2015 08:30 AM |
| its efficient and easy! :D |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 21 Sep 2015 08:34 AM |
It's a lot easier, yes, it's not more efficient. Honestly it's very unsatisfying because the client will not receive immediate input, it will feel delayed, which nobody wants. I would bounce information off the server and have logic so that every individual client handles weapon sound effects and what not. It would allow immediate input and it would replicate to your needs, you could code it as you please. just preference, though, there's a lot of ways to go about it.
-=Robo=- |
|
|
| Report Abuse |
|
|
Stymi
|
  |
| Joined: 19 Sep 2015 |
| Total Posts: 1077 |
|
|
| 21 Sep 2015 08:35 AM |
Forgot about immediate input. So I should draw the ray client-side too along with the server?
Thing is with handling more stuff on all-clients, I want to handle nearly everything on clients or the minimum, I guess. |
|
|
| Report Abuse |
|
|
robocu3
|
  |
| Joined: 13 Mar 2009 |
| Total Posts: 6485 |
|
|
| 21 Sep 2015 08:38 AM |
Like I said, bounce information off the server using remotes, have a network API made so that you can listen and respond to that as anticipated. You could fire to the server when you shoot the gun, and supply the parameters with the ray's end position, the name of the gun, the sound that should play, blah blah.
-=Robo=- |
|
|
| Report Abuse |
|
|
|
| 21 Sep 2015 09:24 AM |
Look through Phantom forces code. For ideas or whatever. |
|
|
| Report Abuse |
|
|
Stymi
|
  |
| Joined: 19 Sep 2015 |
| Total Posts: 1077 |
|
|
| 21 Sep 2015 09:26 AM |
| Dude I know what I *CAN* do but if I'm doing a network management thing, I'm not going to do it just for guns. That's too time consuming rn. |
|
|
| Report Abuse |
|
|
|
| 21 Sep 2015 09:37 AM |
| do NOT get ideas from phantom forces unless u want to become worse |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 21 Sep 2015 10:01 AM |
| http://www.roblox.com/Forum/ShowPost.aspx?PostID=172219013 |
|
|
| Report Abuse |
|
|
| |
|