David Cernat 6a3fbf4e98 [Server] Use consistent arguments for script functions that send packets
Previously, there was a confusing separation between script functions that had a "broadcast" argument and script functions that had a "toOthers" argument.

Those with broadcast sent the packet to all players on the server when broadcast was true. Those with toOthers sent the packet to all players other than the packet's attached player.

The former was based on the pattern of the original SendMessage() script function. The latter more closely resembled RakNet's own broadcast argument as seen here:

https://github.com/TES3MP/CrabNet/blob/master/include/raknet/RakPeer.h#L219

This commit makes it so all sending functions have a sendToOtherPlayers argument that is false by default and a sendToAttachedPlayer that is true by default. This should simultaneously allow sending to be more intuitive, while not breaking previous existing scripts to a significant degree.

Additionally, this commit also reduces some code repetition for all instances of packet-fetching in script functions.
2018-07-07 18:29:31 +03:00
2018-07-05 19:49:33 +08:00
2015-05-25 18:45:42 +09:00
2018-06-26 17:45:20 +00:00
2016-10-23 17:07:46 +08:00
2018-07-03 09:09:48 +02:00
2018-07-03 09:37:51 +02:00
2018-06-27 13:32:08 +02:00

TES3MP

Build Status

TES3MP is a project aiming to add multiplayer functionality to OpenMW, an open-source game engine that supports playing "The Elder Scrolls III: Morrowind" by Bethesda Softworks.

  • TES3MP version: 0.6.3
  • OpenMW version: 0.44.0
  • License: GPLv3 (see LICENSE for more information)

Font Licenses:

Project Status

Version changelog

TES3MP is now playable in most respects. Player and NPC movement, animations, combat and spell casting are properly synchronized with small exceptions, as is picking up and dropping items in the world, using doors and levers, and adding and removing items from containers. Journal entries, faction stats and dialogue topics are also synchronized, allowing the majority of quests to work fine.

Serverside Lua scripts are used to save and load the state of most of the aforementioned.

Contributing

Development has been relatively fast, but any contribution regarding code, documentation, bug hunting or video showcases is greatly appreciated.

Test sessions are often advertised on our Discord server or in our Steam group.

Feel free to contact the team members for any questions you might have.

Getting Started

Donations

You can benefit the project by contributing to the Patreon pages of our two developers, Koncord and David Cernat, as well as by supporting OpenMW.

Description
Multiplayer for OpenMW, a reimplementation of The Elder Scrolls 3: Morrowind's engine.
Readme GPL-3.0 89 MiB
Languages
C++ 96.7%
CMake 1.4%
C 0.7%
GLSL 0.5%
TeX 0.4%
Other 0.3%