Hi, I am happy to release my 3rd mod, RandomMine
https://steamcommunity.com/sharedfiles/ ... 1694738243
https://www.nexusmods.com/x4foundations/mods/306
[MOD] RandomMine
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Re: [MOD] RandomMine
Been using Your RandomX scripts for quite a bit now.
Pretty often the following errors pop up in the logs, all related to RandomMine:
Just thought it's worth to report.
Pretty often the following errors pop up in the logs, all related to RandomMine:
Code: Select all
[General] 593903.61 ======================================
[=ERROR=] 593903.61 Error in AI script randommine on entity 0x103ab: 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] 593903.61 ======================================
[General] 593903.61 ======================================
[=ERROR=] 593903.61 Error in AI script randommine on entity 0x103ab: 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] 593903.61 ======================================
[General] 593903.61 ======================================
[=ERROR=] 593903.61 Error in AI script randommine on entity 0x103ab: Property lookup failed: this.ship.commander.money
* 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] 593903.61 ======================================
Code: Select all
[General] 610286.13 ======================================
[=ERROR=] 610286.13 Error in AI script randommine on entity 0x103ab: Failed to set null.{null} to value null
* Expression: null.{null}
[General] 610286.13 ======================================
[General] 610286.13 ======================================
[=ERROR=] 610286.13 Error in AI script randommine on entity 0x2e31c: Failed to set null.{null} to value null
* Expression: null.{null}
[General] 610286.13 ======================================
[General] 610286.13 ======================================
[=ERROR=] 610286.13 Error in AI script randommine on entity 0xbfdc: Failed to set null.{null} to value component.{0x1ce0bL}
* Expression: null.{null}
(x|x) .oO[ Fenster fährt mich Nüsse !!! ]
Re: [MOD] RandomMine
Thanks for the report, the first bug is happening when your random miner is not set as subordinate (home is not a player station). It then just fails to acces commander of the ship because there is none. It is not relevant because the expression is just there for debuging, it is not used in the game.
As for the second, dont really know what that is, because there are no info on which line the bug accurs.
Edit: fixed those bugs in 1.03, you should not be getting them now
As for the second, dont really know what that is, because there are no info on which line the bug accurs.
Edit: fixed those bugs in 1.03, you should not be getting them now
Re: [MOD] RandomMine
Yep. the last updates seemed to have improved the scripts quite a bit. No more strange errors in the logfile. That goes for all three of them (Trade, Supply, Mine). Great Job! Thanks mate. I'm even using Your's exclusively now. Basically does all i need.
(x|x) .oO[ Fenster fährt mich Nüsse !!! ]