abrakadobr
Members-
Content Count
10 -
Joined
-
Last visited
Community Reputation
1 NeutralAbout abrakadobr
-
Rank
Scavenger
-
How to get player head orientation on server side?
abrakadobr replied to abrakadobr's topic in Scripting
created question at feedback https://feedback.bistudio.com/T166383 -
Hi all! I'm trying to get players body and head orientation on server side (when player hold Alt key and rotate head independently of body) - any clue how can I get it? `player.GetDirection()` and `player.m_CharactersHead.GetDirection()` same as bones head and neck `GetBoneRotationWS` are always same whatever direction head is looking 😞 but for sure there is somewhere this information on server side
-
you can't just repack pbo and run public server with repacked files - dayz (enfusion, to be more precise) is checking pbos by signatures. after repack signatures becomes not correct and enfusion gives you error. it's totally NOT recommended to modify game in such way - you don't have signature keys to resign pbo, it's bad idea to run server with any keys like Verifysignature=0 or -filepatching - cuz any player can join your server with their own code (including hacking, cheating) and server will not verify theirs pbos. Correct way to do such modifications - make changes in init.c file of mission (on server), or, if your changes are not fit to init.c - make your own mod (server side only, or both - server+client), so you can sign mod's pbo (where you'll implement your changes) and put it with signature file to your server mods.
-
Problem HELP ! Hosting local machine server to play online with friends.
abrakadobr replied to Rellike's topic in Servers
Access to your server depends on your network configuration. When you start server on "some pc" - network configuration of your pc will determine if apps on your pc (and dayz server is just an app) are accessible and where they are accessible. By default - your pc (and dayz server running on your pc) is accessible only in local network (LAN) and that's why you are able to connect via LAN. If you want your pc (and apps running on pc) be accessible "all over the world" (community tab) - your pc should have "global internet ip address" and exactly this "internet ip address" will be used by players (and your friends) to join game. -
-
Hi All! There is defenition of MakeScreenshot funnction in scripts/1_Core/proto/proto.c /*! makes screenshot and stores it in to a DDS format file if the name begins with '$' the screenshot in stored in the fullpath according to the name parameter otherwise the screenshot is stored in "$profile:ScreenShotes/DATE TIME-NAME.dds" where DATE, TIME AND NAME are replaced by actual values \param name name of the screenshot */ proto native void MakeScreenshot(string name); but I can't get any results using it. I can't find any code using it, and can't find any mod doing screenshots so come to question - does it works? Calling this function doesn't generates any errors, but I can't see any dds files created anywhere - maybe I'm searching in wrong directories? Any knowledge are welcome 🙂 p.s. same question on feedback https://feedback.bistudio.com/T165276 already created 🙂
-
yep. dialing codelock is action, so there will be logs in 2 groups per each dialing number: 1. few logs {"event":"ACTION_CONTINUOUS_LOG","data":{"id":"190","name":"#dial_combination_lock","target":{"id":"2938253","type":"CombinationLock4"}},"player":{"id":"2940240","name":"abr","dzid":"EvAaSgrngIN9LQw75pWcanosnPX7v6i35CDuuU5cX6s=","steamId":"76561198164014338","position":{"x":11877.6,"y":351.614,"z":6562.09}}} ACTION_CONTINUOUS_LOG - for actions executing continuously - so there will more than 1 log about this - all time when player dialing lock - this logs will fire 2. single log {"event":"ACTION_LOG","data":{"id":"190","name":"#dial_combination_lock","target":{"id":"2938253","type":"CombinationLock4"}},"player":{"id":"2940240","name":"abr","dzid":"EvAaSgrngIN9LQw75pWcanosnPX7v6i35CDuuU5cX6s=","steamId":"76561198164014338","position":{"x":11877.6,"y":351.614,"z":6562.09}}} it will fire on "action end" - when player finished dialing number (successfuly or not) So all together dialing of single number looks like: 13:07:52 | JSON{"event":"ACTION_CONTINUOUS_LOG","data":{"id":"190","name":"#dial_combination_lock","target":{"id":"2938253","type":"CombinationLock4"}},"player":{"id":"2940240","name":"abr","dzid":"EvAaSgrngIN9LQw75pWcanosnPX7v6i35CDuuU5cX6s=","steamId":"76561198164014338","position":{"x":11877.6,"y":351.614,"z":6562.09}}} 13:07:53 | JSON{"event":"ACTION_CONTINUOUS_LOG","data":{"id":"190","name":"#dial_combination_lock","target":{"id":"2938253","type":"CombinationLock4"}},"player":{"id":"2940240","name":"abr","dzid":"EvAaSgrngIN9LQw75pWcanosnPX7v6i35CDuuU5cX6s=","steamId":"76561198164014338","position":{"x":11877.6,"y":351.614,"z":6562.09}}} 13:07:53 | JSON{"event":"ACTION_CONTINUOUS_LOG","data":{"id":"190","name":"#dial_combination_lock","target":{"id":"2938253","type":"CombinationLock4"}},"player":{"id":"2940240","name":"abr","dzid":"EvAaSgrngIN9LQw75pWcanosnPX7v6i35CDuuU5cX6s=","steamId":"76561198164014338","position":{"x":11877.6,"y":351.614,"z":6562.09}}} 13:07:54 | JSON{"event":"ACTION_CONTINUOUS_LOG","data":{"id":"190","name":"#dial_combination_lock","target":{"id":"2938253","type":"CombinationLock4"}},"player":{"id":"2940240","name":"abr","dzid":"EvAaSgrngIN9LQw75pWcanosnPX7v6i35CDuuU5cX6s=","steamId":"76561198164014338","position":{"x":11877.6,"y":351.614,"z":6562.09}}} 13:07:54 | JSON{"event":"ACTION_CONTINUOUS_LOG","data":{"id":"190","name":"#dial_combination_lock","target":{"id":"2938253","type":"CombinationLock4"}},"player":{"id":"2940240","name":"abr","dzid":"EvAaSgrngIN9LQw75pWcanosnPX7v6i35CDuuU5cX6s=","steamId":"76561198164014338","position":{"x":11877.6,"y":351.614,"z":6562.09}}} 13:07:55 | JSON{"event":"ACTION_LOG","data":{"id":"190","name":"#dial_combination_lock","target":{"id":"2938253","type":"CombinationLock4"}},"player":{"id":"2940240","name":"abr","dzid":"EvAaSgrngIN9LQw75pWcanosnPX7v6i35CDuuU5cX6s=","steamId":"76561198164014338","position":{"x":11877.6,"y":351.614,"z":6562.09}}} for dialing multiple numbers (3 or 4 depends on codelock and on "how long user will try") - there will be multiple of this actions logs. there is id of codelock, so you can identify that player dialing same codelocks or different, and can identify codelock by id in prev/next logs but.. as I understand right now - any id exists "per session" - on server restart and "recreating existing in game items - all items will get new id, until next reboot. (to identify this ids changing - you need to disable NO_WORLD flag and check logs on server start, when it creates all items on map - and catch them by coords/fences or something else (I still don't have ready algorithm for this) There are player's coords also, with players identity (steamID, dayzID). And if player dials successfully - there will be ITEM_LOCATION logs showing codelock falling down as opened from #attachment of Fence to #ground: 13:07:54 | JSON{"event":"ITEM_LOCATION","data":{"tag":"#located","tagFrom":"#attachment","tagTo":"#ground","item":{"id":"2938253","type":"CombinationLock4"},"from":{"id":"2938248","type":"Fence"}}} there is no any player information, cuz "codelock falling down by itself", but it will be easy to see it with previous actions logs ot identify it by id. p.s. showing examples in JSON format, cuz doing my "logs viewer", in "human readable" format logs will have same content, just different formatting.
-
somehow my last message from sunday is hidden, maybe I'm posting something not correct 🙂 so - check updates, "raid" and "basebuilding" logs are there now
-
v3 updated: Now there are "raid" logs, "construction logs" and some other (including doors close-open) - I described logs in details on mod's workshop page. Also mode code is published opensource https://github.com/abrakadobr/dzsa-moreadminlogs - feel free to inspect, report issues and wishes, etc.. 🙂
-
Good point. Yes, right now there is nothing can help with raids inspection. Yes, I plan to add this logs also later (maybe on next weekends, may be faster if time will happen on working days) original placements logs are already visible as ACTION_LOG (and building/dismantling should be too), but destroying items - a bit different story. also I have plans to add animals hits/kill log also not so much logs about cars and weapons/ammos/mags... (and crafting logs I feel to tune) more ideas are welcome 🙂
-
Hi all servers administrators! Let me introduce you my mod to get more information in ADM file about "what's going on" in game: https://steamcommunity.com/sharedfiles/filedetails/?id=2805509362 Mod is server side only, no 3d-party dependencies, full "vanilla compatible", generate logs in human readable or json formats, configurable with options in serverDZ.cfg you can find configurations on mod's steam page, and logs examples here: https://feedback.bistudio.com/T164541 Mod not working perfectly, there are many things will be nice to add, but already now mod provides a lot of information about players and what they are doing. feel free to use, hope it will help to someone 🙂