Commit Graph
84 Commits
Author SHA1 Message Date
David Cernat dc3befcbdd [Player] Split off data.general into data.login & data.settings 2017-03-25 23:32:02 +02:00
David Cernat 678116454d Rename angle into rot in variable names for consistency with OpenMW 2017-03-24 22:17:20 +02:00
David Cernat 86e463ec9f Create basic Database class, add dbpath config option 2017-03-15 19:57:08 +02:00
David Cernat 92f5d8800e Rename OnLogin into OnLoginTimeExpiration 2017-03-04 01:03:38 +02:00
David Cernat 397fa2ab7e Fix iterations 2017-02-27 00:11:13 +02:00
David Cernat a3af8d820a Make Methods.CheckPlayerValidity make sense 2017-02-26 22:14:20 +02:00
David Cernat 14498aa63d Tell newly registered players about chat key instead of logged in ones 2017-02-21 03:26:42 +02:00
David Cernat 7ca7db372e Update version to 0.5.0 2017-02-20 15:07:39 +02:00
David Cernat 79313c7154 Prevent tes3mp.SendMessage() from sending every message to everyone 2017-02-19 02:29:48 +02:00
David Cernat b6f5fcce64 Change IsLoggedOn & LoggedOn into IsLoggedIn & FinishLogin
"Logging on" usually has a different meaning than "logging in." In the context of players putting in their names and passwords, we should use the latter.

For more information, read http://stackoverflow.com/a/406034
2017-02-19 01:46:43 +02:00
David Cernat bf715e96af Add a welcome message when players log in 2017-02-19 01:31:00 +02:00
David Cernat 3191819775 Combine SetContainers() and AddContainerItems() into SaveContainers() 2017-02-18 21:58:12 +02:00
David Cernat 7fff4dfaa4 Remove extraneous spaces 2017-02-18 14:46:42 +02:00
David Cernat b67e6be042 Save contents of containers to cell data files 2017-02-17 19:51:55 +02:00
David Cernat 445c676d2e Use script function to get spellbook action 2017-02-16 14:24:18 +02:00
David Cernat b7faec5ae1 Update method names for events 2017-02-06 14:06:15 +02:00
David Cernat e198e250e7 Automatically update old cell data to new format 2017-02-05 12:30:34 +02:00
David Cernat d5638da7fa Update reading of cell states 2017-02-03 20:29:34 +02:00
David Cernat d0a11adfc8 Only unload cells for players who are not nil 2017-02-01 23:51:59 +02:00
David Cernat dc2b50ae5e Save list of locked and unlocked objects and door states in cell data 2017-02-01 13:33:23 +02:00
Koncord 0b93584521 Fix lines with IsInExterior 2017-02-01 16:43:02 +08:00
Koncord 538363790a Use booleans instead digits in callbacks 2017-02-01 16:27:49 +08:00
David Cernat 49439e941f Save list of scaled objects in cell data 2017-02-01 10:04:10 +02:00
David Cernat a8aa76c922 Prevent /list from trying to print nil players 2017-01-30 18:07:19 +02:00
David Cernat c937015d0c Use script functions to fetch refIds and refNums for event objects 2017-01-29 13:23:25 +02:00
David Cernat 9ccf01bb86 Use correct method for removing players as visitors 2017-01-29 12:03:54 +02:00
David Cernat dfe6ebae56 Remove players as visitors from their loaded cells when they disconnect 2017-01-29 09:24:23 +02:00
David Cernat 77c57ae594 Iterate through all cell state changes received by server 2017-01-29 05:42:24 +02:00
David Cernat 4dae4a6d41 Send WorldEvent with all deleted objects in a cell to visitors 2017-01-28 16:25:09 +02:00
David Cernat ecddf759d0 Use clearer method names for saving objects placed and deleted 2017-01-27 16:58:45 +02:00
David Cernat 6f1b0d631a Write objects placed or removed in world to corresponding cell data file 2017-01-27 16:55:56 +02:00
David Cernat f5e34650d8 Save timestamp for every player's last visit to every cell 2017-01-27 16:32:53 +02:00
David Cernat f430be1eb5 Make a LoadedCell nil when it no longer has any visitors 2017-01-27 15:37:21 +02:00
David Cernat 803c11352c When players unload a cell, remove them from its list of visitors 2017-01-27 15:21:31 +02:00
David Cernat 7fb4aea8eb Record which players have loaded a cell 2017-01-27 15:07:24 +02:00
David Cernat a4049acf41 Add chat command for displaying GUI list of loaded cells 2017-01-27 10:09:59 +02:00
David Cernat c97f593c7d Create files for loaded cells, and don't load already loaded cells 2017-01-27 09:07:34 +02:00
David Cernat 2aa3aa2473 Initialize Cell objects for loaded cells correctly 2017-01-27 08:50:27 +02:00
David Cernat 54fca19ad2 Print cells being loaded/unloaded and remove unused parameter for spells 2017-01-26 17:57:11 +02:00
David Cernat a0ccfdd1eb Update order of words in the names of script callbacks 2017-01-25 15:13:35 +02:00
David Cernat 10d3b1bef3 Create basic Cell classes 2017-01-25 09:27:21 +02:00
David Cernat 46a397839a Update inventory and spellbook method names 2017-01-25 08:17:40 +02:00
David Cernat 9aaaadd670 Use separate functions for adding, removing and setting spells 2017-01-20 07:13:30 +02:00
Koncord 30d026f189 Implement LoadSpellbook and SaveSpellbook 2016-12-29 22:04:26 +08:00
Koncord 7940a31307 Move login_time to config 2016-12-12 17:12:26 +08:00
Koncord 1964e5fc6e Rewrite Player module with OOP 2016-12-05 23:44:58 +08:00
Koncord 2cc867eaf4 Move string:split to /lib/lua/utils.lua 2016-12-05 21:16:15 +08:00
David Cernat 59c4d6553f Add placeholder for OnPlayerChangeSpellbook callback 2016-11-21 19:10:56 +02:00
David Cernat 8c4467e3a0 Save player inventories 2016-11-20 00:13:11 +02:00
David Cernat 0c5c7f0199 Add chat message informing other players about denied player 2016-11-17 20:41:50 +02:00