Page MenuHomeFeedback Tracker

LBmaster (Lennard B)
User

Projects

User Details

User Since
Sep 14 2018, 5:18 PM (197 w, 3 d)

Recent Activity

Wed, Jun 15

LBmaster created T165931: Placeholders in stringtable.
Wed, Jun 15, 10:11 AM · DayZ Modding, DayZ

Wed, Jun 8

LBmaster created T165763: [FeatureRequest] Variable modifier to only load Json value.
Wed, Jun 8, 7:26 PM · DayZ Modding, DayZ

May 17 2022

LBmaster created T164844: Visual Glitches when opening Crate Inventories.
May 17 2022, 8:38 PM · Arma Reforger

Feb 14 2022

LBmaster updated the task description for T163282: More low level functionality.
Feb 14 2022, 1:22 PM · DayZ
LBmaster created T163282: More low level functionality.
Feb 14 2022, 1:22 PM · DayZ

Dec 21 2021

LBmaster updated subscribers of T162098: Script Limit Enforced - #InitGlobals Abort - Please increase script limit..

Please address the issue again. I've had the issue with out own Server and I know a few others, who are stuck with the same issue.
@Geez is there anything that changed since it was changed to Assigned again ?

Dec 21 2021, 11:47 PM · DayZ Modding, DayZ

Dec 9 2021

LBmaster edited Steps To Reproduce on T162283: Code After Else If compiled, but not executed.
Dec 9 2021, 12:39 AM · DayZ Modding, DayZ
LBmaster created T162283: Code After Else If compiled, but not executed.
Dec 9 2021, 12:39 AM · DayZ Modding, DayZ

Aug 18 2021

LBmaster added a comment to T160303: CanDisplayCargo not working as intended.

Can be merged with https://feedback.bistudio.com/T151046

Aug 18 2021, 11:27 PM · DayZ Modding, DayZ

May 26 2021

LBmaster created T158783: Featurerequest: SoftDependencies for Addons.
May 26 2021, 1:33 PM · DayZ Modding, DayZ

Apr 30 2021

LBmaster created T158205: Some flags of Widgets are not updatable via Script.
Apr 30 2021, 9:59 PM · DayZ Modding, DayZ

Apr 10 2021

LBmaster added a comment to T148095: Json File Length Limitation.

While doing some more tests, I've noticed, that also with a json String length < 60.000 I would get server crashes. It seems to have to do something with the string.Substring() method.

	static bool WriteToFile(string file, T data) {
		JsonSerializer js = new JsonSerializer();
		string jsonOut;
		bool ok = js.WriteToString(data, true, jsonOut);
		Print("Length: " + jsonOut.Length());
		Print("Json: " + jsonOut);
		if (!ok)
			return false;
		Print("Opening File for writing Json");
		FileHandle handle = OpenFile(file, FileMode.WRITE);
		Print("Opened File Handle.");
		if (handle == 0)
			return false;
		Print("Starting to write File...");
		for (int i = 0; i < jsonOut.Length();) {
			int end = Math.Min(i + 60000, jsonOut.Length());
			int length = end - i;
			Print("Writing Chars: " + i + " to " + end + " -> " + length);
			string sub = jsonOut.Substring(i, length);
			Print("Sub finished");
			Print("Sub: " + sub.Length());
			FPrint(handle, sub);
			Print("FPrint Worked");
			i += 60000;
		}
		CloseFile(handle);
		Print("Closed json File");
		return true;
	}

and this was the output sometimes (sometimes it crashed later in the program)

SCRIPT       : Opening File for writing Json
SCRIPT       : Opened File Handle.
SCRIPT       : Starting to write File...
SCRIPT       : Writing Chars: 0 to 58892 -> 58892
Apr 10 2021, 5:25 PM · DayZ Modding, DayZ
LBmaster added a comment to T148095: Json File Length Limitation.

Okay this is getting even more "interesting"
I've noticed, that Doing this:

modded class MissionServer {
	
	void MissionServer() {
		TIntArray testArray = new TIntArray();
		for (int i = 0; i < 100000; i++) {
			testArray.Insert(i);
		}
		Print("Saving Json ...");
		JsonSaver<TIntArray>.WriteToFile("$profile:/testArray.json", testArray);
	}
}

would cause the server to freeze at some random position in the code (for me while loading Trader Objects) removing the Code will make it run fine again. If I don't put 100.000 items in the list, but 1.000.000, the server will crash completly instead of just freezing. DK, what's wrong there, but this definitely needs some attention. I've also checked if this occours while saving the json file, but that's not the case. The file is saved correctly and all my Prints were executed. When setting it to 10.000, the Server will start, but then eventualy crash. It's random every time.

Apr 10 2021, 4:39 PM · DayZ Modding, DayZ
LBmaster added a comment to T148095: Json File Length Limitation.

