UFO:Alien Invasion

Development => Coding => Topic started by: dast on January 17, 2009, 11:00:12 pm

Title: hint for stairway problem ?
Post by: dast on January 17, 2009, 11:00:12 pm
Hi,

i tried today to understand deeper the stairway problem (it stopped my progress in playing the campaign :-) ).

After several tries to debug under win xp with code block, i finally suceeded in (re)starting a debug session.

I set a breakpoint in the callback function CL_ActorDoMove() and tested on the village map.

With PATHFINDING_MIN_STEPUP on 5 debug_map 1 shows the stairs as not accessible.
Increaseing PATHFINDING_MIN_STEPUP 6 further resulted that it was shown with a green box.
But on clicking on the first steps of the stair the actor did not move.

Debuging with a breakpoint in CL_ActorDoMove showed, that no event from CL_ExecuteEvent (cl_parse.c)
was forwared. If I made no mistake there was NO EVENT from the left mouse ...

Going back with the actor brought the expected events and the callback function ...DoMove was run through.

I tried this two times but i am not that sure how reliable the debug info might be.
Processes are very unstable in debugging!

Perhaps somebody else can verify?

Regards, Stefan
Title: Re: hint for stairway problem ?
Post by: geever on January 18, 2009, 12:01:19 am
The fix for stairs problems are on the way AFAIK. Bit more patience. ;)

-geever