Jump to content

alleycat

Member
  • Content Count

    1003
  • Joined

  • Last visited

  • Medals

  • Medals

Everything posted by alleycat

  1. alleycat

    [R3F] Logistics

    Is is possible to specify objects that a factory can produce, insteat of categories? For example I would like to only have sandbags and barbwire, nothing else.
  2. ////////////////////////////////////////////////////////////////////////////// _markers = allMapMarkers; //{ _x setMarkerColor "ColorBlack"; } forEach _markers; finished = false; hint "Click on map to move mission area"; _posplayer = getpos player; openmap true; onMapSingleClick " global_pos=_pos; if (alive player) then { [player,global_pos] execVM ""strat\client\check_dist.sqf""; finished = true; }; true "; waitUntil {finished}; onMapSingleClick ''; Thanks everyone, this way it works.
  3. _markers = allMapMarkers; //{ _x setMarkerColor "ColorBlack"; } forEach _markers; finished = false; hint "Click on map to move mission area"; _posplayer = getpos player; //openmap true; while {alive player or visibleMap} do { //onMapSingleClick "player setpos _pos; onMapSingleClick ''; true"; onMapSingleClick " global_pos=_pos; finished = true; onMapSingleClick ''; [player,global_pos] execVM ""strat\client\check_dist.sqf""; true"; waitUntil {finished}; sleep 0.1; //finished = true; while {true} do { systemChat "waitloop"; waitUntil {finished}; if (true) exitWith {}; }; systemChat "finished"; }; onMapSingleClick ''; Tried that, does not work.
  4. Thanks for the help but I think I still got it wrong _markers = allMapMarkers; //{ _x setMarkerColor "ColorBlack"; } forEach _markers; finished = false; hint "Click on map to move mission area"; _posplayer = getpos player; //openmap true; while {alive player or visibleMap} do { onMapSingleClick "player setpos _pos; onMapSingleClick ''; true"; onMapSingleClick " global_pos=_pos; finished = true; onMapSingleClick ''; [player,global_pos] execVM ""strat\client\check_dist.sqf""; true"; waitUntil {finished}; sleep 0.1; //finished = true; while {true} do { systemChat "waitloop"; waitUntil {finished}; if (true) exitWith {}; }; systemChat "finished"; }; This works (the markers move when clicking on the map) and I get the system messages. But the functionality never stops. When a player closes the map, and then opens it again (without using the action from an object) he can still move the markers around. I would like to this to stop functioning after the first time.
  5. That was an attempt to quickly get out of the script, without this it still fails. What I do not understand is why the waituntil does block progression because i have set finished to true.
  6. When setting the multiplayer respawn setting to "SPECTATOR" in the new eden editor multiplayer screen, then in a dedicated server multiplayer game, a virtual zeus spawns as a regular soldiers. In single player the mission instantly ends. Possibly because the checkbox "end mission if all units are dead" is always on, even after unchecking it. When the multiplayer screen is opened it is checked.
  7. How would one launch a dedicated server with only default missions selected? when using Tophe launcher it only shows custom missions in the MP folder.
  8. Started using dev branch 2 days ago and whenever I start the game it reverts to 800x600 rez and is also overstretched as if it was applied on a monitor 4x my monitor size. However all gfx settings are unchanged. How to fix that?
  9. 18:51:55 ============================================================================================= List of mods =============================================================================================== 18:51:55 modsReadOnly = false 18:51:55 safeModsActivated = false 18:51:55 customMods = false 18:51:55 hash = '75D669C18BF8B5CDE1311B920B26F637262E6DDE' 18:51:55 hashShort = '91dda6a5' 18:51:55 name | modDir | default | origin | hash | hashShort | fullPath 18:51:55 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 18:51:55 Arma 3 DLC Bundle | dlcbundle | true | NOT FOUND | | | 18:51:55 Arma 3 Marksmen | mark | true | GAME DIR | 8650f48e453bac912164bf6a3f1dc9e18cfecd63 | b62cc902 | C:\Program Files (x86)\Steam\steamapps\common\Arma 3\mark 18:51:55 Arma 3 Helicopters | heli | true | GAME DIR | ea3f90eb3b3f93b730d8905c38a0dd22d05b8fe0 | d8538d0 | C:\Program Files (x86)\Steam\steamapps\common\Arma 3\heli 18:51:55 Arma 3 Karts | kart | true | GAME DIR | d6dce93f236c1cd01b42ac346b72a8d4028e6a82 | f693b720 | C:\Program Files (x86)\Steam\steamapps\common\Arma 3\kart 18:51:55 Arma 3 Zeus | curator | true | GAME DIR | fa05c0420594ba7a28bf03d870ef6b4e9fd24f8c | cb4b4e44 | C:\Program Files (x86)\Steam\steamapps\common\Arma 3\curator 18:51:55 Arma 3 | A3 | true | NOT FOUND | | | 18:51:55 ========================================================================================================================================================================================================== 18:51:55 InitSound ... 18:51:55 InitSound - complete 18:51:55 PhysX3 SDK Init started ... 18:51:55 PhysX3 SDK Init ended. 18:51:58 Attempt to override final function - rscminimap_script 18:51:58 Attempt to override final function - rscdisplayloading_script 18:51:58 Attempt to override final function - rscdisplayloading_script 18:51:58 Attempt to override final function - rscdisplayloading_script 18:51:58 Attempt to override final function - rscdiary_script 18:51:58 Attempt to override final function - rscdisplaysinglemission_script 18:51:58 Attempt to override final function - rscdiary_script 18:51:58 Attempt to override final function - rscdisplayremotemissions_script 18:51:58 Attempt to override final function - rscdisplayloading_script 18:51:58 Attempt to override final function - rscdiary_script 18:51:58 Attempt to override final function - rscdiary_script 18:51:58 Attempt to override final function - rscdisplaystrategicmap_script 18:51:58 Attempt to override final function - rscdisplaycommon_script 18:51:58 Attempt to override final function - rscdisplaygarage_script 18:51:58 Attempt to override final function - rscdisplayloading_script 18:51:58 Attempt to override final function - rscdisplaycurator_script 18:51:58 Attempt to override final function - rscdisplayattributes_script 18:51:58 Attempt to override final function - rscdisplayattributes_script 18:51:58 Attempt to override final function - rscdisplayattributes_script 18:51:58 Attempt to override final function - display3deneditattributes_script 18:51:58 Attempt to override final function - display3deneditattributes_script 18:51:58 Attempt to override final function - rscdisplayhostsettings_script 18:51:58 Attempt to override final function - rscdisplaycommon_script 18:51:59 Attempt to override final function - rscdisplaydebriefing_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - rscunitinfo_script 18:51:59 Attempt to override final function - slidertime_script 18:51:59 Attempt to override final function - slidertime_script 18:51:59 Attempt to override final function - slidertime_script 18:52:00 VoteThreshold must be in 0..1 range. Defaulting to 0.5 18:52:00 Initializing Steam server - Game Port: 2302, Steam Query Port: 2303 18:52:00 encodedStream length: 27 18:52:00 encodedStream: ·“öÉ,¶Ã8… 18:52:00 parts size:1) 18:52:00 part(27): ·“öÉ,¶Ã8… 18:52:01 Connected to Steam servers 18:52:15 Mission test4.Stratis: Missing 'description.ext::Header' 18:52:17 Unexpected message data (message struct NetworkMessageTeamMemberSetVariable, item creator) 18:52:17 Before (0x00000002): 00 00 03 06 05 04 16 01 05 05 fb 02 10 a3 48 d2 25 ad ee 79 91 bc cb 67 cf 60 16 d1 73 0b c6 43 18:52:17 Current (0x00000022): dd 18:52:17 Server error: Player without identity cat (id 1259967060) 18:52:17 Server error: Player without identity cat (id 1259967060) 18:52:17 Server error: Player without identity cat (id 1259967060) 18:52:17 Server error: Player without identity cat (id 1259967060) 18:52:17 Server error: Player without identity cat (id 1259967060) 18:52:17 Server error: Player without identity cat (id 1259967060) 18:52:17 Server error: Player without identity cat (id 1259967060) 18:52:17 Server error: Player without identity cat (id 1259967060) 18:52:17 Server error: Player without identity cat (id 1259967060) 18:52:17 Server error: Player without identity cat (id 1259967060) 18:52:17 Server error: Player without identity cat (id 1259967060) 18:52:17 Server error: Player without identity cat (id 1259967060) 18:52:17 Server error: Player without identity cat (id 1259967060) 18:52:17 Server error: Player without identity cat (id 1259967060) 18:52:17 Server error: Player without identity cat (id 1259967060) 18:52:17 Server error: Player without identity cat (id 1259967060) 18:52:17 Server error: Player without identity cat (id 1259967060) 18:52:17 Server error: Player without identity cat (id 1259967060) 18:52:17 Server error: Player without identity cat (id 1259967060) 18:53:48 Mission test4.Stratis: Missing 'description.ext::Header' 18:53:49 Unexpected message data (message struct NetworkMessageAskForSetSkill, item skill) 18:53:49 Before (0x00000165): 00 00 00 78 0c 02 00 00 00 fb 02 10 99 d7 b9 36 92 c0 32 9a 27 96 64 42 bb 8e b6 d4 1b 55 ba 2e 18:53:49 Current (0x00000185): 18:53:49 Server: Unhandled user message Type_104 18:53:49 Unexpected message data (message struct NetworkMessageAskForSetDamage, item who) 18:53:49 Before (0x00000002): 00 00 03 06 05 04 16 01 05 05 fb 02 10 99 d7 b9 36 92 c0 32 9a 27 96 64 42 bb 8e b6 d4 68 74 1a 18:53:49 Current (0x00000022): 7c 18:53:49 Server error: Player without identity cat (id 1353195721) 18:53:49 Server error: Player without identity cat (id 1353195721) 18:53:49 Server error: Player without identity cat (id 1353195721) 18:53:49 Server error: Player without identity cat (id 1353195721) 18:53:49 Server error: Player without identity cat (id 1353195721) 18:53:49 Server error: Player without identity cat (id 1353195721) 18:53:49 Server error: Player without identity cat (id 1353195721) 18:53:50 Server error: Player without identity cat (id 1353195721) 18:53:50 Server error: Player without identity cat (id 1353195721) 18:53:50 Server error: Player without identity cat (id 1353195721) 18:53:50 Server error: Player without identity cat (id 1353195721) 18:53:50 Server error: Player without identity cat (id 1353195721) 18:53:50 Server error: Player without identity cat (id 1353195721) 18:53:50 Server error: Player without identity cat (id 1353195721) 18:53:50 Server error: Player without identity cat (id 1353195721) 18:53:50 Server error: Player without identity cat (id 1353195721) 18:53:50 Server error: Player without identity cat (id 1353195721) 18:53:50 Server error: Player without identity cat (id 1353195721) 18:53:50 Server error: Player without identity cat (id 1353195721) 18:53:50 Server error: Player without identity cat (id 1353195721) 18:53:50 Server error: Player without identity cat (id 1353195721) The mission still gets stuck at the loading screen, but most of the errors are gone and the mission does not loop skip anymore. Again, fresh mission made with today's patch. Placed one unit, exported to MP.
  10. game crashes with paramdaytimehour.hpp not found when opening a game to host in multiplayer.
  11. https://forums.bistudio.com/topic/187735-game-crashes-with-paramdaytimehourhpp-not-found-when-opening-a-game-to-host-in-multiplayer/ getting this problem when trying to play a mission on a dedicated server. Anyone else can confirm? As far as I know I excluded all problems on my side.
  12. Bug still appears. Made new mission, 1 unit, exported to MP. Server keeps looping and skipping the mission.
  13. Still bugged after latest patch. I can press NEW in the MP browser without crashing, but any newly made mission since last day's patch keeps restart looping and never loads (dedicated). Loading an older decompiled endgame mission works.
  14. Thanks for the tip, it was caused by one mission I exported to MP. But what can cause that? I never had an error like that on stable, and the mission itself does run without crashes in SP. And there is no daytime param stuff in either the .ext files and no script call uses it. That is why I assumed it was caused by some bug in the developer branch. EDIT: Found the problem. After turning off binarizing files in preferences, it does not crash anymore. EDIT2: Only one specific mission is affected by the binarizing problem. A test mission with only one player unit placed does not cause it to crash. What is the most obvious thing to look for? EDIT3: Both the crash mission and the simple test mission cause the server to keep skipping and loading the mission (dedicated): The console spams "mission name" loaded every second and the clients are stuck at a loading screen. Logging in and typing #missions does not work. And this error shows at the dedicated server too: Include file a3\functions_f\Params\ParamDayTimeHour.hpp not found Both misions have no scripts or commands that call this script. If I am not mistaken it looks like a bug in the latest dev branch. 9:04:48 ============================================================================================= List of mods =============================================================================================== 9:04:48 modsReadOnly = false 9:04:48 safeModsActivated = false 9:04:48 customMods = false 9:04:48 hash = '22E4481029E7961BF25521F9D95C63F381197DC5' 9:04:48 hashShort = '8d9a39c4' 9:04:48 name | modDir | default | origin | hash | hashShort | fullPath 9:04:48 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 9:04:48 Arma 3 DLC Bundle | dlcbundle | true | NOT FOUND | | | 9:04:48 Arma 3 Marksmen | mark | true | GAME DIR | 8650f48e453bac912164bf6a3f1dc9e18cfecd63 | b62cc902 | C:\Program Files (x86)\Steam\steamapps\common\Arma 3\mark 9:04:48 Arma 3 Helicopters | heli | true | GAME DIR | ea3f90eb3b3f93b730d8905c38a0dd22d05b8fe0 | d8538d0 | C:\Program Files (x86)\Steam\steamapps\common\Arma 3\heli 9:04:48 Arma 3 Karts | kart | true | GAME DIR | d6dce93f236c1cd01b42ac346b72a8d4028e6a82 | f693b720 | C:\Program Files (x86)\Steam\steamapps\common\Arma 3\kart 9:04:48 Arma 3 Zeus | curator | true | GAME DIR | 7ca29781a3d9ca27ed4d46fdbc3543d6e2a50ad9 | 3b51d100 | C:\Program Files (x86)\Steam\steamapps\common\Arma 3\curator 9:04:48 Arma 3 | A3 | true | NOT FOUND | | | 9:04:48 ========================================================================================================================================================================================================== 9:04:48 InitSound ... 9:04:48 InitSound - complete 9:04:48 PhysX3 SDK Init started ... 9:04:48 PhysX3 SDK Init ended. 9:04:51 Error in expression <c_3DENInterface; if (get3denactionstate "togglemap" > 0) then {do3DENAction "tog> 9:04:51 Error position: <"togglemap" > 0) then {do3DENAction "tog> 9:04:51 Error Missing ) 9:04:51 File A3\functions_f_bootcamp\Inventory\fn_arsenal.sqf, line 536 9:04:51 Error in expression <c_3DENInterface; if (get3denactionstate "togglemap" > 0) then {do3DENAction "tog> 9:04:51 Error position: <"togglemap" > 0) then {do3DENAction "tog> 9:04:51 Error Missing ) 9:04:51 File A3\functions_f_bootcamp\Inventory\fn_arsenal.sqf, line 536 9:04:52 Error in expression <ushback _x;}; } foreach get3DENSelected "object"; set3DENAttributes [[_objects,"> 9:04:52 Error position: <"object"; set3DENAttributes [[_objects,"> 9:04:52 Error Missing ; 9:04:52 File A3\functions_f_mark\Vehicles\fn_garage.sqf, line 1329 9:04:52 Error in expression <ushback _x;}; } foreach get3DENSelected "object"; set3DENAttributes [[_objects,"> 9:04:52 Error position: <"object"; set3DENAttributes [[_objects,"> 9:04:52 Error Missing ; 9:04:52 File A3\functions_f_mark\Vehicles\fn_garage.sqf, line 1329 9:04:52 Error in expression <ushback _x;}; } foreach get3DENSelected "object"; set3DENAttributes [[_objects,"> 9:04:52 Error position: <"object"; set3DENAttributes [[_objects,"> 9:04:52 Error Missing ; 9:04:52 File A3\functions_f_mark\Vehicles\fn_garage.sqf, line 1340 9:04:52 Error in expression <ushback _x;}; } foreach get3DENSelected "object"; set3DENAttributes [[_objects,"> 9:04:52 Error position: <"object"; set3DENAttributes [[_objects,"> 9:04:52 Error Missing ; 9:04:52 File A3\functions_f_mark\Vehicles\fn_garage.sqf, line 1340 9:04:52 Error in expression < then { _pos = getposasl _x; _dir = (_x get3DENAttribute "rotation") select 0; i> 9:04:52 Error position: <get3DENAttribute "rotation") select 0; i> 9:04:52 Error Missing ) 9:04:52 File A3\3DEN\Functions\fn_3DENExportTerrainBuilder.sqf, line 14 9:04:52 Error in expression < then { _pos = getposasl _x; _dir = (_x get3DENAttribute "rotation") select 0; i> 9:04:52 Error position: <get3DENAttribute "rotation") select 0; i> 9:04:52 Error Missing ) 9:04:52 File A3\3DEN\Functions\fn_3DENExportTerrainBuilder.sqf, line 14 9:04:52 Error in expression <([false,true] select get3DENActionState _mode); }; disableserialization; privat> 9:04:52 Error position: <_mode); }; disableserialization; privat> 9:04:52 Error Missing ) 9:04:52 File A3\3DEN\Functions\fn_3DENToolbar.sqf, line 4 9:04:52 Error in expression <([false,true] select get3DENActionState _mode); }; disableserialization; privat> 9:04:52 Error position: <_mode); }; disableserialization; privat> 9:04:52 Error Missing ) 9:04:52 File A3\3DEN\Functions\fn_3DENToolbar.sqf, line 4 9:04:52 Error in expression <+ "Default")); _gridValue = get3DENGrid _gridType; _gridValues = getarray (_cfg > 9:04:52 Error position: <_gridType; _gridValues = getarray (_cfg > 9:04:52 Error Missing ; 9:04:52 File A3\3DEN\Functions\fn_3DENGrid.sqf, line 15 9:04:52 Error in expression <+ "Default")); _gridValue = get3DENGrid _gridType; _gridValues = getarray (_cfg > 9:04:52 Error position: <_gridType; _gridValues = getarray (_cfg > 9:04:52 Error Missing ; 9:04:52 File A3\3DEN\Functions\fn_3DENGrid.sqf, line 15 9:04:52 Error in expression <[ 999, false] ]; set3DENIconsVisible [_show,_show]; set3DENLinesVisible [_sho> 9:04:52 Error position: <[_show,_show]; set3DENLinesVisible [_sho> 9:04:52 Error Missing ; 9:04:52 File A3\3DEN\Functions\fn_3DENInterface.sqf, line 37 9:04:52 Error in expression <[ 999, false] ]; set3DENIconsVisible [_show,_show]; set3DENLinesVisible [_sho> 9:04:52 Error position: <[_show,_show]; set3DENLinesVisible [_sho> 9:04:52 Error Missing ; 9:04:52 File A3\3DEN\Functions\fn_3DENInterface.sqf, line 37 9:04:52 Error in expression <tY = 200; _offsetZ = 50; move3DENCamera [ [ (_pos select 0), (_pos select 1) - _> 9:04:52 Error position: <[ [ (_pos select 0), (_pos select 1) - _> 9:04:52 Error Missing ; 9:04:52 File A3\3DEN\Functions\fn_3DENListLocations.sqf, line 35 9:04:52 Error in expression <tY = 200; _offsetZ = 50; move3DENCamera [ [ (_pos select 0), (_pos select 1) - _> 9:04:52 Error position: <[ [ (_pos select 0), (_pos select 1) - _> 9:04:52 Error Missing ; 9:04:52 File A3\3DEN\Functions\fn_3DENListLocations.sqf, line 35 9:04:52 Error in expression <call bis_fnc_recompile;}; do3DENAction "MissionPreview"; } else { switch (tolow> 9:04:52 Error position: <"MissionPreview"; } else { switch (tolow> 9:04:52 Error Missing ; 9:04:52 File A3\3DEN\Functions\fn_3DENMissionPreview.sqf, line 9 9:04:52 Error in expression <call bis_fnc_recompile;}; do3DENAction "MissionPreview"; } else { switch (tolow> 9:04:52 Error position: <"MissionPreview"; } else { switch (tolow> 9:04:52 Error Missing ; 9:04:52 File A3\3DEN\Functions\fn_3DENMissionPreview.sqf, line 9 9:04:52 Error in expression <,0,0]; _dis = 0; if (get3DENActionState "togglemap" > 0) then { _pos = _ctrlMap > 9:04:52 Error position: <"togglemap" > 0) then { _pos = _ctrlMap > 9:04:52 Error Missing ) 9:04:52 File A3\3DEN\Functions\fn_3DENStatusBar.sqf, line 19 9:04:52 Error in expression <,0,0]; _dis = 0; if (get3DENActionState "togglemap" > 0) then { _pos = _ctrlMap > 9:04:52 Error position: <"togglemap" > 0) then { _pos = _ctrlMap > 9:04:52 Error Missing ) 9:04:52 File A3\3DEN\Functions\fn_3DENStatusBar.sqf, line 19 9:04:52 Error in expression <s = _input param [0,[]]; move3DENCamera [_pos,true] }; case "playfromhere": { _i> 9:04:52 Error position: <[_pos,true] }; case "playfromhere": { _i> 9:04:52 Error Missing ; 9:04:52 File A3\3DEN\Functions\fn_3DENEntityMenu.sqf, line 18 9:04:52 Error in expression <s = _input param [0,[]]; move3DENCamera [_pos,true] }; case "playfromhere": { _i> 9:04:52 Error position: <[_pos,true] }; case "playfromhere": { _i> 9:04:52 Error Missing ; 9:04:52 File A3\3DEN\Functions\fn_3DENEntityMenu.sqf, line 18 9:04:52 Error in expression <nMove_ca.paa"]]; if (get3DENActionState "togglemap" == 0) then { _fnc_show forea> 9:04:52 Error position: <"togglemap" == 0) then { _fnc_show forea> 9:04:52 Error Missing ) 9:04:52 File A3\3DEN\Functions\fn_3DENControlsHint.sqf, line 87 9:04:52 Error in expression <nMove_ca.paa"]]; if (get3DENActionState "togglemap" == 0) then { _fnc_show forea> 9:04:52 Error position: <"togglemap" == 0) then { _fnc_show forea> 9:04:52 Error Missing ) 9:04:52 File A3\3DEN\Functions\fn_3DENControlsHint.sqf, line 87 9:04:53 Attempt to override final function - rscminimap_script 9:04:53 Attempt to override final function - rscdisplayloading_script 9:04:53 Attempt to override final function - rscdisplayloading_script 9:04:53 Attempt to override final function - rscdisplayloading_script RPT log from dedicated server.
  15. Ok so as for load and save, I think I was confused by: string name of the object to load - does that mean the CLASSNAME of the object? I got it working but that might be an accident. I dropped one crate ( Box_NATO_Ammo_F classname) and called the crate variable crate1. Then: // execVM "persistence\save.sqf"; _pdw = ["new", "profile"] call OO_PDW; hint "Save all players"; "savePlayers" call _pdw; sleep 2; _pdw = ["new", "profile"] call OO_PDW; hint "Restore all Players"; "loadPlayers" call _pdw; sleep 2; This correctly spawned the saved crate (with the same inventory as it was saved). But "string name of object" still confuses me. EDIT: After reading your post again I get it. the name is just a label I can freely choose so it can be identified in the database? As for savenear /* Function: ["saveObjectsAroundPos", _array] call _pdw; Save all objects informations (type, position, damage) around an array containing [_position, _maxdistance] Parameters: _array : [[_position, _maxdistance], ..] _position : position array _maxdistance: scalar Return : True if success */ // execVM "persistence\savenear.sqf"; _pdw = ["new", "profile"] call OO_PDW; ["saveObjectsAroundPos", [[getmarkerpos "strat_players", 100]]call _pdw;//This line causes error Getting an error somwhere in the bracket.
  16. Hi, I was trying to run stock arma missions on my dedicated. But so far I only got it to work by having a blank MPmissions folder and logging into the server as admin, calling #missions then selecting it. How to get the server to loop a set of built in missions? // Config file generated 27.01.2016 20:03 with TADST. steamPort = 8766; hostName = "server name"; password = ""; passwordAdmin = ""; logFile = ""; motd[] = { "" }; motdInterval = 300; maxPlayers = 36; kickduplicate = 0; verifySignatures = 2; requiredSecureId = 0; voteMissionPlayers = 3; voteThreshold = 1.5; disableVoN = 0; vonCodecQuality = 15; persistent = 0; timeStampFormat = "short"; BattlEye = 1; doubleIdDetected = ""; onUserConnected = ""; onUserDisconnected = ""; onHackedData = ""; onDifferentData = ""; onUnsignedData = ""; regularCheck = ""; class Missions { }; Tried the white list with specific stock mission names and same for class Missions.
  17. Why is there no way to load default missions?
  18. The paste in the arsenal tab appears to be bugged. The text field does not line break properly after 8 lines causing this: [[], [], [], [], [[],[]], [[],[]], [["30Rnd_65x39_caseless_green","16Rnd_9x21_Mag","30Rnd_9x21_Mag","6Rnd_45ACP_Cylinder","150Rnd_762x54_Box"],[8,1,1,1,2]], [[
  19. I would like to request a feature. Clicking on a player to get all of his inventory and health and location in a paste file, and the possibility to paste it back into the game. I managed to code custom ares functionality to show hints for a specific player but getting his gear I failed so far.
  20. But I can still save players separately in the same mission and later use commands that affect objects and it wont erase the player saves? Also can we get easier to follow syntax examples? I keep getting errors when it comes to arrays in saveObjectsAroundPos. Another problem for me is getting a specific crate to save: crate script _pdw = ["new", "profile"] call OO_PDW; _bool = ["saveObject", ["crate1", "BOX_IND_Wps_F"]] call _pdw; 12:02:22 Error in expression <e = "pdw_object_" + _name; _array = [ (typeof _object), (getpos _object), (getd> 12:02:22 Error position: <typeof _object), (getpos _object), (getd> 12:02:22 Error typeof: Type String, expected Object 12:02:22 File C:\Users\cat\Documents\Arma 3\missions\cat_cp_1.Stratis\persistence\oo_pdw.sqf, line 404 the crate "crate1 exists in the map and I used the classname displayed in the 3d editor And using crate1 as a variable instead of string in the script creates a new error: 12:04:01 Error in expression <ss, {nil}])); }; _name = "pdw_object_" + _name; _array = [ (typeof _object), (> 12:04:01 Error position: <+ _name; _array = [ (typeof _object), (> 12:04:01 Error +: Type Object, expected Number,Array,String,Not a Number 12:04:01 File C:\Users\cat\Documents\Arma 3\missions\cat_cp_1.Stratis\persistence\oo_pdw.sqf, line 401 I think the script is very powerful and useful but better example to follow would be great to make its use easier for less experienced scripters.
  21. Trying to use mapclick and calculate a distance, but the script gives errors: finished = 0; hint "Click on map to move #players marker."; _posplayer = getpos player; openmap true; onMapSingleClick "player setpos _pos; onMapSingleClick ''; true"; onMapSingleClick """strat_players"" setmarkerpos _pos; player setpos _pos; finished = 1; onMapSingleClick ''; diag_log text format [""Distance from start to end: %1"", _posplayer distance _pos]; true"; waitUntil {(finished == 1)}; hint "#players marker moved to click position."; hint format ["Distance from start to end: %1", _posplayer distance _pos]; Error message: 19:57:23 Distance from start to end: scalar 19:57:23 Error in expression < start to end: %1", _posplayer distance _pos]; if (true) then { };> 19:57:23 Error position: <_pos]; if (true) then { };> 19:57:23 Error Undefined variable in expression: _pos
  22. alleycat

    Onmapclick problem

    How did I not see that before? Thanks. Also global_pos is a global variable even when it is declared within something?
  23. I have tried loadplayers and saveplayers but it does not appear to affect anything. In single player editor. I called saveplayers, then moved around a bit, dropped some weapons and called loadplayers, but nothing happens. I called it from the console.
  24. Have not played arma for some time and now I discovered the shared objectives feature. Does it already work on its own outside of ENDGAME and can a task be created in ZEUS with the samefunctionality?
  25. I would like to create a game logic via script and name it. How to do that? I have tried createUnit but it has a load of parameters I do not need and I am not sure where to actually "name" it. And it also throws an error about the group name.
×