Farming Simulator 19

FS19 mod: Real Dirt Color log error help

Content of the article: "FS19 mod: Real Dirt Color log error help"

started a new map and am doing my best to clear the errors from the log. Real Dirt Color is throwing these errors: (relevant lines from the .lua below the log errors) I don't know lua so this is beyond me.

————————-

LOG.TXT ERRORS

————————-

2020-08-30 15:43 Warning (script): Entity 'transform' has invalid type in method 'getHasShaderParameter'.

2020-08-30 15:43 LUA call stack:

2020-08-30 15:43 =C:/Users/Luke/Documents/My Games/FarmingSimulator2019/mods/PV County/FS19_realDirtColor/realDirtColor.lua (582) : getHasShaderParameter

2020-08-30 15:43 dataS/scripts/vehicles/SpecializationUtil.lua (30)

2020-08-30 15:43 dataS/scripts/vehicles/Vehicle.lua (659) : raiseEvent

2020-08-30 15:43 =C:/Users/Luke/Documents/My Games/FarmingSimulator2019/mods/PV County/FS19_Courseplay/register.lua (129) : superFunc

2020-08-30 15:43 dataS/scripts/i3d/I3DManager.lua (118) : asyncCallbackFunction

2020-08-30 15:43 Warning (script): Entity 'transform' has invalid type in method 'getHasShaderParameter'.

2020-08-30 15:43 LUA call stack:

2020-08-30 15:43 =C:/Users/Luke/Documents/My Games/FarmingSimulator2019/mods/PV County/FS19_realDirtColor/realDirtColor.lua (582) : getHasShaderParameter

2020-08-30 15:43 dataS/scripts/vehicles/SpecializationUtil.lua (30)

2020-08-30 15:43 dataS/scripts/vehicles/Vehicle.lua (659) : raiseEvent

2020-08-30 15:43 =C:/Users/Luke/Documents/My Games/FarmingSimulator2019/mods/PV County/FS19_Courseplay/register.lua (129) : superFunc

2020-08-30 15:43 dataS/scripts/i3d/I3DManager.lua (118) : asyncCallbackFunction

2020-08-30 15:43 Warning (script): Entity 'transform' has invalid type in method 'getHasShaderParameter'.

2020-08-30 15:43 LUA call stack:

2020-08-30 15:43 =C:/Users/Luke/Documents/My Games/FarmingSimulator2019/mods/PV County/FS19_realDirtColor/realDirtColor.lua (582) : getHasShaderParameter

2020-08-30 15:43 dataS/scripts/vehicles/SpecializationUtil.lua (30)

2020-08-30 15:43 dataS/scripts/vehicles/Vehicle.lua (659) : raiseEvent

2020-08-30 15:43 =C:/Users/Luke/Documents/My Games/FarmingSimulator2019/mods/PV County/FS19_Courseplay/register.lua (129) : superFunc

2020-08-30 15:43 dataS/scripts/i3d/I3DManager.lua (118) : asyncCallbackFunction

2020-08-30 15:43 Warning (script): Entity 'transform' has invalid type in method 'getHasShaderParameter'.

2020-08-30 15:43 LUA call stack:

2020-08-30 15:43 =C:/Users/Luke/Documents/My Games/FarmingSimulator2019/mods/PV County/FS19_realDirtColor/realDirtColor.lua (582) : getHasShaderParameter

—–

a bit later in the log I've got what is clearly my "death" log, literally hundreds of pages of this error repeated:

—–

2020-08-30 16:56 Warning (script): Entity 'transform' has invalid type in method 'getHasShaderParameter'.

2020-08-30 16:56 LUA call stack:

2020-08-30 16:56 =C:/Users/Luke/Documents/My Games/FarmingSimulator2019/mods/PV County/FS19_realDirtColor/realDirtColor.lua (845) : getHasShaderParameter

Read:  COMMUNITY POLL - Results RL farming and Meme posts

2020-08-30 16:56 dataS/scripts/vehicles/SpecializationUtil.lua (30)

2020-08-30 16:56 dataS/scripts/vehicles/Vehicle.lua (1306) : raiseEvent

2020-08-30 16:56 dataS/scripts/network/NetworkNode.lua (98) : update

