Map Probleme mit den Früchten

taker9999
Posts: 90
Joined: Fri Aug 08, 2014 6:31 pm

Map Probleme mit den Früchten

Post by taker9999 »

Hallo ich Bau an meiner map schon ca 1 Monat nun möchte ich sie mal dem Team vorstellen es gibt da nur eine Problem meine fürchte werden nicht alle angezeigt. ich habe folgende fürchte drin : Sonnenblumen Hafer Roggen Kaffee Hopfen Baumwolle Karotten Zwiebeln Mohn Dinkel. Ich weiß nicht mehr was ich tun soll habe keine Ideen mehr.

Meine LOG :
GIANTS Engine Runtime 5.0.1 64bit (build date: Mar 28 2014)
Copyright (c) 2008-2012, GIANTS Software GmbH (www.giants-software.com), All Rights Reserved.
Copyright (c) 2003-2012, Christian Ammann and Stefan Geiger, All Rights Reserved.
Application: FarmingSimulator2013
Main System
Cpu Name: AMD Athlon(tm) II X4 640 Processor
Cpu Core(s): 4 @ 3.0 GHZ
OS: Windows NT 6.1 64-bit
Physics System
Driver: NVIDIA PhysX Runtime
Version: 2.8.4
Thread(s): 2
Input System
Keyboard enabled
Mouse enabled
Gamepad/Joystick enabled
Force Feedback disabled
Name: Logitech Extreme 3D
Sound System
Driver: OpenAL
Version: 1.1
Device: Generic Software
Max. sources: 256
Render System
Driver: OpenGL
Card Vendor: NVIDIA Corporation
Renderer: GeForce GTX 460/PCIe/SSE2
Version: 4.4.0
max_texture_layers: 8
OpenGL initialization successful
Hardware Profile
Level: Very High (auto)
View Distance Coeff: 1.300000
Shadow Quality: 2.000000
Skip Mipmaps: 0
LOD Distance Coeff: 1.300000
Terrain LOD Distance Coeff: 2.000000
Foliage View Distance Coeff: 1.600000
Farming Simulator 2013
Version: 2.1.0.2 RC3
Available Languages: de
Language: de
Game vehicle types loaded
Mod directory: C:/Users/Nicolai/Documents/My Games/FarmingSimulator2013/mods
Load dlc: pdlc_lindnerUnitracPack
Load dlc: pdlc_titaniumAddon
Load dlc: pdlc_ursusAddon
Load dlc: pdlc_vaderstadPack
Load mod: consoleExtension
Load mod: Hochblauen_v4
Register vehicle type: pdlc_lindnerUnitracPack.tractor_steerableExtension
Register vehicle type: pdlc_lindnerUnitracPack.manureSpreader_mousecontrolled
Register vehicle type: pdlc_lindnerUnitracPack.manureBarrel_extendedSprayer
Register vehicle type: pdlc_lindnerUnitracPack.extendedTipper
Register vehicle type: pdlc_lindnerUnitracPack.extendedForageWagon
Register vehicle type: pdlc_titaniumAddon.tractor_wheelExtension
Register vehicle type: pdlc_titaniumAddon.truck
Register vehicle type: pdlc_titaniumAddon.tractor_visualWheels
Register vehicle type: pdlc_titaniumAddon.augerWagon
Register vehicle type: pdlc_titaniumAddon.combine_extended_crawler
Register vehicle type: pdlc_titaniumAddon.combine_extended
Register vehicle type: pdlc_titaniumAddon.kroneEasyFlow
Register vehicle type: pdlc_titaniumAddon.cutter_mouseControlled
Register vehicle type: pdlc_titaniumAddon.cutter_builtInCutterTrailer
Register vehicle type: pdlc_titaniumAddon.swadro2000
Register vehicle type: pdlc_titaniumAddon.kotteSlurryTank
Register vehicle type: pdlc_titaniumAddon.sowingMachine_foldableRidgeMarker
Register vehicle type: pdlc_ursusAddon.oldtimer
Register vehicle type: pdlc_ursusAddon.baleWrapper
Register vehicle type: pdlc_ursusAddon.baleGrab
Register vehicle type: pdlc_ursusAddon.dlcBaleLoader
Register vehicle type: pdlc_vaderstadPack.cultivator_visualWheels
Register vehicle type: pdlc_vaderstadPack.sowingMachine_visualWheels
Register vehicle type: pdlc_vaderstadPack.sowingMachine_foldableRidgeMarker
register fruit type: Hafer
register fruit type: Haferstroh
register fruit type: Sonnenblume
register fruit type: Moehren
register fruit type: Zwiebeln
register fruit type: mohn
register fruit type: Roggen
register fruit type: Roggenstroh
D:/code/lsim2013_desktop/build/finalbin/dataS/scripts/FruitUtil.lua(61) : attempt to index local 'desc' (a nil value)
doorTrigger loaded
-> WeightStation and FruitWeight Fix Specialistaion Version 3.2.4 by Blacky_BPG
-> WeightStation Version 3.2.5 by Blacky_BPG Trigger and Events loaded
Load Script: HopsBand = OK
Load Script: Rolltore = OK
register fill type: Bier
register fill type: Wasser
register fill type: Hopfen
Load Script: Rolltore = OK
register fill type: Wasser
Loading shader WAD 'C:/Users/Nicolai/Documents/My Games/FarmingSimulator2013/shader_cache/shader_3_1_1024_512_OGL_NV_8.wad' ... 3483 hashes, 5859 shaders, 7968400 bytes compressed
data/sky/sky_day_night.i3d (0.00mb in 50.31 ms)
data/sky/rain.i3d (0.00mb in 3.22 ms)
data/sky/hail.i3d (0.00mb in 2.85 ms)
Hochblauen Map v4: Register Fill type: Rind, Schwein, Pommes, Zucker,
C:/Users/Nicolai/Documents/My Games/FarmingSimulator2013/mods/Hochblauen_v4/map/map.i3d (3.78mb in 45382.13 ms)
Warning: 3D stereo sound files are not supported. Convert 'C:/Users/Nicolai/Documents/My Games/FarmingSimulator2013/mods/Hochblauen_v4/map/Objekte/BMA/BMA.wav' to mono
FermentingSilo.onCreate 6872 - TriggerPommesfabrik
Error: Can't load resource: data/maps/sounds/windmill.wav
Error: Can't load sample data/maps/sounds/windmill.wav.
Error: Can't load resource: data/maps/sounds/windmill.wav
Error: Can't load sample data/maps/sounds/windmill.wav.
Error: Can't load resource: data/maps/sounds/windmill.wav
Error: Can't load sample data/maps/sounds/windmill.wav.
FermentingSilo.onCreate 10347 - TriggerZuckerfabrik
data/character/farmer/farmer_player.i3d (1.75mb in 93.73 ms)
Addet following Value of Money: 100000000000000
data/vehicles/steerable/deutz/deutzTTV7250.i3d (0.02mb in 398.51 ms)
data/vehicles/steerable/powerTakeoff.i3d (0.00mb in 67.79 ms)
data/vehicles/steerable/upperLinkMedium.i3d (0.04mb in 49.63 ms)
data/vehicles/tools/amazone/amazoneCondor15001.i3d (0.02mb in 205.62 ms)
data/vehicles/tools/barrelWeight.i3d (0.05mb in 26.69 ms)
Meine FruitRegister :
-- 1 Hafer
print("register fruit type: Hafer");
local oathudFile = Utils.getFilename("map/scripte/hud/oatHud.dds", g_currentModDirectory);
FruitUtil.registerFruitType("oat", g_i18n:getText("oat"), true, true, false, 0, 4, 6, 8, 0, 0.35, 1.2, 0.1, true, oathudFile, {1,0.6,0.6,1});

