Hallo ich habe heute ein Marksystem auf meinem Server eingeführt und bekomme jetzt etliche Fehler in den Logs aber weiss nicht worans liegt. Das Marktsystem funktioniert aber es pusht die preise hoch und runter wie es gerade lust hat hier mal der fehler:
Spoiler anzeigen
22:06:47 "[MARKET] marketChange called."
22:06:47 Error in expression <
_modifier = (_amount * (_arr_resource select 5));
_price = _price + _modifie>
22:06:47 Error position: <select 5));
_price = _price + _modifie>
22:06:47 Error Zero divisor
22:06:47 File core\market\fn_marketBuy.sqf [life_fnc_marketBuy], line 22
22:06:47 Error in expression <
_modifier = (_amount * (_arr_resource select 5));
_price = _price + _modifie>
22:06:47 Error position: <select 5));
_price = _price + _modifie>
22:06:47 Error Zero divisor
22:06:47 File core\market\fn_marketBuy.sqf [life_fnc_marketBuy], line 22
22:06:47 Error in expression <
_modifier = (_amount * (_arr_resource select 5));
_price = _price + _modifie>
22:06:47 Error position: <select 5));
_price = _price + _modifie>
22:06:47 Error Zero divisor
22:06:47 File core\market\fn_marketBuy.sqf [life_fnc_marketBuy], line 22
22:06:47 Error in expression <
_modifier = (_amount * (_arr_resource select 5));
_price = _price + _modifie>
22:06:47 Error position: <select 5));
_price = _price + _modifie>
22:06:47 Error Zero divisor
22:06:47 File core\market\fn_marketBuy.sqf [life_fnc_marketBuy], line 22
22:06:47 "+Market+ Event exampleitem"
22:21:47 "[MARKET] marketChange called."
22:21:47 Error in expression <
_modifier = (_amount * (_arr_resource select 5));
_price = _price + _modifie>
22:21:47 Error position: <select 5));
_price = _price + _modifie>
22:21:47 Error Zero divisor
22:21:47 File core\market\fn_marketBuy.sqf [life_fnc_marketBuy], line 22
22:21:47 "Server FSM timer"
22:21:47 Error in expression <
_modifier = (_amount * (_arr_resource select 5));
_price = _price + _modifie>
22:21:47 Error position: <select 5));
_price = _price + _modifie>
22:21:47 Error Zero divisor
22:21:47 File core\market\fn_marketBuy.sqf [life_fnc_marketBuy], line 22
22:21:47 Error in expression <
_modifier = (_amount * (_arr_resource select 5));
_price = _price + _modifie>
22:21:47 Error position: <select 5));
_price = _price + _modifie>
22:21:47 Error Zero divisor
22:21:47 File core\market\fn_marketBuy.sqf [life_fnc_marketBuy], line 22
22:21:47 Error in expression <
_modifier = (_amount * (_arr_resource select 5));
_price = _price + _modifie>
22:21:47 Error position: <select 5));
_price = _price + _modifie>
22:21:47 Error Zero divisor
22:21:47 File core\market\fn_marketBuy.sqf [life_fnc_marketBuy], line 22
22:21:47 "+Market+ Event exampleitem"
22:36:47 "[MARKET] marketChange called."
22:36:47 "+Market+ Correcting market value of oil_processed from 5500 to 5500 by 0"
22:36:47 "+Market+ Correcting market value of diamond_cut from 4560 to 4549 by -11"
22:36:47 "+Market+ Correcting market value of copper_refined from 2514 to 2512 by -2"
22:36:47 "+Market+ Correcting market value of iron_refined from 3500 to 3500 by 0"
22:36:47 "+Market+ Correcting market value of salt_refined from 4812 to 4826 by 14"
22:36:47 "+Market+ Correcting market value of glass from 3450 to 3450 by 0"
22:36:47 "+Market+ Correcting market value of cement from 3350 to 3350 by 0"
22:36:47 "Server FSM timer"
22:36:47 "+Market+ Correcting market value of goldbar from 55026 to 55026 by 0"
22:36:47 "+Market+ Correcting market value of marijuana from 5771 to 5767 by -4"
22:36:47 "+Market+ Correcting market value of cocaine_processed from 6300 to 6300 by 0"
22:36:47 "+Market+ Correcting market value of heroin_processed from 6500 to 6500 by 0"
22:51:47 "[MARKET] marketChange called."
22:51:47 "Server FSM timer"
23:06:47 "[MARKET] marketChange called."
23:06:47 "+Market+ Correcting market value of oil_processed from 5500 to 5500 by 0"
23:06:47 "+Market+ Correcting market value of diamond_cut from 4589 to 4578 by -11"
23:06:47 "+Market+ Correcting market value of copper_refined from 2516 to 2511 by -5"
23:06:47 "+Market+ Correcting market value of iron_refined from 3515 to 3512 by -3"
23:06:47 "Server FSM timer"
23:06:47 "+Market+ Correcting market value of salt_refined from 4826 to 4829 by 3"
23:06:47 "+Market+ Correcting market value of glass from 3422 to 3426 by 4"
23:06:47 "+Market+ Correcting market value of cement from 3350 to 3350 by 0"
23:06:47 "+Market+ Correcting market value of goldbar from 55026 to 55018 by -8"
23:06:47 "+Market+ Correcting market value of marijuana from 5767 to 5761 by -6"
23:06:47 "+Market+ Correcting market value of cocaine_processed from 6075 to 6103 by 28"
23:06:47 "+Market+ Correcting market value of heroin_processed from 6500 to 6500 by 0"
23:21:47 "[MARKET] marketChange called."
23:21:47 "Server FSM timer"
23:21:47 Error in expression <
_modifier = (_amount * (_arr_resource select 5));
_price = _price + _modifie>
23:21:47 Error position: <select 5));
_price = _price + _modifie>
23:21:47 Error Zero divisor
23:21:47 File core\market\fn_marketBuy.sqf [life_fnc_marketBuy], line 22
23:21:47 Error in expression <
_modifier = (_amount * (_arr_resource select 5));
_price = _price + _modifie>
23:21:47 Error position: <select 5));
_price = _price + _modifie>
23:21:47 Error Zero divisor
23:21:47 File core\market\fn_marketBuy.sqf [life_fnc_marketBuy], line 22
23:21:47 "+Market+ Event drugp"
23:36:47 "[MARKET] marketChange called."
23:36:47 "+Market+ Correcting market value of oil_processed from 5500 to 5500 by 0"
23:36:47 "+Market+ Correcting market value of diamond_cut from 4578 to 4573 by -5"
23:36:47 "+Market+ Correcting market value of copper_refined from 2511 to 2508 by -3"
23:36:47 "+Market+ Correcting market value of iron_refined from 3512 to 3512 by 0"
23:36:47 "+Market+ Correcting market value of salt_refined from 4829 to 4832 by 3"
23:36:47 "Server FSM timer"
23:36:47 "+Market+ Correcting market value of glass from 3426 to 3427 by 1"
23:36:47 "+Market+ Correcting market value of cement from 3350 to 3350 by 0"
23:36:47 "+Market+ Correcting market value of goldbar from 55018 to 55014 by -4"
23:36:47 "+Market+ Correcting market value of marijuana from 5901 to 5846 by -55"
23:36:47 "+Market+ Correcting market value of cocaine_processed from 6293 to 6294 by 1"
23:36:47 "+Market+ Correcting market value of heroin_processed from 6700 to 6620 by -80"