|Category||Farming Simulator 2009|
|Heady Planet-ls (Headshot XXL)||14.02.2010 22:01|
i have found a bug: http://ls-mods.de/scriptDocumentation.php?class=utils#getFilename
the variable "g_currentModDirectory" does not work in LS09, but in LS09 gold edition.
but the content was created months before the LS09 gold edition released.
|Christian Ammann - GIANTS Software||15.02.2010 11:16|
What do you mean g_currentModDirectory doesn't work?
|Heady Planet-ls (Headshot XXL)||15.02.2010 21:43|
|with the function "Utils.getFilename("fruitTypesilage.png", g_currentModDirectory)"
i get a error in log: "Error: Can't load resource: fruitTypesilage.png".
the png file is in the zip.
in ls09 the file was not found, but in ls09 gold edition the file was found.
|Christian Ammann - GIANTS Software||16.02.2010 10:17|
What does print(g_currentModDirectory); say?
|Heady Planet-ls (Headshot XXL)||16.02.2010 11:33|
|LS09 Gold Edition: "...Eigene Dateien/My Games/FarmingSimulator2009/mods/aFilltypSilage/"
LS09: "" <-- nothing
|Stefan Geiger - GIANTS Software||22.02.2010 10:24|
|This is right, the variable g_currentModDirectory was only introduced in the Gold Edition.
Note: Log in to post. Create a new account here.