Commit Graph
73 Commits
Author SHA1 Message Date
David Cernat 106aad320c [General] Save and load power cooldowns for players 2021-07-10 22:59:58 +02:00
David Cernat f64bc68868 [General] Use a table for the config's default respawn location 2021-06-04 05:17:10 +02:00
David Cernat d3bd2cc1ae [General] Rework spawn cells, using instanced cell as default option 2021-06-03 14:52:57 +02:00
David Cernat f7c3938445 [General] Save and load active spells for actors 2021-05-07 15:30:10 +02:00
David Cernat 0c81b97ff2 [General] Add error messages & shutdowns for invalid file reading 2020-11-19 06:12:19 +02:00
David Cernat c970cc4d04 [General] Add event and default handler for ObjectDialogueChoice 2020-10-26 19:52:27 +02:00
David Cernat 427ef64983 [General] Save and load active spells for players, part 1 2020-07-10 02:20:53 +02:00
David Cernat 59b2d08c93 [General] Save and load clientside locals 2020-06-06 14:27:33 +02:00
David Cernat 64c2092834 [General] Implement handling of gold pools 2020-05-16 05:25:03 +03:00
David Cernat 885fa88b2a [General] Add OnObjectSound event 2020-02-29 18:25:00 +02:00
David Cernat 84ffb2353a [General] Add handling for ObjectRestock packets 2020-01-23 12:51:23 +02:00
David Cernat afd4e6c201 [General] Handle clientside globals using new ClientScriptGlobal packet 2020-01-04 09:58:14 +02:00
David Cernat 686c6ff54c [General] Add OnObjectHit event, adjusting packetReader accordingly 2019-12-08 16:16:13 +02:00
David Cernat 82917c95a5 [General] Add OnConsoleCommand event, adjusting packetReader accordingly 2019-12-07 10:37:47 +02:00
David Cernat 2f6376ff58 [General] Combine repetitive OnObject events into OnGenericObjectEvent 2019-11-21 15:01:58 +02:00
David Cernat fa8e3aa2f4 Add 0.7.0 commits up to 27 Oct 2019
# Conflicts:
#	scripts/eventHandler.lua
2019-11-12 19:11:31 +02:00
David Cernat 56bd48eb17 [General] Run pid-based timer events only on players with same name
Move handling of OnLoginTimeExpiration to eventHandler.

Place timer events at bottom of serverCore and eventHandler.
2019-10-11 13:45:06 +03:00
David Cernat dea45a9913 [ServerCore] Remove adminsCounter that never made any sense 2019-10-10 05:47:32 +03:00
David Cernat 4ae3b7e24d [General] Add maxClientsPerIP setting to configuration
Move player disconnection message to eventHandler.

Clarify wording in the description for the config's nightStartHour and nightEndHour.
2019-10-09 09:29:37 +03:00
David Cernat 0ca388d550 [General] Implement saving/loading/syncing for clientside global shorts 2019-09-19 15:03:55 +03:00
David Cernat 857b4c4b86 [General] Add clientVariableScopes file for categorizing clientside vars 2019-09-19 14:05:32 +03:00
David Cernat e3ae39c575 [General] Change version to 0.7.1 2019-07-17 13:42:05 +03:00
JakobCh 35e9e59891 Started moving the default commands over to use the customCommandHooks
That way you can esaly remove/replace the default commands without touching the corescripts
2019-06-05 22:46:53 +02:00
David Cernat 2638b94bf0 [ServerCore] Remove spammy debug left over from testing 25f1c70daf 2019-05-05 14:34:35 +03:00
David Cernat 25f1c70daf [General] Use different timescales for day and night 2019-05-01 01:19:35 +03:00
David Cernat 6cbaf2b517 [General] Refer to data files instead of plugins in var & function names 2019-04-23 23:52:33 +03:00
David Cernat 5e32375c0e [General] Load up enumerations near top of serverCore 2019-04-14 19:45:47 +03:00
David Cernat 24ea3fa69f [ServerCore] Load up utils before anything else
This allows utils functions to be used in jsonInterface.
2019-04-14 19:33:17 +03:00
David CernatandGitHub 6ef6b53eca Merge branch '0.7.0' into fix-log-levels 2019-03-24 01:52:02 +02:00
David Cernat a1cbd7385e [General] Update function & var names for a couple of ServerFunctions 2019-03-19 04:06:49 +02:00
uramer f688cc6249 [customEventHooks] clean up some of the events triggers using improper eventStatus 2019-03-15 22:27:27 +01:00
David Cernat 078b7df22a [General] Split off speeechCollections into their own file
Load up the Morrowind speech collections only if Morrowind.esm is present in the data files required from clients.
2019-03-12 06:16:32 +02:00
David Cernat f0a5bfa909 [ServerCore] Fix spacing 2019-03-12 05:29:02 +02:00
David Cernat eb579846b8 [ServerCore] Keep track of required client data files in clientDataFiles 2019-03-12 04:16:35 +02:00
David Cernat 51c553920d [ServerCore] Add handling of OnServerScriptCrash event
Additionally, fix value of eventStatus passed to customEventHooks in OnServerExit.
2019-03-12 02:19:48 +02:00
David Cernat 046f5c32d7 [ServerCore] Rename error argument into errorState in OnServerExit() 2019-03-12 01:56:33 +02:00
David Cernat 7ae3900d3b [General] Refer to client "plugins" as data files instead
Rename pluginlist.json into requiredDataFiles.json
2019-03-11 09:36:08 +02:00
uramer 4610263d2c Add customCommandHandler 2019-03-06 13:41:46 +01:00
uramer 8898ca55af rename plugins.lua into customScripts.lua 2019-03-06 13:40:59 +01:00
uramer 1a4a13cebc [customEventHooks] Add customEventHooks to handle custom scripts in a uniform way 2019-03-06 13:19:19 +01:00
Kirbs_AU 3dce6c8918 Adjusted logging levels of a handful of """warnings"""
They probably shouldn't be warnings in the first place. For example:
"Reading pluginlist.json". Is this really a warning?
2019-01-21 22:32:42 +11:00
David Cernat 44fa209682 [General] Reduce stack overflow errors by not saving World in timer 2019-01-11 11:09:27 +02:00
David Cernat a72103540b [General] Rework jsonInterface so it uses io on Linux & io2 on Windows 2018-12-17 14:01:14 +02:00
David Cernat d64ed7d566 [General] Add config.ignoreScriptErrors option 2018-12-01 03:05:24 +02:00
David Cernat 1aa6baa9d8 [General] Include plugin list debug in server log 2018-11-20 22:04:41 +02:00
David Cernat 90bbdb6b56 [General] Allow plugins with no hashes again
This fixes an oversight in f8b2827109
2018-11-20 21:45:25 +02:00
David Cernat 402b8eb2d0 [General] Handle OnPlayerSendMessage like other events 2018-11-08 22:33:46 +02:00
Koncord f8b2827109 [General] Rework OnRequestPluginList callback. Change format of pluginlist.json 2018-10-30 15:14:33 +08:00
Koncord ca88b84ead [General] Kick player in the OnPlayerConnect callback 2018-10-30 15:14:33 +08:00
Koncord fe513a2cd6 [General] Add default OnPlayerMessage handler 2018-10-30 15:14:33 +08:00