[MOD] RandomSupply

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Post Reply
language
Posts: 73
Joined: Mon, 9. Dec 13, 10:55
x4

[MOD] RandomSupply

Post by language » Sat, 23. Mar 19, 10:45

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

g_BonE
Posts: 153
Joined: Thu, 28. Aug 03, 11:37
x4

Re: [MOD] RandomSupply

Post by g_BonE » Fri, 5. Apr 19, 19:17

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 !!! ]

Post Reply

Return to “X4: Foundations - Scripts and Modding”