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: Weird sound sync and ghost server issues

Previous Thread :: Next Thread 
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
06 Sep 2016 08:48 PM
Ok so the Sound Syncing issue is even though I have a sound that is supposed to have pitch changes in online mode, they do not process correctly.

The rest of my script works completely fine and the code is bound to Heartbeat

local p = math.min(forwardvelocity.Magnitude-(gears[gear-1] or 0)*0.75,150)/(100-gears[gear]/2)
script.Parent.Sound.Pitch = 0.9 + p

This works in studio and for some reason, the sound's pitch change is registered with delays, and are even slower than the steering of the vehicle which is amazingly bound in the same function!

My question is, how can this be the only sound possibly even having this issue... does it have something to do with forwardvelocity?

and forwardvelocity is just

Velocity*Vector3.new(1,0.01,1) (to limit the Y)
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
06 Sep 2016 08:49 PM
And the Ghost Server issue is that for some reason there are a few 'ghost' servers that stay in my place, even after minutes of attempting to remove them with Shut Down All Instances or even doing it one by one.
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
06 Sep 2016 08:50 PM
Nobody can join the servers because there is a connection issue and I have no callbacks bound to OnClose.
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
06 Sep 2016 08:58 PM
Bump
Report Abuse
Zawie is not online. Zawie
Joined: 04 Jul 2010
Total Posts: 6338
06 Sep 2016 09:01 PM
Is this handled by the server or the client.
The sound.
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
06 Sep 2016 09:02 PM
everything is completely server sided

the issue that I cannot believe is how everything else in the SAME FUNCTION seems to have much quicker changes than the pitch of the audio

and even worse that is the only audio with problems, all of my other engines sound very nice
Report Abuse
Zawie is not online. Zawie
Joined: 04 Jul 2010
Total Posts: 6338
06 Sep 2016 09:16 PM
handle the audio locally.
you may be putting way to much work on the server
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
06 Sep 2016 09:48 PM
no, also even WORSE, touching or riding the vehicle can trigger server shutdowns, it can cause players to be kicked, and it can force people to lose connection! HOW?!!! All it has is literally 1 script! Why is this happening wtf?
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
06 Sep 2016 09:55 PM
bump, i literally had to postpone a vehicle for this
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
06 Sep 2016 11:19 PM
bumppp......

if you want to see how awful this is, drive the bus in

https://www.roblox.com/games/484215021/Testing-New-Constraints-Vehicle

and only the bus

after a while these things start happening
Report Abuse
thedailyblarg is not online. thedailyblarg
Joined: 26 Feb 2012
Total Posts: 5506
06 Sep 2016 11:36 PM
bump, there is literally no script inside of the bus that can possibly causing this, only one that I made myself to control the vehicle
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