DayZ
ZomBerry Admin Tools
 Dieses Thema wurde angeheftet; es ist wahrscheinlich wichtig
Vaker  [Entwickler] 9. Dez. 2018 um 16:29
How to install & FAQ
Make sure that you have installed CF (Community Framework) by Jacob_Mango, Arkensor and Kegan Hollern on both client and server:
https://steamcommunity.com/sharedfiles/filedetails/?id=1559212036

Video guide:
Huge thanks to Owen for the video!
Note: first part is for those hosting server on their own/dedicated PC, please go to appropriate timecode for GSP installation if you rent a server!
https://www.youtube.com/watch?v=5o2gE0QyNLQ

Note on CF installation:
Keep in mind, CF requires your saves to be wiped before installation. If you want to avoid this, see related section below (it's called I don't want to wipe my server for CF, we've made a lot of things already!)

Obtaining mod files
1. Make sure you're subscribed to CF and ZomBerry in the workshop (links above)
2. Launch DayZ Launcher at least once, wait for it to initialize and update mods on the Mods tab
3. In Steam, right-click on DayZ -> Properties -> Browse
4. If you see !Workshop folder, open it and proceed to step 5
Otherwise, in file explorer: View (W10)/≡ (W11) -> Show -> Hidden items and File name extensions
5. Copy (don't cut!) @CF and @ZomBerry Admin Tools folders

On server (dedicated):
1. Paste mods into the server root (DayZServer folder)
2. If you have a start.bat or a similar file to launch the server, proceed to step 3
Otherwise, create a new text file and call it start.bat (make sure it's .bat, not .bat.txt! Windows should classify it as Windows Batch File, not Text Document)
Edit it using any text editor (preferably Notepad++) and paste the contents for the bat file from here[helpthedeadreturn.wordpress.com]
3. Add Community-Framework and ZomBerry to your server launch options. For example:
"-mod=@CF;@ZomBerry Admin Tools;"
4. Copy Vaker.bikey file from @ZomBerry Admin Tools\Keys into server keys folder (same goes for JacobMango.bikey from @CF\Keys)
5. Launch the server once to generate all necessary files
6. Add your Steam64 UID into <ServerProfilesFolder>\ZomBerry\admins.cfg file, use new line for each admin entry (see explaination below if you don't understand what <ServerProfilesFolder> is), restart the server afterwards


On server (GSP):
1. Try to find Workshop installer and make sure to install both CF (1559212036) and ZomBerry (1582756848)
2. Depending on your hosting provider, you might need to enable mods you just installed using Command line Manager - see if you can find it, and select entry containing workshop mods (it usually has Select button near entries)
3. Launch the server once to generate all necessary files
4. Add your Steam64 UID into <ServerProfilesFolder>\ZomBerry\admins.cfg file, use new line for each admin entry (see explaination below if you don't understand what <ServerProfilesFolder> is), restart the server afterwards
* - this step is done either using File Manager or FTP connection to your server

I don't want to wipe my server for CF, we've made a lot of things already!
There's a server mod that can help you avoid wipes, take it from the links below and make sure to read through README.txt in the archive before proceeding
Make a backup of your save files! These are located inside mpmissions/<mission name>/storage* folder(s)!
Discord invite[discord.gg], message with the server mod archive[discord.com]

List of known default profiles folder locations for popular (and not so popular) GSPs:
Now sorted A-Z! (order doesn't represent quality of service. the only thing it represents is the way letters are arranged in the alphabet. I warned you ¯\_(ツ)_/¯)

4NetPlayers *: profile/ (create/copy on Upload FTP, change on Saves FTP, server MUST BE in stopped state!)
Czech Chillout: instance/
G-Portal: config/ (mod must be loaded as Client mod - it's an equivalent to -mod= launch option)
GTX: SC/
Host Havoc: HostHavocDayZServer/
Nitrado: config/
Ping Perfect: profiles/
ServerBlade: instance/
Spillvert: instance/
Survival Servers: Admin/
ZAP: config/

* - Extended instructions for 4NetPlayers users ONLY (it's a special case, very different from other hosting providers):
https://www.youtube.com/watch?v=dTZFx-BUokI
admins.cfg must be created manually in this case. Make sure it's actually admins.cfg and not admins.cfg.txt. If you end up with admins.cfg.txt and just can not remove the .txt part... upload it anyway and rename in FileZilla or web interface.


What is this <ServerProfilesFolder> (aka *profiles folder*) you're talking about?
Profiles directory is effectively the only folder mods have access to use as much as needed (read, write, append to files, etc.)
ZomBerry and other mods primarily use it to store configuration files.
Path to this location is set on server startup using -profiles= launch option (command line parameter)
It also means that it doesn't have to be named profiles, it can even be named cookies if you wanted to!
Please note, you can only set one such folder (e.g. you can't do this: "-profiles=FolderOne" "-profiles=FolderTwo")
If you have multiple mods using profiles folder, please remember that every mod is using *the same directory*, you don't need (and you shouldn't) specify additional ones!
* GSPs set a default one for your convenience, but it also means you need to find which folder exactly is profiles one. Try searching for -profiles= parameter in Command line Manager if there is one, otherwise open any recent .RPT file in Log Viewer and take a look at first lines, it should contain -profiles=... parameter, you're interested in the ... part. (Note that you're likely to see a full path like C:\Servers\U1337420\256.21.15.128:2302\DayZServer\default - in this case, see if you can find any parts of this structure in your file manager and work what's left from there)
* If you have a LAN (dedicated) server, earlier you added mods to -mod= parameter, now check if -profiles= parameter is not specified, and if it's not, add one, for example: -profiles=ServerProfiles


On client:
Don't forget to enable CF and ZomBerry (Using DayZ Launcher is the easiest option)

Default menu key is O


FAQ
Q: I'm getting some error about pbo file...
A: There might be 2 (3) possible errors containing pbo name:
1. File not found: (pbo file path) - client side problem, mod is not loaded
2. Cannot verify (pbo file).
3. (Same as #2 in terms of debugging) Client contains PBO which is not a part of server data: (pbo file)
2 and 3 are server side problems, which mean that mod is not loaded on server side (make sure that mod folder name is equal to name you put in -mod= parameter/mod list field in your hosting web interface) or/and signature pubkey is not copied over to server keys folder.
Remember - logs are your best friends, enable verbose logging (-dologs or checkbox in web interface), open latest DayZServer_x64_<date-time>.RPT log (should be in profiles directory) and see what actual cmd line parameters are. If any of mod folder names contain spaces, -mod= parameter MUST be quoted (Ex.: "-mod=@Mod 1;@Mod 2;@etc;"), but it must be quoted EXACTLY like in example, one " before the entire parameter, one - after the entire parameter. Some hosting providers are doing this in wrong way (Vi*Layer, for example, is putting " between -mod= and mod list, which is ignored by DayZ argparser)

Q: Server is failing to start with "Unknown type 'CallType'" error
A: CallType enum is defined in CF mod, please make sure that it's installed and loaded on both client and server:
https://steamcommunity.com/sharedfiles/filedetails/?id=1559212036

Q: I can't open admin menu on my server, what should I do?
A: Logs are your best friends. Instead of checking everything in random order, just find script.log file of your client and server. It's always placed in profiles directory, default location (for both client and server) is:
%LocalAppData%\DayZ\
You can change this location using the -profiles= launch parameter. For example,
-profiles=ServerProfiles
will create a ServerProfiles folder right in your server/game root, which makes it easier to find log files and server profile settings
If you're using some kind of gameserver hosting, find info about logs location on their website.
If launch parameter -scrAllowFileWrite is set on your server, most of logs regarding ZomBerry will be redirected to [ServerProfilesFolder]\ZomBerry\ZB_log.txt (only exception is part of debug logs for developers) ZB_log.txt won't be used until write to file fix in DayZ

Q: I found my logs, what should I search for?
A: Find messages containing [ZomBerry], [ZomBerryConfig], [ZomBerryDbg], etc.

If there are no messages about ZomBerry at all, it probably means that ZomBerry isn't even loaded. In this case, check "How to install" section.

[ZomBerryConfig] FATAL: admins.cfg was NOT found, please check previous logs and read FAQ.
Means that ZomBerry was unable to find file containing admins list.
Here is list of locations where ZomBerry would try to find admins.cfg:
  • If -zbryDir launch option was set, ZomBerry will try to find admins.cfg in root of specified directory.
  • Mission directory. In current DayZ version game itself doesn't save correct path to mission folder, that's why you need to modify your mission and help both DayZ and ZomBerry find it. If you wish to use admins.cfg from mission dir, add the line below inside CreateCustomMission method of your mission init.c file. Better examples can be found on GitHub[github.com] (only part 2 is required in this case)
    g_Game.SetMissionPath(path);
  • ZomBerry subfolder of server profiles folder (check first FAQ question for info how to find it)
  • If admins.cfg was not found in any of listed above locations, ZomBerry will try to find it in default addon location ([Server dir]\ZomBerry\Config\), but it's highly recommended to move admins.cfg out of default location (as you might accidentally overwrite it during update process)

[ZomBerryAT] ERROR: ZomBerry version mismatch! C: v0.4, S: v0.3.1, clientside won't start!
Explains itself. ZomBerry ignores minor version mismatches (yet saving it in logs just in case of any issues), but in case of major version mismatch, clientside won't start to prevent any problems it might cause.

Messages about missing config files from [ZomBerryConfig] are not critical, yet config files might be useful to debug custom functions.

Q: I want to change menu key!
A: Sure, you can do that in game settings menu


If you still have any questions, leave a message in this discussion (don't forget to mention DayZ version)
Zuletzt bearbeitet von Vaker; 1. Juni 2024 um 3:57
< >
Beiträge 115 von 213
DayZ Version 1.0.149918
Running ONLY ZomBerry&RPCFramework as mods

Server
Placed ZomBerry in Root folder of server. (Newest Version Dropped today)
Added both RPCFramework and Zomberry to server launch options.
Copied the bikey to proper place.
Copied admins.cfg to Subfolder %LocalAppData%\DayZ\ZomBerry
(No Idea what to do with the default dir, custom dir stuff, but the ladder of it was done, so proceeding on.)
Added my BIGUID to the admins.cfg

Client
Of course, enabled both mods in DayZ launcher. (made sure to was the newest ZomBerry, and RPCFromework)
Did optional of placing Zomberry.cfg within \Documents\DayZ.

Launched Game & Server.

Unable to open menu via M.

Check logs, doesn't contain ZomBerry.

Redoes Install Steps (About 3 times now)

Same thing, logs don't state ZomBerry, nor does it open.
(Looks at FAQ Redoes steps)
---------------------------------------------------------------------------------------
Question: Being that, I might be a complete idiot, and might be obviously missing a step maybe I didn't do the RPCFramework correctly when it asks on the github to
" To use the framework with your mod you would want to add the mod to the config.cpp of your scripts PBO.

e.g.

class CfgPatches
{
class ...
{
...
requiredAddons[]=
{
"RPC_Scripts",
...
};
};
};
"
^^^^^^^
I've yet to do that. (Well, if I even have to.)

All an all it's not working for me but I digress I'm not the smartest person when it comes to this, and just maybe I'm missing a step somewhere some how?

Would appreciate feedback, thanks!
Zuletzt bearbeitet von MC Jay [501st]; 13. Dez. 2018 um 16:06
Vaker  [Entwickler] 13. Dez. 2018 um 16:06 
Jay, I don't think that it's your fault, check releases page on GitHub right now, I've released an update a few seconds ago :)

And yeah, you don't need to do that developers stuff from RPCFramework GitHub page, just download it and add to launch parameters
Vaker  [Entwickler] 13. Dez. 2018 um 16:15 
The reason why some part of mods stopped working after 1.0 release is because DayZ no longer using info from mod.cpp in mod folder, CfgMods is now expected to be inside pbo, in config files.
This info won't help players using mods tho, mod creators should update their mod's configs. Both ZomBerry and RPCFramework suffered from this issue, but it was fixed now, not included in RPCFramewok GitHub release tho
Zuletzt bearbeitet von Vaker; 13. Dez. 2018 um 16:17
Rog. But, just tested it an stuff, an the menu opens now.
Going to see what all I can do now,lol. - Edited.
Zuletzt bearbeitet von MC Jay [501st]; 13. Dez. 2018 um 16:18
i add my big id and join my server and i get Auth Request ignored (not an admin) Jake Campbell
Vaker  [Entwickler] 13. Dez. 2018 um 17:30 
Ashadow73055, find this line in logs
[ZomBerryConfig]: INFO: Mission directory is: (something)
after that line, there are 2 ways:

1. Server finds admins.cfg (well, technically this line is always added in logs, just check if "found" file is actually there)
[ZomBerryDbg]: Server ready, loading admin list from: (somewhere)

2. Or not:
[ZomBerryConfig]: FATAL: admins.cfg was NOT found, please check previous logs and read FAQ.

And one more question: where is your admins.cfg actually placed at?
Question for you, I have my server set up on my Data (D:) Drive not my local. Trying to find the correct location to place the admin.cfg. From your knowledge, do I have the correct directory?
D:\SteamLibrary\steamapps\common\DayZServer\log\Users\Server

I believe I am wrong, but when I try to access the app data on my D drive it doesn't exist.
zomberry is running server and client. no menu appears when pressing M, dunno why

ZB_log.txt https://pastebin.com/RxJywzss
Vaker  [Entwickler] 14. Dez. 2018 um 1:08 
CRAZYXK1ll3r91, it would be better if you add a "-profiles=ServerProfiles" launch option in your server start batch file or whatever method you use to start it up, so all you need is to put admins.cfg in [ServerFolder]\ServerProfiles\ZomBerry\
But if you want to continue using default dir, AppData is a folder which stays on system drive only, which means that the easiest way to find needed location is to press Windows+R and enter "%LocalAppData%\DayZ
Zuletzt bearbeitet von Vaker; 14. Dez. 2018 um 1:40
Vaker  [Entwickler] 14. Dez. 2018 um 1:20 
Robbhimself, that's interesting, in v0.4.3 GitHub release I've disabled ZB_log output because of changes in game File API. But, well, doesn't really matter.
Check ZomBerry logs when you join the server, there should be lines like "Auth respond to admin ...", if nothing appears there, also check client logs in %LocalAppData%\DayZ\script.txt . Try to find "Loaded client-side v0.4.3". Then try to join ZomBerry Open Test Server, all players joined there have full admin rights, so it's an ideal place to check client-side of things, because your server-side seems 100% ok
Steam users:
Copy "@ZomBerry Admin Tools" from client to server root.
Change name of "@ZomBerry Admin Tools" to "ZomBerry" in the server root.
Continue at step 3 of original install instructions.
Vaker  [Entwickler] 14. Dez. 2018 um 7:13 
Ursprünglich geschrieben von POLM_GekkeGerrit:
Steam users:
Copy "@ZomBerry Admin Tools" from client to server root.
Change name of "@ZomBerry Admin Tools" to "ZomBerry" in the server root.
Continue at step 3 of original install instructions.

Shouldn't change very much tho, only difference between Workshop and GitHub versions right now is log handling, in GitHub version all logs are forced to be in script.log, until "Maximum file size exceeded!" issue will be fixed in game

But anyway, I'm glad you found a way to fix your issue :)
not sure how this KC_ prefix works

should i just

KC_ prefix P

or

KC_ P

should space exsist between KC_ and prefix
Zuletzt bearbeitet von Dobakjang; 14. Dez. 2018 um 7:39
Vaker  [Entwickler] 14. Dez. 2018 um 8:46 
Dobakjang, Just KC_ and any button together. Examples:
KC_M
KC_K
etc.
You may find full list of available values here: github.com/DannyDog/DayZSAEnfScript/blob/master/dta/scripts.pbo/1_Core/proto/EnSystem.c#L156
Zuletzt bearbeitet von Vaker; 14. Dez. 2018 um 8:47
Dijin 14. Dez. 2018 um 8:53 
Yeah I figured that out lol sorry. My other problem I'm having is when I start the game my keyboard settings are zeroed out and I have to go in and pick user again.
< >
Beiträge 115 von 213
Pro Seite: 1530 50