c29f8ad7df
Run Clippy auto-fix, disable large enum size warning
2025-03-23 18:14:14 -04:00
90a78fcaa8
ActorControl and ActorMove packet fixes, add support for //gm invis
...
I don't think this is the right kind of invisibility, but it's more of a test of
ActorControlSelf really. I have also been trying (and failing) to make the
client show another player.
2025-03-23 15:28:53 -04:00
d47779c8d6
Add display flags
...
This is based off of the display flags from Sapphire, and the weird UNK one that
I see in game.
2025-03-23 13:03:58 -04:00
93409a3c49
Remove persistent_emote field in CommonSpawn
...
This is a param to CharacterMode.
2025-03-23 12:17:23 -04:00
37dbef99db
More CommonSpawn, PlayerSpawn and NPCSpawn struct improvements
...
This is just a barrage of random stuff I needed to fix, along with finally
figuring out what subkinds are.
2025-03-23 12:16:15 -04:00
45f92e9e54
Add OnlineStatus and GameMasterRank enums
2025-03-23 11:37:00 -04:00
3f23eea9c7
Add ObjectId and ObjectTypeId structs
...
This is to make it easier to defaut to INVALID_OBJECT_ID. To test if this works,
the actor from !spawnnpc should target the player.
2025-03-23 10:53:22 -04:00
9111ef6a82
Add debug command to spawn a monster (Tiny Mandragora), various fixes
...
This fixes various problems in CommonSpawn, adds a test for an enemy NPC spawn,
and an unkwon packet I get when entering some zones.
2025-03-23 10:33:49 -04:00
1acf73c484
Move Position struct to common module
2025-03-22 22:01:32 -04:00
0069196e3c
Move some constants to common module
2025-03-22 19:17:01 -04:00
da0860cdd7
Move CharacterMode enum to common_spawn module
2025-03-18 22:17:06 -04:00
cfb9aad6e6
Move ObjectKind enum to common_spawn module
2025-03-18 22:15:27 -04:00
bd67eb0127
Add support for spawning NPCs, and a debug command to do it
...
Since the structs are so similar, I created a CommonSpawn struct to hold most of
the interesting fields.
2025-03-18 22:13:28 -04:00