Bug that I can't figure out
Posted: 27 Jun 2010, 02:18
Hey,
I'm working on a mod (mutator more like) for BA and I'm putting CA's deployment thing into it. I've got it all working nicely except for this one random bug I just can't figure out
.
First thing, this is a link to a rar file containing the mod, and images showcasing the bug - feel free to extract the mod to try and figure it out.
Basically what happens is that it lets you deploy units, but it doesn't seem to like letting you place them in certain locations, and instead it just throws an error (you can see the error in the picture) and issues an order for the commander to build it. I can't really explain it farther than that, best if you just download the mod and see what I mean - here are a few pics though, maybe it's enough that you can help :).
In-Game bug & example cause:
http://files.springrts.de/7/ErrorMessage.jpg
As you can see from ^. The deployment lets you place buildings in some locations, but not others
.
This is the code that causes the error (actual file in the downloadable rar above):
http://files.springrts.de/7/SourceOfError.jpg
Thanks a lot to anyone that can help :).
Also on a side note, if anyone wants to figure out how to get the "Deployment" info and bars centered on screen that'd be awesome - it's the least of my worries though.
Again, I didn't write the deployment widget, pretty sure it was trepan originally - I'm just borrowing it for a mod cause it's awesome
[EDIT] Forgot to mention - you need BA712.sd7 to run the mod, since it's more of a mutator.
I'm working on a mod (mutator more like) for BA and I'm putting CA's deployment thing into it. I've got it all working nicely except for this one random bug I just can't figure out

First thing, this is a link to a rar file containing the mod, and images showcasing the bug - feel free to extract the mod to try and figure it out.
Basically what happens is that it lets you deploy units, but it doesn't seem to like letting you place them in certain locations, and instead it just throws an error (you can see the error in the picture) and issues an order for the commander to build it. I can't really explain it farther than that, best if you just download the mod and see what I mean - here are a few pics though, maybe it's enough that you can help :).
In-Game bug & example cause:
http://files.springrts.de/7/ErrorMessage.jpg
As you can see from ^. The deployment lets you place buildings in some locations, but not others

This is the code that causes the error (actual file in the downloadable rar above):
http://files.springrts.de/7/SourceOfError.jpg
Thanks a lot to anyone that can help :).
Also on a side note, if anyone wants to figure out how to get the "Deployment" info and bars centered on screen that'd be awesome - it's the least of my worries though.
Again, I didn't write the deployment widget, pretty sure it was trepan originally - I'm just borrowing it for a mod cause it's awesome

[EDIT] Forgot to mention - you need BA712.sd7 to run the mod, since it's more of a mutator.