local origSowingMachineLoad = SowingMachine.load;
local orig TrailerLoad = Trailer.load;

SowingMachine.load = function (self, xmlFile)
if origSowingMachineLoad ~= nil then
origSowingMachineLoad(self, xmlFile);
end;

for k,v in pairs(self.seeds) do
fruitTypeDesc = FruitUtil.fruitTypes["wheat"];
if v == fruitTypeDesc.index then
table.insert(self.seeds, FruitUtil.fruitTypes["oat"].index);
end;
end
end;

print("register fruit type: Haferstroh");
local strawhudFile = Utils.getFilename("map/scripte/hud/strawHud.dds", g_currentModDirectory);
FruitUtil.registerFruitTypeWindrow(FruitUtil.FRUITTYPE_OAT,"oat_windrow", g_i18n:getText("oat_windrow"), 0.04, 4.3, false, strawhudFile);

-- 2 Sunflower
print("register fruit type: Sonnenblume");
local sunflowerhudFile = Utils.getFilename("map/scripte/hud/sunflowerHud.dds", g_currentModDirectory);
FruitUtil.registerFruitType("sunflower", sunflower, true, true, false, 0, 4, 6, 8, 0, 0.9, 1.2, 0.1, true, sunflowerhudFile, {0.8,0.4,0.4, 1});

