lbmaster
Members-
Content Count
96 -
Joined
-
Last visited
Everything posted by lbmaster
-
Hello Community, I am finally ready to present you my DayZToolbox. It is a tool for everybody who wants to create a server and needs a easy way to modify configs. And the feature I like the most is my Map Creator and Editor. It extracts a 2D Map from your gamefiles. More in my Features list. Features List: - Integrated Updater - Config Editor - Central Economy.xml Editor - Map Creator (from PBO Files) - Map Editor - Own File Format (.mff) - Scroll through the map easily - load Positions (currently only Player Spawns and EventSpawns) - show / hide Positions - add Positions easily by clicking on the map - remove Positions by selecting them on the right an press the DEL button - see the coordinates where your mouse is - export edited positions back to DayZ readable files - create new event when adding new point without having any other event selected - Automatic Folder discovery (e.g. finds DayZServer folder) - Integrated Tips (only few. More will come) - Example MapFile to download - Source Code available on Github. Only for personal Use ! - Multi Platform support (thanks to Java) - Players.DB - most data can be read - Show all player positions on the map Planned Features: - Portforwarding via UPnP - easy "Feedback Tracker" or "Bugreporting" - UI Changes (I would like to see suggestions from you) Requirements: - Java (min Version: Java7 recommended: Java8x64) Links: Toolbox Download: http://toast-teamspeak.de/dayztoolboxversions/DayZToolbox-0.0.11245.jar Java8x64 Download: https://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html Youtube Video: https://www.youtube.com/watch?v=DWBu_Dngeog Example MapFile: http://toast-teamspeak.de/dayztoolboxexamples/mapfileexample.mff Source Code: https://github.com/LBmaster001/DayZ-Toolbox/ If you have questions or problems feel free to ask. And as a tipp. If you edit the Server Config. I would recommend making a backup of the file. LBmaster
-
I pretty sure they are spawning. You said you flew around and checked. Did you consider that you have a Network Bubble of ~1km and this also applies to helicrashes. You have to be in range of the helicrash with your player. You could try to set the nominal to 100, ajust the max values too and wait a bit. You should see them popping up pretty quickly.
-
Hey, It would be nice to have a parameter for setting the keys folder that should be used. I want to host multiple Server instances with different mods on our Server, but I don't want to download the Server for every instance. I can set the battleye folder, profiles folder, mission, but not the keys folder. Thats the only thing that is missing. Would be nice, if you could add that option. LBmaster
-
Hey, I already have scripted many things, but I still not 100% understand, when I have to use the "ref" keyword infront of variables. I understood, that I have to use them infront of arrays, otherwise DayZ gives me an error. Now I'm completly stuck with the following array: ref array<ref Param2<ref array<ref TStringArray>, ref array<ref TStringArray>>> loadouts = new array<ref Param2<ref array<ref TStringArray>, ref array<ref TStringArray>>>(); Looks a bit complicated ^^. I filled the array with variables when I created the object and it gave me the correct count of items in the array, when I checked it, but if I select an item from the loadouts list it returns a null reference and it seems like the "garbage collection" of the DayZ Engine may have deleted my variables. How can I fix this and when do I use those wierd references ? LBmaster
-
Hey, I'm one of the leaders and the main developer of "Die Ballerbude". We are a German Serverteam with mainly players from german speaking countries, but everbody is welcome. Our server was released about 1 Week ago and we already reached a peek of 89 Players. I create custom mods for the server, which already include: - a fully custom Spawn Menu to teamup with you friends faster - a Map with the ability to create squads and upgrade them for more slots - you can add markers on the map and you see your squadmembers, even if they are logged out. - a new base raiding system with no basedestruction. Instead you have to buy c4 to blow up walls - your squadmembers will still be able to destruct any walls - a custom loadingscreen - we modified the Balota airfield and the North-East Airfield for more military loot - and many more features are planned In addition to our mod we have the following mods installed: - Community-Framework, Community-Online-Tools, ZomBerry Admin Tools, BaseBuildingLogs, BuilderItems (Admin Tools) - Trader - you find trader at Green mountain and Devils Castle. Black Market is at the - Code Lock - Better Lock for your Base - OP_BaseItems - More Items for Basebuilding - Cl0ud's Military Gear - Many new clothing types - Mass'sManyItemOverhaul - More clothes and more Guns - MoreGuns - Even more guns - Die Ballerbude Server Pack - Our self modded Server Pack - DayZ-Expansion-Chat - Global chat for more player interaction and much fun - Uaz_Hunter_Beta - at least one car you can drive - GoreZ - Blood, blood, blood Links to all you will need: Website / Forum: https://www.dieballerbude.de Discord: https://discord.gg/byk43dJ Teamspeak: ts.dieballerbude.de DayZ Server: 149.202.87.78:2302 Please use the DZSALauncher to join us See you on our server and good luck surviving. LBmaster
-
I don't use the debug mode of the workbench and I did not even know that this exists ^^. I am using notepad++ and try to make as few errors as possible. Not really fun to do things like this, but as far as I heard there is no real alternative and the Workbench is a bit buggy for me.
-
You will Not get the PlainId, because this method is called clientside. Only on the Serverside this would work. You have to request your PlainId via RPC when you connect to the Server and store it somewhere. I don't know if this is actually needed, or if this is done somewhere else anyway, but this is the way I got it working. The other solution would be to put this code on the Serverside if it is not necessary on clientside. LG LBmaster
-
currently it should be 6 Hours until they despawn
-
do you want do disable only the destroy function, or what is your plan ? You have to be a bit more specific
-
How to Increase Timer for Destroying Bases
lbmaster replied to Weyland Yutani (DayZ)'s topic in Scripting
You can mod the following class: dta\scripts\4_World\Classes\UserActionsComponent\Actions\Continuous\ActionDestroyPart.c modded class ActionDestroyPartCB { override void CreateActionComponent() { m_ActionData.m_ActionComponent = new CAContinuousTime( 20.0 ); // Sets the time spent to destroy a Basebuilding Part to 20 Seconds } } Good Luck -
You have to look into the following file: DayZServer\dta\scripts\3_Game\tools\JsonfileLoader.c To load a file to an object: // Read from file JsonFileLoader<ref YOUR_CLASS_NAME>.JsonLoadFile( missionFolder + filename + ".json", this ); // Save to file JsonFileLoader<ref YOUR_CLASS_NAME>.JsonSaveFile( missionFolder + filename + ".json", this );
-
If you change files only on serverside and have verifySignatures =2 or equalModRequired =1 set in your serverDZ.cfg set, you will get kicked, because the files do not match anymore. You should use a Mod to change values or set verifySignatures to 0 and equalModRequired to 0, but this will allow other players to modify their files and if they want, they can do anything on your server like teleporting, spawning items etc. So you have to create a Mod, load it on the serverside with the -mod parameter and install your key in the keys folder. If you have equalModRequired =1, you have to load the same mod on clientside
-
I found this example in the Files: Material matColors = GetGame().GetWorld().GetMaterial("postprocess/glow"); SetMaterialParam(matColors, "Saturation", 0.8); float color[4]; color[0] = 0.5; color[1] = 0.8; color[2] = 0.7; color[3] = 0.6; SetMaterialParam(matColors, "OverlayColor", color); Try to use this method
-
Your code should work. Maybe you messed up your Mod-Config or try to replace GetGame().ChatPlayer(1,"hello"); with PlayerBase player = PlayerBase.Cast(GameGame().GetPlayer()); if (player) { player.MessageImportant("hello"); }
-
You can go into your MissionGameplay.c and send and RPC Command when MissionGameplay is started. It would look something like this: void MissionGameplay() { GetDayZGame().Event_OnRPC.Insert(OnRPC); } void ~MissionGameplay() { GetDayZGame().Event_OnRPC.Remove(OnRPC); } override void OnMissionStart() { GetGame().RPCSingleParam( NULL, MOD_RPCs.YOUR_RPC_NAME, NULL, true); } void OnRPC(PlayerIdentity sender, Object target, int rpc_type, ParamsReadContext ctx) { if (rpc_type == MOD_RPCs.YOUR_RPC_NAME) { Param3<int, bool, string> recParam; if (ctx.Read(recParam)) { // Handle Client Recieve Data } } } Then in ServerSide you have to do something similar: void MissionServer() { GetDayZGame().Event_OnRPC.Insert(OnRPC); } void ~MissionServer() { GetDayZGame().Event_OnRPC.Remove(OnRPC); } void OnRPC(PlayerIdentity sender, Object target, int rpc_type, ParamsReadContext ctx) { if (rpc_type == MOD_RPCs.YOUR_RPC_NAME) { Param3<int, bool, string> sendParam = new Param3<int, bool, string>(0, false, ""); if (sender) { GetGame().RPCSingleParam( NULL, MOD_RPCs.YOUR_RPC_NAME, sendParam, true, sender); } } }
-
You need to create an addons folder inside your Mod folder. Then you put your modded pbo inside of the addons folder. In Publisher you then select your mod folder.
-
You need to change the presets in the cfgspawnabletypes.xml or create a new preset. Then you can edit it in the cfgrandompresets.xml with drop chances and what will be dropped LBmaster
-
DayZ 1.0 !@Workshop Folder does not appear!!
lbmaster replied to KeksKuchenDEV's topic in General Discussion
The Workshop content is saved in your steamapps/workshop/221100 I think you have all the mods with an @ in your DayZ folder, if they we're loaded by the launcher. LBmaster -
I came up with two possible solutions (I did not have enough time to test it, but it should give you an idea on how to do it) If you just want to disable stamina completly you can use the following code: modded class StaminaHandler { float m_Time2 = 0.0; override void Update(float deltaT, int pCurrentCommandID) { // Stamina needs to be synchonized with the client ! m_Time2 += deltaT; if ( m_StaminaParams && m_Time2 >= STAMINA_SYNC_RATE ) { m_Time2 = 0; m_StaminaParams.param1 = STAMINA_MAX; m_StaminaParams.param2 = STAMINA_MAX; GetGame().RPCSingleParam(m_Player, ERPCs.RPC_STAMINA, m_StaminaParams, true, m_Player.GetIdentity()); } return; } } If you want to double / trippe ... the stamina you can use this: modded class StaminaHandler { float factor = 0.5; // Double the Stamina // Do not set is too Low ! Stamina Sync is connected to that float m_Time2 = 0.0; override void Update(float deltaT, int pCurrentCommandID) { super.Update(deltaT * factor, pCurrentCommandID); // If factor is set really low activate the following method /* if ( GetGame().IsServer() && GetGame().IsMultiplayer() ) { m_Time2 += deltaT; if ( m_StaminaParams && m_Time2 >= STAMINA_SYNC_RATE ) { m_Time2 = 0; m_StaminaParams.param1 = m_Stamina; m_StaminaParams.param2 = m_StaminaCap; GetGame().RPCSingleParam(m_Player, ERPCs.RPC_STAMINA, m_StaminaParams, true, m_Player.GetIdentity()); } } */ } } Hopy this will help you. LBmaster
-
I will have a look when i'm home should not be too complicated
-
You can not overwrite constans even with a Mod. You need to make changes in the staminahandler. If you need help with installing mods or basic server configuration you can use my DayZ Toolbox. I try to release my Servermanager today, if no other bugs appear. LBmaster
-
You Need to Add a config with the -config=CONFIGNAME parameter to your servers startparameters Yup can find the example config in the Pinned Thread here: https://forums.dayz.com/topic/239635-dayz-server-files-documentation/ LBmaster
-
Found the error. Was my fault. Should work with the new update 0.0.11344 LBmaster
-
Do you have the PBO Manager and Texview2 installed ? For me all community maps worked without a problem. LBmaster