Commit Graph
206 Commits
Author SHA1 Message Date
David Cernat d720702e0d [Commands] Allow repetition for AiWander to be turned on & off in /setai 2018-07-10 23:20:35 +03:00
David Cernat 1de97b09db [Commands] Handle wandering in /setai 2018-07-10 07:17:52 +03:00
David Cernat 5f61ef7290 [General] Update usage of ActorAI packets 2018-07-10 07:08:28 +03:00
David Cernat 4799794587 [Commands] Rework /setai command, part 2
Using TRAVEL now works and makes sense, alongside CANCEL, FOLLOW and COMBAT.
2018-07-10 06:41:21 +03:00
David Cernat 2c9d17b59d [Commands] Rework /setai command, part 1
Using CANCEL as an action now works and makes sense, though the other actions require additional parameters that will be added in part 2.
2018-07-10 05:09:41 +03:00
David Cernat 11de032f11 [Commandsl] Message player about result of /setai command 2018-07-09 20:06:47 +03:00
David Cernat 77f712100b [MenuHelper] Rework MenuHelper by adding display conditions to buttons 2018-07-09 18:26:19 +03:00
David Cernat 354bb32327 [General] Use new skipAttachedPlayer arg in packet-sending functions 2018-07-07 20:58: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 fc9d803d99 [General] Remove unnecessary semicolons for consistency 2018-07-07 13:27:15 +03:00
David Cernat be42c4f233 [General] Process object packets and only use them if they are valid 2018-07-07 12:41:42 +03:00
David Cernat 74f49ea11c [General] Rename questFixer into contentFixer 2018-07-04 21:16:53 +03:00
David Cernat cb0ce248e2 [General] Compare account names when checking if player is logged in 2018-07-03 22:32:54 +03:00
David Cernat 5706d75744 [General] Allow object deletion for specific player or everyone in myMod 2018-07-03 21:33:42 +03:00
David Cernat c1b97b2592 Merge pull request #43 from TES3MP/0.6.2 while resolving conflicts
Conflicts:
	scripts/cell/base.lua
	scripts/myMod.lua
	scripts/server.lua
2018-07-02 15:43:11 +03:00
David Cernat 4a6887f23a [General] Don't kick invalid players for sending ObjectLock packets
This fixes a temporary problem with Morrowind Rebirth where newly joining players send ObjectLock packets for doors that close at night.
2018-07-01 16:20:45 +03:00
David Cernat ad45b4a4ec [General] Kick invalid players who send object and actor packets 2018-06-29 03:09:30 +03:00
David Cernat a012b25d69 [General] Deny object and actor packets from invalid players 2018-06-29 02:56:30 +03:00
David Cernat e7086166c1 [Config] Add enforcedCollisionRefIds & include pillows in it by default 2018-06-28 04:55:52 +03:00
David Cernat db37e1715e [Cell] Prevent changes to dead actor containers until they're updated
This is a workaround that should be discarded later, once we have constant updates of actor inventory contents.
2018-06-28 02:02:45 +03:00
David Cernat 9cf76a3d02 [General] Handle ActorDeath packets by saving actors' death reasons 2018-06-27 22:49:21 +03:00
David Cernat d6f43daf48 [General] Add option for sharing map exploration, part 2
If config.shareMapExploration is turned on, all WorldMap packets received from a player are forwarded to the other players.
2018-06-27 02:01:09 +03:00
David Cernat 775f77201d [General] Add option for sharing map exploration, part 1
Progress in exterior exploration is, as before, always saved to the data files of players. However, if config.shareMapExploration is enabled, that progress is now saved to and loaded from the world's data file instead.
2018-06-26 23:37:22 +03:00
David Cernat fb422c5a16 [General] Only save and forward ObjectDelete packets if they are valid
By default, they are determined to be valid if none of the objects in them match an array of undeletable refIds in the config.
2018-06-20 02:07:44 +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 baae61c2da [General] Implement collision overrides based on config options 2018-05-28 02:34:47 +03:00
David Cernat 1dbaa6978a [General] Rename actionTypes into enumerations 2018-05-26 00:04:16 +03:00
David Cernat 87d859af6a [General] Update usage of WorldTime script functions 2018-05-24 12:32:19 +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 4aa59acec8 [General] Update Event script functions to their new ObjectList versions 2018-05-13 00:45:12 +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 CernatandGitHub c1f4041abf Merge pull request #36 from TES3MP/0.6.2
Add 0.6.2 commits up to 21 March 2018
2018-03-21 21:25:38 +02:00
David Cernat 88616f1ce8 [General] Add RunConsoleCommandOnObject method to myMod 2018-03-21 21:18:28 +02:00
David Cernat 977a595bd2 [General] Add DeleteObjectForPlayer method to myMod 2018-03-21 19:57:26 +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 22ce78a7cd [General] Add new menuHelper class for handling custom menus 2018-03-08 07:06:24 +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 0c711b33e4 [General] Save and load selected spells 2018-02-11 06:41:41 +02:00
David CernatandGitHub b10e08cb89 Merge pull request #30 from TES3MP/0.6.2
Add 0.6.2 commits up to 10 Feb 2018
2018-02-10 07:19:49 +02:00
David Cernat 116d693b00 [General] Add CreateObjectAtLocation method 2018-02-10 05:53:50 +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