local origSowingMachineLoad = SowingMachine.load;
local orig TrailerLoad = Trailer.load;

SowingMachine.load = function (self, xmlFile)
if origSowingMachineLoad ~= nil then
origSowingMachineLoad(self, xmlFile);
end;

for k,v in pairs(self.seeds) do
fruitTypeDesc = FruitUtil.fruitTypes["wheat"];
if v == fruitTypeDesc.index then
table.insert(self.seeds, FruitUtil.fruitTypes["sunflower"].index);
end;
end
end;

-- 3 Karotten
print("register fruit type: Moehren");
local carrothudFile = Utils.getFilename("map/scripte/hud/carrotHud.dds", g_currentModDirectory);
FruitUtil.registerFruitType("carrot", carrot, true, true, false, 0, 4, 6, 8, 0, 0.35, 2.5, 0.1, true, carrothudFile, {0.5,0.3,1, 1});

local origSowingMachineLoad = SowingMachine.load;
local orig TrailerLoad = Trailer.load;

SowingMachine.load = function (self, xmlFile)
if origSowingMachineLoad ~= nil then
origSowingMachineLoad(self, xmlFile);
end;

for k,v in pairs(self.seeds) do
fruitTypeDesc = FruitUtil.fruitTypes["wheat"];
if v == fruitTypeDesc.index then
table.insert(self.seeds, FruitUtil.fruitTypes["carrot"].index);
end;
end
end;

-- 4 Zwiebel
print("register fruit type: Zwiebeln");
local onionhudFile = Utils.getFilename("map/scripte/hud/onionHud.dds", g_currentModDirectory);
FruitUtil.registerFruitType("onion", onion, true, true, false, 0, 4, 6, 8, 0, 0.35, 2.5, 0.1, true, onionhudFile, {0.6,0.5,0.0, 1});


local origSowingMachineLoad = SowingMachine.load;
local orig TrailerLoad = Trailer.load;

SowingMachine.load = function (self, xmlFile)
if origSowingMachineLoad ~= nil then
origSowingMachineLoad(self, xmlFile);
end;

for k,v in pairs(self.seeds) do
fruitTypeDesc = FruitUtil.fruitTypes["wheat"];
if v == fruitTypeDesc.index then
table.insert(self.seeds, FruitUtil.fruitTypes["onion"].index);
end;
end
end;

-- 5 mohn
print("register fruit type: mohn");
local mohnhudFile = Utils.getFilename("map/scripte/hud/mohnHud.dds", g_currentModDirectory);
FruitUtil.registerFruitType("mohn", mohn, true, true, false, 0, 4, 6, 8, 0, 0.35, 2.5, 0.1, true, mohnhudFile, {0.7,0.6,0.3, 1});


local origSowingMachineLoad = SowingMachine.load;
local orig TrailerLoad = Trailer.load;

SowingMachine.load = function (self, xmlFile)
if origSowingMachineLoad ~= nil then
origSowingMachineLoad(self, xmlFile);
end;

for k,v in pairs(self.seeds) do
fruitTypeDesc = FruitUtil.fruitTypes["wheat"];
if v == fruitTypeDesc.index then
table.insert(self.seeds, FruitUtil.fruitTypes["mohn"].index);
end;
end
end;