2020-08-30 16:56 dataS/scripts/network/Server.lua (58) : updateActiveObjects

2020-08-30 16:56 dataS/scripts/BaseMission.lua (1500) : update

2020-08-30 16:56 dataS/scripts/FSBaseMission.lua (1979) : update

2020-08-30 16:56 dataS/scripts/missions/mission00.lua (469) : update

2020-08-30 16:56 dataS/scripts/main.lua (1930) : update

———————————-

REALDIRTCOLOR.LUA

———————————-

127: if self.spec_washable ~= nil then

128: for _, washableNodes in pairs(self.spec_washable.washableNodes) do

129: for _, node in pairs(washableNodes.nodes) do

130: –local nameCount = 0;

131: –for _, name in pairs(realDirtColor.excludedNames) do

132: — if not string.find(getName(node), name) then

133: — nameCount = nameCount + 1;

134: — if nameCount == #realDirtColor.excludedNames then

135: self.bodypart<#self.bodypart+1> = node;

— if realDirtColor.debugging then

— print("realDirtColor part loaded : "..getName(node));

— end;

— else

— if realDirtColor.debugging then

— print("realDirtColor part excluded : "..getName(node));

— end;

— end;

— end;

–end;

146: end;

147: end;

148: else

149: if self.bodypart ~= nil then

150: self.bodypart = nil;

151: end;

152: end;

582: if crawler.crawlerBase ~= nil and getHasShaderParameter(crawler.crawlerBase, "dirtColor")

then

583: setShaderParameter(crawler.crawlerBase, "dirtColor", colorR, colorG, colorB, 0, false);

end;

838:

—————————————————————-CRAWLERS————————————————————————

 ------------------------------------------------------------------------------------------------------------------------------------------------ 

840: if self.spec_crawlers ~= nil and self.spec_crawlers.crawlers ~= nil and #self.spec_crawlers.crawlers ~= 0 then

841: for i, crawler in pairs(self.spec_crawlers.crawlers) do

842: crawler = self.spec_crawlers.crawlers;

843: if crawler.rDC ~= nil and crawler.rDC then

844: local crawlerCurDirtCol = {};

845: if (crawler.crawlerBase ~= nil and crawlerCurDirtCol.r == nil) and getHasShaderParameter(crawler.crawlerBase, "dirtColor") then

846: crawlerCurDirtCol.r, crawlerCurDirtCol.g, crawlerCurDirtCol.b, _ = getShaderParameter(crawler.crawlerBase, "dirtColor");

local crawlerColorSpeed = realDirtColor.speeds.wheels;

if (wetGround or rainWeather) and (crawler.newDirtColor == 0.1 or crawler.currentDirtColor == 0.1) then — Change Dirt color to "Mud color" depending on ground moisture level.

Read:  Little details, compiled (to become a thread...?)

crawler.newDirtColor = 0.5;

crawlerColorSpeed = crawlerColorSpeed * realDirtColor.speeds.boost; –Dirt to Mud Speed Boost.

elseif (not wetGround and not rainWeather) and (crawler.newDirtColor == 0.5 or crawler.currentDirtColor == 0.5) then — Change Dirt color back to "Dry Dirt" color.

crawler.newDirtColor = 0.1;

end;

crawler.previousDirtColor, crawler.currentDirtColor, crawler.targetRDColor = realDirtColor:getNewColor(crawler.previousDirtColor, crawler.currentDirtColor, crawler.newDirtColor, crawler.targetRDColor);

crawlerColorSpeed = realDirtColor:adjustColorSpeed(crawler.currentDirtColor, crawler.previousDirtColor, crawlerColorSpeed);

if (crawlerCurDirtCol.r ~= crawler.targetRDColor.r) and (crawlerCurDirtCol.g ~= crawler.targetRDColor.g) and (crawlerCurDirtCol.b ~= crawler.targetRDColor.b) then

if crawler.newDirtColor > 0.0 then

crawlerCurDirtCol.r, crawlerCurDirtCol.g, crawlerCurDirtCol.b = realDirtColor:colorChangeFormula(crawlerCurDirtCol, crawler.targetRDColor, dt, crawlerColorSpeed);

end;

