GetBaseStatus() : non-working
Locked
FLHook Development
-
Hi everyone !
We added a base on our server few days ago,
and it seems the getbasestatus command doesn’t work.It says our base doesn’t have any hp, neither maxhp, whereas we give it some.
When I look in FLHook, it seems that the problem came from theses lines :
Universe::IBase *base = Universe::get_base(iBaseID); pub::SpaceObj::GetHealth(base->lSpaceObjID, fHealth, fMaxHealth);
I don’t know why it doesn’t work. Maybe because we deactivate the base destruction in the fuse, but i’m not sure at all.
Anyone has an idea ? it would be so helpful !
Thanks !