Koncord
4bde7d80f5
[Server] Use regular Ptrs where possible to avoid seizure Ptrs by lua
7 years ago
David Cernat
ac374a8ef9
Merge pull request #384 from TES3MP/0.6.3 while resolving conflicts
...
Conflicts:
apps/openmw-mp/Player.cpp
apps/openmw-mp/Script/Functions/Mechanics.cpp
apps/openmw-mp/Script/Functions/Mechanics.hpp
apps/openmw-mp/Script/Functions/Quests.cpp
apps/openmw-mp/Script/Functions/Quests.hpp
apps/openmw-mp/Script/ScriptFunctions.hpp
apps/openmw-mp/processors/player/ProcessorRecordDynamic.hpp
apps/openmw/mwmp/LocalPlayer.hpp
apps/openmw/mwmp/WorldEvent.cpp
apps/openmw/mwworld/worldimp.cpp
components/openmw-mp/Base/BasePlayer.hpp
7 years ago
David Cernat
5858e05362
Merge pull request #378 from TES3MP/0.6.3 while resolving conflicts
...
Conflicts:
apps/openmw-mp/CMakeLists.txt
apps/openmw-mp/Script/ScriptFunctions.hpp
components/CMakeLists.txt
7 years ago
David Cernat
02af7f6ba1
[General] Add placeholders for new packet types
7 years ago
Koncord
f35d35741e
[General] Remove redundant code
...
Remove BaseEvent::worldObjectCount
Remove BaseActor::count
Use foreach loops in packets and processors
Remove redundant "&" in CellController::get().getCell() calls
7 years ago
Koncord
ff8b5061b4
[Server] Modernize CellController singleton
7 years ago
Koncord
e97dac7793
[Server] Mark derived processor classes as final
7 years ago
Koncord
c55f0f73b8
[Server] Pass shared_ptr<Player> by reference
7 years ago
Koncord
fe2dd1bad4
[Server] Use correct cells in "send" functions
...
Remove unused return type from ON_PLAYER_SENDMESSAGE
7 years ago
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
Koncord
768790e9b4
[Server] Move Base processors and Initializer to processors subdirectory
8 years ago
David Cernat
27148ce9eb
[General] Add placeholders for 12 new packets, to be implemented soon
...
Additionally, make it slightly clearer who created which previously existing packets.
8 years ago
David Cernat
f47a10dd4a
[Server] Add script callback and getter functions for ActorEquipment
8 years ago
David Cernat
ad388c7e12
[General] Add placeholders for ActorEquipment & PlayerFaction packets
...
Also reorder packets and packet processors.
8 years ago
David Cernat
06f3c07116
[Server] Only read Actor packets from players who are still authorities
8 years ago
David Cernat
63dd2d9246
[General] Remove code related to ActorAuthority packets that is not used
8 years ago
David Cernat
83ba4b62b1
[Server] Remove Actors from a Cell's ActorList when they change cells
8 years ago
David Cernat
fafed96bf4
[Server] Store data from ActorPosition in the ActorLists of Cells
8 years ago
David Cernat
e1ee4a4f49
[Server] Store data from ActorStatsDynamic in the ActorLists of Cells
8 years ago
David Cernat
3d6b21942c
[Server] Add OnActorStatsDynamic script callback
8 years ago
David Cernat
9a89284bca
[Server] Add OnActorCellChange script callback
8 years ago
David Cernat
870886192b
[General] Rename DYNAMICSTATS into STATS_DYNAMIC
8 years ago
David Cernat
ca8fd1aa72
[General] Remove ActorHeadRotation packet because it would be too spammy
8 years ago
David Cernat
e7960eee76
[General] Rename DrawState packets into AnimFlags ones for clarity
8 years ago
David Cernat
0d196af685
[General] Add placeholders for 7 new ActorPackets
8 years ago
David Cernat
742d6f653a
[General] Add ActorPosition packet
8 years ago
David Cernat
174f316787
[General] Rename PacketActorFrame into PacketActorTest
8 years ago
David Cernat
c52084a028
[General] Use BaseActorLists in ActorPackets
8 years ago
David Cernat
070c6a3bd4
[General] Add ActorPacketController & make controller var names clearer
8 years ago