YSI-Includes icon indicating copy to clipboard operation
YSI-Includes copied to clipboard

YSI is not working in filterscripts

Open Walter-Correa opened this issue 4 years ago • 4 comments

Filterscript compiles normally without any errors. When I turn on the server it appears that the filterscript has been loaded, but when I enter the server, nothing related to filterscript works. I've tried everything, I used several different versions of YSI and there's no way, it only works normally if used in includes.

Walter-Correa avatar Oct 10 '20 17:10 Walter-Correa

Could you please check if a crash occurred?

Misiur avatar Oct 13 '20 08:10 Misiur

Could you please check if a crash occurred?

No crash, it just appears on the console that the filterscript was loaded, however, any printf placed on OnFilterscriptInit () does not appear and when it enters the server, nothing that belongs to FS works.

Walter-Correa avatar Oct 13 '20 13:10 Walter-Correa

Thanks. Do you have YSI in a GM as well? And what do you mean it only works as an include?

Y-Less avatar Nov 17 '20 10:11 Y-Less

Thanks. Do you have YSI in a GM as well? And what do you mean it only works as an include?

Example: At the top of my gm, if I add #include <any_include> and that include uses any YSI include, the entire "any_include" script works normally. But if I add any filterscript to "server.cfg" that uses YSI, the FS loads normally but no script belonging to that FS works, no callback or anything. I tried several ways, I connected a new server, only GM and FS, only includes YSI to avoid conflicts and even so it didn't work. The server version is 3DL.

Walter-Correa avatar Nov 17 '20 13:11 Walter-Correa