SA-MP Forums Archive
Problems with YSI latest version - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Problems with YSI latest version (/showthread.php?tid=658140)



Problems with YSI latest version - GospodinX - 24.08.2018

I'm download latest YSI version and i have some problems.

1)
When i run server,i need to wait 4-5 seconds,is it good?((On old version i don't had it problem)

2)
I'm getting this error in server_log

Код:
[19:23:05] *** YSI Error: Could not add command to array.
(30 times total)


Re: Problems with YSI latest version - GospodinX - 24.08.2018

Second problem I'm fix with :
Quote:

#define MAX_COMMANDS 1024

I just don't know why my server need 4-5 seconds to run with this version...(Yeah,it's not big problem but...)


Re: Problems with YSI latest version - KinderClans - 24.08.2018

Yes same here. My server needs 4 seconds exactly to run. Not a big problem if everything is made for optimization.


Re: Problems with YSI latest version - GospodinX - 24.08.2018

Quote:
Originally Posted by ******
Посмотреть сообщение
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.
It that case,it's ok.I was think that there is problem with my code.

Thanks