Spring naar inhoud
NLD Community

Join the NLD Discord channel! discord.png https://discord.gg/0WsKGiYeGHJEAI5q
Breaking News: NLD Community maakt een doorstart!

Need help on some errors (fs17)


Aanbevolen Bericht

Hi

 

I am converting the the "Ropa Big Bear" from fs15 to fs17, when i launch the game it just keeps on loading the map and i get something up in my log file.

 

Error: Running LUA method 'update'.
stack overflow

 

If u need more of the log, tell me

It was converted with the "add mod" converting thing in giants editor

Link naar opmerking
Deel via andere websites

  • Master Moderator

Basicly any script that is in needs to be updated by a correct fs17 version. 

 

So the first step would be to disable them in the moddesc  so that the game reads past them into its acutal vehicle.xml, else it will just load the scripts and fatal out

 

example =

 

<specializations>
 	<specialization name="beleuchtung31" className="BEL3" filename="script/beleuchtungV31.lua"/>
	<specialization name="universalToggleParts" className="universalToggleParts" filename="script/universalToggleParts.lua"/>
	<specialization name="interactiveControl" className="InteractiveControl" filename="script/InteractiveControl.lua" />
	<specialization name="interactiveWindows" className="InteractiveWindows" filename="script/InteractiveWindows.lua" />
 </specializations>

<type name="claas1" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua">
<specialization name="beleuchtung31" />
<specialization name="universalToggleParts"/>
<specialization name="interactiveControl" />			
<specialization name="interactiveWindows" />
<specialization name="animatedVehicle" />
        <specialization name="motorized" />
        <specialization name="steerable" />
        <specialization name="drivable" />
        <specialization name="cylindered" />
        <specialization name="hirable" />
        <specialization name="aiTractor" />
        <specialization name="bunkerSiloCompacter" />
        <specialization name="honk" />
        <specialization name="indoorHud" />
        <specialization name="washable" />
        <specialization name="mountable" />
</type>

like u can see in this example theres 4 extra LUA files loaded on top of the standard lua from the game.

 

Now if u got the correct fs17 version of those scripts, u can just replace the original source files and dont change the code, if not, u need to comment out the ones u dont have

so u can add them in at a later date/time

 

a comment  in xml is written in this format              <!--        text      -->

 

so it should become like this =

 

<!--
<specializations>
 	<specialization name="beleuchtung31" className="BEL3" filename="script/beleuchtungV31.lua"/>
	<specialization name="universalToggleParts" className="universalToggleParts" filename="script/universalToggleParts.lua"/>
	<specialization name="interactiveControl" className="InteractiveControl" filename="script/InteractiveControl.lua" />
	<specialization name="interactiveWindows" className="InteractiveWindows" filename="script/InteractiveWindows.lua" />
 </specializations>
-->

<type name="claas1" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua">
<!--
  <specialization name="beleuchtung31" />
<specialization name="universalToggleParts"/>
<specialization name="interactiveControl" />			
<specialization name="interactiveWindows" />
<specialization name="animatedVehicle" />
-->
        <specialization name="motorized" />
        <specialization name="steerable" />
        <specialization name="drivable" />
        <specialization name="cylindered" />
        <specialization name="hirable" />
        <specialization name="aiTractor" />
        <specialization name="bunkerSiloCompacter" />
        <specialization name="honk" />
        <specialization name="indoorHud" />
        <specialization name="washable" />
        <specialization name="mountable" />
</type>

 

Link naar opmerking
Deel via andere websites

Gearchiveerd

Dit topic is nu gearchiveerd en gesloten voor verdere reacties.

×
×
  • Maak Nieuw...

Belangrijke Informatie

By using this site, you agree to our Gebruiksvoorwaarden.