Page 1 of 1

Global code AVs

PostPosted: Sun Jun 24, 2007 10:47 pm
by Murd-Machine[_]
When I put a script in the global code and press Add button I get Access Violaton error. And it only AVs if the script is written fully and correctly.
GE 1.3.3 Pro
Code: Select all
void draw_field(){
    int k;
    for(k=0; k<count; k++){
        CreateActor("objBB", "bb", "(none)", "(none)", cx[k], cy[k], true);
    }
 
}

What shall I do?

PostPosted: Sun Jun 24, 2007 11:45 pm
by makslane
I can't get the error in the 1.3.8 version.
Please, download the last version and test your game.

PostPosted: Mon Jun 25, 2007 11:09 am
by Murd-Machine[_]
What is interesting: it works perfectly on 1.3.5 and above. :?
Though I have full version only of 1.3.3. Is it avoidable?

PostPosted: Mon Jun 25, 2007 1:05 pm
by makslane
I don't know how to solve in the 1.3.3 version, sorry.