Global code AVs

Non-platform specific questions.

Global code AVs

Postby Murd-Machine[_] » Sun Jun 24, 2007 10:47 pm

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?
User avatar
Murd-Machine[_]
 
Posts: 72
Joined: Fri Nov 04, 2005 7:04 pm
Location: Moscow-city
Score: 1 Give a positive score

Postby makslane » Sun Jun 24, 2007 11:45 pm

I can't get the error in the 1.3.8 version.
Please, download the last version and test your game.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby Murd-Machine[_] » Mon Jun 25, 2007 11:09 am

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?
User avatar
Murd-Machine[_]
 
Posts: 72
Joined: Fri Nov 04, 2005 7:04 pm
Location: Moscow-city
Score: 1 Give a positive score

Postby makslane » Mon Jun 25, 2007 1:05 pm

I don't know how to solve in the 1.3.3 version, sorry.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest