Avorion

Avorion

Arsenal Extension - Helix Cannon
9 kommentarer
KnifeHeart  [ophavsmand] 6. sep. kl. 7:35 
If you're running over 9000 mods, you might want to figure out which one this is in conflict with :D
Baka yellow 4. sep. kl. 22:32 
i;'ve reasonh to believe the mod might be causing conflicts with the turret generator. Probaly.
KnifeHeart  [ophavsmand] 23. jan. 2024 kl. 12:32 
Issue w/ Alliances should be fixed. Please let me know if it's not.
KnifeHeart  [ophavsmand] 17. jan. 2024 kl. 23:27 
I guess you can tell I don't use alliances much, lol. Thanks for pointing me to the specific line.
KnifeHeart  [ophavsmand] 17. jan. 2024 kl. 23:20 
I'll take a look at it sometime later this week.
[uRxP]DrChocolate 17. jan. 2024 kl. 22:33 
Hi @KnifeHeart, @Bugget! is right - you have an issue in your code:

data\scripts\entity\merchants\fighterfactory.lua line 8:

local turret = Player():getInventory():find(idx)

If the turret is actually in the inventory of an alliance, instead of the player, this will be nil. It then passes the nil object down the chain to other consumers of the function, which causes an error.

This means that no player can build fighters from an alliance ship/inventory, clicking the button will silently fail.
Bubbet! 27. dec. 2023 kl. 21:18 
You need to account for alliances in your fighter factory hook, it throws with nil value on line 9 because it cant find the turret.
KnifeHeart  [ophavsmand] 1. aug. 2021 kl. 17:31 
This mod is now 2.0 compatible.
TESLA 6. juli 2021 kl. 13:43 
Cool stuff!