Jump to content

EarnestErnest

Members
  • Posts

    5
  • Joined

  • Last visited

EarnestErnest's Achievements

0

Reputation

  1. I don't know if notepad++ has such feature.. Im currently just using the compare plugin for both files
  2. I think the Pirate Warlord is not compatible with the 10.5 beta branch update? Since the update allows military posts to sell goods now
  3. If you use the normal shipyard you can buy a captain for 160 Credits on the shipyard so i fix this in my mod. Because a Captain costs 7500 on hiring pools. I think that with the 10.5 update that gets solved
  4. Could you kindly upload the download link to the "supposedly" github repository to get this update. SOmehow Steam Experimental Tab doesn't work for me :( Thanks :D
  5. To those that also encountered the problem: Background: When you order a ship to guard your position, it just stops and refuses to do any other orders Problem: This seems to happens because it is trying to index a nil value to a ship variable. The function OnGuardButtonPressed is not successful. Possible Solution: A local ship variable is used in the function and it was never instantiated before. I instantiated it after CheckCaptain evaluation to store the craft entity of the Player(me). After that, the error message doesn't appear when ordering to guard the position and the targeted ship effectively guards where you were at the moment of giving the order Ill upload the new craftorder.lua version with the correction.. beware that it will overwrite any effect that any mod had on that file before. You have to place this file in "\data\scripts\entity" If you want to modify it yourself instead: Just add the following in craftorder.lua inside the OnGuard Function, after "if checkCaptain() then" (see image below) local ship = Player().craft craftorders.zip
×
×
  • Create New...