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 Script Error: "Timeout before resuming thread"

Previous Thread :: Next Thread 
David83335 is not online. David83335
Joined: 25 Aug 2009
Total Posts: 49
22 Mar 2016 03:06 PM
I was play testing a new game I was working on when suddenly the main game script broke in the middle of a timer in the main game loop saying "Timeout before resuming thread". This completely stopped the main game script, which is a huge issue and I have no idea what caused it. Unlike most of the other forum posts I've read about this it didn't spam it in the output log and it really doesn't take much processing power. The only thing that may have been taking a lot of processing power was a specific vehicle in the game that uses a rather unfriendly to performance loop, but if that's the problem wouldn't it stop that script instead? The game worked perfectly for several rounds before this as well which makes it even more strange and the vehicles continued to work perfectly normal, server scripts and all afterwards. Does anyone have any help to offer here?

The part of the script it was running was:

repeat
wait(1)
game.Workspace.timer.Value = game.Workspace.timer.Value - 1
until game.Workspace.timer.Value < 1

Probably not the biggest performance killer.
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
22 Mar 2016 03:23 PM
just use a for loop for a timer
Report Abuse
David83335 is not online. David83335
Joined: 25 Aug 2009
Total Posts: 49
22 Mar 2016 03:57 PM
That part of the script is only a fragment, not the entire thing. Also an update: This is happening with a ton of scripts in the game where it really shouldn't, does my game just require to much from the server or something? My computer runs it perfectly fine in Play Solo and Test Servers, but servers will have crazy lag spikes and it's during those lag spikes that things break.
Report Abuse
vigitossj2 is not online. vigitossj2
Joined: 04 Feb 2012
Total Posts: 263
05 Nov 2016 11:02 AM
Same thing is happening to me lol, I think it has to do with slow internet connection. That is what I got out of it from the research I did.
Report Abuse
rockandgreen is not online. rockandgreen
Joined: 20 Dec 2011
Total Posts: 1161
05 Nov 2016 11:13 AM
I just got this error too and it's broken everything in my game.


Report Abuse
Lem0nzzx is not online. Lem0nzzx
Joined: 08 Feb 2016
Total Posts: 1604
05 Nov 2016 11:14 AM
roblox is being slow


Report Abuse
TheAddictPlayer is not online. TheAddictPlayer
Joined: 21 Jun 2014
Total Posts: 2003
05 Nov 2016 01:49 PM
I got this error it said that "Timeout before resuming thread" right after my studio stopped responding (froze)


- 𝓣𝓱𝓮𝓐𝓭𝓭𝓲𝓬𝓽𝓟𝓵𝓪𝔂𝓮𝓻 | Current RAP: R$470 | #DownWithSift
Report Abuse
David83335 is not online. David83335
Joined: 25 Aug 2009
Total Posts: 49
17 Dec 2016 05:13 PM
After some investigation I determined that this was caused by an infinite loop.
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