-- 1 Roggen
print("register fruit type: Roggen");
local ryehudFile = Utils.getFilename("map/scripte/hud/ryeHud.dds", g_currentModDirectory);
FruitUtil.registerFruitType("rye", g_i18n:getText("rye"), true, true, false, 0, 4, 6, 8, 0, 0.35, 1.2, 0.1, true, ryehudFile, {1,0.6,0.6,1});

local origSowingMachineLoad = SowingMachine.load;
local orig TrailerLoad = Trailer.load;

SowingMachine.load = function (self, xmlFile)
if origSowingMachineLoad ~= nil then
origSowingMachineLoad(self, xmlFile);
end;

for k,v in pairs(self.seeds) do
fruitTypeDesc = FruitUtil.fruitTypes["wheat"];
if v == fruitTypeDesc.index then
table.insert(self.seeds, FruitUtil.fruitTypes["rye"].index);
end;
end
end;

print("register fruit type: Roggenstroh");
local strawhudFile = Utils.getFilename("map/scripte/hud/strawHud.dds", g_currentModDirectory);
FruitUtil.registerFruitTypeWindrow(FruitUtil.FRUITTYPE_rye,"rye_windrow", g_i18n:getText("rye_windrow"), 0.04, 4.3, false, strawhudFile);



-- 7 Dinkel
print("register fruit type: Dinkel");
local spelthudFile = Utils.getFilename("map/scripte/hud/speltHud.dds", g_currentModDirectory);
FruitUtil.registerFruitType("spelt", spelt, true, true, false, 0, 4, 6, 8, 0, 0.35, 2.5, 0.1, true, spelthudFile, {0.7,0.6,0.3, 1});

local origSowingMachineLoad = SowingMachine.load;
local orig TrailerLoad = Trailer.load;

SowingMachine.load = function (self, xmlFile)
if origSowingMachineLoad ~= nil then
origSowingMachineLoad(self, xmlFile);
end;

for k,v in pairs(self.seeds) do
fruitTypeDesc = FruitUtil.fruitTypes["wheat"];
if v == fruitTypeDesc.index then
table.insert(self.seeds, FruitUtil.fruitTypes["spelt"].index);
end;
end
end;

-- 8 Baumwolle
print("register fruit type: Baumwolle");
local cottonhudFile = Utils.getFilename("map/scripte/hud/cottonHud.dds", g_currentModDirectory);
FruitUtil.registerFruitType("cotton", cotton, true, true, false, 0, 4, 6, 8, 0, 0.35, 2.5, 0.1, true, cottonhudFile, {0.7,0.6,0.3, 1});

local origSowingMachineLoad = SowingMachine.load;
local orig TrailerLoad = Trailer.load;

SowingMachine.load = function (self, xmlFile)
if origSowingMachineLoad ~= nil then
origSowingMachineLoad(self, xmlFile);
end;

for k,v in pairs(self.seeds) do
fruitTypeDesc = FruitUtil.fruitTypes["wheat"];
if v == fruitTypeDesc.index then
table.insert(self.seeds, FruitUtil.fruitTypes["cotton"].index);
end;
end
end;

-- 9 Kaffee
print("register fruit type: Kaffee");
local kaffeehudFile = Utils.getFilename("map/scripte/hud/kaffeeHud.dds", g_currentModDirectory);
FruitUtil.registerFruitType("kaffee", kaffee, true, true, false, 0, 4, 6, 8, 0, 0.35, 2.5, 0.1, true, kaffeehudFile, {0.7,0.6,0.3, 1});


local origSowingMachineLoad = SowingMachine.load;
local orig TrailerLoad = Trailer.load;

SowingMachine.load = function (self, xmlFile)
if origSowingMachineLoad ~= nil then
origSowingMachineLoad(self, xmlFile);
end;

