you cant change packet size, without updating size in client also.
Issue here because constant MAX_QUEST_OBJECTIVES used in server internals and in packet.
second error probably because you not compiled char server with changed constant?
In other words if change hercules in some way, in server side you can get more objectives, but client this not see extra objectives in all or some cases.