poggit-orphanage / FactionsPro

By Tethered
21 stars 69 forks source link

Can't start a war due to factions are not enemies each other #50

Closed eqMFqfFd closed 5 years ago

Awzaw commented 6 years ago

Yes it's buggy, I expect that's why the author removed it all from the beta. I presume you mean /f enemywith <factionname>, not just enemy? There doesn't appear to be any code to unset enemies... and breakalliancewith doesn't affect enemies either. What would you suggest?

Awzaw commented 6 years ago

Please try with the latest dev build. I've added /f notenemy <faction> which doesn't require approval by the rival leader, and hopefully fixed a few bugs with enemies and allies. Untested so please let me know if this fixes the problem.

Also you can now use /f notally <faction> instead of breakalliancewith. You may see ally counts messed up owing to a change I made to avoid storing alliances twice in the db, but that should fix itself as alliances change and the count is updated in the database.