SphereCommunity
How to force Main Thread - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: How to force Main Thread (/Thread-How-to-force-Main-Thread)



How to force Main Thread - Lazarus - 09-13-2012 01:48 PM

any know how can I fill the main thread to get the error and try with the scripts to know who of them is it the problem?

I have this problem at the first of the servers
and never get's away Sad

Sry for the english

thanks!

Lazarus


RE: How to force Main Thread - Mordaunt - 09-13-2012 10:06 PM

I'm guessing you are having some kind of server error that is not reporting errors....

Easiest thing to do, go with a fresh install of sphere and add your scripts one at a time to work out which one is causing the problem


RE: How to force Main Thread - Lazarus - 09-14-2012 02:06 AM

(09-13-2012 10:06 PM)Mordaunt Wrote:  I'm guessing you are having some kind of server error that is not reporting errors....

Easiest thing to do, go with a fresh install of sphere and add your scripts one at a time to work out which one is causing the problem

I can't, because the MAIN THREAD don't get's filled without players. I need to take some commands and then, the main get's freezed... I can't open a server without the scripts because I really need it.

I can't put some functions that use a lot of main thread because the main get's freezed.
Need a way to force the main thread to test every script like you say Sad


Lazarus.