Haruka 3 Report post Posted February 15, 2016 (edited) Hello Comunity, I become so many Erros in my RPT Log. Quote 20:45:45 Error Undefined variable in expression: exileclient_util_vehicle_gethitpoints 20:45:45 File exile_server\code\ExileServer_world_spawnVehicles.sqf, line 41 20:45:45 Error in expression <le; _hitpoints = _vehicleClassName call ExileClient_util_vehicle_getHitPoints; {> 20:45:45 Error position: <ExileClient_util_vehicle_getHitPoints; {> 20:45:45 Error Undefined variable in expression: exileclient_util_vehicle_gethitpoints 20:45:45 File exile_server\code\ExileServer_world_spawnVehicles.sqf, line 41 20:45:45 Error in expression <le; _hitpoints = _vehicleClassName call ExileClient_util_vehicle_getHitPoints; {> 20:45:45 Error position: <ExileClient_util_vehicle_getHitPoints; {> 20:45:46 Error Undefined variable in expression: exileclient_util_vehicle_gethitpoints 20:45:46 File exile_server\code\ExileServer_world_spawnVehicles.sqf, line 41 20:45:46 Error in expression <le; _hitpoints = _vehicleClassName call ExileClient_util_vehicle_getHitPoints; {> 20:45:46 Error position: <ExileClient_util_vehicle_getHitPoints; {> 20:45:46 Error Undefined variable in expression: exileclient_util_vehicle_gethitpoints 20:45:46 File exile_server\code\ExileServer_world_spawnVehicles.sqf, line 41 20:45:46 Error in expression <le; _hitpoints = _vehicleClassName call ExileClient_util_vehicle_getHitPoints; {> 20:45:46 Error position: <ExileClient_util_vehicle_getHitPoints; {< Here is my exile_server\code\ExileServer_world_spawnVehicles.sqf Quote /** * Exile Mod * exile.majormittens.co.uk * © 2015 Exile Mod Team * * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/. */ private["_mapCenterKindaButNotReally","_mapsizeX","_mapsizeY","_gridSize","_gridVehicles","_gridSizeOffset","_vehicleCount","_debugMarkers","_vehicleClassNames","_maximumDamage","_damageChance","_xSize","_workingXSize","_ySize","_workingYSize","_position","_spawned","_spawnedPositions","_positionReal","_spawnControl","_vehicleClassName","_vehicle","_hitpoints","_debugMarker"]; _mapCenterKindaButNotReally = (getArray(configFile >> "CfgWorlds" >> worldName >> "CenterPosition")); _mapsizeX = worldSize; _mapsizeY = worldSize; _gridSize = getNumber(configFile >> "CfgSettings" >> "VehicleSpawn" >> "vehiclesGridSize"); _gridVehicles = getNumber(configFile >> "CfgSettings" >> "VehicleSpawn" >> "vehiclesGridAmount"); format ["Spawning Dynamic Vehicles. GridSize: %1 Vehs/Grid : %2",_gridSize,_gridVehicles] call ExileServer_util_log; _gridSizeOffset = _gridSize % 2; _vehicleCount = 0; _debugMarkers = ((getNumber(configFile >> "CfgSettings" >> "VehicleSpawn" >> "vehiclesDebugMarkers")) isEqualTo 1); _vehicleClassNames = getArray (configFile >> "CfgSettings" >> "VehicleSpawn" >> "ground"); _maximumDamage = getNumber (configFile >> "CfgSettings" >> "VehicleSpawn" >> "maximumDamage"); _damageChance = getNumber (configFile >> "CfgSettings" >> "VehicleSpawn" >> "damageChance"); for "_xSize" from 0 to _mapsizeX step _gridSize do { _workingXSize = _xSize + _gridSizeOffset; for "_ySize" from 0 to _mapsizeY step _gridSize do { _workingYSize = _ySize + _gridSizeOffset; _position = [_workingXSize,_workingYSize]; _spawned = 0; _spawnedPositions = []; while {_spawned < _gridVehicles} do { _positionReal = [_position, 25, _gridSize, 5, 0 , 1 , 0 , _spawnedPositions] call BIS_fnc_findSafePos; if(_positionReal isEqualTo _mapCenterKindaButNotReally)exitWith{}; _spawnControl = [[(_positionReal select 0) - 50, (_positionReal select 1) + 50],[(_positionReal select 0) + 50,(_positionReal select 1) - 50]]; _spawnedPositions pushBack _spawnControl; _positionReal pushBack 0; _vehicleClassName = _vehicleClassNames select (floor (random (count _vehicleClassNames))); _vehicle = [_vehicleClassName, _positionReal, random 360, true] call ExileServer_object_vehicle_createNonPersistentVehicle; _hitpoints = _vehicleClassName call ExileClient_util_vehicle_getHitPoints; <-- this is Line 41 { if ((random 100) < _damageChance) then { _vehicle setHitPointDamage [_x, random _maximumDamage]; }; } forEach _hitpoints; if (_debugMarkers) then { _debugMarker = createMarker ["vehicleMarker#"+str _vehicleCount, _positionReal]; _debugMarker setMarkerColor "ColorOrange"; _debugMarker setMarkerType "mil_dot_noShadow"; }; _spawned = _spawned + 1; _vehicleCount = _vehicleCount + 1; }; }; }; format ["Dynamic vehicles spawned. Count : %1",_vehicleCount] call ExileServer_util_log; true I hope you can help me. MFG Haruka Edited February 15, 2016 by Haruka edit Share this post Link to post Share on other sites
0 Dizzturbed 98 Report post Posted February 15, 2016 if you havent changed anything in ExileServer_world_spawnVehicles.sqf the problem is located somewhere else. pls PASTEBIN you full rpt Share this post Link to post Share on other sites
0 Haruka 3 Report post Posted February 15, 2016 (edited) This is my RPT Log RPT Log Pastebin Edited February 15, 2016 by Haruka Link added Share this post Link to post Share on other sites
0 StokesMagee 871 Report post Posted February 15, 2016 Hmm, intresting. Is this happening after a fresh install? Share this post Link to post Share on other sites
0 Haruka 3 Report post Posted February 15, 2016 34 minutes ago, †RiH† Stokes said: Hmm, intresting. Is this happening after a fresh install? Oh yes, 4x fresh install everytime the same Errors. Share this post Link to post Share on other sites
0 nark0t1k 40 Report post Posted February 15, 2016 (edited) Hey here is my file Look like different than your ...http://pastebin.com/hYE2MhKj You: _hitpoints = _vehicleClassName call ExileClient_util_vehicle_getHitPoints; _hitpoints = _vehicleClassName call ExileClient_util_vehicle_getHitPoints; My _hitpoints = (getAllHitPointsDamage _vehicle) select 0; But ... it's 0.9.41 Check your version and download the last here Don't forget to take the emergency update ^^ Edited February 15, 2016 by nark0t1k Share this post Link to post Share on other sites
0 StokesMagee 871 Report post Posted February 15, 2016 This issue has been resolved. 1 Share this post Link to post Share on other sites
0 Haruka 3 Report post Posted February 15, 2016 Thread can be closed. Thanks to †RiH† Stokes Thanks for the help and rescue. MFG Tamas Share this post Link to post Share on other sites
0 Mezo 1264 Report post Posted February 15, 2016 We have closed this thread and marked it as solved. Share this post Link to post Share on other sites
Hello Comunity,
I become so many Erros in my RPT Log.
Here is my exile_server\code\ExileServer_world_spawnVehicles.sqf
I hope you can help me.
MFG Haruka
Edited by Harukaedit
Share this post
Link to post
Share on other sites