OpenMeridian105 / Meridian59

The MMORPG Meridian 59 - Server 105
https://www.meridiannext.com
Other
16 stars 16 forks source link

Add compiler check for duplicate call settings, fix existing instances. Improve performance of some AddPacket-using messages in user.kod. #345

Closed skittles1 closed 7 years ago

skittles1 commented 7 years ago

Commit 1

Compiler will currently allow duplicate settings parameter names in Send etc. calls. Add a check to catch these duplicates and fail compilation for the file.

Commit 2

Fix cases where send calls had duplicate arguments that were not being checked properly by the compiler.

Commit 3

user_offer_busy was always being used with the wrong parameters, and was never displayed.

Combined extra AddPacket calls where it was safe to do so. Loses a little readability in places for a sizeable decrease in the number of calls to AddPacket - up to 40% less when logging on.