unbekannt1984 Posted January 9, 2019 Share Posted January 9, 2019 Hi, I tried to improve my alliances' relations to an ai-faction by doing some missions and defeating pirate-attacks. Well, at least for pirate-attacks it seems that an alliance doesn't get that bonus at the end of the event... I think, I found the cause for this in Avorion/data/scripts/events/pirateattack.lua line 199: Galaxy():changeFactionRelations(player, faction, reputation) Shouldn't that be something like in other scripts: local shipFaction, ship = getInteractingFactionByShip(shipIndex, callingPlayer) ... Galaxy():changeFactionRelations(shipFaction, stationFaction, relationsChange) Link to comment Share on other sites More sharing options...
Boxelware Team Qui_Sum Posted January 10, 2019 Boxelware Team Share Posted January 10, 2019 Thank you for reporting, will be fixed in the next update! Link to comment Share on other sites More sharing options...
unbekannt1984 Posted January 11, 2019 Author Share Posted January 11, 2019 Hi Qui_Sum, Thank you for reporting, will be fixed in the next update! maybe a little suggestion... How about splitting that Bonus into 2 parts, one part for the player and one for the ship-faction (in my case the alliance)? It wouldn't change anything, if you pilot your own ship. But if you are using an alliance-ship, you could improve the relations for both (alliance and player) at the same time. EDIT: I think I found more of those bugs... In Avorion/data/scripts/lib/entitydbg.lua, lines 2560 to 2579: function onLikePressed() if onClient() then invokeServerFunction("onLikePressed") return end local faction, ship, player = getInteractingFaction(callingPlayer) Galaxy():changeFactionRelations(faction, Faction(), 5000) end function onDislikePressed() if onClient() then invokeServerFunction("onDislikePressed") return end local faction, ship, player = getInteractingFaction(callingPlayer) Galaxy():changeFactionRelations(faction, Faction(), -5000) end doesn't work for alliance-ships either. I think there are more of these bugs around... Link to comment Share on other sites More sharing options...
Boxelware Team Qui_Sum Posted January 17, 2019 Boxelware Team Share Posted January 17, 2019 [onLikePressed] doesn't work for alliance-ships either. It does work. What did you expect it to do and what happened? Link to comment Share on other sites More sharing options...
unbekannt1984 Posted January 31, 2019 Author Share Posted January 31, 2019 [onLikePressed] doesn't work for alliance-ships either. It does work. What did you expect it to do and what happened? I just tried it. When you are in an alliance-ship and use those like/dislike buttons of the debug-menu, nothing happens. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now