Since nobody seems to care about it, I made my own Json Saver / Reader class. Feel free to use it in your Projects. I've successfully saved the TestArray from above which was a 1064kb file. This is how you use it to save files:

Apr 10 2021, 3:53 PM · DayZ Modding, DayZ

Mar 23 2021

LBmaster added a comment to T148095: Json File Length Limitation.

@Geez any chance this will be fixed ?

Mar 23 2021, 3:29 PM · DayZ Modding, DayZ

Mar 9 2021

LBmaster created T157285: Escaped double quotes in string will lead to CParser error.
Mar 9 2021, 12:08 PM · DayZ Modding, DayZ
LBmaster updated the task description for T157285: Escaped double quotes in string will lead to CParser error.
Mar 9 2021, 12:08 PM · DayZ Modding, DayZ

Dec 6 2020

LBmaster created T155602: Function not linked of string.LastIndexOf(string sample).
Dec 6 2020, 7:49 PM · DayZ

Oct 26 2020

LBmaster created T154626: Gamecrash without error with TextListboxWidget's GetItemData.
Oct 26 2020, 11:00 AM · DayZ Modding, DayZ

Oct 9 2020

LBmaster updated the task description for T154251: Object Builder Path issues.
Oct 9 2020, 10:51 PM · DayZ Modding, DayZ
LBmaster updated the task description for T154251: Object Builder Path issues.
Oct 9 2020, 10:51 PM · DayZ Modding, DayZ
LBmaster created T154251: Object Builder Path issues.
Oct 9 2020, 10:44 PM · DayZ Modding, DayZ

Jun 21 2020

LBmaster added a comment to T152005: priority.txt not editable during runtime.

Great Idea, but It would be nice to have some kind of whitelist the mod needs to be put on to be able to access this function. E.g. the Workshop ID needs to be inserted into the server config as an array of Strings. I can already see some modders having the great idea to add random people ore them selfes or anything else

Jun 21 2020, 9:35 PM · DayZ Modding, DayZ

May 25 2020

LBmaster added a comment to T150321: REQUEST: Add a way to spawn vehicle like CE does from events.xml.

Thanks.
So I can spawn items / events in, but I don't get a reference to an object that was spawned ? Would be nice to get my spawned Item to manipulate it further

May 25 2020, 12:29 PM · DayZ Modding, DayZ

May 19 2020

LBmaster created T151046: Missing functionality of CanDisplayCargo().
May 19 2020, 4:38 PM · DayZ Modding, DayZ

Apr 20 2020

LBmaster added a comment to T150321: REQUEST: Add a way to spawn vehicle like CE does from events.xml.

Can we also use that for Weapons to spawn with attachments ? Or is this only a thing for Events ? Would be great if we would have the configured attachments from cfgspawnabletypes.xml for weapons working with that too

Apr 20 2020, 3:59 PM · DayZ Modding, DayZ

Mar 27 2020

LBmaster created T150003: Stringtable contains names with linebreaks.
Mar 27 2020, 1:13 PM · DayZ

Jan 19 2020

LBmaster added a comment to T148095: Json File Length Limitation.

Thats correct. I thought I wrote JsonFileLoader somewhere, but apparently not ^^. But that was the thing I meant

Jan 19 2020, 6:41 PM · DayZ Modding, DayZ
LBmaster updated the task description for T148379: GetScreenPos result wrong when in scope.
Jan 19 2020, 2:37 PM · DayZ Modding, DayZ
LBmaster created T148379: GetScreenPos result wrong when in scope.
Jan 19 2020, 2:37 PM · DayZ Modding, DayZ

Jan 12 2020

LBmaster created T148194: Keybinds Reset.
Jan 12 2020, 1:03 PM · DayZ Modding, DayZ

Jan 9 2020

LBmaster added a comment to T148095: Json File Length Limitation.

Thanks. Would have been a very strange limit just cutting off the Json output. Any ETA when it will be resolved ? And just one thing to note: the FileSerializer does not seem to have a limit too, if you are still looking into that. It was just a coincidene, that the size of my testfile was around 32768 bytes.

Jan 9 2020, 7:13 PM · DayZ Modding, DayZ

Jan 8 2020

LBmaster added a member for DayZ Modding: LBmaster.
Jan 8 2020, 1:47 PM

Jan 7 2020

LBmaster edited Steps To Reproduce on T148095: Json File Length Limitation.
Jan 7 2020, 10:27 PM · DayZ Modding, DayZ
LBmaster edited Steps To Reproduce on T148095: Json File Length Limitation.
Jan 7 2020, 10:26 PM · DayZ Modding, DayZ
LBmaster added a comment to T148095: Json File Length Limitation.

And does the FileSerializer has the same limitations ? Otherwise I would run into the same issues soon. Looks like the file the FileSerializer creates has an even lower limit set to 32768 (2^15)

