TheStarport / FLHook

A Server Improvement for Freelancer.
GNU General Public License v3.0
30 stars 15 forks source link

Make autobuy's repair function check `ship_repair_cost` on the target base and adjust autorepair cost appropriately. #335

Closed IrateRedKite closed 9 months ago

IrateRedKite commented 1 year ago

Autobuy's repair function doesn't presently take the ship_repair_cost key into account when calculating auto repair prices. This is an (unused) vanilla feature, and should probably be accounted for in the plugin.

https://wiki.the-starport.net/ini-editing/typed-inis/bases#baseinfo

Shiniri commented 1 year ago

Leaving some comments, so that these issues are updated. This should be implemented server side now. Left to do:

  1. Configure repair cost for bases (at least a few to test)
  2. Test: unsure if it works atm

There is a designated branch for this.

IrateRedKite commented 10 months ago

@Shiniri Do we have the source for this still? I have a copy of the fixed binary in the old BMOD repository, but no .cpp files or branches I can find!

Shiniri commented 10 months ago

No, there is no source, this is the problem I've described before. I'll do this a bit later today, it is not a huge problem.

oliverpechey commented 9 months ago

Resolved by @Shiniri