RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

RUNUO 2.0 packet redefinition bug

~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:
  1. Remove the redundant registration (register only the correct one.)
  2. Add an exception to the registration system if a programmer tries to overwrite and existing registration.
 
Top