Open nyttimangus opened 10 years ago
Yeah, these functions are integral to "An Altered Course." I had another of the same type of crash in another place.
I'll look into it.
Provide me with a link to your latest project files for "An Altered Course", thanks.
The files are open to the public here (alternate download format): http://www.solovid.net/an-altered-course.html
At what point in "An Altered Course" does this issue occur?
I believe this is run from "raca.prg" from an on pickup program to the sprite "raca.itm" on the first board ("garden.brd") in the southwest corner. I am assuming the same issue would be encountered anywhere those two functions are used together. If you are curious how the two functions work, here is a brief explanation:
nullVector() simply takes a vector handle as a parameter and changes its type from solid to waypoint. I would check this function first because it would be easier to test.
vectorExists() returns the handle of a one-tile-square vector at the tile-coordinate passed as a parameter. This coding is more complex, but it mainly just uses boardGetVectorPoint().
So really, you only probably need to check that these three engine functions work: boardGetVector(), boardSetVector(), and boardGetVectorPoint(). If all of those worked perfectly, I would assume this issue would not exist.
I got this error:
I believe it was caused by this line of code:
which references these two functions:
and