Beiträge von Dexterin0
-
-
Hallo liebes Forum,
ich versuche grade die Kuppel mit dem Modgebäude Land_CommonwealthBank zu ersetzen, jedoch werden bisher die Türen bei dem Gebäude nicht verschlossen,
hier der Teil aus der Life_server\init.sqf:Code/* Setup the federal reserve building(s) */ _rsb = nearestObject [[7420.691,6500.727,0],"Land_Commonwealthbank"]; _rsb setVariable ["locked",true,true]; _rsb setVariable ["bis_disabled_Door_1",1,true]; _rsb allowDamage false;
Im Grunde vom üblichen Code abgeleitet, funktioniert jedoch nicht.
Kann da jemand weiterhelfen?
Vielen Dank im Voraus!
-
Das selbe Problem besteht bei mir immernoch. xD
Ich vermute fast, es liegt daran das wir nicht direkt ne 4.4R3 haben sondern schon weitere Änderungen bei uns drin sind, wenn die Version sonst bei allen läuft. -
Such mal bei dir in %userprofile%\AppData\Local\Arma 3, also auf deinem PC, vielleicht finden wir im Client-Log einen Fehler.
Um schnell zu dem Ordner zu kommen bei Windoof 10 einfach unten in der Suchleiste %appdata% eingeben, einen Ordner zurück, dann in den Local Ordner und dort im Arma 3 Ordner nach den .rpts schauen.
Ansonsten müsstest du in den Ordner- und Dateioptionen einstellen das unsichtbare Ordner sichtbar sein sollen dann kommst du auch so hin.Ansonsten halt mal den Paycheck-Part reinstellen dann schau ich gerne drüber.
-
Rechtsklick auf die Datenbank, SQL ausführen, die SQL Abfrage aus dem TuT in ein neues Textdokument packen, als whatever.sql und unten alle Dateien wählen speichern und dann im Navicat auswählen und ausführen.
Hab dir die Datei mal angehangen, kannst also direkt laden und ausführen.
-
Kann ich mich nur anschliessen.
Bin sehr nah dran, ich weiß es, finde aber den Knoten nicht. -
xD Habe mal mit BeyondCompare mit meinem Entwurf abgeglichen, alles ist exakt gleich bis auf das ich überall RemoteExec eingebaut habe und 4 Funktionen über die CfgRemoteExec laufen lasse, aber mit remoteexec klappt es nicht bisher.
Hat das hier schon jemand mit 4.4R3 getestet? Wenn das da funktioniert obwohl die fnc_mp nicht vorhanden ist und mit meinen RemoteExec nicht klappt dennoch bin ich ratlos. xD
-
-
Jap, fnc_mp existiert in 4.4R3 auch nicht mehr.
Allerdings bekomme ich es mit remoteexec auch nicht zum Laufen, hier der neue Error:Code
Alles anzeigen20:39:59 Error in expression <ON_fnc_playerLogged",false,false] spawn life_fnc_MP;hint "Rufe Preise ab..";slee> 20:39:59 Error position: <life_fnc_MP;hint "Rufe Preise ab..";slee> 20:39:59 Error Undefined variable in expression: life_fnc_mp 20:39:59 File mpmissions\__CUR_MP.Tanoa\core\dynmarket\fn_LoadIntoListbox.sqf, line 11 20:40:00 Error in expression <box )-1,_itemDisplayIcon]; }; } forEach DYNMARKET_prices; > 20:40:00 Error position: <DYNMARKET_prices; > 20:40:00 Error Undefined variable in expression: dynmarket_prices 20:40:00 File mpmissions\__CUR_MP.Tanoa\core\dynmarket\fn_LoadIntoListbox.sqf, line 27
-
Hier die Client .RPT, ich glaube da haben wir auch schon einen Übeltäter. (ganz am Ende)
Code
Alles anzeigen============================================================================================= List of mods =============================================================================================== 21:21:36 modsReadOnly = true 21:21:36 safeModsActivated = false 21:21:36 customMods = false 21:21:36 hash = 'FBB8DCF3796B7173D4CAAD30C47EF3FD59EC44BE' 21:21:36 hashShort = 'a298e057' 21:21:36 name | modDir | default | origin | hash | hashShort | fullPath 21:21:36 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 21:21:36 Arma 3 DLC Bundle | dlcbundle | true | NOT FOUND | | | 21:21:36 Arma 3 Apex | expansion | true | GAME DIR | 2ead696776889f83ff6858012f8797677f96d340 | d6f6ece8 | C:\Program Files (x86)\Steam\steamapps\common\Arma 3\expansion 21:21:36 Arma 3 Marksmen | mark | true | GAME DIR | abcdc24602067e2806db3e05b5193970eafbf111 | a5cfe5cf | C:\Program Files (x86)\Steam\steamapps\common\Arma 3\mark 21:21:36 Arma 3 Helicopters | heli | true | GAME DIR | 5bec42e59bcde9eef913b54f6ef95de6a6a99e01 | 96c411d5 | C:\Program Files (x86)\Steam\steamapps\common\Arma 3\heli 21:21:36 Arma 3 Karts | kart | true | GAME DIR | 44cc1655a67b9002577562645da2eeb67d1be2b0 | cf40abd | C:\Program Files (x86)\Steam\steamapps\common\Arma 3\kart 21:21:36 Arma 3 Zeus | curator | true | GAME DIR | 15dc9c98b66c6c932d8c8a83ad5c4b9360cee492 | 5056afaa | C:\Program Files (x86)\Steam\steamapps\common\Arma 3\curator 21:21:36 Arma 3 | A3 | true | NOT FOUND | | | 21:21:36 ========================================================================================================================================================================================================== 21:21:36 DX11 - Initializing DX11 engine. 21:21:36 DX11 - Detecting best GPU adapter. 21:21:38 DX11 - Detected best GPU adapter 0 : "AMD Radeon R9 200 Series", benchmark result = 43.9648, level coef = 1, total result = 43.9648 21:21:38 DX11 - Using DXGI adapter 0. 21:21:38 - adapter description : AMD Radeon R9 200 Series 21:21:38 - adapter vendor ID : 4098 21:21:38 - adapter device ID : 26520 21:21:38 - adapter subsys ID : 805377867 21:21:38 - adapter revision : 0 21:21:38 - dedicated video memory : 3202531328 21:21:38 - dedicated system memory : 0 21:21:38 - shared system memory : 1092370432 21:21:38 InitSound ... 21:21:38 InitSound - complete 21:21:41 PhysX3 SDK Init started ... 21:21:41 PhysX3 SDK Init ended. 21:21:44 Attempt to override final function - rscminimap_script 21:21:44 Attempt to override final function - rscdisplayloading_script 21:21:44 Attempt to override final function - rscdisplayloading_script 21:21:44 Attempt to override final function - rscdisplayloading_script 21:21:44 Attempt to override final function - rscdiary_script 21:21:44 Attempt to override final function - rscdisplaysinglemission_script 21:21:44 Attempt to override final function - rscdiary_script 21:21:44 Attempt to override final function - rscdisplayremotemissions_script 21:21:44 Attempt to override final function - rscdisplayloading_script 21:21:44 Attempt to override final function - rscdiary_script 21:21:44 Attempt to override final function - rscdiary_script 21:21:44 Attempt to override final function - rscdisplaystrategicmap_script 21:21:44 Attempt to override final function - rscdisplaycommon_script 21:21:44 Attempt to override final function - rscdisplaygarage_script 21:21:44 Attempt to override final function - rscdisplayhostsettings_script 21:21:45 Attempt to override final function - rscdisplayloading_script 21:21:45 Attempt to override final function - rscdisplaycurator_script 21:21:45 Attempt to override final function - display3deneditcomposition_script 21:21:45 Attempt to override final function - display3deneditattributes_script 21:21:45 Attempt to override final function - display3deneditattributes_script 21:21:45 Attempt to override final function - rscdisplayhostsettings_script 21:21:45 Attempt to override final function - rscdisplaycommon_script 21:21:45 Attempt to override final function - rscdisplaydebriefing_script 21:21:45 Attempt to override final function - rscunitinfo_script 21:21:47 SimulWeather - Cloud Renderer - noise texture file is not specified! 21:21:53 Wrong color format %1 21:22:59 Malformed data received. Setting default server data. 21:23:00 Malformed data received. Setting default server data. 21:23:01 Malformed data received. Setting default server data. 21:23:04 Malformed data received. Setting default server data. 21:23:04 Malformed data received. Setting default server data. 21:23:05 Malformed data received. Setting default server data. 21:23:10 BattlEye client updated to version: 239 21:24:18 Unsupported language English in stringtable 21:24:18 Starting mission: 21:24:18 Mission file: IkarusGamesLife (__CUR_MP) 21:24:18 Mission world: Tanoa 21:24:18 Mission directory: mpmissions\__CUR_MP.Tanoa\ 21:24:22 No more slot to add connection at 015030 (1523.6,3012.8) 21:24:29 Warning: Unaccessible ladder point for AI (already used for actionbegin2) in a3\structures_f_exp\commercial\shop_city_01\shop_city_01_f.p3d 21:24:29 Warning: Unaccessible ladder point for AI (already used for actionbegin2) in a3\structures_f_exp\commercial\shop_city_01\shop_city_01_f.p3d 21:24:29 Warning: Unaccessible ladder point for AI (already used for actionend2) in a3\structures_f_exp\commercial\shop_city_01\shop_city_01_f.p3d 21:24:29 Warning: Unaccessible ladder point for AI (already used for actionend2) in a3\structures_f_exp\commercial\shop_city_01\shop_city_01_f.p3d 21:24:38 Unknown hit sound type in A3\data_f\Penetration\tyre.bisurf.soundHit 21:24:55 Attempt to override final function - bis_functions_list 21:24:55 Attempt to override final function - bis_functions_listpreinit 21:24:55 Attempt to override final function - bis_functions_listpostinit 21:24:55 Attempt to override final function - bis_functions_listrecompile 21:24:55 Attempt to override final function - bis_fnc_missiontaskslocal 21:24:55 Attempt to override final function - bis_fnc_missionconversationslocal 21:24:55 Attempt to override final function - bis_fnc_missionflow 21:24:57 class HitPoints::HitFuel not found in RoadBarrier_small_F 21:24:57 class HitPoints::HitFuel not found in Land_Camping_Light_F 21:24:57 Strange convex component322 in a3\structures_f\research\dome_big_f.p3d:geometryFire 21:24:57 Strange convex component327 in a3\structures_f\research\dome_big_f.p3d:geometryFire 21:24:59 class HitPoints::HitFuel not found in PortableHelipadLight_01_yellow_F 21:24:59 class HitPoints::HitFuel not found in PortableHelipadLight_01_blue_F 21:24:59 Strange convex component16 in a3\boat_f_gamma\boat_civil_04\boat_civil_04_f.p3d:geometryView 21:24:59 Strange convex component25 in a3\boat_f_gamma\boat_civil_04\boat_civil_04_f.p3d:geometryView 21:24:59 Strange convex component26 in a3\boat_f_gamma\boat_civil_04\boat_civil_04_f.p3d:geometryView 21:24:59 Strange convex component27 in a3\boat_f_gamma\boat_civil_04\boat_civil_04_f.p3d:geometryView 21:24:59 class HitPoints::HitFuel not found in C_Boat_Civil_04_F 21:25:01 Strange convex component26 in a3\structures_f_kart\civ\sportsgrounds\finishgate_01_wide_f.p3d:geometryView 21:25:01 Strange convex component68 in a3\structures_f_kart\civ\sportsgrounds\finishgate_01_wide_f.p3d:geometryView 21:25:01 Loading movesType CfgGesturesMale 21:25:05 MovesType CfgGesturesMale load time 3464 ms 21:25:05 Loading movesType CfgMovesMaleSdr 21:25:20 MovesType CfgMovesMaleSdr load time 14965 ms 21:25:22 Wrong vertex mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Selection 1c not found 21:25:22 Wrong vertex mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Selection 2c not found 21:25:22 Wrong vertex mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Selection 3c not found 21:25:22 Wrong vertex mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Selection 4c not found 21:25:22 Wrong vertex mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Selection 5c not found 21:25:22 Wrong vertex mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Selection 6c not found 21:25:22 Wrong vertex mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Selection 7c not found 21:25:22 Wrong vertex mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Selection 8c not found 21:25:22 Wrong geometry convex component mapping for person collision geometry found in a3\characters_f_epc\civil\c_nikos_aged.p3d. Convex component number 3. not found 21:25:23 Wrong vertex mapping for person collision geometry found in a3\characters_f\civil\c_nikos.p3d. Selection 1c not found 21:25:23 Wrong vertex mapping for person collision geometry found in a3\characters_f\civil\c_nikos.p3d. Selection 2c not found 21:25:23 Wrong vertex mapping for person collision geometry found in a3\characters_f\civil\c_nikos.p3d. Selection 3c not found 21:25:23 Wrong vertex mapping for person collision geometry found in a3\characters_f\civil\c_nikos.p3d. Selection 4c not found 21:25:23 Wrong vertex mapping for person collision geometry found in a3\characters_f\civil\c_nikos.p3d. Selection 5c not found 21:25:23 Wrong vertex mapping for person collision geometry found in a3\characters_f\civil\c_nikos.p3d. Selection 6c not found 21:25:23 Wrong vertex mapping for person collision geometry found in a3\characters_f\civil\c_nikos.p3d. Selection 7c not found 21:25:23 Wrong vertex mapping for person collision geometry found in a3\characters_f\civil\c_nikos.p3d. Selection 8c not found 21:25:23 Wrong geometry convex component mapping for person collision geometry found in a3\characters_f\civil\c_nikos.p3d. Convex component number 3. not found 21:25:23 Time was adjusted to keep it same as on server. 21:25:28 Group C Alpha 1-1 (0x6d0b6200) - network ID 2:2687 21:25:28 - no main subgroup 21:25:28 Network simulation, time = 0.000 21:25:28 Group C Alpha 1-1 (0x6d0b6200) - network ID 2:2687 21:25:28 - no main subgroup 21:25:28 Group C Alpha 1-1 (0x6d0b6200) - network ID 2:2687 21:25:28 - no main subgroup 21:25:28 Group C Alpha 1-1 (0x6d0b6200) - network ID 2:2687 21:25:28 - no main subgroup 21:25:28 Group C Alpha 1-1 (0x6d0b6200) - network ID 2:2687 21:25:28 - no main subgroup 21:25:28 Group C Alpha 1-1 (0x6d0b6200) - network ID 2:2687 21:25:28 - no main subgroup 21:25:28 Group C Alpha 1-1 (0x6d0b6200) - network ID 2:2687 21:25:28 - no main subgroup 21:25:28 Group C Alpha 1-1 (0x6d0b6200) - network ID 2:2687 21:25:28 - no main subgroup 21:25:28 Group C Alpha 1-1 (0x6d0b6200) - network ID 2:2687 21:25:28 - no main subgroup 21:25:28 Group C Alpha 1-1 (0x6d0b6200) - network ID 2:2687 21:25:28 - no main subgroup 21:25:28 Group C Alpha 1-1 (0x6d0b6200) - network ID 2:2687 21:25:28 - no main subgroup 21:25:29 Attempt to override final function - bis_fnc_endmission 21:25:30 Mission id: d60e1133067b2c0c74480be39064a4921f17bef4 21:25:30 Error in expression <mat["[IGS] ...empfange Serverinfos...", _rscLayer]; [] spawn { sleep 5; _counte> 21:25:30 Error position: <_rscLayer]; [] spawn { sleep 5; _counte> 21:25:30 Error Undefined variable in expression: _rsclayer 21:25:30 File mpmissions\__CUR_MP.Tanoa\core\ext\fn_statusBar.sqf, line 11 21:25:30 Loading movesType CfgMovesButterfly 21:25:33 MovesType CfgMovesButterfly load time 3612 ms 21:25:34 "<infiSTAR.de> 148.251.136.195 VERSION: 22-Jul-2016 00-15-32 infiSTAR.de AHAT (v0240) - server running: 0:49:173" 21:25:34 "<infiSTAR.de> OPEN_ADMIN_MENU_KEY: 59" 21:25:34 "2842.32 <infiSTAR.de> Loading Menu..." 21:25:34 "<infiSTAR.de> config data loaded...!" 21:25:34 Attempt to override final function - fnc_admin_c 21:25:34 Attempt to override final function - fnc_admin_cc 21:25:37 "----------------------------------------------------------------------------------------------------" 21:25:37 "--------------------------------- Starting Altis Life Client Init ----------------------------------" 21:25:37 "------------------------------------------ Version 4.4R3 -------------------------------------------" 21:25:37 "----------------------------------------------------------------------------------------------------" 21:25:37 "::Life Client:: Initialization Variables" 21:25:37 "::Life Client:: Variables initialized" 21:25:37 "::Life Client:: Setting up Eventhandlers" 21:25:37 "::Life Client:: Eventhandlers completed" 21:25:37 "::Life Client:: Setting up user actions" 21:25:37 "::Life Client:: User actions completed" 21:25:37 "::Life Client:: Waiting for server functions to transfer.." 21:25:37 "::Life Client:: Received server functions." 21:25:37 "::Life Client:: Waiting for the server to be ready.." 21:25:37 Wrong init state 21:25:38 Loading movesType CfgMovesBird 21:25:38 MovesType CfgMovesBird load time 23 ms 21:25:38 Fresnel k must be >0, given n=1.4,k=0 21:25:39 String STR_MAR_Cacao_Field not found 21:30:04 Strange convex component70 in a3\structures_f_exp\commercial\multistorybuilding_01\multistorybuilding_01_f.p3d:geometryFire 21:30:04 Strange convex component75 in a3\structures_f_exp\commercial\multistorybuilding_01\multistorybuilding_01_f.p3d:geometryFire 21:30:04 Strange convex component76 in a3\structures_f_exp\commercial\multistorybuilding_01\multistorybuilding_01_f.p3d:geometryFire 21:30:04 Strange convex component77 in a3\structures_f_exp\commercial\multistorybuilding_01\multistorybuilding_01_f.p3d:geometryFire 21:30:04 Strange convex component78 in a3\structures_f_exp\commercial\multistorybuilding_01\multistorybuilding_01_f.p3d:geometryFire 21:30:05 "Past Settings Init" 21:30:05 "Executing client.fsm" 21:30:05 "Display 46 Found" 21:30:11 Sound: Error: File: a3\ui_f\data\sound\onover.wss not found !!! 21:30:19 Fresnel k must be >0, given n=1,k=0 21:30:19 Fresnel n must be >0, given n=0,k=0 21:30:19 Fresnel k must be >0, given n=0.001,k=0 21:31:04 Error in expression <box )-1,_itemDisplayIcon]; }; } forEach DYNMARKET_prices; > 21:31:04 Error position: <DYNMARKET_prices; > 21:31:04 Error Undefined variable in expression: dynmarket_prices 21:31:04 File mpmissions\__CUR_MP.Tanoa\core\dynmarket\fn_LoadIntoListbox.sqf, line 30
-
Seltsamerweise sind die leer seitdem ich dran rumbastel, allerdings hab ich alle Änderungen soweit wieder rückgängig gemacht da ich einen Fehler übersehen hatte und sich die Probleme damit von selbst gelöst hatten.
Vom späten Mittag heute:
Code
Alles anzeigenextDB2: Version: 71 extDB2: https://github.com/Torndeco/extDB2 extDB2: Windows Version Message: All development for extDB2 is done on a Linux Dedicated Server Message: If you would like to Donate to extDB2 Development Message: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2SUEFTGABTAM2 Message: Also leave a message if there is any particular feature you would like to see added. Message: Thanks for all the people that have donated. Message: Torndeco: 20/02/15 extDB2: Found extdb-conf.ini extDB2: Detected 8 Cores, Setting up 6 Worker Threads [11:08:13:967701 +00:-1] [Thread 12852] extDB2: Database Type: MySQL [11:08:13:983565 +00:-1] [Thread 12852] extDB2: Database Session Pool Started [11:08:13:983772 +00:-1] [Thread 12852] extDB2: SQL_RAW_V2: Initialized: ADD_QUOTES True [14:00:04:992330 +00:-1] [Thread 12852] extDB2: Stopping ...
die fn_config.sqf:
Code
Alles anzeigen/* ##################### DYNAMIC MARKET SCRIPT ##################### ### AUTHOR: RYAN TT. ### ### STEAM: www.steamcommunity.com/id/ryanthett ### ### ### ### DISCLAIMER: THIS SCRIPT CAN BE USED ON EVERY SERVER ONLY ### ### WITH THIS HEADER / NOTIFICATION ### ################################################################# */ // ███████████████████████████████████████████████████████████████████████ // █████████████████ DYNAMIC MARKET BASIC CONFIGURATION ██████████████████ // ███████████████████████████████████████████████████████████████████████ DYNMARKET_Serveruptime = 04; // 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 = [ "Deine Preise wurden aktualisiert!", "Die neuen Preise werden kalkuliert..." ]; // █████████████████ ITEM GROUP CONFIGURATION █████████████████ DYNMARKET_Items_Groups = [ ["Legal", [ ["apple",-1,30,60], ["peach",-1,35,65], ["banana",-1,40,70], ["sugarraw",-1,400,600], ["sugarref",-1,600,1000], ["rum",-1,2000,2500], ["coconutraw",-1,50,250], ["coconutref",-1,400,600], ["oilu",-1,1700,2300], ["oilp",-1,5000,7000], ["copperr",-1,1400,2000], ["ironr",-1,2300,3200], ["saltr",-1,1150,1950], ["glass",-1,1850,2250], ["diamond",-1,2000,4000], ["diamondc",-1,4500,8500] ], 0.5 ], ["Illegal", [ ["gunparts",-1,20000,36000], ["heroinu",-1,950,1750], ["heroin",-1,4000,10000], ["cannabis",-1,500,1300], ["marijuana",-1,2000,4200], ["cocaine",-1,1000,2000], ["cocainep",-1,7000,15000], ["lsd",-1,3500,6000], ["kautschuk",-1,900,1700] ], 0.5 ], ["Essen und Trinken", [ ["redgull",-1,100,300], ["coffee",-1,2,8], ["waterBottle",-1,2,8], ["tbacon",-1,15,35], ["donut",-1,50,70] ], 0.5 ], ["Gegenstände", [ ["pickaxe",-1,200,500], ["fuelFull",-1,350,650], ["spikeStrip",-1,900,1500], ["lockpick",-1,50,500], ["goldbar",-1,80000,110000], ["blastingcharge",-1,6000,14000], ["lappi",-1,10000,20000], ["zipties",-1,300,2700], ["gpstracker",-1,1000,9000], ["boltcutter",-1,100,1900], ["defusekit",-1,1700,2300], ["defibrillator",-1,150,750], ["toolkit",-1,50,150], ["storagesmall",-1,40000,60000], ["storagebig",-1,90000,160000] ], 0.0 ], ["Jagen und Fischen", [ ["rabbit_raw",-1,55,150], ["rabbit",-1,75,210], ["ornate_raw",-1,45,65], ["ornate",-1,100,200], ["mackerel_raw",-1,135,215], ["mackerel",-1,150,250], ["tuna_raw",-1,300,1100], ["tuna",-1,700,1300], ["mullet_raw",-1,150,350], ["mullet",-1,200,600], ["catshark_raw",-1,150,450], ["catshark",-1,100,900], ["turtle_raw",-1,1500,4500], ["turtle_soup",-1,2750,8750], ["hen_raw",-1,35-95], ["hen",-1,55,115], ["rooster_raw",-1,45,85], ["rooster",-1,45,125], ["sheep_raw",-1,550,1250], ["sheep",-1,755,1500], ["goat_raw",-1,650,1350], ["goat",-1,850,1550] ], 0.5 ] ]; // █████████████████ ALL SELLABLE ITEMS █████████████████ DYNMARKET_Items_ToTrack = [ ["apple",50], ["peach",55], ["banana",60], ["sugarraw",500], ["sugarref",800], ["rum",2300], ["coconutraw",150], ["coconutref",500], ["tbacon",25], ["donut",60], ["rabbit_raw",95], ["rabbit",115], ["ornate_raw",55], ["ornate",150], ["mackerel_raw",175], ["mackerel",200], ["tuna_raw",700], ["tuna",1000], ["mullet_raw",250], ["mullet",400], ["catshark_raw",300], ["catshark",500], ["turtle_raw",3000], ["turtle_soup",5750], ["hen_raw",65], ["hen",85], ["rooster_raw",65], ["rooster",85], ["sheep_raw",95], ["sheep",115], ["goat_raw",115], ["goat",135], ["redgull",200], ["coffee",5], ["waterBottle",5], ["pickaxe",350], ["fuelFull",500], ["spikeStrip",1200], ["lockpick",75], ["goldbar",95000], ["blastingcharge",10000], ["lappi",15000], ["zipties",1500], ["gpstracker",5000], ["boltcutter",1000], ["defusekit",2000], ["defibrillator",450], ["toolkit",100], ["storagesmall",50000], ["storagebig",125000], ["oilu",2000], ["oilp",6000], ["copperr",1700], ["ironr",2800], ["saltr",1550], ["glass",2050], ["diamond",3000], ["diamondc",6500], ["gunparts",28000], ["heroinu",1350], ["heroin",7000], ["cannabis",900], ["marijuana",3000], ["cocaine",1500], ["cocainep",11000], ["lsd",4500], ["kautschuk",1300] ]; //███████████████████████████████████████████████████████████████████████ //██████████████████ 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;
EDIT:
Habe noch ein dialog_log platziert vor der Ausgabe das er die Preise geladen hat, sieht dann wie folgt aus:
Code2016/07/25, 20:34:13 "### Prices from DB: [["apple",50,0],["peach",55,0],["banana",60,0],["sugarraw",500,0],["sugarref",800,0],["rum",2300,0],["coconutraw",150,0],["coconutref",500,0],["tbacon",25,0],["donut",60,0],["rabbit_raw",95,0],["rabbit",115,0],["ornate_raw",55,0],["ornate",150,0],["mackerel_raw",175,0],["mackerel",200,0],["tuna_raw",700,0],["tuna",1000,0],["mullet_raw",250,0],["mullet",400,0],["catshark_raw",300,0],["catshark",500,0],["turtle_raw",3000,0],["turtle_soup",5750,0],["hen_raw",65,0],["hen",85,0],["rooster_raw",65,0],["rooster",85,0],["sheep_raw",95,0],["sheep",115,0],["goat_raw",115,0],["goat",135,0],["redgull",200,0],["coffee",5,0],["waterBottle",5,0],["pickaxe",350,0],["fuelFull",500,0],["spikeStrip",1200,0],["lockpick",75,0],["goldbar",95000,0],["blastingcharge",10000,0],["lappi",15000,0],["zipties",1500,0],["gpstracker",5000,0],["boltcutter",1000,0],["defusekit",2000,0],["defibrillator",450,0],["toolkit",100,0],["storagesmall",50000,0],["storagebig",125000,0],["oilu",2000,0],["oilp",6000,0],["copperr",170 2016/07/25, 20:34:13 "########################## DYNAMIC MARKET ##########################" 2016/07/25, 20:34:13 "### >> SUCCESSFULLY LOADED PRICES FROM DATABASE! ###" 2016/07/25, 20:34:13 "####################################################################" 2016/07/25, 20:34:41 "[Display #24]" 2016/07/25, 20:37:33 "### DYNMARKET >> SUCCESSFULLY BACKUP'D CURRENT PRICES TO DATABASE! ###" 2016/07/25, 20:40:48 "### DYNMARKET >> SUCCESSFULLY BACKUP'D CURRENT PRICES TO DATABASE! ###" 2016/07/25, 20:44:03 "### DYNMARKET >> SUCCESSFULLY BACKUP'D CURRENT PRICES TO DATABASE! ###" 2016/07/25, 20:47:18 "### DYNMARKET >> SUCCESSFULLY BACKUP'D CURRENT PRICES TO DATABASE! ###" 2016/07/25, 20:50:33 "### DYNMARKET >> SUCCESSFULLY BACKUP'D CURRENT PRICES TO DATABASE! ###"
Endet mitten in der Auflistung aber ich kann keinen Syntaxfehler in der config feststellen. Ebenso befinden sich alle definierten Items auch in der Datenbank.Und direkt dazu die veränderte HandleDB.sqf :
Code
Alles anzeigen/* ##################### DYNAMIC MARKET SCRIPT ##################### ### AUTHOR: RYAN TT. ### ### STEAM: www.steamcommunity.com/id/ryanthett ### ### ### ### DISCLAIMER: THIS SCRIPT CAN BE USED ON EVERY SERVER ONLY ### ### WITH THIS HEADER / NOTIFICATION ### ################################################################# */ _switch = _this select 0; _whatanumber = 1; switch (_switch) do { case 0: { _query = format["UPDATE dynmarket SET prices = '%1' WHERE id=1;",DYNMARKET_Items_CurrentPriceArr]; waitUntil {sleep (random 0.3); !DB_Async_Active}; _queryResult = [_query,1] call DB_fnc_asyncCall; diag_log "### DYNMARKET >> SUCCESSFULLY BACKUP'D CURRENT PRICES TO DATABASE! ###"; }; case 1: { _query = format["SELECT prices FROM dynmarket WHERE id=1;"]; _tickTime = diag_tickTime; _queryResult = [_query,2] call DB_fnc_asyncCall; //DYNMARKET_Items_CurrentPriceArr = _queryResult select 0; _pricearray = _queryResult select 0; if (count _pricearray < 1) then { diag_log "########################## DYNAMIC MARKET ##########################"; diag_log "### >> CAN'T LOAD PRICES FROM DATABASE: ERROR 01x ###"; diag_log "### THE REQUESTED PRICEARRAY WAS UNEXPECTEDLY EMPTY! ###"; diag_log "### IF YOU ARE RUNNING DYNMARKET FOR THE FIRST TIME, ###"; diag_log "### PLEASE IGNORE THIS ERROR! ###"; diag_log "####################################################################"; } else { DYNMARKET_Items_CurrentPriceArr = _pricearray; { _itemName = _x select 0; _itemNewPrice = _x select 1; _index = -1; { _index = _index + 1; _curItemName = _x select 0; if (_curItemName==_itemName) then { DYNMARKET_sellarraycopy set [_index,[_itemName,_itemNewPrice]]; }; } forEach DYNMARKET_sellarraycopy; } forEach DYNMARKET_Items_CurrentPriceArr; diag_log format ["### Prices from DB: %1",DYNMARKET_Items_CurrentPriceArr]; diag_log "########################## DYNAMIC MARKET ##########################"; diag_log "### >> SUCCESSFULLY LOADED PRICES FROM DATABASE! ###"; diag_log "####################################################################"; }; }; };
Und hier noch ein Error aus der Client.RPT:
Code
Alles anzeigen21:25:37 "----------------------------------------------------------------------------------------------------" 21:25:37 "--------------------------------- Starting Altis Life Client Init ----------------------------------" 21:25:37 "------------------------------------------ Version 4.4R3 -------------------------------------------" 21:25:37 "----------------------------------------------------------------------------------------------------" 21:25:37 "::Life Client:: Initialization Variables" 21:25:37 "::Life Client:: Variables initialized" 21:25:37 "::Life Client:: Setting up Eventhandlers" 21:25:37 "::Life Client:: Eventhandlers completed" 21:25:37 "::Life Client:: Setting up user actions" 21:25:37 "::Life Client:: User actions completed" 21:25:37 "::Life Client:: Waiting for server functions to transfer.." 21:25:37 "::Life Client:: Received server functions." 21:25:37 "::Life Client:: Waiting for the server to be ready.." 21:25:37 Wrong init state 21:25:38 Loading movesType CfgMovesBird 21:25:38 MovesType CfgMovesBird load time 23 ms 21:25:38 Fresnel k must be >0, given n=1.4,k=0 21:25:39 String STR_MAR_Cacao_Field not found 21:30:04 Strange convex component70 in a3\structures_f_exp\commercial\multistorybuilding_01\multistorybuilding_01_f.p3d:geometryFire 21:30:04 Strange convex component75 in a3\structures_f_exp\commercial\multistorybuilding_01\multistorybuilding_01_f.p3d:geometryFire 21:30:04 Strange convex component76 in a3\structures_f_exp\commercial\multistorybuilding_01\multistorybuilding_01_f.p3d:geometryFire 21:30:04 Strange convex component77 in a3\structures_f_exp\commercial\multistorybuilding_01\multistorybuilding_01_f.p3d:geometryFire 21:30:04 Strange convex component78 in a3\structures_f_exp\commercial\multistorybuilding_01\multistorybuilding_01_f.p3d:geometryFire 21:30:05 "Past Settings Init" 21:30:05 "Executing client.fsm" 21:30:05 "Display 46 Found" 21:30:11 Sound: Error: File: a3\ui_f\data\sound\onover.wss not found !!! 21:30:19 Fresnel k must be >0, given n=1,k=0 21:30:19 Fresnel n must be >0, given n=0,k=0 21:30:19 Fresnel k must be >0, given n=0.001,k=0 21:31:04 Error in expression <box )-1,_itemDisplayIcon]; }; } forEach DYNMARKET_prices; > 21:31:04 Error position: <DYNMARKET_prices; > 21:31:04 Error Undefined variable in expression: dynmarket_prices 21:31:04 File mpmissions\__CUR_MP.Tanoa\core\dynmarket\fn_LoadIntoListbox.sqf, line 30
-
Heyho,
hatte bereits in einem anderen Beitrag geschrieben bei dem es aber eigtl. um eine andere Problemstellung ging.
Habe DynMarket soweit integriert mit folgenden Files: DynMarket 4.4R3 Github. Für jeden der sich die Mühe sparen will auf remoteExec umzuschreiben.Soweit scheint alles zu funktionieren, die Preise landen in der Datenbank und verkaufen funktioniert ebenfalls, das RPT spuckt absolut keine Fehler aus:
Code
Alles anzeigen2016/07/25, 18:06:50 "<infiSTAR.de> 0 - Thread #1: Server Loop #1 starting now!" 2016/07/25, 18:06:50 "<infiSTAR.de> 0 - Thread #1: Server Loop #1 looping now!" 2016/07/25, 18:06:50 "extDB2: Connected to Database" 2016/07/25, 18:06:50 "----------------------------------------------------------------------------------------------------" 2016/07/25, 18:06:50 "---------------------------------- Starting Altis Life Server Init ---------------------------------" 2016/07/25, 18:06:50 "------------------------------------------ Version 4.4R3 -------------------------------------------" 2016/07/25, 18:06:50 "----------------------------------------------------------------------------------------------------" 2016/07/25, 18:06:50 "----------------------------------------------------------------------------------------------------" 2016/07/25, 18:06:50 " End of Altis Life Server Init :: Total Execution Time 0.0670013 seconds " 2016/07/25, 18:06:50 "----------------------------------------------------------------------------------------------------" 2016/07/25, 18:10:43 Mission id: 509fea6db53049112ad302e942d9dc5338be8d58 2016/07/25, 18:10:43 "<infiSTAR.de>ConnectLog| 0h 6min | Connected: __SERVER__( - 2) - time: 0 - serverFPS: 39.604 (v0240)" 2016/07/25, 18:10:43 "__SERVER__() betritt die Insel!" 2016/07/25, 18:10:44 "<infiSTAR.de>ConnectLog| 0h 6min | Connected: Dexter(76561198086078039 - 3) - time: 0.023 - serverFPS: 12.0937 (v0240)" 2016/07/25, 18:10:44 "Dexter(76561198086078039) betritt die Insel!" 2016/07/25, 18:10:44 "------------- Vendetta Auction House Initialization -------------" 2016/07/25, 18:10:44 "Query: SELECT id, type, amount, item, price, seller, sellername, status, time FROM ah" 2016/07/25, 18:10:44 "Result: []" 2016/07/25, 18:10:44 "------------------------------------------------" 2016/07/25, 18:10:44 Error: Object(3 : 7) not found 2016/07/25, 18:10:45 "########################## DYNAMIC MARKET ##########################" 2016/07/25, 18:10:45 "### >> SUCCESSFULLY LOADED PRICES FROM DATABASE! ###" 2016/07/25, 18:10:45 "####################################################################" 2016/07/25, 18:11:11 "<infiSTAR.de> RequestToken: Dexter(76561198086078039) Requested a Token! _clientID: 3" 2016/07/25, 18:11:11 "<infiSTAR.de>ConnectLog| 0h 7min | Runtime: 27s | SENT TOKEN [qxi8egtv2b34oooxc] TO ID [Dexter(76561198086078039) - 3] (v0240)" 2016/07/25, 18:11:11 "<infiSTAR.de> server_setToken: SENT TOKEN [qxi8egtv2b34oooxc] TO Dexter(76561198086078039)" 2016/07/25, 18:11:12 "<infiSTAR.de> ******ADMIN-LOGIN******: Dexter(76561198086078039) (v0240)" 2016/07/25, 18:11:15 "[Display #24]" 2016/07/25, 18:14:05 "### DYNMARKET >> SUCCESSFULLY BACKUP'D CURRENT PRICES TO DATABASE! ###" 2016/07/25, 18:17:20 "### DYNMARKET >> SUCCESSFULLY BACKUP'D CURRENT PRICES TO DATABASE! ###" 2016/07/25, 18:20:35 "### DYNMARKET >> SUCCESSFULLY BACKUP'D CURRENT PRICES TO DATABASE! ###" 2016/07/25, 18:22:08 Server: Object 3:1 not found (message Type_93) 2016/07/25, 18:22:08 Server: Object 3:2 not found (message Type_93) 2016/07/25, 18:22:08 Server: Object 3:0 not found (message Type_93) 2016/07/25, 18:22:09 Unaccessible 2016/07/25, 18:22:09 "<infiSTAR.de>ConnectLog| 0h 18min | Connected: Crow(76561198124590521 - 4) - time: 683.691 - serverFPS: 46.9208 (v0240)" 2016/07/25, 18:22:09 "Crow(76561198124590521) betritt die Insel!" 2016/07/25, 18:22:11 Error: Object(4 : 5) not found
Allerdings werden im Menü keine Items aufgeführt. Falls jemand ein ähnliches Problem hatte oder einen Hinweis wäre ich sehr dankbar, mit diesem letztem Schliff könnte man dann ein für alle mal ein ordentliches TuT für Dynmarket auf 4.4R3 machen.
die fn_config.sqf:
Code
Alles anzeigen/* ##################### DYNAMIC MARKET SCRIPT ##################### ### AUTHOR: RYAN TT. ### ### STEAM: www.steamcommunity.com/id/ryanthett ### ### ### ### DISCLAIMER: THIS SCRIPT CAN BE USED ON EVERY SERVER ONLY ### ### WITH THIS HEADER / NOTIFICATION ### ################################################################# */ // ███████████████████████████████████████████████████████████████████████ // █████████████████ DYNAMIC MARKET BASIC CONFIGURATION ██████████████████ // ███████████████████████████████████████████████████████████████████████ DYNMARKET_Serveruptime = 04; // 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 = [ "Deine Preise wurden aktualisiert!", "Die neuen Preise werden kalkuliert..." ]; // █████████████████ ITEM GROUP CONFIGURATION █████████████████ DYNMARKET_Items_Groups = [ ["Legal", [ ["apple",-1,30,60], ["peach",-1,35,65], ["banana",-1,40,70], ["sugarraw",-1,400,600], ["sugarref",-1,600,1000], ["rum",-1,2000,2500], ["coconutraw",-1,50,250], ["coconutref",-1,400,600], ["oilu",-1,1700,2300], ["oilp",-1,5000,7000], ["copperr",-1,1400,2000], ["ironr",-1,2300,3200], ["saltr",-1,1150,1950], ["glass",-1,1850,2250], ["diamond",-1,2000,4000], ["diamondc",-1,4500,8500] ], 0.5 ], ["Illegal", [ ["gunparts",-1,20000,36000], ["heroinu",-1,950,1750], ["heroin",-1,4000,10000], ["cannabis",-1,500,1300], ["marijuana",-1,2000,4200], ["cocaine",-1,1000,2000], ["cocainep",-1,7000,15000], ["lsd",-1,3500,6000], ["kautschuk",-1,900,1700] ], 0.5 ], ["Essen und Trinken", [ ["redgull",-1,100,300], ["coffee",-1,2,8], ["waterBottle",-1,2,8], ["tbacon",-1,15,35], ["donut",-1,50,70] ], 0.5 ], ["Gegenstände", [ ["pickaxe",-1,200,500], ["fuelFull",-1,350,650], ["spikeStrip",-1,900,1500], ["lockpick",-1,50,500], ["goldbar",-1,80000,110000], ["blastingcharge",-1,6000,14000], ["lappi",-1,10000,20000], ["zipties",-1,300,2700], ["gpstracker",-1,1000,9000], ["boltcutter",-1,100,1900], ["defusekit",-1,1700,2300], ["defibrillator",-1,150,750], ["toolkit",-1,50,150], ["storagesmall",-1,40000,60000], ["storagebig",-1,90000,160000] ], 0.0 ], ["Jagen und Fischen", [ ["rabbit_raw",-1,55,150], ["rabbit",-1,75,210], ["ornate_raw",-1,45,65], ["ornate",-1,100,200], ["mackerel_raw",-1,135,215], ["mackerel",-1,150,250], ["tuna_raw",-1,300,1100], ["tuna",-1,700,1300], ["mullet_raw",-1,150,350], ["mullet",-1,200,600], ["catshark_raw",-1,150,450], ["catshark",-1,100,900], ["turtle_raw",-1,1500,4500], ["turtle_soup",-1,2750,8750], ["hen_raw",-1,35-95], ["hen",-1,55,115], ["rooster_raw",-1,45,85], ["rooster",-1,45,125], ["sheep_raw",-1,550,1250], ["sheep",-1,755,1500], ["goat_raw",-1,650,1350], ["goat",-1,850,1550] ], 0.5 ] ]; // █████████████████ ALL SELLABLE ITEMS █████████████████ DYNMARKET_Items_ToTrack = [ ["apple",50], ["peach",55], ["banana",60], ["sugarraw",500], ["sugarref",800], ["rum",2300], ["coconutraw",150], ["coconutref",500], ["tbacon",25], ["donut",60], ["rabbit_raw",95], ["rabbit",115], ["ornate_raw",55], ["ornate",150], ["mackerel_raw",175], ["mackerel",200], ["tuna_raw",700], ["tuna",1000], ["mullet_raw",250], ["mullet",400], ["catshark_raw",300], ["catshark",500], ["turtle_raw",3000], ["turtle_soup",5750], ["hen_raw",65], ["hen",85], ["rooster_raw",65], ["rooster",85], ["sheep_raw",95], ["sheep",115], ["goat_raw",115], ["goat",135], ["redgull",200], ["coffee",5], ["waterBottle",5], ["pickaxe",350], ["fuelFull",500], ["spikeStrip",1200], ["lockpick",75], ["goldbar",95000], ["blastingcharge",10000], ["lappi",15000], ["zipties",1500], ["gpstracker",5000], ["boltcutter",1000], ["defusekit",2000], ["defibrillator",450], ["toolkit",100], ["storagesmall",50000], ["storagebig",125000], ["oilu",2000], ["oilp",6000], ["copperr",1700], ["ironr",2800], ["saltr",1550], ["glass",2050], ["diamond",3000], ["diamondc",6500], ["gunparts",28000], ["heroinu",1350], ["heroin",7000], ["cannabis",900], ["marijuana",3000], ["cocaine",1500], ["cocainep",11000], ["lsd",4500], ["kautschuk",1300] ]; //███████████████████████████████████████████████████████████████████████ //██████████████████ 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;
EDIT:Habe noch ein dialog_log platziert vor der Ausgabe das er die Preise geladen hat, sieht dann wie folgt aus:
Code2016/07/25, 20:34:13 "### Prices from DB: [["apple",50,0],["peach",55,0],["banana",60,0],["sugarraw",500,0],["sugarref",800,0],["rum",2300,0],["coconutraw",150,0],["coconutref",500,0],["tbacon",25,0],["donut",60,0],["rabbit_raw",95,0],["rabbit",115,0],["ornate_raw",55,0],["ornate",150,0],["mackerel_raw",175,0],["mackerel",200,0],["tuna_raw",700,0],["tuna",1000,0],["mullet_raw",250,0],["mullet",400,0],["catshark_raw",300,0],["catshark",500,0],["turtle_raw",3000,0],["turtle_soup",5750,0],["hen_raw",65,0],["hen",85,0],["rooster_raw",65,0],["rooster",85,0],["sheep_raw",95,0],["sheep",115,0],["goat_raw",115,0],["goat",135,0],["redgull",200,0],["coffee",5,0],["waterBottle",5,0],["pickaxe",350,0],["fuelFull",500,0],["spikeStrip",1200,0],["lockpick",75,0],["goldbar",95000,0],["blastingcharge",10000,0],["lappi",15000,0],["zipties",1500,0],["gpstracker",5000,0],["boltcutter",1000,0],["defusekit",2000,0],["defibrillator",450,0],["toolkit",100,0],["storagesmall",50000,0],["storagebig",125000,0],["oilu",2000,0],["oilp",6000,0],["copperr",170 2016/07/25, 20:34:13 "########################## DYNAMIC MARKET ##########################" 2016/07/25, 20:34:13 "### >> SUCCESSFULLY LOADED PRICES FROM DATABASE! ###" 2016/07/25, 20:34:13 "####################################################################" 2016/07/25, 20:34:41 "[Display #24]" 2016/07/25, 20:37:33 "### DYNMARKET >> SUCCESSFULLY BACKUP'D CURRENT PRICES TO DATABASE! ###" 2016/07/25, 20:40:48 "### DYNMARKET >> SUCCESSFULLY BACKUP'D CURRENT PRICES TO DATABASE! ###" 2016/07/25, 20:44:03 "### DYNMARKET >> SUCCESSFULLY BACKUP'D CURRENT PRICES TO DATABASE! ###" 2016/07/25, 20:47:18 "### DYNMARKET >> SUCCESSFULLY BACKUP'D CURRENT PRICES TO DATABASE! ###" 2016/07/25, 20:50:33 "### DYNMARKET >> SUCCESSFULLY BACKUP'D CURRENT PRICES TO DATABASE! ###"
Endet mitten in der Auflistung aber ich kann keinen Syntaxfehler in der config feststellen. Ebenso befinden sich alle definierten Items auch in der Datenbank.Und direkt dazu die veränderte HandleDB.sqf :
Code
Alles anzeigen/* ##################### DYNAMIC MARKET SCRIPT ##################### ### AUTHOR: RYAN TT. ### ### STEAM: www.steamcommunity.com/id/ryanthett ### ### ### ### DISCLAIMER: THIS SCRIPT CAN BE USED ON EVERY SERVER ONLY ### ### WITH THIS HEADER / NOTIFICATION ### ################################################################# */ _switch = _this select 0; _whatanumber = 1; switch (_switch) do { case 0: { _query = format["UPDATE dynmarket SET prices = '%1' WHERE id=1;",DYNMARKET_Items_CurrentPriceArr]; waitUntil {sleep (random 0.3); !DB_Async_Active}; _queryResult = [_query,1] call DB_fnc_asyncCall; diag_log "### DYNMARKET >> SUCCESSFULLY BACKUP'D CURRENT PRICES TO DATABASE! ###"; }; case 1: { _query = format["SELECT prices FROM dynmarket WHERE id=1;"]; _tickTime = diag_tickTime; _queryResult = [_query,2] call DB_fnc_asyncCall; //DYNMARKET_Items_CurrentPriceArr = _queryResult select 0; _pricearray = _queryResult select 0; if (count _pricearray < 1) then { diag_log "########################## DYNAMIC MARKET ##########################"; diag_log "### >> CAN'T LOAD PRICES FROM DATABASE: ERROR 01x ###"; diag_log "### THE REQUESTED PRICEARRAY WAS UNEXPECTEDLY EMPTY! ###"; diag_log "### IF YOU ARE RUNNING DYNMARKET FOR THE FIRST TIME, ###"; diag_log "### PLEASE IGNORE THIS ERROR! ###"; diag_log "####################################################################"; } else { DYNMARKET_Items_CurrentPriceArr = _pricearray; { _itemName = _x select 0; _itemNewPrice = _x select 1; _index = -1; { _index = _index + 1; _curItemName = _x select 0; if (_curItemName==_itemName) then { DYNMARKET_sellarraycopy set [_index,[_itemName,_itemNewPrice]]; }; } forEach DYNMARKET_sellarraycopy; } forEach DYNMARKET_Items_CurrentPriceArr; diag_log format ["### Prices from DB: %1",DYNMARKET_Items_CurrentPriceArr]; diag_log "########################## DYNAMIC MARKET ##########################"; diag_log "### >> SUCCESSFULLY LOADED PRICES FROM DATABASE! ###"; diag_log "####################################################################"; }; }; };
-
Heyho,
habe DynMarket soweit integriert mit folgenden Files: DynMarket 4.4R3 Github
Soweit scheint alles zu funktionieren, die Preise landen in der Datenbank und verkaufen funktioniert ebenfalls, das RPT spuckt absolut keine Fehler aus:
Code
Alles anzeigen2016/07/25, 18:06:50 c:\w\stable\futura\lib\network\networkserver.cpp NetworkServer::OnClientStateChanged:NOT IMPLEMENTED - briefing! 2016/07/25, 18:06:50 "<infiSTAR.de> 0 - Thread #1: Server Loop #1 starting now!" 2016/07/25, 18:06:50 "<infiSTAR.de> 0 - Thread #1: Server Loop #1 looping now!" 2016/07/25, 18:06:50 "extDB2: Connected to Database" 2016/07/25, 18:06:50 "----------------------------------------------------------------------------------------------------" 2016/07/25, 18:06:50 "---------------------------------- Starting Altis Life Server Init ---------------------------------" 2016/07/25, 18:06:50 "------------------------------------------ Version 4.4R3 -------------------------------------------" 2016/07/25, 18:06:50 "----------------------------------------------------------------------------------------------------" 2016/07/25, 18:06:50 "----------------------------------------------------------------------------------------------------" 2016/07/25, 18:06:50 " End of Altis Life Server Init :: Total Execution Time 0.0670013 seconds " 2016/07/25, 18:06:50 "----------------------------------------------------------------------------------------------------" 2016/07/25, 18:10:43 Mission id: 509fea6db53049112ad302e942d9dc5338be8d58 2016/07/25, 18:10:43 "<infiSTAR.de>ConnectLog| 0h 6min | Connected: __SERVER__( - 2) - time: 0 - serverFPS: 39.604 (v0240)" 2016/07/25, 18:10:43 "__SERVER__() betritt die Insel!" 2016/07/25, 18:10:44 "<infiSTAR.de>ConnectLog| 0h 6min | Connected: Dexter(76561198086078039 - 3) - time: 0.023 - serverFPS: 12.0937 (v0240)" 2016/07/25, 18:10:44 "Dexter(76561198086078039) betritt die Insel!" 2016/07/25, 18:10:44 "------------- Vendetta Auction House Initialization -------------" 2016/07/25, 18:10:44 "Query: SELECT id, type, amount, item, price, seller, sellername, status, time FROM ah" 2016/07/25, 18:10:44 "Result: []" 2016/07/25, 18:10:44 "------------------------------------------------" 2016/07/25, 18:10:44 Error: Object(3 : 7) not found 2016/07/25, 18:10:45 "########################## DYNAMIC MARKET ##########################" 2016/07/25, 18:10:45 "### >> SUCCESSFULLY LOADED PRICES FROM DATABASE! ###" 2016/07/25, 18:10:45 "####################################################################" 2016/07/25, 18:11:11 "<infiSTAR.de> RequestToken: Dexter(76561198086078039) Requested a Token! _clientID: 3" 2016/07/25, 18:11:11 "<infiSTAR.de>ConnectLog| 0h 7min | Runtime: 27s | SENT TOKEN [qxi8egtv2b34oooxc] TO ID [Dexter(76561198086078039) - 3] (v0240)" 2016/07/25, 18:11:11 "<infiSTAR.de> server_setToken: SENT TOKEN [qxi8egtv2b34oooxc] TO Dexter(76561198086078039)" 2016/07/25, 18:11:12 "<infiSTAR.de> ******ADMIN-LOGIN******: Dexter(76561198086078039) (v0240)" 2016/07/25, 18:11:15 "[Display #24]" 2016/07/25, 18:14:05 "### DYNMARKET >> SUCCESSFULLY BACKUP'D CURRENT PRICES TO DATABASE! ###" 2016/07/25, 18:17:20 "### DYNMARKET >> SUCCESSFULLY BACKUP'D CURRENT PRICES TO DATABASE! ###" 2016/07/25, 18:20:35 "### DYNMARKET >> SUCCESSFULLY BACKUP'D CURRENT PRICES TO DATABASE! ###" 2016/07/25, 18:22:08 Server: Object 3:1 not found (message Type_93) 2016/07/25, 18:22:08 Server: Object 3:2 not found (message Type_93) 2016/07/25, 18:22:08 Server: Object 3:0 not found (message Type_93) 2016/07/25, 18:22:09 Unaccessible 2016/07/25, 18:22:09 "<infiSTAR.de>ConnectLog| 0h 18min | Connected: Crow(76561198124590521 - 4) - time: 683.691 - serverFPS: 46.9208 (v0240)" 2016/07/25, 18:22:09 "Crow(76561198124590521) betritt die Insel!" 2016/07/25, 18:22:11 Error: Object(4 : 5) not found
Allerdings sehe ich wenn ich das Menü öffne keine Items in der Liste angezeigt, lediglich die Textbuttons und Hintergründe.