open.mp forum
[Pawn] fatal error 111 - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Pawn] fatal error 111 (/showthread.php?tid=865)



fatal error 111 - Viola - 2019-11-07

- I upgraded the old pawn YSI with the new YSI 5x and shows me this:



PHP Code:
pawno\include\YSI\y_hooks.inc(73) : fatal error 111user error: Use `#include <YSI_Coding\y_hooks>



- I added but it shows again?



-My include in gamemod:



PHP Code:
#pragma dynamic 500000



#include <a_samp>

#include <sscanf2>

#include <streamer>

#include <YSI_Storage\y_ini>

#include <YSI_Data\y_iterate>

#include <zcmd>



//#include <YSI_Coding\y_hooks>

//

#include <mSelection>

//#include <mapandreas>

#include <progress2>

#include <dof2>

#include <a_actor>



#undef MAX_PLAYERS ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?

#define MAX_PLAYERS ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?100 



RE: fatal error 111 - BigETI - 2019-11-07

Adding the code as a comment doesn't count.


RE: fatal error 111 - Viola - 2019-11-07

New versions of YSI do not work and eject errore all the time. I tried everything with others and it doesn't help?


RE: fatal error 111 - BigETI - 2019-11-07

Your error is coming from y_hooks:

Code:
Use `#include <YSI_Coding\y_hooks>`



but you did include

Code:
#include <YSI\y_hooks>



and did

Code:
//#include <YSI_Coding\y_hooks>

which is just a comment.



You should remove both lines and do

Code:
#include <YSI_Coding\y_hooks>

instead.


RE: fatal error 111 - Viola - 2019-11-07

I deleted the same again?


RE: fatal error 111 - Tomas - 2019-11-07

It might be that some of your?includes are using
Code:
#include <YSI\y_hooks>
instead of?
Code:
#include <YSI_Coding\y_hooks>

I'm sure older versions of progress2 does that


RE: fatal error 111 - Viola - 2019-11-07

(2019-11-07, 10:49 AM)Tomas Wrote: It might be that some of your?includes are using
Code:
#include <YSI\y_hooks>
instead of?
Code:
#include <YSI_Coding\y_hooks>



I'm sure older versions of progress2 does that



Dont work.