~Adam Ant
Wanderer
RUNUO 2.0 packet redefinition bug
Packet 0xB5 is registered in both"\RunUO 2.0\Server\Network\PacketHandlers.cs" and "\RunUO 2.0\Scripts\Engines\Chat\Chat.cs". As you would expect, the second registration wipes out the first registration.
Both packet registrations are for the chat system, but the two handlers are designed quite differently.
Suggestions:
Packet 0xB5 is registered in both"\RunUO 2.0\Server\Network\PacketHandlers.cs" and "\RunUO 2.0\Scripts\Engines\Chat\Chat.cs". As you would expect, the second registration wipes out the first registration.
Both packet registrations are for the chat system, but the two handlers are designed quite differently.
Suggestions:
- Remove the redundant registration (register only the correct one.)
- Add an exception to the registration system if a programmer tries to overwrite and existing registration.