#Error YSI last version

33 messages ยท Page 1 of 1 (latest)

umbral ibex
#

I don't know how to change the code generation

solar ledge
#

Did you make sure you set that before you included YSI's libraries, and I mean it has to be added before any library is ever included just to be sure no external library is including YSI itself.

umbral ibex
#

@solar ledge I have one that includes ysi, what should I do?

solar ledge
umbral ibex
#

this its te crash error *** YSI Fatal Error: Out of code generation (CGen) space. The current value of CGEN_MEMORY is 10000, please recompile with a higher value (approximately 20000).

#

If I give you the files from my server, do you fix the errors?

solar ledge
#
#include <YSI>
#include <a_samp>
umbral ibex
#

dude that's not the problem

dusty dagger
#

Redefine CGEN_MEMORY with a higher value. Also, the max you can go is 50.000 however you should be good with 25.000

umbral ibex
dusty dagger
#

I just told you

umbral ibex
#

How

#

Where it's the option?

dusty dagger
#

Redefine it

umbral ibex
#

@dusty dagger ok, I really know what to do, but my question is where do I do that?

dusty dagger
#

In your script

umbral ibex
#

with a #pragma?

#

specify more please

dusty dagger
#

No, REDEFINE it

umbral ibex
#

WHERE

dusty dagger
#

IN YOUR SCRIPT

#

USE #DEFINE

umbral ibex
#

what should i put

#

XD

dusty dagger
#

The error legits tells you

#

CGEN_MEMORY

umbral ibex
#

#undef CGEN_MEMORY
#define CGEN_MEMORY 2000

dusty dagger
#

Not 2000

umbral ibex
#

so i put it?

#

*** YSI Fatal Error: Out of code generation (CGen) space. The current value of CGEN_MEMORY is 2000, please recompile with a higher value (approximately 2000).

umbral ibex
#

its solved