Jump to content


  • Content Count

  • Joined

  • Last visited

About Darce

  • Rank

Recent Profile Visitors

583 profile views
  1. Darce

    AxeCops Elevators in

    Solved! The old localisation problem. if I move the following from elevator_init to the init/variables then it works fine DZE_maintainClasses = DZE_maintainClasses + [ELE_StopClass]; DZE_isRemovable = DZE_isRemovable + [ELE_StopClass]; DayZ_SafeObjects = DayZ_SafeObjects + [ELE_StopClass]; So it appears that when it's in the elevator_init then the global DayZ_SafeObjects doesn't have the stop class. When it's added in the init/variables then it does. Working fine now, thanks :)
  2. Darce

    AxeCops Elevators in

    In AC_Functions.sqf I inserted the following, to see what is being passed to the check_publishObject function if ((typeOf _object) in DayZ_SafeObjects) then { diag_log format ["Elevator passing _objectCharacterID %1 _object %2 _obj %3 player %4",_objectCharacterID,_object,_obj,player]; }; It returned the dialog below, which to me says that the stop is in DayZ_SafeObjects; But I'm tossed if I can understand why it isn't when it comes to the check_publishObject function.
  3. Darce

    AxeCops Elevators in

    So if I upgrade a door (lock it) this is reported; 9:22:43 "DELETE DIRECT: SERVER deleted object with UID: 4634528045119" 9:22:43 "DEBUG: Checking if Object: 2ec6ab00# 307083: steel_garage_locked.p3d REMOTE is allowed, published by Server" 9:22:43 "DEBUG: Object: 2ec6ab00# 307083: steel_garage_locked.p3d REMOTE published by Server is allowed by DayZ_SafeObjects" 9:22:43 "UPGRADE: Playername UID upgraded CinderWallDoorLocked_DZ @045021 [4514.1,8043.91,0.00143886]" 9:22:49 "Playername UID LOCKED CinderWallDoorLocked_DZ with code: 829 @045021 [4514.9,8045.05,0.0009999]" This is done by the player_upgrade.sqf which passes the same information as does the elevator script
  4. Darce

    AxeCops Elevators in

    No. I can't find any incidents of DZE_AllowedObjects anywhere. With Object_Debug turned on I get the following in the server report; 9:23:45 "DELETE DIRECT: SERVER deleted object with UID: 47032348036192" 9:23:45 "DEBUG: Checking if Object: 23aaeb00# 307125: metal_floor_ghost.p3d REMOTE is allowed, published by Server" 9:23:45 "DEBUG: Object: 23aaeb00# 307125: metal_floor_ghost.p3d REMOTE published by Server is allowed by any" 9:23:45 Error in expression <2 is allowed by %3",_object,_playername,_saveObject]; _allowed }; server_hive> 9:23:45 Error position: <_saveObject]; _allowed }; server_hive> 9:23:45 Error Undefined variable in expression: _saveobject 9:23:45 File z\addons\dayz_server\init\server_functions.sqf, line 165 9:23:45 "Invalid object swap by playerUID:xxx" So it looks like the server_functions is dropping the ball - it functions normally for something like upgrading a door, but errors out for the elevator stop. check_publishobject = { private ["_saveObject","_allowed","_allowedObjects","_object","_playername"]; _object = _this select 0; _playername = _this select 1; _allowed = false; #ifdef OBJECT_DEBUG diag_log format["DEBUG: Checking if Object: %1 is allowed, published by %2",_object,_playername]; #endif if ((typeOf _object) in DayZ_SafeObjects) then { _saveObject = "DayZ_SafeObjects"; _allowed = true; }; //Buildings if (_object isKindOf "DZ_buildables") then { _saveObject = "DZ_buildables"; _allowed = true; }; #ifdef OBJECT_DEBUG diag_log format["DEBUG: Object: %1 published by %2 is allowed by %3",_object,_playername,_saveObject]; #endif _allowed }; To me it looks as if it passes the test for being in DayZ_SafeObjects but then has a mind fart at assigning _saveobject. I'm missing something here.
  5. Darce

    AxeCops Elevators in

    So what was the fix for elevator stops being deleted? I'm using Schalldampfer's version and the stop gets stopped, hehe, apparently by the server_swapObject.sqf. The floor gets deleted, but it seems to fail the check around line 45; _allowed = [_object, "Server"] call check_publishobject; if (!_allowed || !_proceed) exitWith { if(!isNull(_object)) then { deleteVehicle _object; }; diag_log ("Invalid object swap by playerUID:" + _playerUID); }; In the server report I am seeing; "DELETE DIRECT: SERVER deleted object with ID: 1285" "Invalid object swap by playerUID:xxxxxx" (UID edited to protect the somewhat innocent) So, as best I can make out, check_publishobject simply confirms the stop is in DayZ_SafeObjects - which it is, so perhaps it's !_proceed which is causing the issue? I can't see why it should.
  6. Well, a complete reinstall did the trick. Now I'm back to the original issue - how to start the server before the game, so I don't have to kill the server if the game freezes.
  7. Cheers Mig, saw that post. In my case, the server was working this morning. I only started mucking around with it because I couldn't restart Arma once the server was running. Game froze and I had to reboot, which dumped the server and the guys playing on it (testing *cough* ). Uncool. See, I found that if you try to start Epoch using Dayzlauncher, after the server is running, simply drops from Steam back to the server console. Turns out that Steam sees A2OA is already running and stops. Starting Epoch first and then the server is fine. When I first started writing stuff for Dayz, a few years back, this didn't happen. So I tried using the steamApp ID to launch the server using a desktop shortcut from Steam, but it fails the Battleye initialization every time. steam://rungameid/33935 -port=2302 "-config=D:\SteamLibrary\steamapps\common\Arma 2 Operation Arrowhead\PantheraServer\panthera.cfg" "-cfg=D:\SteamLibrary\steamapps\common\Arma 2 Operation Arrowhead\PantheraServer\basic.cfg" "-profiles=D:\SteamLibrary\steamapps\common\Arma 2 Operation Arrowhead\PantheraServer" -name=server "[email protected];@DayzOverwatch;@DayZ_Epoch;@DayZ_Epoch_Server;" I could still start the server using the standard batch file, just not before launching the game. This is fine when I am simply test running scripts but not when people are on the server. "Sorry guys, game's crashed I need to restart everything" followed by the inevitable "Can ya wait a couple (40) minutes while I finish this mission and put everything in my safe". Then I went down the rabbit hole of using the SteamCMD process, with no joy as I couldn't get the server to start with BE using the appID. I tried a heap of other stuff as well, with no joy, and eventually gave up. I needed a fix so launched the game, started the server and discovered I'd broken it . [very sad face] As soon as the server tries starting the hive it reports the error above. So now I've just finished uninstalling all the runtime libraries before rebooting and reinstalling and I'm typing this while I wait for Arma 2 to install from Steam. I should have A2OA and the Beta installed sometime tomorrow evening and I'll start again.
  8. I run a dedicated server on my machine for testing purposes. An issue I have been having is that Steam doesn't let me start the server and then the game, so I was trying to sort that out. After several days of searching for answers, it seemed like the steamcmd line was going to work - I could start the server first and then the game, but the server was failing the Battleye initialisation. Fed up, I decided to shoot some zombies and followed the old routine of starting A2OAfirst, then the server. Server now hangs on Authentication as it fails to connect to the hive. I'm getting the following in the console (No lovely green hive read/writes at all); 15:41:17 XXXX uses modified data file 15:41:17 Player XXXX connecting. 15:41:18 Mission DayZ Epoch Panthera read from directory. 15:41:20 Player XXXX connected (id=yadayada). 15:41:26 Roles assigned. 15:41:26 Reading mission ... 15:41:39 Mission read. 15:42:04 Game started. and in the server report; 15:41:57 Error in expression <erver_hiveReadWrite; _outcome = _result select 0; if (_outcome == "PASS") then {> 15:41:57 Error position: <select 0; if (_outcome == "PASS") then {> 15:41:57 Error select: Type String, expected Array,Config entry 15:41:57 File z\addons\dayz_server\system\server_monitor.sqf, line 23 Driving me crazy. I've reinstalled the server, database, all the c++ redistributables - all the usual stuff Any ideas what else I can try?
  9. Which one? There are so many....
  10. Darce

    [Release] Customize your debug_box

    Yeah, strange that squad.xml works but nothing else does
  11. Darce

    [Release] Customize your debug_box

    Yup, not going to stop trying though :ph34r:
  12. If you feel the need to jazz up your respawn point, hopefully this will help you. An example: Tools required: Notepad++ PBO Manager (or similar) M3Editor ( Many thanks to Maca134 for this awesome tool) This pack from github Unzip the github files to your hard drive. The amphi.altis folder needs to be placed in "C:\Users\<username>\Documents\Arma 3\missions Load A3 with Epoch and M3Editor and start the amphi.altis mission. It will start with the default debug_box and clone vats we all know and love. Use your mouse-wheel to select "Delete" and you'll be left with the basic teleporters. The little orange sphere is there to represent _respawnwest. This is where your players will come into Altis initially. You can use the delete button at any time to remove all items within 35 meters of the sphere (Items placed with the M3Editor can be cleared from there). Mouse-wheel to Spawn, and you'll be presented with a demo scene of an ancient amphitheater. Note that the teleports have moved (they're behind you!). Cool? Restart the mission for the next bit. Now mouse-wheel to select the M3Editor, and load the amphi.sqf project file. You should now have a spiffing ancient amphitheater with three teleporters. Have a play around, move stuff, get familiar with the editor. Press Esc to exit the editor and run around, mouse-scroll to go back. Clicking anywhere on the map will transport you there. Once you're happy, you need to "export to sqf". amphi_sqf.sqf is an example using the amphi project. Now the fun starts... Load spawn.sqf into Notepad++, this is to test the scene you have created will actually load into the game properly. Some items placed in the editor may bounce, explode, or vibrate like crazy in "the real world" :D Load your sqf export into Notepad++ and copy the _obs array to paste over top of the same array in spawn.sqf. In spawn.sqf, cut the "Transport_C_EPOCH" lines from the _obs array and paste them into the _final array. This tells the script where you want them moved to. Restart the mission, hit Spawn and see the changes you have made. Once you're happy with the results, follow the same process with the cloneroom.sqf within the "cloneroom\serverside" folder from the github files. All that remains now is to pack the cloneroom folder into a pbo file and place that within your "@Epochhive\addons" folder. Flash up your server and, all things going well, you'll be running around your shiny new spawn point. What can go wrong?: Nothing happens: Check your server_rpt file. If there is no reference to cloneroom, then you have packed the pbo incorrectly, perhaps there's no prefix? "x\addons\cloneroom". If it is there, but you have some weird error, check to see if the last line of your _obs array ends with a comma. That's naughty, don't do it. Only part of my scene is loading: You have fallen foul of a formatting error. It'll be one of those double-damned ; My teleporters are sending me to the wrong places: Swap around the lines of the _final array until they match up. Use a pencil and paper, this took me ages the first time :wacko: But what is the go with "UserTexture10m_F"? This is for your custom signs, Remember that big, ugly LXM advert in the amphiteatre? That's one of them. If you decide to use this, then the image files need to be packed into your mission.pbo (until I can figure a way to store images in the cloneroom.pbo) Have a look at the original spawn.sqf, line 52 to see how these are formatted. Good luck, hope this helps you out.
  13. Darce

    #SEM - Simple Epoch Missions v0.8.1 + 0.8.3 test

    Using stock epochAH, players get kicked and an admin ban if they run over mission AI. Redis log is showing ": Crypto: -150". I 'think" it's when the semclient SEM_Krypto_AIroadkill publiceventhandler triggers. Why players aren't being kicked for gaining crypto on killing AI is beyond me. Players get put on the bans.txt and can't get back on until the entry is removed and the server is restarted. I'm in favour of punishing roadkilling mission AI, but that's a tad drastic! Any ideas on how to fix this? (Without disabling the stock AH)
  14. Darce

    Taxi & Bus | Transport for Arma

    I was in a mood. Cheers for the quick reply though, may I take it the Americanisation of the soon-to-be-ever-so-miserable tribal people is well on the way? Regarding the first kil. The cab smacked me in the head as it suddenly took off and flew in roughly a westerly direction. It then vanished. Perhaps a setPos immediately before deletion? I've seen a number of scripts do that for some reason. It's like a sanity check, "Is the cab actually there before I delete it?" Who cares, vaporise the sucker! The second kill was when Fangio masterfully took a left turn, and a section of wall and a tree, nearly a house with a small child playing out front. I was ejected, no seatbelt, and splatterated across the aforementioned house. The kid thought it was funny. I had no intention of getting out of the cab, I got spat out. Regarding pathing, perhaps you could have a chat with Donnovan who released the snazzy which uses a nice little routine for finding crossroads. Then the dummies only have to path between; works for his convoys (who, incidentally, are also guilty of running over pedestrians). Yes please, I'd appreciate getting into your script, tearing it to pieces and seeing just what can be done. I run strictly enthusiast, no pay to win, no don't give me money, I'm not paying for it anyway, buy yourself a lot of booze and do funny things on the server type servers (look up "Mullet Mayhem" for A2 or A3 if you want to see some bad scripting hidden behind pretty graphics). I'd also be keen to learn more about the encryption process you used, I take it was done in grepWin with a regex script?
  15. So I come up with a snazzy little script to do 'stuff'. It's got pretty pictures and everything! I even have it running from an addon pbo (didn't that take some figuring out?) Now, if I pack those images into the mission pbo I see the pix no problems. If I repath them from "art\michalangelo.paa" to "x\addons\snazzy_little_script\art\michalangelo.paa" then it says it's unable to load it. :( I really, really hate large mission files. Maybe one day I'd like to make my script do comical noises as well, but that aint gonna happen until I can stuff the resources off to one side on the server. Has anyone figured out how to do this? Care to share?