30.11.2018, 12:32
Hi guys
Few months ago I'm post topic "Problems with YSI latest version" ; https://sampforum.blast.hk/showthread.php?tid=658140
I was said that I need 4-5 seconds to wait that my mode start.****** answer on it:
But now,i need to wait 4-5 minutes that my mode start.It's really too long.(Big problem is with test server which I restart very,very often.And I lose one half-hour in day just to wait that my mode start.It's boring.
My question is:What I can do?Maybe I do something wrong if I need to wait 4-5 minutes?(Also,when i try to put old version,it works nice..I don't need to wait,but i want to use latest version.Without latest version OnGameModeInit spent only 0.5 seconds(from profiler))
How I can improve it?How I can see what is not good in my script if I need to wait 4-5 minutes?
From YSI I use:
-y_iterators
-y_commands(YCMD)
-y_ini
-y_timers
-y_va
Profiler results,if it helps: (sort by worst total time;It's all function from YSI,I think..
http://prntscr.com/loyuhs
If it's true:OnGameModeInit needed 204.8 seconds (What is 3.4 minutes).
Thanks!
Few months ago I'm post topic "Problems with YSI latest version" ; https://sampforum.blast.hk/showthread.php?tid=658140
I was said that I need 4-5 seconds to wait that my mode start.****** answer on it:
Quote:
YSI takes a while to start up because it is optimising itself basically. It runs a whole load of code in the beginning so that it doesn't need to run it later. |
My question is:What I can do?Maybe I do something wrong if I need to wait 4-5 minutes?(Also,when i try to put old version,it works nice..I don't need to wait,but i want to use latest version.Without latest version OnGameModeInit spent only 0.5 seconds(from profiler))
How I can improve it?How I can see what is not good in my script if I need to wait 4-5 minutes?
From YSI I use:
-y_iterators
-y_commands(YCMD)
-y_ini
-y_timers
-y_va
Profiler results,if it helps: (sort by worst total time;It's all function from YSI,I think..
http://prntscr.com/loyuhs
If it's true:OnGameModeInit needed 204.8 seconds (What is 3.4 minutes).
Thanks!