Jan 7 2020, 9:49 PM · DayZ Modding, DayZ
LBmaster created T148095: Json File Length Limitation.
Jan 7 2020, 9:47 PM · DayZ Modding, DayZ

Jan 4 2020

LBmaster added a comment to T146644: Add the possibility to mod enum.

Nice idea, but there will be a big problem that could cause some great mess. If you have an enum and set the first Value to 1, the second will be equal to 2 and so on. Now Imagine you have multiple mods adding items at the end of the enum and you have different load orders on the Client and Server. Some RPCs would go to the wrong direction and the whole thing blows up

Jan 4 2020, 7:09 PM · DayZ Modding, DayZ
LBmaster added a comment to T145990: Class Array - Invalid Data Causes Hard Crash .

Maybe try
ref array<ref Person> personarray = new array<ref Person>

Jan 4 2020, 7:05 PM · DayZ Modding, DayZ
LBmaster created T147992: More Map Widget options.
Jan 4 2020, 3:01 PM · DayZ Modding, DayZ

Sep 21 2019

LBmaster created T144939: Notifications UI Cutting things off, when Text has multiple lines.
Sep 21 2019, 12:32 AM · DayZ

Sep 18 2019

LBmaster added a comment to T144773: PlayerIdentity returning values of other players / invalid data.

I had some hard hours trying to figure out the Issue causing this Problem. It's happening when you want to use the PlainId (maybe other values too) of the Player and not save the PlainId in a variable first ! I fixed I by always using string steamid = player.GetIdentity().GetPlainId(); and then compare those values ! I did not test if this is enough, but what should be enough is this code:

Sep 18 2019, 12:31 AM · DayZ Modding, DayZ

Jul 2 2019

LBmaster added a comment to T141843: Client not Responding when Setting Logout Timer > 30 sec.

I've tested a bit with all the Mods installed and it seems to be the Trader Mod causing this issue. I'll message the creator of the Mod and tell it to him. Did not think this mod could cause these issues. If you want to test it too, install the Trader Mod on the Server and Client ;)

Jul 2 2019, 6:46 PM · DayZ
LBmaster created T141843: Client not Responding when Setting Logout Timer > 30 sec.
Jul 2 2019, 10:09 AM · DayZ

Jun 24 2019

LBmaster created T141352: Modding static methods.
Jun 24 2019, 12:49 PM · DayZ Modding, DayZ

Jun 13 2019

LBmaster added a comment to T140739: Basebuilding collision Problems and Server Crash.

If you need my logs: BasebuildingCrashReport.zip
And as allways: rVn has the login Data

Jun 13 2019, 3:14 PM · DayZ
LBmaster added a comment to T140248: Server Database Connection not working.

Since the last update 1.03.151658 we did not encounter the Problem again. If we have more information on that, I will tell you

Jun 13 2019, 3:10 PM · DayZ
LBmaster created T140739: Basebuilding collision Problems and Server Crash.
Jun 13 2019, 3:02 PM · DayZ

Jun 4 2019

LBmaster created T140248: Server Database Connection not working.
Jun 4 2019, 6:39 PM · DayZ

Jun 1 2019

LBmaster created T140010: Strange Servercrashes only with 55+ Players.
Jun 1 2019, 12:53 AM · DayZ Modding, DayZ

Apr 26 2019

LBmaster created T138956: Better Hash Functions.
Apr 26 2019, 12:42 AM · DayZ Modding, DayZ
LBmaster added a comment to T138953: *= operator for vectors.

Currently you hate to use direction *= "-1 -1 -1".ToVector(); That worked for me.

Apr 26 2019, 12:08 AM · DayZ Modding, DayZ

Apr 23 2019

LBmaster created T138902: Possibility to analyse server crashes.
Apr 23 2019, 3:18 PM · DayZ Modding, DayZ
LBmaster added a comment to T138898: Ability to render widgets over the map widget.

You can render Them above Map widgets. You have to put them on the same parent widget and set the Priority the the other widget higher than the Map Widget. At least that is how I got it fixed

Apr 23 2019, 2:07 PM · DayZ Modding, DayZ

Mar 31 2019

LBmaster created T138128: Crash when trying to load a Video.
Mar 31 2019, 12:27 AM · DayZ Modding, DayZ

Sep 17 2018

LBmaster created T132631: No Material when shooting weapon.
Sep 17 2018, 8:03 PM · DayZ
LBmaster added a watcher for DayZ: LBmaster.
Sep 17 2018, 7:56 PM

Sep 14 2018

LBmaster changed Reproducibility from reproducibility:none to reproducibility:always on T132486: Magazine stuck in Weapon making it unuseable.
Sep 14 2018, 5:33 PM · DayZ
LBmaster created T132486: Magazine stuck in Weapon making it unuseable.
Sep 14 2018, 5:32 PM · DayZ