Gamestudio Links
Zorro Links
Newest Posts
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,577 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 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 | chip programmers | 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