Guten Tag
ich habe gestern das Dynmarket system auf meinen server geklatscht nun lädt dieses aber keine items im markt also es werden keine angezeigt.
bitte um hilfe
Altis life 4.4 DnyMarket Lädt keine Items
-
Klaus_Trmump -
2. Dezember 2016 um 11:46 -
Geschlossen -
Erledigt
-
-
Code
Alles anzeigen9:57:35 Loading movesType CfgMovesRabbit_F 9:57:35 Reading cached action map data 9:57:35 MovesType CfgMovesRabbit_F load time 60 ms 9:57:37 Error in expression <tbox)-1,_itemDisplayIcon]; }; } forEach DYNMARKET_prices; > 9:57:37 Error position: <DYNMARKET_prices; > 9:57:37 Error Nicht definierte Variable in Ausdruck: dynmarket_prices 9:57:37 File mpmissions\__CUR_MP.Altis\core\DynMarket\fn_LoadIntoListbox.sqf, line 30 9:57:37 Error in expression <_forEachIndex; }; } forEach _stack; _return; > 9:57:37 Error position: <_stack; _return; > 9:57:37 Error Nicht definierte Variable in Ausdruck: _stack 9:57:37 Error in expression <itemArrayOld=["",0];}; _index = [_type,DYNMARKET_prices] call TON_fnc_index; _> 9:57:37 Error position: <DYNMARKET_prices] call TON_fnc_index; _> 9:57:37 Error Nicht definierte Variable in Ausdruck: dynmarket_prices 9:57:37 File mpmissions\__CUR_MP.Altis\core\DynMarket\fn_DisplayPrices.sqf, line 24 9:57:38 Error in expression <_forEachIndex; }; } forEach _stack; _return; > 9:57:38 Error position: <_stack; _return; > 9:57:38 Error Nicht definierte Variable in Ausdruck: _stack 9:57:38 Error in expression <itemArrayOld=["",0];}; _index = [_type,DYNMARKET_prices] call TON_fnc_index; _> 9:57:38 Error position: <DYNMARKET_prices] call TON_fnc_index; _> 9:57:38 Error Nicht definierte Variable in Ausdruck: dynmarket_prices 9:57:38 File mpmissions\__CUR_MP.Altis\core\DynMarket\fn_DisplayPrices.sqf, line 24 9:57:38 Error in expression <_forEachIndex; }; } forEach _stack; _return; > 9:57:38 Error position: <_stack; _return; > 9:57:38 Error Nicht definierte Variable in Ausdruck: _stack 9:57:38 Error in expression <itemArrayOld=["",0];}; _index = [_type,DYNMARKET_prices] call TON_fnc_index; _> 9:57:38 Error position: <DYNMARKET_prices] call TON_fnc_index; _> 9:57:38 Error Nicht definierte Variable in Ausdruck: dynmarket_prices 9:57:38 File mpmissions\__CUR_MP.Altis\core\DynMarket\fn_DisplayPrices.sqf, line 24 9:57:40 Error in expression <_forEachIndex; }; } forEach _stack; _return; > 9:57:40 Error position: <_stack; _return; > 9:57:40 Error Nicht definierte Variable in Ausdruck: _stack 9:57:40 Error in expression <itemArrayOld=["",0];}; _index = [_type,DYNMARKET_prices] call TON_fnc_index; _> 9:57:40 Error position: <DYNMARKET_prices] call TON_fnc_index; _> 9:57:40 Error Nicht definierte Variable in Ausdruck: dynmarket_prices 9:57:40 File mpmissions\__CUR_MP.Altis\core\DynMarket\fn_DisplayPrices.sqf, line 24 9:57:40 Error in expression <_forEachIndex; }; } forEach _stack; _return; > 9:57:40 Error position: <_stack; _return; > 9:57:40 Error Nicht definierte Variable in Ausdruck: _stack 9:57:40 Error in expression <itemArrayOld=["",0];}; _index = [_type,DYNMARKET_prices] call TON_fnc_index; _> 9:57:40 Error position: <DYNMARKET_prices] call TON_fnc_index; _> 9:57:40 Error Nicht definierte Variable in Ausdruck: dynmarket_prices 9:57:40 File mpmissions\__CUR_MP.Altis\core\DynMarket\fn_DisplayPrices.sqf, line 24 9:57:40 Error in expression <_forEachIndex; }; } forEach _stack; _return; > 9:57:40 Error position: <_stack; _return; > 9:57:40 Error Nicht definierte Variable in Ausdruck: _stack 9:57:40 Error in expression <itemArrayOld=["",0];}; _index = [_type,DYNMARKET_prices] call TON_fnc_index; _> 9:57:40 Error position: <DYNMARKET_prices] call TON_fnc_index; _> 9:57:40 Error Nicht definierte Variable in Ausdruck: dynmarket_prices 9:57:40 File mpmissions\__CUR_MP.Altis\core\DynMarket\fn_DisplayPrices.sqf, line 24 9:57:40 Error in expression <_forEachIndex; }; } forEach _stack; _return; > 9:57:40 Error position: <_stack; _return; > 9:57:40 Error Nicht definierte Variable in Ausdruck: _stack 9:57:40 Error in expression <itemArrayOld=["",0];}; _index = [_type,DYNMARKET_prices] call TON_fnc_index; _> 9:57:40 Error position: <DYNMARKET_prices] call TON_fnc_index; _> 9:57:40 Error Nicht definierte Variable in Ausdruck: dynmarket_prices 9:57:40 File mpmissions\__CUR_MP.Altis\core\DynMarket\fn_DisplayPrices.sqf, line 24 9:57:41 Error in expression <_forEachIndex; }; } forEach _stack; _return; > 9:57:41 Error position: <_stack; _return; > 9:57:41 Error Nicht definierte Variable in Ausdruck: _stack 9:57:41 Error in expression <itemArrayOld=["",0];}; _index = [_type,DYNMARKET_prices] call TON_fnc_index; _> 9:57:41 Error position: <DYNMARKET_prices] call TON_fnc_index; _> 9:57:41 Error Nicht definierte Variable in Ausdruck: dynmarket_prices 9:57:41 File mpmissions\__CUR_MP.Altis\core\DynMarket\fn_DisplayPrices.sqf, line 24 9:57:41 Error in expression <fnc_index; _costOld = 0; _itemArray = DYNMARKET_prices select _index; _cost = > 9:57:41 Error position: <DYNMARKET_prices select _index; _cost = > 9:57:41 Error Nicht definierte Variable in Ausdruck: dynmarket_prices 9:57:41 File mpmissions\__CUR_MP.Altis\core\DynMarket\fn_DisplayPrices.sqf, line 28 9:57:41 Error in expression <_forEachIndex; }; } forEach _stack; _return; > 9:57:41 Error position: <_stack; _return; > 9:57:41 Error Nicht definierte Variable in Ausdruck: _stack 9:57:41 Error in expression <itemArrayOld=["",0];}; _index = [_type,DYNMARKET_prices] call TON_fnc_index; _> 9:57:41 Error position: <DYNMARKET_prices] call TON_fnc_index; _> 9:57:41 Error Nicht definierte Variable in Ausdruck: dynmarket_prices 9:57:41 File mpmissions\__CUR_MP.Altis\core\DynMarket\fn_DisplayPrices.sqf, line 24 9:57:41 Error in expression <_forEachIndex; }; } forEach _stack; _return; > 9:57:41 Error position: <_stack; _return; > 9:57:41 Error Nicht definierte Variable in Ausdruck: _stack 9:57:41 Error in expression <itemArrayOld=["",0];}; _index = [_type,DYNMARKET_prices] call TON_fnc_index; _> 9:57:41 Error position: <DYNMARKET_prices] call TON_fnc_index; _> 9:57:41 Error Nicht definierte Variable in Ausdruck: dynmarket_prices
usw.
-
Da ich mich nicht so gut mit den programieren auskenne könntest du dir das ma anschaun?
mfg
marcel
ps. das ist die displayprices.sqfCode
Alles anzeigen#include <macro.h> /* ##################### 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 ### ################################################################# */ disableSerialization; _dialog = findDisplay 7100; _listbox = _dialog displayCtrl 7055; _cashdisplay = _dialog displayCtrl 7056; _amountsolddisplay = _dialog displayCtrl 7057; _cashdisplayold = _dialog displayCtrl 7058; _index = lbCurSel _listbox; _type = _listbox lbData _index; _itemArrayOld = []; if (!isNil "DYNMARKET_pricesOld") then {_itemArrayOld = DYNMARKET_pricesOld select (([_type,DYNMARKET_prices] call TON_fnc_index))} else {_itemArrayOld=["",0];}; _index = [_type,DYNMARKET_prices] call TON_fnc_index; _costOld = 0; _itemArray = DYNMARKET_prices select _index; _cost = _itemArray select 1; _costOld = _itemArrayOld select 1; _itemname = _itemArray select 0; _amountsold = 0; { _name = _x select 0; _sold = _x select 1; if (_itemname==_name) then { _amountsold = _amountsold + _sold; }; } forEach DYNAMICMARKET_boughtItems; _amountsolddisplay ctrlSetText format ["%1",_amountsold]; _cashdisplay ctrlSetText format ["%1$",_cost]; _arrowText = ""; if (_cost<_costOld) then { _percent = (100-((_cost/_costOld)*100)); _arrowText = format ["<t color='#FF0000'>↓ %1%2",_percent,"%"]; } else { if (_costOld<_cost) then { _percent = (100-((_costOld/_cost)*100)); _arrowText = format ["<t color='#04B404'>↑ %1%2",_percent,"%"]; } else { _percent = (100-((_costOld/_cost)*100)); _arrowText = format [""]; }; }; _cashdisplayold ctrlSetStructuredText parseText format ["%1$ %2",_costOld,_arrowText];