Jump to content

SmashT

DayZ Forum Team
  • Content Count

    7171
  • Joined

  • Last visited

Posts posted by SmashT


  1. I've only used COM, haven't tried a local server. I think I mentioned this on Matts Discord to you, but I'd suggest using Mikero's PBOProject to pack as it will show a lot of errors that the official tool ignores. As an example, official tool packed my terrain without errors, but I was immeditaely crashing when trying to load it in COM.

    Using PBOProject showed me a bunch of config.cpp errors, commonly "Line 24 var= is not an integer out of range 0 .. 4", which you can solve by removing the line "access="ReadOnlyVerified";" from config.cpp and "navmeshName="\dz\Worlds\test\navmesh\navmesh.nm";" (if you used Matt's config) which you can fix by just changing to navmeshName="\dz\Worlds\chernarusplus\navmesh\navmesh.nm"; as well as removing his class names if you used his config.

    Aside from that, if you can post screenshots of your folder structure/launch paramaters etc, we can see if there's something obvious you have missed there or any other errors PBOProject give you.


  2. DayZ Staff can not and do not have access to BattlEye global or VAC bans, and can not revoke them in any way possible. You MUST contact BattlEye or Steam support about any bans issued on you.


  3. For clients I thought it was auto detected nowadays so would depend on your setup, I don't think the paramater does anything for servers, as it's auto by default and I dont think its even possible to open more cores for the server. You might get slight better performance by setting cpu afinity and priorisation (setting it to high is the best iirc)


  4. 5 hours ago, GavinM501 said:

    Recently downloaded and configured the simple tasks to set up a dedicated dayz standalone server. got my server to show up on lan but it wont show up on community. The exact ports to forward weren't very clear anywhere so if you could lead me in the right direction. It'd be really appreciated

    For external play you will need to open ports 2302-2305 as well as 27016 (if you want it to show up on community tab)


  5. I read ChatPlayer(string text); is broken on engine side, hence the known issue: When using the in-game text chat, you will not see your own messages. Other players can."

    Mark (DaOne) suggested using 

    proto native void Chat(string text, string colorClass);

     for local use only or 

    GetGame().GetPlayer().MessageImportant("YOU ARE A MEME");

    if you want to do it on a server.

    I assume it will be hotfixed soon.


  6. On 2/14/2019 at 12:02 AM, Killerfeed said:

    Mod doesn't work now or can't recognize me as administrator (i logged like admin)

    Try this, finally got it working after scratching my head for ages trying to figure it out. Copy your entire DayZServer folder to C:\DayZServer instead of C:\Program Files (x86)\Steam\steamapps\common\DayZServer, BEC doesn't seem to like the spacing in Program Files (x86).

    Use this as your startup bat.

    @echo off
    TITLE DayZ SA Server - Status
    COLOR 0A
    :: Variables::
    ::DayZServer_64.exe path
    set DAYZ-SA_SERVER_LOCATION="C:\DayZServer"
    ::Bec.exe path
    set BEC_LOCATION="C:\DayZServer\battleye\Bec"
    ::::::::::::::
    
    echo Agusanz
    goto checksv
    pause
    
    :checksv
    tasklist /FI "IMAGENAME eq DayZServer_x64.exe" 2>NUL | find /I /N "DayZServer_x64.exe">NUL
    if "%ERRORLEVEL%"=="0" goto checkbec
    cls
    echo Server is not running, taking care of it..
    goto killsv
    
    :checkbec
    tasklist /FI "IMAGENAME eq Bec.exe" 2>NUL | find /I /N "Bec.exe">NUL
    if "%ERRORLEVEL%"=="0" goto loopsv
    cls
    echo Bec is not running, taking care of it..
    goto startbec
    
    :loopsv
    FOR /L %%s IN (30,-1,0) DO (
    	cls
    	echo Server is running. Checking again in %%s seconds.. 
    	timeout 1 >nul
    )
    goto checksv
    
    :killsv
    taskkill /f /im Bec.exe
    taskkill /f /im DayZServer_x64.exe
    goto startsv
    
    :startsv
    cls
    echo Starting DayZ SA Server.
    timeout 1 >nul
    cls
    echo Starting DayZ SA Server..
    timeout 1 >nul
    cls
    echo Starting DayZ SA Server...
    cd "%DAYZ-SA_SERVER_LOCATION%"
    start DayZServer_x64.exe -config=serverDZ.cfg -port=2302 "-mod=@RPCFramework;@Permissions-Framework;@Community-Online-Tools" "-scrAllowFileWrite" -BEpath=C:\DayZServer\battleye -profiles=C:\DayZServer\PlayerLogs -dologs -adminlog -netlog -freezecheck 
    FOR /L %%s IN (45,-1,0) DO (
    	cls
    	echo Initializing server, wait %%s seconds to initialize Bec.. 
    	timeout 1 >nul
    )
    goto startbec
    
    :startbec
    cls
    echo Starting Bec.
    timeout 1 >nul
    cls
    echo Starting Bec..
    timeout 1 >nul
    cls
    echo Starting Bec...
    timeout 1 >nul
    cd "%BEC_LOCATION%"
    start Bec.exe -f Config.cfg
    goto checksv

    Your C:\DayZServer\battleye\Bec\Config\Config.cfg should look like this:

    [Bec]
    Ip = 81.37.173.141
    Port = 2302
    BePath = C:\DayZServer\battleye
    Admins = admins.xml
    Commands = commands.xml
    LogDir = Config
    
    [Misc]
    
    # Only allow english chars.
    AsciiNickOnly = True
    
    # Kick players who has listed chars in their name
    DisallowPlayerNameChars	= ё,я,ш,е,р,т,ы,у,и,о,п,ю,щ,э,а,с,д,ф,г,ч,й,к,л,ь,ж,з,х,ц,в,б,н,м,ъ,Ё,Я,Ш,Е,Р,Т,Ы,У,И,О,П,Ю,Щ,Э,А,С,Д,Ф,Г,Ч,Й,К,Л,Ь,Ж,З,Х,Ц,В,Б,Н,М,Ъ
    
    ServerExeName = DayZServer_x64.exe
    Color = 0f
    ConsoleHeight = 65
    ConsoleWidth = 100
    Timeout = 60
    Scheduler = scheduler.xml
    AsciiChatOnly = False
    WordFilterFile = BadWords.txt
    #WhiteListFile = WhiteList.txt
    #WhileListKickMsg = You are not in the whitelist. 
    NickFilterFile = BadNames.txt
    ChatChannelFiles = false
    MinPlayerNameLength	= 3
    MaxPlayerNameLength	= 20
    SlotLimit = 120
    SlotLimitKickMsg = The Server has reached its player limit.
    Ban = 3

     


  7. It still seems to work for me? On my local test server I just unpacked scripts.pbo, opened scripts\3_Game\constants.c and changed a bunch of the settings to 0, repacked and now I can sprint, punch, jump etc without losing any stamina.

     // unit = currently percent (stamina max is 100)
    const int     STAMINA_DRAIN_STANDING_SPRINT_PER_SEC = 0; //in units (how much sprint depletes stamina)
    const int     STAMINA_DRAIN_CROUCHED_SPRINT_PER_SEC = 0; //in units (how much sprint in crouch depletes stamina)
    const int     STAMINA_DRAIN_PRONE_SPRINT_PER_SEC = 0; //in units (how much sprint in prone depletes stamina)
    const int    STAMINA_DRAIN_SWIM_FAST_PER_SEC = 0; //in units (how much fast swimming depletes stamina)
    const int    STAMINA_DRAIN_LADDER_FAST_PER_SEC = 0; //in units (how much fast ladder climb depletes stamina)
    
    const float    STAMINA_DRAIN_HOLD_BREATH = 0; //in units (how much holding breath depletes stamina)
    const float    STAMINA_DRAIN_JUMP = 0;        // in units (how much jumping depletes stamina)
    const float    STAMINA_DRAIN_MELEE_LIGHT = 0; //in units (how much light melee punch depletes stamina)
    const float    STAMINA_DRAIN_MELEE_HEAVY = 0; //in units (how much heavy melee punch depletes stamina)
    const float    STAMINA_DRAIN_MELEE_EVADE = 0; // in units (how much evade depletes stamina)
        
    const int     STAMINA_GAIN_JOG_PER_SEC = 0; //in units (how much of stamina units is gained while jogging)
    const int     STAMINA_GAIN_WALK_PER_SEC = 0; //in units (how much of stamina units is gained while walking)
    const int     STAMINA_GAIN_IDLE_PER_SEC = 0; //in units (how much of stamina units is gained while iddling)
    const int    STAMINA_GAIN_SWIM_PER_SEC = 0; //in units (how much of stamina units is gained while slowly swim)
    const int    STAMINA_GAIN_LADDER_PER_SEC = 0; //in units (how much of stamina units is gained while slowly swim)
    const float STAMINA_GAIN_BONUS_CAP = 0; //in units (tells how much extra units can be added at best to stamina regain)
    
    const float STAMINA_KG_TO_STAMINAPERCENT_PENALTY = 0; //in units (by how many  units is max stamina bar reduced for each 1 kg of load weight)
    const float STAMINA_MIN_CAP = 0; //in units (overload won't reduce max stamina bar under this value)
    const float STAMINA_SPRINT_THRESHOLD = 0; //in units (how many units of stamina you need regained in order to be able to start sprinting)
    const float STAMINA_HOLD_BREATH_THRESHOLD = 0; // in units
    const float STAMINA_JUMP_THRESHOLD = 0; // in units
    const float STAMINA_MELEE_HEAVY_THRESHOLD = STAMINA_DRAIN_MELEE_HEAVY; // in units (how many units we need to make a heavy hit in melee)
    const float STAMINA_MELEE_EVADE_THRESHOLD = 8; // in units
    const float STAMINA_REGEN_COOLDOWN_DEPLETION = 0; // in secs (how much time we will spend in cooldown before the stamina will starts with regeneration)
    const float STAMINA_REGEN_COOLDOWN_EXHAUSTION = 0;
    const float STAMINA_WEIGHT_LIMIT_THRESHOLD = 0; //! in grams (weight where the player is not penalized by stamina)
    const float STAMINA_KG_TO_GRAMS = 0; //for kg to g conversion
    const float STAMINA_SYNC_RATE = 0; //in secs
    const float STAMINA_MAX = 100;

     


  8. You don't have any of the mods added in your "Start Server Battleye" bat? That explains why it was working with your old start bat as you did have them there. Try replacing this:

    start DayZServer_x64.exe -config=serverDZ.cfg ip=81.37.173.141 -port=2302 -dologs -adminlog -netlog -freezecheck -noFilePatching "-BEpath=C:\Program Files (x86)\Steam\steamapps\common\DayZServer\battleye" -profiles=C:\Program Files (x86)\Steam\steamapps\common\DayZServer\PlayerLogs

    With this:

    start DayZServer_x64.exe -config=serverDZ.cfg ip=81.37.173.141 -port=2302 -dologs -adminlog -netlog -freezecheck -noFilePatching "-mod=@RPCFramework;@Permissions-Framework;@Community-Online-Tools;" "-scrAllowFileWrite"  "-BEpath=C:\Program Files (x86)\Steam\steamapps\common\DayZServer\battleye" "-profiles=C:\Program Files (x86)\Steam\steamapps\common\DayZServer\PlayerLogs"

     

     


  9. Check your graphics drivers are up to date. I'd do a full uninstall of your old graphics drivers and then reinstall the latest version.

    Verify your files (Right Click DayZ > Properties > Local Files ) and tick all the boxes or delete your Documents\DayZ folder.

    Try disabling AA


  10. 7 hours ago, Killerfeed said:

    It works, solved! 😉 BEC connected and working. But... i have other problem. 

     

    Since I installed the BEC the mods don't work fine (Comunity Tools, Permissions framworks, etc)  I see the interface of Comunity Tools but I can't see any player in the server list, nor teleport, nor respawn objects.

    https://imgur.com/a/M774gQU

    Last night works perfectly

     

    Post your startup bat.

    • Thanks 1

  11. @Matthew Longtime has a tutorial series, I know there's a lot of excellent tutorials for ArmA and the workflow/tools are likely very similar, but this is where I would start along with the DayZ community modding wiki.

     

    https://thurston.pw/Usage_of_L3DT

    https://thurston.pw/How_to_make_a_fictional_DayZ_Terrain

    This is the best arma 3 guide imo, most of the tools are the same.

    https://pmc.editing.wiki/doku.php?id=arma3:terrain:ultimate-terrain-tutorial

     

     

     

    • Like 1
    • Beans 2

  12. 17 hours ago, lonewolfgaming said:

    SmashT, thanks for the info. Added that and the server placed a few JSON files in the community online tools folder and text docs in the Permissions roles folder and a JSON file with my player id in the players folder. I changed the info under roles to admin from everyone, but still not able to use the tools. I also tried adding in the permissions folder a txt, PLAYER and JSON file with the admin info, but still not. I think it is something small I am missing.

    Do you get any errors or anything? Are the mods loaded in DayZLauncher? Maybe post your bat and screenshot of server folders so we can see if there's any obvious issues?


  13. Zombies/Infected are spawned within "zones" that are defined in zombie_territories.xml which is in the addons\worlds_chernarusplus_ai\worlds_chernarusplus_ai.pbo, it specifies where exactly these zones lie, which zombie type spawns within it, and roughly how many.

    You can unpack it from the PBO with a pbo tool (I use Mikero's) and edit it manually with notepad++, if you are feeling adventurous though you could try the undocumented DayZ CE Tools.

    I haven't used DayZ CE Tools really, but if you install the DayZ Tools from steam, download this sample shared by Tom.

    http://tom4897.info/depot/dayz/modding/samples/ceeditor_chernarusplus.zip

    Mirror: https://la-quarantaine.fr/uploads/ceeditor_chernarusplus.zip

    Open Economy Editor from DayZ tools , then File >  load the extracted AreaFlags.xml from the download link above. I assume you can use this tool to "draw" zones rather then having to manually edit the xml files, I haven't had a chance to play around with it yet though.

    This is what it looks like, with all the zombie territory types selected, pretty interesting.

    wf6Xqn9.jpg

    If you highlight a zombie type, (not just tick the box), you can use the pointer icon at the bottom right to select those zones and delete it, or add more with the + icon.

     

     

     

     

     

     

     

    • Like 1
    • Thanks 2
    • Beans 2
×