DayZ
Community-Online-Tools
Dampiir Dec 15, 2018 @ 1:26pm
Alternate Instructions & Fix For Folders Not Creating
So for anyone who can't get the folders to create or those who don't know where to look to give yourself permissions: look at your .bat file used for starting your server, check "-profiles=" this is where the permissions mod is supposed to create the files needed for this to work. Since the update to 1.0 it seems it will not create the folders BUT it will create the files IF the folders are there, SO solution is just create the folders for it as follows: find where your server profile is stored (just mentioned this "-profiles=(location)" and create these folders:
1. Create folder called: "CommunityOnlineTools"
2. Create folder called: "PermissionsFramework"
3. INSIDE CommunityOnlineTools folder create 2 more folders called: "GameModule_BaseBuilding" and "GameModule_Vehicles"
4. Back INSIDE PermissionsFramework folder create 1 more folder called: "Players".
5. Profit. All other steps are covered in mod description!

EDIT:
1. Double check spelling on folders and the folder structure, this is IMPORTANT
2. Several people I've helped recently have said their @mod folders were empty or corrupt check these and repair using DayZ launcher if still having issues!!
Here's a video for further help:
https://youtu.be/ci4qxlM1CRQ

Here is an example of the .bat file:
@echo off
start DayZServer_x64.exe -config=serverDZ.cfg -port=2302 -profiles=C:\DayZServer\ -freezecheck -noFilePatching "-mod=@RPCFramework;@Permissions Framework;@Community Online Tools;"

Optional parameters:
-cpuCount=4 - or whatever cpu count you want
-scrAllowFileWrite - I don't think this works anymore but it was used for this mod pre 1.0
Last edited by Dampiir; Dec 16, 2018 @ 3:26pm
< >
Showing 46-60 of 100 comments
ChampagneAndOj Dec 17, 2018 @ 10:44pm 
Ok. Changed. new file:

start DayZServer_x64.exe -config=serverDZ.cfg -profiles=F:\ServerProfile\ -port=2302 -dologs -adminlog -netlog -freezecheck -instanceid=1 "-mod=@RPCFramework;@PermissionsFramework;@CommunityOnlineTools;"

However, I'm still not seeing anything being changed or added in that players folder.

Logs no longer throw errors though.
Last edited by ChampagneAndOj; Dec 17, 2018 @ 10:44pm
Mad Moody-la Dec 18, 2018 @ 12:24am 
Originally posted by EzE:
Ok. Changed. new file:

start DayZServer_x64.exe -config=serverDZ.cfg -profiles=F:\ServerProfile\ -port=2302 -dologs -adminlog -netlog -freezecheck -instanceid=1 "-mod=@RPCFramework;@PermissionsFramework;@CommunityOnlineTools;"

However, I'm still not seeing anything being changed or added in that players folder.

Logs no longer throw errors though.

Try this way ->

1. Create in you Server folder (nead DayZServer_X64.exe) create folder: "Server_Profile"
2. Make you startup line in this way:
a. start DayZServer_x64.exe "-port=2302" "-config=serverDZ.cfg" "-profiles=Server_Profile" "-mod=@RPCFramework;@PermissionsFramework;@CommunityOnlineTools;" "-filePatching" -dologs -adminlog -netlog -freezecheck -instanceid=1

3. Inside "Server_Profile" Folder create this folders:
a. "CommunityOnlineTools"
b. "PermissionsFramework"
c. "PermissionsFramework\Players"
4. From folder: "@CommunityOnlineTools\Keys" copy files into: "%DayZServerDir%\Keys"
P.S. "%DayZServerDir%" -> is location of your DayZServer_X64.exe (DayZ Server root folder)

5. Set password to server.

4. Start your server.

On your client Do this:

1. Open Launcher and select same mods.
2. Join to your server.
3. When you spawn on server wait 10 seconds and then leave the server.
4. Go to your Server -> "%DayZServerDir%\Server_Profile\PermissionsFramework\Players"
5. There must be a single file open it and all 0 replace with 2.

P.S. If you add mods over startup paramets (for client), all mods must be stored in the root of DayZ folder.

PROFIT!
Last edited by Mad Moody-la; Dec 18, 2018 @ 12:28am
Mad Moody-la Dec 18, 2018 @ 12:34am 
Originally posted by Dampiir:
Originally posted by EzE:
This is currently what I'm using:

@echo off

start DayZServer_x64.exe -config=serverDZ.cfg -profiles=F:\ServerProfile\ -port=2302 -dologs -adminlog -netlog -freezecheck -instanceid=1 "-mod=@RPCFramework;@Permissions Framework;@Community Online Tools" -scrAllowFileWrite -filePatching
Okay so first up you can remove "-scrAllowFileWrite -filePatching" because the first one has been removed from the game and the second one is not actually a command, there's -noFilePatching if you want to disable it but by default it's on. I would disallow it because it allows hackers to use modified files. You also forgot ; after @Community Online Tools

If you don;t reader change logs I've nothing can do. But -filePatching is working. Read the changelogs:

https://forums.dayz.com/topic/241871-dayz-stable-update-10/ -> read section "MODS SPECIFIC" and you will see that file patching is working. BUT it was replased with "-filePatching" and setted limits for patching.

In next change log there's no any other information about file patching.
ChampagneAndOj Dec 18, 2018 @ 1:44pm 
Originally posted by Mad Moody:
Originally posted by EzE:
Ok. Changed. new file:

start DayZServer_x64.exe -config=serverDZ.cfg -profiles=F:\ServerProfile\ -port=2302 -dologs -adminlog -netlog -freezecheck -instanceid=1 "-mod=@RPCFramework;@PermissionsFramework;@CommunityOnlineTools;"

However, I'm still not seeing anything being changed or added in that players folder.

Logs no longer throw errors though.

Try this way ->

1. Create in you Server folder (nead DayZServer_X64.exe) create folder: "Server_Profile"
2. Make you startup line in this way:
a. start DayZServer_x64.exe "-port=2302" "-config=serverDZ.cfg" "-profiles=Server_Profile" "-mod=@RPCFramework;@PermissionsFramework;@CommunityOnlineTools;" "-filePatching" -dologs -adminlog -netlog -freezecheck -instanceid=1

3. Inside "Server_Profile" Folder create this folders:
a. "CommunityOnlineTools"
b. "PermissionsFramework"
c. "PermissionsFramework\Players"
4. From folder: "@CommunityOnlineTools\Keys" copy files into: "%DayZServerDir%\Keys"
P.S. "%DayZServerDir%" -> is location of your DayZServer_X64.exe (DayZ Server root folder)

5. Set password to server.

4. Start your server.

On your client Do this:

1. Open Launcher and select same mods.
2. Join to your server.
3. When you spawn on server wait 10 seconds and then leave the server.
4. Go to your Server -> "%DayZServerDir%\Server_Profile\PermissionsFramework\Players"
5. There must be a single file open it and all 0 replace with 2.

P.S. If you add mods over startup paramets (for client), all mods must be stored in the root of DayZ folder.

PROFIT!

I've done this before with no luck.

Originally posted by EzE:
[...]

Creating the folders (with -profiles=ServerProfile) specified didn't work when placed in:

"...\steamapps\common\DayZServer"

[..]


Changing where the server profile folder's location is hasn't changed the fact that I don't see anything being added to those folders. Like I said, I can see the logs and console out, etc. being dropped in there by the base game, but nothing regarding these mods.

My next guess at a sloution: Does anyone have a copy of the file that's supposed to be generated? I know my BEGUID/GUID and want to try just dropping the file in there and renaming it to see if it'd work.
Last edited by ChampagneAndOj; Dec 18, 2018 @ 1:46pm
Dampiir Dec 18, 2018 @ 2:26pm 
Originally posted by EzE:
Originally posted by Mad Moody:


Changing where the server profile folder's location is hasn't changed the fact that I don't see anything being added to those folders. Like I said, I can see the logs and console out, etc. being dropped in there by the base game, but nothing regarding these mods.

My next guess at a sloution: Does anyone have a copy of the file that's supposed to be generated? I know my BEGUID/GUID and want to try just dropping the file in there and renaming it to see if it'd work.
Won't work the mod generates a random named file for each player
Mad Moody-la Dec 19, 2018 @ 6:19am 
Originally posted by Dampiir:
Originally posted by EzE:
Won't work the mod generates a random named file for each player

Lie. That's "random" is you GUID (in game) without symbols: "\", "/", "=", "+". I repeat agein. Special for those one who have no idea how to open PBO files and .c files. How to get name of your file wil list of "random" name files.

If you have any MS Visual Studio\JDK,\Android Studio you need to do this steps:
1. Go to Google and input query: "C# Get SHA256 hash" or "Java Get SHA256 hash"
2. Create project.
3. Make functions for: "generate SHA256" hash and convert from byte[] to base64.
4 Algorythm of generation your UID for DayZ Standalone (client UID witch in server database and send by client to server) is: base64(SHA256(SteamID64)) or as text:

SteamID = 7656119************
SHA256(SteamID) = some array of bytes
DayZ player UID = base64(SHA256(SteamID))
Result of that: hasd67d56jasdlk\67saf7sdf/sajdh789== (it's example)

Now remove bad characters from string: "jhasd67d56asdlk\67saf7sdf/sajdh789==" become to "jhasd67d56asdlk67saf7sdfsajdh789" -> that's your f**king random.

And one more, special for those who thinks thats is random - If this a randon, so How f*ck server understand that that random is you and not sombody else?

check that methood. Go in you server folder, find DayZServer_x64_xx-xx-xx_xx_xx_xx.ADM, open it and search your nick name. Search the line: Player Your_Awesome_Crazy_NickName (hasd67d56jasdlk\67saf7sdf/sajdh789==) connected. Copy in notepad, remove characters: "\", "/", "=", "+" and go in Players Folser with explorer search file and you will find it.

If someone can't understand I can give the code of tool to create Battleye GUID (DayZ, ArmA3), DayZ UID from SteamID.
Last edited by Mad Moody-la; Dec 19, 2018 @ 6:31am
Dampiir Dec 19, 2018 @ 8:21am 
Originally posted by Mad Moody:
Originally posted by Dampiir:

Lie. That's "random" is you GUID (in game) without symbols: "\", "/", "=", "+". I repeat agein. Special for those one who have no idea how to open PBO files and .c files. How to get name of your file wil list of "random" name files.

SteamID = 7656119************
SHA256(SteamID) = some array of bytes
DayZ player UID = base64(SHA256(SteamID))
Result of that: hasd67d56jasdlk\67saf7sdf/sajdh789== (it's example)

Now remove bad characters from string: "jhasd67d56asdlk\67saf7sdf/sajdh789==" become to "jhasd67d56asdlk67saf7sdfsajdh789" -> that's your f**king random.

And one more, special for those who thinks thats is random - If this a randon, so How f*ck server understand that that random is you and not sombody else?
What do u think sha256 is? It's a random string smart guy. Pretty sure what you're telling people to do is against the rules here on steam workshop, last I checked you're not allowed to decompile someone elses mod. I'm done trying to help you please just go away and start your own discussion
Mad Moody-la Dec 19, 2018 @ 8:27am 
Originally posted by Dampiir:
Originally posted by Mad Moody:
What do u think sha256 is? It's a random string smart guy. Pretty sure what you're telling people to do is against the rules here on steam workshop, last I checked you're not allowed to decompile someone elses mod. I'm done trying to help you please just go away and start your own discussion
SHA 256 is methood for hash, it's criptografic methood so it's not a random. It's math formula. Learn cryptogrphy.
ChampagneAndOj Dec 19, 2018 @ 6:11pm 
quit arguing about sha256. I'm looking for a more simple answer, and decided to take a look at it. The file name is based off the steam ID in the code here:

JsonFileLoader<PlayerFile>.JsonLoadFile( PERMISSION_FRAMEWORK_DIRECTORY + "Players\\" + Steam64ID + ".json", this );

no pseudo-random string is generated.
so, if anyone has a copy of the file, I wouldn't mind it. Name it to whatever, I just need to know what all is in it.
Schmueslie© Dec 19, 2018 @ 7:04pm 
I can open the menu, but there's no file that gets created, so i can't use it.

start.bat file:

@echo off start DayZServer_x64.exe -config=serverDZ.cfg -port=2302 -profiles=C:\DayZServer\ -freezecheck -noFilePatching -cpuCount=4 "-mod=@RPCFramework;@Permissions Framework;@Community Online Tools;@[MOV] Unlimited Stamina;"
Dampiir Dec 19, 2018 @ 8:01pm 
Originally posted by SmoothLife©:
I can open the menu, but there's no file that gets created, so i can't use it.

start.bat file:

@echo off start DayZServer_x64.exe -config=serverDZ.cfg -port=2302 -profiles=C:\DayZServer\ -freezecheck -noFilePatching -cpuCount=4 "-mod=@RPCFramework;@Permissions Framework;@Community Online Tools;@[MOV] Unlimited Stamina;"
Did you follow the instructions to make the folders in the server profile folder?
I'm asking because the mod can't create the folders since 1.0 update. It will create the files but needs the folders there to do so. If you did then I don't know what else to tell you because it seems to work if done correctly and your .bat file looks good to me?
Schmueslie© Dec 19, 2018 @ 8:10pm 
Originally posted by Dampiir:
Originally posted by SmoothLife©:
I can open the menu, but there's no file that gets created, so i can't use it.

start.bat file:

@echo off start DayZServer_x64.exe -config=serverDZ.cfg -port=2302 -profiles=C:\DayZServer\ -freezecheck -noFilePatching -cpuCount=4 "-mod=@RPCFramework;@Permissions Framework;@Community Online Tools;@[MOV] Unlimited Stamina;"
Did you follow the instructions to make the folders in the server profile folder?
I'm asking because the mod can't create the folders since 1.0 update. It will create the files but needs the folders there to do so. If you did then I don't know what else to tell you because it seems to work if done correctly and your .bat file looks good to me?

yeah i created the folders, but it won't work, so i don't know, what i did wrong or am doing wrong
Chroma Dec 20, 2018 @ 6:45am 
So I was trying to figure this out for ages and found out that to get the players folder to have your file in it you need to change the "-profiles=ServerProfile" to the exact address of the folder. So for me it was

"-profiles=E:\Steam\steamapps\common\DayZServer\ServerProfile"

Hope this helps :D
tree Dec 20, 2018 @ 1:15pm 
I have made both the folders called "PermissionsFramework" and "CommunityOnlineTools" with the folders inside them as the tutorial describes, however, first time i tried it no files were found inside the "Players" folder after the server start/shutdown. When i tried the second time i changed the command "-profiles=D:\Program\Steam\steamapps\common\DayZServer\profilefolder" to instead be a basic command without the whole direction like this "-profiles=profilefolder". Then i found a file with my uid (i would assume) but the strange thing was that there was no text in the file whatsoever, i even tried writing all the code myself from a video i saw, but with no luck as i still had no permissions after that.

This is the startup parameters i use (not a batch file, i start it using steam):

"-scrAllowFileWrite" "-filePatching" -config=serverDZ.cfg -port=2302 -dologs -adminlog -netlog -freezecheck "-profiles=D:\Program\Steam\steamapps\common\DayZServer\profilefolder" "-mod=@BuildAnywhere;@Retexturing Pack - Clothes, Backpacks and etc;@Trader;@RPCFramework;@Permissions Framework;@Community Online Tools"

Some help with this would be greatly appreciated!
KingAlmond Dec 20, 2018 @ 7:45pm 
I get this error:

---------------------------
DayZ
---------------------------
Addon 'COT_Scripts' requires addon 'Permissions_Framework_Scripts'
---------------------------
OK
---------------------------

Whenever I add @permissions framework even without COT.

I have both added and am very confused.

Bat file:

::STARTDAYZSERVER.BAT by TermNCR from UK420DAYZ :)
@echo off

::BEC PATH
set BECPath="C:\DayZ\BattlEye"
cls

echo Protecting Server: [ DAYZ SERVER ] from crashes...
title DAYZ SERVER
timeout /T 5

:START
echo Starting BEC
start /D %BECPath% bec.exe --dsc -f Config.cfg
TIMEOUT /T 5
echo Launching Server
C:
cd "C:\DayZ"
echo TermNCRs DayZ Monitor... Active !
start "Dayz" /wait DayZServer_x64.exe -port=2302 -config=serverDZ.cfg -profiles=C:\DayZ -freezecheck -dologs -adminlog -noFilePatching "-mod=@RPCFramework;@Permissions Framework;@Community Online Tools;@[MOV] Notification Framework;@[MOV] Airdrop Redux;@Weapon Redux Pack" "-scrAllowFileWirte"
ping 127.0.0.1 -n 15 >NUL
echo DayZ Shutdown ... Restarting!
ping 127.0.0.1 -n 5 >NUL
cls
goto START
< >
Showing 46-60 of 100 comments
Per page: 1530 50