if crawler.lastColor ~= nil and crawler.onRoadSurface == nil then — Update old Color information and (Bonus) Sets Driving PS Color

crawler.lastColor = {crawlerCurDirtCol.r, crawlerCurDirtCol.g, crawlerCurDirtCol.b, 0};

end;

if crawler.node ~= nil and getHasShaderParameter(crawler.node, "dirtColor") then

setShaderParameter(crawler.node, "dirtColor", crawlerCurDirtCol.r, crawlerCurDirtCol.g, crawlerCurDirtCol.b, 0, false);

end;

if crawler.crawlerBase ~= nil and getHasShaderParameter(crawler.crawlerBase, "dirtColor") then

setShaderParameter(crawler.crawlerBase, "dirtColor", crawlerCurDirtCol.r, crawlerCurDirtCol.g, crawlerCurDirtCol.b, 0, false);

end;

if crawler.shaderParameterComponent ~= nil and getHasShaderParameter(crawler.shaderParameterComponent, "dirtColor") then

setShaderParameter(crawler.shaderParameterComponent, "dirtColor", crawlerCurDirtCol.r, crawlerCurDirtCol.g, crawlerCurDirtCol.b, 0, false);

end;

if crawler.scrollerNodes ~= nil then

for _, scrollerNode in pairs(crawler.scrollerNodes) do

if scrollerNode.node ~= nil and getHasShaderParameter(scrollerNode.node, "dirtColor") then

setShaderParameter(scrollerNode.node, "dirtColor", crawlerCurDirtCol.r, crawlerCurDirtCol.g, crawlerCurDirtCol.b, 0, false);

end;

end;

end;

if crawler.additionalCrawlers ~= nil and #wheel.additionalCrawlers > 0 then

for _, additionalWheel in pairs(wheel.additionalCrawlers) do

if additionalCrawler.node ~= nil and getHasShaderParameter(additionalCrawler.node, "dirtColor") then

setShaderParameter(additionalCrawler.node, "dirtColor", crawlerCurDirtCol.r, crawlerCurDirtCol.g, crawlerCurDirtCol.b, 0, false);

end;

if additionalCrawler.crawlerBase ~= nil and getHasShaderParameter(additionalCrawler.crawlerBase, "dirtColor") then

setShaderParameter(additionalCrawler.crawlerBase, "dirtColor", crawlerCurDirtCol.r, crawlerCurDirtCol.g, crawlerCurDirtCol.b, 0, false);

end;

if additionalCrawler.shaderParameterComponent ~= nil and getHasShaderParameter(additionalCrawler.shaderParameterComponent, "dirtColor") then

setShaderParameter(additionalCrawler.shaderParameterComponent, "dirtColor", crawlerCurDirtCol.r, crawlerCurDirtCol.g, crawlerCurDirtCol.b, 0, false);

end;

if additionalCrawler.scrollerNodes ~= nil then

for _, scrollerNode in pairs(additionalCrawler.scrollerNodes) do

Read:  What am I doing wrong with the Lizard Rumbler service van mod? PC

if scrollerNode.node ~= nil and getHasShaderParameter(scrollerNode.node, "dirtColor") then

setShaderParameter(scrollerNode.node, "dirtColor", crawlerCurDirtCol.r, crawlerCurDirtCol.g, crawlerCurDirtCol.b, 0, false);

end;

end;

end;

end;

end;

end;

end;

end;

end;

end;

 end; 

Source: reddit.com

Similar Guides

© Post "FS19 mod: Real Dirt Color log error help" for game Farming Simulator 19.




Top 7 NEW Games of June 2020

Quite a few exciting games are releasing for PC, PS4, Xbox One, and Nintendo in June. Here's what to keep an eye on.


Top 10 NEW Open World Games of 2020

Video games with open worlds continue to roll out in 2020 on PC, PS4, Xbox One, Nintendo Switch, and beyond. Here are some to look forward to!


Top 10 Best New Upcoming Games 2020-2021

The best selection of games which will be released in 2020 and 2021 for PS4, PS5, Xbox One, Xbox Series X, Google Stadia and PC - and you can watch in amazing UHD 4K and 60FPS with latest updates about all of the games in this list!


You Might Also Like

Leave a Reply

Your email address will not be published. Required fields are marked *