8517e0c7de
[refactor] Replace a few uses of magic numbers with enums
2023-10-08 16:31:53 -04:00
81cc19f985
Fix failed task QItem handling, implement /itemQ command
2021-05-14 14:24:35 -05:00
FinnHornhoover
78b17aea72
added better drop handling, parsing, rng
2021-04-26 11:26:00 -04:00
CakeLancelot
b428eb08e9
[refactor] Continue work on switching over to new sendPacket() wrapper
...
I also moved the give nano GM command to BuiltinCommands, and added a perms check
Haven't checked the following files yet:
Eggs
Groups
Missions
MobAI
2021-03-31 21:10:54 +02:00
CakeLancelot
4a22449f5e
[refactor] Switch a bulk of the codebase to the new sendPacket() wrapper
...
Remaining files to go over:
Nanos
NPCManager
Racing
Trading
Vendors
2021-03-31 21:10:54 +02:00
0f687cc6b3
[refactor] Remove redundant packet size checks
...
Done with a vim macro, since I didn't want to bother hacking up a
multi-line deletion script in sed or awk (or Python).
2021-03-31 21:10:54 +02:00
574f0cab09
Added a wrapper for U16toU8, called AUTOU16TOU8
...
- U16toU8 now requires a max arument to be passed
2021-03-17 23:41:47 -05:00
e9bc2fe561
[refactor] Remove the word 'Manager' from most source files/namespaces
...
ChatManager -> Chat
MissionManager -> Missions
NanoManager -> Nanos
TransportManager -> Transport
ChunkManager -> Chunking
BuddyManager -> Buddies
GroupManager -> Groups
RacingManager -> Racing
ItemManager -> Items
NPCManager and PlayerManager remain.
Note: You can use git log --follow src/file.cpp to trace the history of
a file from before it was renamed.
2021-03-17 20:16:43 +01:00
f9c2587557
[refactor] Extract BuiltinCommands.cpp from PlayerManager.cpp
...
And move itemGMGiveHandler() from ItemManager.
2021-03-13 02:59:18 +01:00