y_iterate hanging my compiler after latest YSI updates (Misiur)
#1

This problem has started to occur for me since the last few YSI updates and I was obliged to switch to southclaw YSI 4.0 in order to fix this problem.
Here is a list of my includes:
Код:
#include <a_samp>
#include <crashdetect> //
#include <YSI\y_bit>
#include <YSI\y_hooks>
#include <YSI\y_ini>
#include <streamer>
#include <sscanf2> //
#include <zcmd> //
#include <a_mysql>
#include <YSI\y_iterate>
#define ENABLE_3D_TRYG_YSI_SUPPORT
#include <3DTryg>
Tried changing y_iterate order, still the same problem
Reply
#2

Hi! Are you using the stock compiler, Zeex's compiler or russian compiler? Can you try compiling empty gamemode just with those includes?
Reply
#3

I'm using the stock compiler
Emptying the gamemode compiled it normally for me
Reply
#4

Alright, can you try and comment out stuff and then uncomment little be little until you either get errors or it crashes again? It might crash due to more than X errors (don't remember what the X number was tho), and there were indeed some changes to y_iterate in the meantime.
Reply
#5

Will do, might take while as it is a very big gm
Reply
#6

Quote:
Originally Posted by ******
Посмотреть сообщение
I might know what the problem is...
Iter_Contains?

Yeah, it turned out that there is no such function in the include
Now the gamemode compiles correctly
But if so, what is its alternative in y_iterate?
Reply
#7

Sorry but I did not make any backup of the freezing version. I've replaced Iter_Contains with custom functions that loop through iterators and break to check if they contain an item.
There was nothing else than a bunch of Iter_Contains inside it that caused the compiler hangup
EDIT: I don't think this would help but I used both normal and 2D iterators with Iter_Contains
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)