Koncord
2d0840cb3a
[General] Modernize Script API
...
This commit changes the style of tes3mp serverside scripting mods. Short list of changes:
* Break compatibility with old server mods
* OOP style lua API
* Basic dependency checker, allowing the installation of multiple server mods without changing configs
* Remove support for C++ plugins
* Change outdated LuaBridge to [sol2](https://github.com/ThePhD/sol2 );
* Support GCC, Clang and MSVC compilers
* New environment variables: "TES3MP_SERVER_DIR" and "TES3MP_SERVER_USERDIR";
* New entity "Command controller" for registering new chat commands;
* New Event system
* Simplified Timer API
* All Lua mods now run in their own environments
* Add global namespace - Data that can be used for communicating between mods
* Player and Actor inherit base class NetActor
7 years ago
David Cernat
0e2038f045
[General] Record and get player positions before their last cell change
8 years ago
Koncord
1aabcdd09c
[General] Add *_WITH_ACK_RECEIPT to master server packets
8 years ago
Koncord
8384a8aa8a
[General] Return sent packet number
8 years ago
Unknown
bfbfbeac43
Added networking and saving for custom spells
8 years ago
David Cernat
f61664ff6d
[General] Update version to 0.6.0
8 years ago
David Cernat
4db64e1721
[Client] Synchronize spellcasting for non-bipedal creatures
8 years ago
David Cernat
8b79cdd4f4
[Server] Document script functions, part 3
...
Also reorder functions in Cells and CharClass so they are consistent with the rest.
8 years ago
David Cernat
43a3daf0aa
[General] Add & implement PlayerShapeshift packet for werewolf states
8 years ago
David Cernat
ad9fa0631a
[General] Rename jailText to jailEndText and add jailProgressText in PlayerJail
8 years ago
David Cernat
e36c0afc59
[General] Send faction reputation via PlayerFaction packets
8 years ago
David Cernat
be93ec8ef6
[General] Implement ObjectState packet
8 years ago
David Cernat
083b46394d
[General] Add ignoreJailSkillIncreases to PlayerJail packets
8 years ago
David Cernat
5962570c48
[General] Add jailText to PlayerJail packets
8 years ago
David Cernat
3280f0c5ee
[General] Implement PlayerJail packet
...
Rework server's DeathFunctions into MechanicsFunctions
Remove connection between PlayerResurrect and jailing
8 years ago
David Cernat
3529f9b090
[General] Add placeholders for PlayerJail, ObjectState & ConsoleCommand
8 years ago
David Cernat
4e74910fdb
[General] Disable automatic sync for PlayerJournal and PlayerFaction
...
Simplify PlayerFaction packets by removing BOTH action
8 years ago
David Cernat
2c05b7f747
[Server] Rename InitiateEvent() into InitializeEvent() for consistency
8 years ago
David Cernat
1d504a665f
[General] Add RANK, EXPULSION and BOTH actions to PlayerFaction packets
8 years ago
David Cernat
60574ae667
[General] Implement jail time as a death penalty
8 years ago
David Cernat
71313c5aa6
[General] Implement PlayerMap packet, part 1
8 years ago
David Cernat
1f682749d6
[General] Add optional notes to PasswordDialogs
8 years ago
Koncord
0cf09adb44
[General] Move AddProcessor to BasePacketProcessor
8 years ago
Koncord
ed3e089126
[General] Use C++11 way to delete Ctor
8 years ago
Koncord
5b2cab4c6b
[General] Change NULL to nullptr
8 years ago
Koncord
2b1b4ce2f1
[General] Update PacketControllers to C++11
8 years ago
Koncord
fcccd7b665
[General] Remove creatureStats.mDead from packets
8 years ago
David Cernat
813a3c89c4
[General] Implement PlayerBook packet to track skill books read
8 years ago
David Cernat
b3b73c5cd2
[General] Implement resurrection at nearest shrine or temple
8 years ago
David Cernat
78f29302ef
[General] Fix PlayerJournal logic by sending only refIds for its actors
...
Additionally, make the refIds for actors usable in script functions.
8 years ago
David Cernat
48c63dbce9
[General] Fix ObjectLock packets by making hasCellData true for them
8 years ago
David Cernat
ebf7740969
[General] Repurpose GameConsole packet as GameSettings & add difficulty to it
8 years ago
Koncord
6192543381
[General] Move bracket to the right position
8 years ago
David Cernat
70d9374a6a
[General] Implement PlayerKillCount packets
8 years ago
David Cernat
5b23da8e1c
[General] Rename unused PlayerRegionChange packet into PlayerKillCount
8 years ago
David Cernat
ee5c9b65c5
[General] When changing region, send new region name in PlayerCellChange
8 years ago
David Cernat
34378fbb4f
[General] Make coding style consistent
8 years ago
David Cernat
a84cf7c191
[General] Fix packet validation for ActorPackets sent by server scripts
...
This allows Lua scripts to send actor data again, which hadn't been possible anymore after 2ed1bfe
8 years ago
Koncord
2ed1bfe427
[General] Simplify ActorPackets
8 years ago
Koncord
fd8e833d6a
[General] Simplify WorldPackets
8 years ago
Koncord
556bf18535
[General] Minor improvements for player packets
...
Add compression, remove useless loop iterations
8 years ago
Koncord
ad873e16b8
[Client] Limiting updates to ~64 per second
8 years ago
Koncord
c2600bac8e
[General] Allow single bit booleans in packets
8 years ago
Koncord
7e5e877fda
[General] Pack player->direction.pos to 1 byte
8 years ago
Koncord
dded330cc4
[General] Get rid Z axis in direction.pos
8 years ago
Koncord
ae9e5750ac
[General] Aggressive compression of rotations
8 years ago
Koncord
3905e0dae9
[General] Get rid direction.rot again
8 years ago
David Cernat
d0a0b6ffa4
[General] Add basic integrity checks to all Actor and World packets
8 years ago
David Cernat
a353a21280
[General] Fix code style inconsistencies
8 years ago
David Cernat
068a45be87
[General] Synchronize player & NPC rotation animations
8 years ago