Making NetState.PacketEncoder an instance member instead of a static class member.
This patch is here to make PacketEncoder more useful to allow it to save encoder state information directly with the NetState without the use of a Hashmap or similar techniques. (Which require you to clean up the Hashmap etc.).
The patch is rather simple. It consists in removing two static keywords on line 91 and 93 of the original NetState.cs.
Attached to this post are three files:
a) A compressed RunUO.exe which is the official 1.0.0 source compiled with this patch.
b) A compressed patch that can be applied to your existing source by extracting it into your RunUO source directory and running the supplied .bat files. It also allows removing itself from the source by running the supplied bat file. This is an incremental patch, so it does not overwrite any files and will keep your personal changes to NetState.cs intact.
c) The modified NetState.cs file if you would just like to replace the original file.
This patch has already been accepted into the next official release by Zippy (Zippy's da man!) but since the release date of the next RunUO version is unknown i've decided to release this separately to support my encryption scripts better.
cu,
DarkStorm
This patch is here to make PacketEncoder more useful to allow it to save encoder state information directly with the NetState without the use of a Hashmap or similar techniques. (Which require you to clean up the Hashmap etc.).
The patch is rather simple. It consists in removing two static keywords on line 91 and 93 of the original NetState.cs.
Attached to this post are three files:
a) A compressed RunUO.exe which is the official 1.0.0 source compiled with this patch.
b) A compressed patch that can be applied to your existing source by extracting it into your RunUO source directory and running the supplied .bat files. It also allows removing itself from the source by running the supplied bat file. This is an incremental patch, so it does not overwrite any files and will keep your personal changes to NetState.cs intact.
c) The modified NetState.cs file if you would just like to replace the original file.
This patch has already been accepted into the next official release by Zippy (Zippy's da man!) but since the release date of the next RunUO version is unknown i've decided to release this separately to support my encryption scripts better.
cu,
DarkStorm