Confusing Error
#1

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.
Reply
#2

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
Reply
#3

Use the iterate.inc don't use the foreach or update it.
Reply
#4

Quote:
Originally Posted by Voxel
Посмотреть сообщение
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
Isn't 18 the latest version?

@NikO1: I'll try that and see if it works.
Reply
#5

foreach: http://pastebin.com/Seseuh2x
YSI should also be updated to the latest version as well.
Reply
#6

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
foreach: http://pastebin.com/Seseuh2x
YSI should also be updated to the latest version as well.
Do I use PAWNO to save the file as. inc? I'm kinda new to this
Reply
#7

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).
Reply
#8

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.
Reply
#9

Bump.
Reply
#10

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.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)