Commit Graph
236 Commits
Author SHA1 Message Date
David Cernat f7dc4b6062 [General] Move commands from server.lua to new commandHandler.lua file 2018-07-07 21:10:29 +03:00
David Cernat 9eff08c9bb [General] Handle OnVideoPlay event and add shareVideos config option 2018-07-07 17:08:17 +03:00
David Cernat 4234d7134d [General] Delete summons of players who disconnect 2018-07-03 21:45:24 +03:00
David Cernat 9cf76a3d02 [General] Handle ActorDeath packets by saving actors' death reasons 2018-06-27 22:49:21 +03:00
David Cernat 7ce42ce4bf [General] Add rule string for sharing map exploration 2018-06-27 02:06:42 +03:00
David Cernat 97a6098343 [General] Add missing rule strings 2018-06-26 22:31:21 +03:00
David Cernat 7a006e5f9c [Commands] Add /fixme command and its accompanying config options 2018-06-26 18:48:45 +03:00
David Cernat e5c71bd95b [General] Make it possible to disallow certain player names 2018-06-18 00:41:45 +03:00
David Cernat 57c4899c4f [General] Update map saving/loading to new system 2018-06-07 12:50:06 +03:00
David Cernat 10efde497e [Commands] Add /setcollision command for quick collision overrides 2018-05-28 09:45:27 +03:00
David Cernat baae61c2da [General] Implement collision overrides based on config options 2018-05-28 02:34:47 +03:00
David Cernat 6377c2040b [Commands] Clean up syntax descriptions for various commands
Additionally, use less confusing variable names for /setai
2018-05-27 10:08:48 +03:00
David Cernat af861c5423 [Commands] Make World get saved when changing its time via commands 2018-05-26 02:26:08 +03:00
David Cernat 1dbaa6978a [General] Rename actionTypes into enumerations 2018-05-26 00:04:16 +03:00
David Cernat e67e7fde38 [Config] Add option for whether time passes on a server without players 2018-05-25 03:43:52 +03:00
David Cernat 4179b0b28a [Commands] Fix time commands 2018-05-24 13:59:15 +03:00
David Cernat 87d859af6a [General] Update usage of WorldTime script functions 2018-05-24 12:32:19 +03:00
David Cernat 102b3fce26 [General] Fix time sync visual glitches by keeping precise hour values 2018-05-23 14:16:27 +03:00
David Cernat 1bd97f0a0e [General] Load world time for everyone once every world hour 2018-05-23 10:45:34 +03:00
David Cernat 074ca90676 [General] Implement timeScale and base frametimeMultiplier on it
The timeScale is now saved to and loaded from the world data. It corresponds to the world timeScale used in OpenMW.

The /settimescale command can be used to change it.

timeMultiplier has been removed as an option from the config file, as it is fully replaced by the timeScale.
2018-05-23 09:32:43 +03:00
David Cernat fbd97f332b [General] Avoid sending GameTime packets to players every second
TES3MP/openmw-tes3mp@031a80e makes it viable to just update the time for players whenever a new hour starts in the server's hourCounter.
2018-05-23 05:54:56 +03:00
David Cernat 7d43579dd8 [General] Rework time sync
The current hour, day and month are now saved to the world data and loaded back in when restarting the server.

The server's hour counter (renamed from timeCounter to hourCounter) is now set back to 0 when reaching a value of 24. However, reaching a value of 24 makes the day get incremented by 1 in the WorldInstance. If the day value exceeds the number of days in that particular month, the month value is incremented by 1 instead and the day is set to 1.

The /time command has been replaced by /sethour, /setday and /setmonth commands.
2018-05-23 03:51:16 +03:00
David Cernat b74bd0b32d [General] Only bother with sending default settings to valid players 2018-05-22 09:32:11 +03:00
David Cernat 8f574b8ac3 [General] Use consistent variable names for tracking timer IDs 2018-05-22 09:03:46 +03:00
David Cernat 759efca741 [General] Add /setai command and associated methods 2018-05-12 06:33:13 +03:00
David Cernat 9b7875bf56 [General] Implement saving and loading of global map tiles for players 2018-05-09 23:18:14 +03:00
David Cernat c9c31f2d20 [General] Add debug messages for callbacks
Previously, these were hardcoded on the C++ side, but have stopped being so since TES3MP/openmw-tes3mp@51fd937250
2018-05-01 21:01:15 +03:00
David Cernat c4cb1a3312 [Commands] Add /setmomentum command 2018-05-01 17:15:01 +03:00
David Cernat f6dd63d770 [Config] Add config option for gameMode and use it when starting server 2018-04-29 19:06:51 +03:00
David Cernat 8744df860a [General] Use tes3mp.SetRuleValue() where possible 2018-04-29 18:59:41 +03:00
David Cernat 5951f61e57 [General] Display roles in front of staff member names in chat 2018-04-22 03:07:10 +03:00
David Cernat 243e352415 [Commands] Add /sethead and /sethair commands 2018-04-18 19:58:44 +03:00
David Cernat a14def058c [General] Add /usecreaturename and associated state loading 2018-04-18 10:09:03 +03:00
David Cernat b9e1336267 [General] Add /disguise command and associated state loading 2018-04-17 16:30:19 +03:00
David Cernat c84b7f7d29 [Commands] Move /greentext next to other messaging commands 2018-04-17 15:54:11 +03:00
David Cernat f0596c76cc [Commands] Add /setrace command 2018-04-17 15:52:22 +03:00
David Cernat 84ce4e4d88 [Commands] Add missing newline to informative message for /storeconsole 2018-03-26 19:45:37 +03:00
David Cernat 114085bd84 [General] Check for version prefix instead of entire version string 2018-03-25 04:34:05 +03:00
David Cernat dea31dbfc1 [General] Implement setting of enforced log level for clients 2018-03-11 04:52:53 +02:00
David CernatandGitHub fac0536d6a Merge pull request #33 from TES3MP/0.6.2
Add 0.6.2 commits up to 9 March 2018
2018-03-09 19:33:34 +02:00
David Cernat 3939cd828a [General] Add /craft command and associated menus as menuHelper example 2018-03-09 18:50:38 +02:00
David Cernat 961c3e9616 [Config] Set custom menu IDs from config 2018-03-09 11:34:56 +02:00
David Cernat ea9f69470c Merge pull request #32 from TES3MP/0.6.2 while resolving conflicts
# Conflicts:
#	scripts/player/base.lua
2018-02-25 19:40:54 +02:00
David Cernat 4906a54cde [General] Add /confiscate command 2018-02-25 18:41:41 +02:00
David Cernat e583b08202 [General] Implement setting of physics framerate 2018-02-14 05:55:52 +02:00
David Cernat e1abed2f9a [Commands] Add /setscale command and rename /werewolf into /setwerewolf 2018-02-06 09:53:46 +02:00
David Cernat 870291c368 [General] Save and load Mark locations 2018-01-31 04:52:31 +02:00
David Cernat 84cfcf38ef [General] Implement reputation, including an option to share it or not 2018-01-30 22:58:17 +02:00
David Cernat 1a77722498 [General] Add option for sharing player bounties 2018-01-29 19:46:01 +02:00
David Cernat 3ddcf4ec1d [General] Update version to 0.6.3 2018-01-27 23:48:57 +02:00