for k,v in pairs(self.seeds) do
fruitTypeDesc = FruitUtil.fruitTypes["wheat"];
if v == fruitTypeDesc.index then
table.insert(self.seeds, FruitUtil.fruitTypes["kaffee"].index);
end;
end
end;
-- 2 hops
print("register fruit type: Hopfen");
local hopshudFile = Utils.getFilename("map/scripte/hud/hopsHud.dds", g_currentModDirectory);
FruitUtil.registerFruitType("hops", g_i18n:getText("hops"), true, true, false, 0, 4, 6, 8, 0, 0.9, 1.2, 0.1, true, hopshudFile, {0.2,0.3,0.0, 1});

local origSowingMachineLoad = SowingMachine.load;
local orig TrailerLoad = Trailer.load;

SowingMachine.load = function (self, xmlFile)
if origSowingMachineLoad ~= nil then
origSowingMachineLoad(self, xmlFile);
end;

for k,v in pairs(self.seeds) do
fruitTypeDesc = FruitUtil.fruitTypes["wheat"];
if v == fruitTypeDesc.index then
table.insert(self.seeds, FruitUtil.fruitTypes["hops"].index);
end;
end
end;
-- 10 sugar
print("register fill type: sugar");
local sugarHudFile = g_currentModDirectory.."map/Scripte/hud/sugarHUD.dds";
Fillable.registerFillType("sugar", g_i18n:getText("sugar"), 0.025, true, sugarHudFile);

-- 11 fritten
print("register fill type: fritten");
local frittenHudFile = g_currentModDirectory.."map/Scripte/hud/frittenHUD.dds";
Fillable.registerFillType("fritten", g_i18n:getText("fritten"), 0.025, true, frittenHudFile);

-- 14 bread
print("register fill type: bread");
local breadHudFile = g_currentModDirectory.."map/Scripte/hud/breadHudHUD.dds";
Fillable.registerFillType("bread", g_i18n:getText("bread"), 0.025, true, breadHudFile);
für die die sich runterladen Möchten
http://www.mediafire.com/download/ixo7o ... gister.lua

das ist eine umgebaute map die gibs nirgents wo zum downloaden

Für weiter fragen mal in unseren ts schaun und dort taker anstupsen oder mir eine nachricht schreiben Danke shcon mal im voraus

eine fehler was ich aber nicht lösen konnte ist das nicht alles registrit wird wenn eine da eine idde hat evt ist es ja dass auch gewesen
User avatar
bassaddict
GIANTS Software | Web/Script Programmer
Posts: 11983
Joined: Tue Nov 29, 2011 2:44 pm
Location: ER, DE

Re: Map Probleme mit den Früchten

Post by bassaddict »

Schreibweise ist case-sensitive, heißt also, dass du auf Groß-/Kleinschreibung achten musst. Da hast du beim Roggenstroh was falsch gemacht.


Generell ist deine FruitRegister ziemlich Murks. Irgendwelche Funktionen zwischenspeichern oder überschreiben, ohne überhaupt irgendwas dadran zu verändern ist vollkommen sinnfrei. Ebenso führt man Schleifen möglichst wenig aus, weil die Rechenzeit kosten. Entsprechend sollten die Früchte alle in einem Rutsch in die Sämaschinen eingetragen werden, nicht jede einzeln.
taker9999
Posts: 90
Joined: Fri Aug 08, 2014 6:31 pm

Re: Map Probleme mit den Früchten

Post by taker9999 »

oke kannst du mir das machen ich habe das von ein paar Leuten so gezeigt bekommen währst du so freundlich ??
User avatar
HeinzS
Posts: 11728
Joined: Mon May 16, 2011 5:19 pm

Re: Map Probleme mit den Früchten

Post by HeinzS »

taker9999 wrote:oke kannst du mir das machen ich habe das von ein paar Leuten so gezeigt bekommen währst du so freundlich ??
da du ja schon an anderer Stelle Hilfe bekommen hast solltest du mit deinem neuen Problem auch dorthin gehen wo man schon im Thema ist. Man könnte sich auch mal den Aufbau in anderen Mps anschauen wo es funktioniert.
taker9999
Posts: 90
Joined: Fri Aug 08, 2014 6:31 pm

Re: Map Probleme mit den Früchten

Post by taker9999 »

diese machen momentan nicht mehr was oder die schiken mich woanderster hin
Post Reply