Commit Graph
89 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 c476ec578b Use foreign key constraints for dbPid and only save valid player tables 2017-03-24 21:48:02 +02:00
David Cernat 8825bd441f Make it possible to create tables automatically from column lists 2017-03-15 22:26:12 +02:00
David Cernat c86d1084ca Create players_general table if it doesn't already exist 2017-03-15 20:48:53 +02:00
David Cernat 86e463ec9f Create basic Database class, add dbpath config option 2017-03-15 19:57:08 +02:00
David Cernat 39fed3cbba Print driver being used by LuaSQL 2017-03-15 17:15:06 +02:00
David Cernat e7cc9773b0 Respawn players in Fort Pelagiad by default 2017-03-04 02:49:22 +02:00
David Cernat d28b9a9384 Make sure player is still logged in when resurrecting them 2017-03-04 02:37:14 +02:00
David Cernat 59028178b7 Make players get resurrected after a certain deathTime has passed 2017-03-04 01:39:33 +02:00
David Cernat 92f5d8800e Rename OnLogin into OnLoginTimeExpiration 2017-03-04 01:03:38 +02:00
David Cernat ceb9942255 Remove silly /cheat command, fix typo 2017-03-03 03:08:07 +02:00
David Cernat 27128d43ef Update version to 0.5.2 2017-02-28 00:12:10 +02:00
David Cernat 397fa2ab7e Fix iterations 2017-02-27 00:11:13 +02:00
David Cernat e34a4645d8 Update version to 0.5.1 2017-02-25 12:20:13 +02:00
David Cernat cf0698fdff Add a missing nil check for an iteration through Players 2017-02-23 10:49:45 +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 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 91881f6e27 Update version to 0.4.2 2017-02-06 23:29:46 +02:00
David Cernat d5638da7fa Update reading of cell states 2017-02-03 20:29:34 +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 b394590832 Add "default" argument to "/console" command 2017-02-01 16:56:56 +08:00
Koncord 538363790a Use booleans instead digits in callbacks 2017-02-01 16:27:49 +08:00
David Cernat fa33c89085 Make objectIndex get incremented deeper inside WorldObject-adding loops 2017-02-01 10:15:06 +02:00
David Cernat 49439e941f Save list of scaled objects in cell data 2017-02-01 10:04:10 +02:00
Koncord a503fa713e Add "/console" command for admins 2017-02-01 15:56:30 +08:00
Koncord 00ed3b549a Allow/disallow console when player connected 2017-02-01 13:57:46 +08: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 a4049acf41 Add chat command for displaying GUI list of loaded cells 2017-01-27 10:09:59 +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 8b817278fb Rename isModuleExists() into doesModuleExist() 2017-01-20 06:48:41 +02:00
Koncord 0868b3fdbe Update version 2016-12-30 02:54:30 +08:00
Koncord 30d026f189 Implement LoadSpellbook and SaveSpellbook 2016-12-29 22:04:26 +08:00
Koncord bf665b1c57 Start SQL implementation for Player class 2016-12-05 23:49:05 +08:00
Koncord 1964e5fc6e Rewrite Player module with OOP 2016-12-05 23:44:58 +08:00
Koncord 73c18956af add config module and forgotten require ("utils") 2016-12-05 23:42:26 +08:00
David Cernat 59c4d6553f Add placeholder for OnPlayerChangeSpellbook callback 2016-11-21 19:10:56 +02:00
David Cernat 75af1ec2b6 Fix oversight related to arguments for OnPlayerConnect() 2016-11-17 20:47:13 +02:00
David Cernat 0c5c7f0199 Add chat message informing other players about denied player 2016-11-17 20:41:50 +02:00
David Cernat 13699e20bc Prevent multiple players with the same name from joining the server 2016-11-17 20:06:04 +02:00
David Cernat 4ec9c631a1 Revert "Use new lowerCamelCase names for tes3mp script functions"
This reverts commit 44cc7a131b.
2016-11-16 19:23:56 +02:00
David Cernat 44cc7a131b Use new lowerCamelCase names for tes3mp script functions 2016-11-16 17:59:07 +02:00
David Cernat 03039a72ba Add placeholder for OnPlayerChangeInventory callback 2016-11-15 20:20:47 +02:00
David Cernat b9e67a9117 Rename gui-ids into guiIds for naming consistency 2016-11-12 20:24:09 +02:00
Koncord 941e70d108 Use GUI for "/list" & "/help" 2016-11-12 23:55:27 +08:00