Hello, i am happy to publish my second trader mod, it is based on my first mod, yet it adds more intelligence to the game.
https://www.nexusmods.com/x4foundations/mods/304/
https://steamcommunity.com/sharedfiles/ ... 1691068085
[MOD] RandomSupply
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Re: [MOD] RandomSupply
Some errors in the log here as well:
Code: Select all
[=ERROR=] 610298.83 Error in AI script randomsupply on entity 0xec84: Property lookup failed: this.ship.commander.hasownaccount
* this.ship.commander == null
* Expression: if this.ship.commander.hasownaccount then this.ship.commander.money else player.money
[General] 610286.13 ======================================
[=ERROR=] 610286.13 Error in AI script randomsupply on entity 0xec84: Property lookup failed: this.ship.commander.knownname
* this.ship.commander == null
* Expression: 'pilot: ' + this.ship.pilot.knownname + ', commander:' + this.ship.commander.knownname + ', pilotskill: ' + $pilotSkill + ', commanderskill: ' + this.ship.commander.tradenpc.skill.management + ', ship capacity: ' + this.ship.cargo.capacity.container + ', max relprice to buy: ' + $maxBuyRelPrice + ', player money: ' + player.money + ', commander money: ' + this.ship.commander.money
[General] 610286.13 ======================================
[General] 610286.13 ======================================
[=ERROR=] 610286.13 Error in AI script randomsupply on entity 0xec84: Property lookup failed: this.ship.commander.tradenpc
* this.ship.commander == null
* Expression: 'pilot: ' + this.ship.pilot.knownname + ', commander:' + this.ship.commander.knownname + ', pilotskill: ' + $pilotSkill + ', commanderskill: ' + this.ship.commander.tradenpc.skill.management + ', ship capacity: ' + this.ship.cargo.capacity.container + ', max relprice to buy: ' + $maxBuyRelPrice + ', player money: ' + player.money + ', commander money: ' + this.ship.commander.money
[General] 610286.13 ======================================
(x|x) .oO[ Fenster fährt mich Nüsse !!! ]