Posts: 7,185
Threads: 5
Joined: Nov 2012
Reputation:
0
Did you update for the last version it is on GitHub?
Posts: 7,185
Threads: 5
Joined: Nov 2012
Reputation:
0
Just wait for a fix it's a bug it will be fixed fast
Posts: 3,324
Threads: 96
Joined: Sep 2013
Quote:
Originally Posted by ThomasTailor93
Is it in any way possible to compile YSI 4 with Pawn compiler 3.2.3664? It's always crashing. Pawn compiler 3.10 works fine, but give some warnings.
pawn Код:
D:\Program Files (x86)\Pawno\include\YSI\..\YSI_Coding\..\YSI_Core\..\YSI_Storage\y_amx.inc(1010) : warning 208: function with tag result or global variables as arguments is used before definition, forcing reparse D:\Program Files (x86)\Pawno\include\YSI\..\YSI_Coding\y_inline/impl.inc(1468) : warning 208: function with tag result or global variables as arguments is used before definition, forcing reparse D:\Program Files (x86)\Pawno\include\YSI\..\YSI_Coding\y_inline/impl.inc(1630) : warning 208: function with tag result or global variables as arguments is used before definition, forcing reparse Pawn compiler 3.10.1 Copyright (c) 1997-2006, ITB CompuPhase
3 Warnings.
|
That was an accident caused by Y-Less, he accidently merged his working fork into Misiur's repo. It has been reversed now and you should be able to compile fine.
Posts: 7
Threads: 4
Joined: Jan 2017
Reputation:
0
Ysi After running on the server, when you turn on DOS, just about ysi related things are just coming out. How can you get rid of something in DOS window?
Posts: 3,324
Threads: 96
Joined: Sep 2013
Quote:
Originally Posted by ThomasTailor93
|
Didn't even notice this release! Probably because it was just 4 days ago. As Y-Less said on the GitHub issue you made, it's something to be discussed with Zeex.
Posts: 126
Threads: 15
Joined: Oct 2012
Reputation:
0
I was using YSI 4.0 downloading by myself and changed to include with initial release by Misiur 8 days ago. Then Server CPU increases %100 after 4-5 hours later. Any ideas?
Posts: 2,528
Threads: 124
Joined: Jul 2009
Reputation:
0
Hello @Freedom. - can you tell which y_* libraries are you using? Please try commenting out parts of code until you find the culprit, then I'll take a closer look - it'd be bad if a bug made it onto our first release
Posts: 824
Threads: 80
Joined: Oct 2013
Reputation:
0
Is it normal that it takes about 15 seconds to load the library?, before this update, this was not happening.
Posts: 15,941
Threads: 0
Joined: Jun 2008
Load where? Compile times? Server start? Downloading from github?
Compile times went up a lot because I had to revert a change to y_malloc. Originally it used a huge array as its memory pool, but that took a long time to compile and people complained. I switched to using the heap instead, exploiting a bug to reserve a section of the heap for private use; this drastically reduced compile times as the heap is allocated at run-time, but as I'm sure you can imaging, exploiting bugs is not entirely stable. It seemed that after a few restarts, things just stopped working and I did not know why. So I had to revert to the old, more stable but slower to compile, method.
Server startup should not take that long unless you have a really slow machine. However, YSI does do a lot of work at initialisation, but that work is all designed to pre-compute things and make the rest of your execution faster. I've never really cared about startup times - servers run for days or weeks at a time, fifteen seconds is a tiny price to pay IMHO and worrying over nothing (although people here do seem to like doing that, as proven by the topics asking if "if" or "switch" are faster).
Download times going up could be because github has been having a service outage the last few days, so that should clear up soon.
Posts: 15,941
Threads: 0
Joined: Jun 2008
Quote:
Originally Posted by Unrea1
that depends on the number of lines in the game mode, you know ...
|
No it doesn't.