Makslane - please help. abnormal programm

Non-platform specific questions.

Makslane - please help. abnormal programm

Postby Diana Kennedy » Sat May 27, 2006 9:40 pm

Oh no, what is this mow? It all worked so fine. But more and more., when I am in Game mode, the programm is terminated and this one is shown:

Image

I exported the game as exe.file to see it. And there it terminates the programm every tome the rider collides with the rock. I don't understand this. It worked so well before. What can I do?

:cry: :cry:
User avatar
Diana Kennedy
 
Posts: 257
Joined: Wed Dec 07, 2005 12:34 am
Location: France, where Presidents who got shot in Texas do exile ;-)
Score: 0 Give a positive score

Postby Diana Kennedy » Sun May 28, 2006 3:11 am

I could resolve the problem by making the collision affecting "any side". This is really a bug. The game will not accept collision on specific sides!
User avatar
Diana Kennedy
 
Posts: 257
Joined: Wed Dec 07, 2005 12:34 am
Location: France, where Presidents who got shot in Texas do exile ;-)
Score: 0 Give a positive score

Postby makslane » Sun May 28, 2006 2:09 pm

Please, send me this project to my email (use this thread subject)
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby Diana Kennedy » Mon May 29, 2006 2:09 pm

I did. I hope it does not stick in your e-mail programm. The thing is 12 Megs.
User avatar
Diana Kennedy
 
Posts: 257
Joined: Wed Dec 07, 2005 12:34 am
Location: France, where Presidents who got shot in Texas do exile ;-)
Score: 0 Give a positive score

Postby Diana Kennedy » Tue Jun 06, 2006 8:08 am

I had a new abnormal programm termination:

Image

It occured while I was running the play game mode.


It has probably to do with a bug That happens when after using this script:



Code: Select all
angle = direction(x, y, reiter2 .x, reiter2 .y);
directional_velocity = 10;


in the "draw actor" event of the little ghost. When the ghost is not stopped by a weapon action and gets stuck at hs target. Normally, it should get destroyed by a timer that is created at the collision with reiter2. It works most of trhe times, but especially when the little ghost comes from the bottom of the screen, it just gets stuck on the center of its target.

I could use the directional script on the create actor event, but there I put

Code: Select all
xscreen = rand(view.width);
yscreen = rand(view.height);


In order to make it coming out from a random screen position.

Any idea how to fix this problem?
User avatar
Diana Kennedy
 
Posts: 257
Joined: Wed Dec 07, 2005 12:34 am
Location: France, where Presidents who got shot in Texas do exile ;-)
Score: 0 Give a positive score

Postby Fuzzy » Tue Jun 06, 2006 10:14 am

if that is pasted right from your code, the line:
Code: Select all
angle = direction(x, y, reiter2 .x, reiter2 .y);


...contains spaces between reiter2 and .x and reiter2 and .y. Do you see what I mean?
Mortal Enemy of IF....THEN(and Inspector Gadget)

Still ThreeFingerPete to tekdino
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score

Postby Diana Kennedy » Tue Jun 06, 2006 10:25 am

ThreeFingerPete wrote:if that is pasted right from your code, the line:
Code: Select all
angle = direction(x, y, reiter2 .x, reiter2 .y);


...contains spaces between reiter2 and .x and reiter2 and .y. Do you see what I mean?


:oops: no...dost mean those spaces are not good? (I took this code as it was provided in the Forum)
User avatar
Diana Kennedy
 
Posts: 257
Joined: Wed Dec 07, 2005 12:34 am
Location: France, where Presidents who got shot in Texas do exile ;-)
Score: 0 Give a positive score

Postby Fuzzy » Tue Jun 06, 2006 10:37 am

I would suspect that of causing an error of some sort, sooner or later.

The GE compiler might get confused as to which actors X and Y that is.
Mortal Enemy of IF....THEN(and Inspector Gadget)

Still ThreeFingerPete to tekdino
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score

Postby Diana Kennedy » Tue Jun 06, 2006 11:55 am

Ok. I corrected this. Let's see if it works better now. Thanks a lot!!
User avatar
Diana Kennedy
 
Posts: 257
Joined: Wed Dec 07, 2005 12:34 am
Location: France, where Presidents who got shot in Texas do exile ;-)
Score: 0 Give a positive score

Postby Diana Kennedy » Tue Jun 06, 2006 1:27 pm

Hm. The corrections didn't make an apparent difference. And still, the little ghost gets stuck on the middle of the rider, when coming from the botom of the screen. :?
User avatar
Diana Kennedy
 
Posts: 257
Joined: Wed Dec 07, 2005 12:34 am
Location: France, where Presidents who got shot in Texas do exile ;-)
Score: 0 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest