(You can use < < code > > ... < < /code > > to make things appear nicer :P)
I don't really understand what you are trying to achieve with your SetAlliance function. You call a lot of times GetAlliance that returns a boolean but you are not using it ...
The error message is really strange. The max shouldn't be Passive but 0 or something. I guess the loader is doing something strange.
Hey
(You can use < < code > > ... < < /code > > to make things appear nicer :P)
I don't really understand what you are trying to achieve with your SetAlliance function. You call a lot of times GetAlliance that returns a boolean but you are not using it ...