Forum Overview >>
Farming Simulator 19
Category | Farming Simulator 19 |
Created | 15.04.2019 20:03 |
Zachary Benson (DS_Gaming) |
15.04.2019 20:03 |
getting error 183 attemot to index local farmland ( a nil value) what could cause this error. new to modding/coding as far as I know haven't changed anything in regards to farmland only changed waterplane for better performance and added non script prefabs.
|
Bilbo Beutlin (BBeutlin) |
16.04.2019 17:24 |
My 1st guess: with your edits you have shifted the order of indices/nodes so assigments in xml's aren't valid anymore.
|
Zachary Benson (DS_Gaming) |
16.04.2019 17:55 |
is there a way to update the assignment order?
|
Bilbo Beutlin (BBeutlin) |
16.04.2019 18:55 |
Quite impossible to say because nobody (except yourself) knows which edits you have done in fact.
For test start a new game/career and see whether this error/s occurs also. If the errors occur on savegames only, you might be lucky and with new game the errors don't appear.
The wisest and easiest way was to restore a backup before your changes. Then edit in the way that no indices become shifted. Insert new objects at end of subtransforms or at end of TG tree.
|
Zachary Benson (DS_Gaming) |
18.04.2019 18:23 |
figured out the issue I removed a "farmland" value from the farmlands.xml because it was allowing the purchase of map areas such as the store and mission sell points is there a better way of making a farmland not available for purchase?
|
Bilbo Beutlin (BBeutlin) |
19.04.2019 06:18 |
In the default maps the not buyable land is masked with all bits 1, equal 2 ^ numChannels - 1. Should work with all bits 0 also.
|
Note: Log in to post. Create a new account
here.