purple
02-18-2005, 08:11 PM
Ok, he's an updated patch. It is against the latest CVS. Please keep you compiling problems to the help forum. If you're seeing crashing or severe problems probably not caused by you doing something dumb and instead by me doing something dumb, please bring it up! Otherwise take it to the help forum.
Hell if I know if it fixes any of the 3 outstanding problems that have been reported because I can't reproduce any of them. I've spent some time with valgrind fixing problems it reported all over the place. It's a bit cleaner now. I did fix one large problem with cached packet memory not getting freed properly because it was double decompressing (once before putting into the cache and once after taking it out) and only freeing the 2nd one.
Changelog from my last patch:
- Fixed a problem from my last patch where decompressed packets weren't getting freed properly
- A lot of small memory cleanups, mostly with exiting
- Fixed groupUpdateStruct and groupFullUpdateStruct to match live
- Made the console messages for grouping look better
- Made tells not double up on the console messages by ignoring the client->server channel message
- Updated worldopcodes.xml (thanks Doodman)
- Reformatted All Packets log (global.log) so it's more useful
- Updated version to 5.0.0.17-purple1
And included again from my previous patch to cvs:
- Compression on the net protocol
- All opcodes changed again (Thanks ieatacid and Doodman for help with these)
- Struct changes
- Buffs now go up to 25
Currently outstanding issues (let me know if any of these are fixed - I can't reproduce any of them):
- Compression fails when things are compiled 64bit
- Stack clobber randomly causes sigsegv (backtrace shows EQPacketStream::vtable, vnsprintf, vsprintf crytically)
- Fragmentation buffer overflows during zoning
Attached:5.0.0.17-purple1.patch.gz.txt (gzipped patch, remove .txt)
THIS PATCH IS SUPERCEDED. See 5.0.0.17-purple2. If you already have this working, it's not a big deal to update really.
Hell if I know if it fixes any of the 3 outstanding problems that have been reported because I can't reproduce any of them. I've spent some time with valgrind fixing problems it reported all over the place. It's a bit cleaner now. I did fix one large problem with cached packet memory not getting freed properly because it was double decompressing (once before putting into the cache and once after taking it out) and only freeing the 2nd one.
Changelog from my last patch:
- Fixed a problem from my last patch where decompressed packets weren't getting freed properly
- A lot of small memory cleanups, mostly with exiting
- Fixed groupUpdateStruct and groupFullUpdateStruct to match live
- Made the console messages for grouping look better
- Made tells not double up on the console messages by ignoring the client->server channel message
- Updated worldopcodes.xml (thanks Doodman)
- Reformatted All Packets log (global.log) so it's more useful
- Updated version to 5.0.0.17-purple1
And included again from my previous patch to cvs:
- Compression on the net protocol
- All opcodes changed again (Thanks ieatacid and Doodman for help with these)
- Struct changes
- Buffs now go up to 25
Currently outstanding issues (let me know if any of these are fixed - I can't reproduce any of them):
- Compression fails when things are compiled 64bit
- Stack clobber randomly causes sigsegv (backtrace shows EQPacketStream::vtable, vnsprintf, vsprintf crytically)
- Fragmentation buffer overflows during zoning
Attached:5.0.0.17-purple1.patch.gz.txt (gzipped patch, remove .txt)
THIS PATCH IS SUPERCEDED. See 5.0.0.17-purple2. If you already have this working, it's not a big deal to update really.