Torben H.
Torben H.
LuaJIT profiler works! It's findings: from frame 2060:` 73% | local encodedBase64 = self.base64.encode(self.np.SerializeEntity(entityId))` but still as you guys mentioned: `67% | local exists = os.rename(absolutePath, absolutePath) and true or...
Fix constructor dependency injection! Worth testing passing dependencies as parameters on functions? Best would be to have locals in init.lua and then passing those to classes, like: `class:new()` then `class:requireDependencies(...)`...
~~Get rid of EntityCache?! It was used in the past for old serialization?!~~ Nope! It is also used to check, if an entity somehow changed and needs to be synced....
Debug setting for multiple instances to avoid unecessary resource/performance usage. Save pid in file. New settings file. Edit: Double checked yesterday, looks fine for now!
Chop of `NULL` byte from NoitaPatcher serialized binary string, when adding to VSC, like `NoitaPatcherUtils:prepareForVSC(binaryString)`, which returns the modified string. Otherwise we cannot store it in VSC, but we need...
> Chop of `NULL` byte from NoitaPatcher serialized binary string, when adding to VSC, like `NoitaPatcherUtils:prepareForVSC(binaryString)`, which returns the modified string. Otherwise we cannot store it in VSC, but we...
Add toggle setting for pprint and pformat. It's executed each frame and is not necessary, when log level is `off`.
Add checks before sending wrong network data. Some mandatory tables are nil now and then. Leads to wrong assumptions.
If an entity was serialized and sent to anyone and then it got deserialized, it can happen, that the deserialized entity is the same as on the other peer. Sounds...
> > Chop of `NULL` byte from NoitaPatcher serialized binary string, when adding to VSC, like `NoitaPatcherUtils:prepareForVSC(binaryString)`, which returns the modified string. Otherwise we cannot store it in VSC, but...