was sagen die Logs
Beiträge von MasterChief
-
-
Und zwar habe ich ein markt system eigebaut und die Logs schmeisen mir folgenden Fehler:
Code
Alles anzeigen18:08:07 Error in expression <KET_UseExternalDatabase) then {[1] call TON_fnc_HandleDB;}; DYNMARKET_UpdateCoun> 18:08:07 Error position: <TON_fnc_HandleDB;}; DYNMARKET_UpdateCoun> 18:08:07 Error Undefined variable in expression: ton_fnc_handledb 18:08:07 File life_server\Functions\DynMarket\fn_config.sqf, line 120 18:08:12 Error in expression <ON_fnc_HandleDB; }; }; sleep 5; [] call TON_fnc_sleeper; > 18:08:12 Error position: <TON_fnc_sleeper; > 18:08:12 Error Undefined variable in expression: ton_fnc_sleeper 18:08:12 File life_server\Functions\DynMarket\fn_config.sqf, line 131 18:09:41 "Person not wanted, no update" Die Config sieht so aus: /* ##################### DYNAMIC MARKET SCRIPT ##################### ### AUTHOR: RYAN TT. ### ### STEAM: www.steamcommunity.com/id/ryanthett ### ### ### ### DISCLAIMER: SCRIPT CAN BE USED ON EVERY SERVER ONLY ### ### WITH HEADER / NOTIFICATION ### ################################################################# */ // ███████████████████████████████████████████████████████████████████████ // █████████████████ DYNAMIC MARKET BASIC CONFIGURATION ██████████████████ // ███████████████████████████████████████████████████████████████████████ DYNMARKET_Serveruptime = 05; // Serveruptime after restart in hours DYNMARKET_UseExternalDatabase = true; // Should the script use the External Database? DYNMARKET_PriceUpdateInterval = 01; // After how many minutes should the price be updated? DYNMARKET_CreateBackups = true; // Should the server save write the prices regulary into the Database? If false, it will save the prices before Server-restart? DYNMARKET_CreateBackupInterval = 03; // After how many updates (PriceUpdateIntervals) should the prices be saved into the Database? DYNMARKET_UserNotification = true; // Should the user be informed with a hint whenever the prices got updated? // █████████████████ USER NOTIFICATION TEXTS █████████████████ DYNMARKET_UserNotification_Text = [ "Your prices have been updated!", "The new prices are being calculated by the server..." ]; // █████████████████ ITEM GROUP CONFIGURATION █████████████████ DYNMARKET_Items_Groups = [ ["Legal", [ ["apple",-1,10,50], ["peach",-1,30,100] ], 0.5 ], ["Illegal", [ /*["peach",1,30,100]*/ ], 0.5 ] ]; // █████████████████ ALL SELLABLE ITEMS █████████████████ DYNMARKET_Items_ToTrack = [ ["apple",25], ["peach",50], ["tbacon",125], ["donut",130], ["rabbit_raw",150], ["rabbit_grilled",170], ["ornate_raw",190], ["ornate_grilled",190], ["mackerel_raw",190], ["mackerel_grilled",190], ["tuna_raw",190], ["tuna_grilled",190], ["mullet_raw",190], ["mullet_fried",200], ["catshark_raw",200], ["catshark_Fried",200], ["turtle_soup",200], ["hen_raw",200], ["hen_fried",200], ["rooster_raw",210], ["sheep_raw",210], ["sheep_grilled",155], ["goat_raw",155], ["goat_grilled",300], ["redgull",1500], ["coffee",10], ["waterBottle",10], ["pickaxe",350], ["fuelFull",500], ["spikeStrip",1200], ["lockpick",75], ["goldbar",95000], ["blastingcharge",35000], ["boltcutter",7500], ["defusekit",2500], ["storagesmall",75000], ["storagebig",15000], ["oil_processed",1200], ["copper_refined",1700], ["iron_refined",1650], ["salt_refined",1850], ["glass",1450], ["diamond_cut",2530], ["cement",2350], ["heroin_processed",5000], ["marijuana",5250], ["cocaine_processed",5300] ]; //███████████████████████████████████████████████████████████████████████ //██████████████████ DO NOT MODIFY THE FOLLOWING CODE! ██████████████████ //███████████████████████████████████████████████████████████████████████ DYNMARKET_Items_CurrentPriceArr = []; DYNMARKET_sellarraycopy = DYNMARKET_Items_ToTrack; DYNMARKET_Serveruptime = (DYNMARKET_Serveruptime * 3600) - 300; { _currentArray = _x; DYNMARKET_Items_CurrentPriceArr pushBack [_currentArray select 0,_currentArray select 1,0]; } forEach DYNMARKET_Items_ToTrack; publicVariable "DYNMARKET_UserNotification"; publicVariable "DYNMARKET_UserNotification_Text"; if (DYNMARKET_UseExternalDatabase) then {[1] call TON_fnc_HandleDB;}; DYNMARKET_UpdateCount = 0; if (DYNMARKET_UseExternalDatabase) then { [] spawn { sleep DYNMARKET_Serveruptime; diag_log "### DYNMARKET >> CURRENT PRICES ARE BEING WRITTEN TO THE DATABASE ###"; diag_log "### DYNMARKET >> AS PLANNED, AWAITING RESULT... ###"; [0] call TON_fnc_HandleDB; }; }; sleep 5; [] call TON_fnc_sleeper;
Was ist der fehler?
-
Kurze frage wir Bauen grade neues Z Inventar also mit neuem Hintergrund welche daten brauchen wir für denn GUI EDITOR also welche HPP oder SQL Files
Danke schonmal für eure Hilfe -
Hey Leute
Ich habe einen Mod Server. Mich regt es auf das die Leute immer über Arma3sync laden müssen und ich würde das gerne Ändern.
Natürlich habe ich mein Glück schon selbst mit VB versucht aber ich glaube ihr wollt nicht sehen was da rausgekommen ist
Ich bekomme das einfach nicht Gesch... aber Egal:)Natürlich macht ihr das ganze nicht umsonnst und sollt daran natürlich etwas verdienen
Also sagt mir was ihr braucht und was ihr dafür haben wollt und ich sende es euch zu.
Also wenn jemand Helfen kann währe ich euch Mega Dankbar
MFG MasterChief