Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, TipmyPip), 12,420 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
crash on level load #238060
11/24/08 16:23
11/24/08 16:23
Joined: Oct 2008
Posts: 218
Nashua NH
heinekenbottle Offline OP
Member
heinekenbottle  Offline OP
Member

Joined: Oct 2008
Posts: 218
Nashua NH
My game decided not to work for me all of a sudden.

After changing a function and editing a few things in my AI code, the engine crashes on level_load.

All I did was remove "ACTIVATE_SHOOT" from a c_move instruction and change a code so a bullet would react to entity and block collision detection. At the same time, I removed "ENABLE_SHOOT" from some of the enemy AI codes.

And after doing that, it crashes on level load with a "acknex.exe has encountered a problem and needs to close. We are sorry for the inconvenience." error

This does not make any sense, I didn't make any changes that would cause the level to crash like this.

edit: other projects still work

Last edited by heinekenbottle; 11/24/08 16:28.

I was once Anonymous_Alcoholic.

Code Breakpoint;
Re: crash on level load [Re: heinekenbottle] #238062
11/24/08 16:38
11/24/08 16:38
Joined: Oct 2008
Posts: 218
Nashua NH
heinekenbottle Offline OP
Member
heinekenbottle  Offline OP
Member

Joined: Oct 2008
Posts: 218
Nashua NH
I found what it was, it was a stupid misspelling.

I have this skill:

#define typeAI skill18
#define tankAI 1
#define bazAI 2
#define mineAI 3
#define bossAI 4

And I mistakenly put this in the actions of my enemies:

action landMine()
{
...
my.type = mineAI;
...
}

action eTank()
{
...
my.type = tankAI;
...
}

etc.


I was once Anonymous_Alcoholic.

Code Breakpoint;

Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1