Confusing Error -
FreAkeD - 01.01.2014
Hi,
I seem to get this error:
C:\Users\Adam\Desktop\SAMP Server\pawno\include\YSI\y_iterate.inc(203) : fatal error 111: user error: "Old foreach.inc files are no longer compatible with YSI."
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
I don't understand that error, I've got all the latest plugins.
Re: Confusing Error -
Voxel - 01.01.2014
You need the latest foreach include
https://sampforum.blast.hk/showthread.php?tid=92679
save the file as .inc and replace it in your pawno/includes folder
Re: Confusing Error -
NikO1 - 01.01.2014
Use the iterate.inc don't use the foreach or update it.
Re: Confusing Error -
FreAkeD - 01.01.2014
Quote:
Originally Posted by Voxel
|
Isn't 18 the latest version?
@NikO1: I'll try that and see if it works.
Re: Confusing Error -
Konstantinos - 01.01.2014
foreach:
http://pastebin.com/Seseuh2x
YSI should also be updated to the latest version as well.
Re: Confusing Error -
FreAkeD - 01.01.2014
Quote:
Originally Posted by Konstantinos
|
Do I use PAWNO to save the file as. inc? I'm kinda new to this
Re: Confusing Error -
Konstantinos - 01.01.2014
You already got foreach.inc file. Just open it with an editor (notepad or whatever you want) and paste the code from the pastebin link (at the bottom - RAW Paste Data).
Re: Confusing Error -
FreAkeD - 02.01.2014
Quote:
Originally Posted by Konstantinos
You already got foreach.inc file. Just open it with an editor (notepad or whatever you want) and paste the code from the pastebin link (at the bottom - RAW Paste Data).
|
After doing that, I get more errors;
C:\Users\Adam\Desktop\SAMP Server\test.pwn(746) : error 017: undefined symbol "mS_INVALID_LISTID"
C:\Users\Adam\Desktop\SAMP Server\test.pwn(746) : error 008: must be a constant expression; assumed zero
C:\Users\Adam\Desktop\SAMP Server\test.pwn(747) : error 017: undefined symbol "mS_INVALID_LISTID"
C:\Users\Adam\Desktop\SAMP Server\test.pwn(747) : error 008: must be a constant expression; assumed zero
C:\Users\Adam\Desktop\SAMP Server\test.pwn(748) : error 017: undefined symbol "mS_INVALID_LISTID"
C:\Users\Adam\Desktop\SAMP Server\test.pwn(748) : error 008: must be a constant expression; assumed zero
C:\Users\Adam\Desktop\SAMP Server\test.pwn(749) : error 017: undefined symbol "mS_INVALID_LISTID"
C:\Users\Adam\Desktop\SAMP Server\test.pwn(749) : error 008: must be a constant expression; assumed zero
C:\Users\Adam\Desktop\SAMP Server\test.pwn(750) : error 017: undefined symbol "mS_INVALID_LISTID"
C:\Users\Adam\Desktop\SAMP Server\test.pwn(750) : error 008: must be a constant expression; assumed zero
C:\Users\Adam\Desktop\SAMP Server\test.pwn(751) : error 017: undefined symbol "mS_INVALID_LISTID"
C:\Users\Adam\Desktop\SAMP Server\test.pwn(751) : error 008: must be a constant expression; assumed zero
C:\Users\Adam\Desktop\SAMP Server\test.pwn(752) : error 017: undefined symbol "mS_INVALID_LISTID"
C:\Users\Adam\Desktop\SAMP Server\test.pwn(752) : error 008: must be a constant expression; assumed zero
C:\Users\Adam\Desktop\SAMP Server\test.pwn(753) : error 017: undefined symbol "mS_INVALID_LISTID"
C:\Users\Adam\Desktop\SAMP Server\test.pwn(753) : error 008: must be a constant expression; assumed zero
C:\Users\Adam\Desktop\SAMP Server\test.pwn(754) : error 017: undefined symbol "mS_INVALID_LISTID"
C:\Users\Adam\Desktop\SAMP Server\test.pwn(754) : error 008: must be a constant expression; assumed zero
C:\Users\Adam\Desktop\SAMP Server\test.pwn(755) : error 017: undefined symbol "mS_INVALID_LISTID"
C:\Users\Adam\Desktop\SAMP Server\test.pwn(755) : error 008: must be a constant expression; assumed zero
C:\Users\Adam\Desktop\SAMP Server\test.pwn(756) : error 017: undefined symbol "mS_INVALID_LISTID"
C:\Users\Adam\Desktop\SAMP Server\test.pwn(756) : error 008: must be a constant expression; assumed zero
C:\Users\Adam\Desktop\SAMP Server\test.pwn(757) : error 017: undefined symbol "mS_INVALID_LISTID"
C:\Users\Adam\Desktop\SAMP Server\test.pwn(757) : error 008: must be a constant expression; assumed zero
C:\Users\Adam\Desktop\SAMP Server\test.pwn(758) : error 017: undefined symbol "mS_INVALID_LISTID"
C:\Users\Adam\Desktop\SAMP Server\test.pwn(758) : error 008: must be a constant expression; assumed zero
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
26 Errors.
Re: Confusing Error -
FreAkeD - 02.01.2014
Bump.
Re: Confusing Error -
K9IsGodly - 02.01.2014
I'm kind of looking for the answer to this too, because I want to use foreach as well I just don't know how to make what's in the pastebin into the actual include. I don't have the original foreach include either.