David Cernat
faa45fa894
[General] Handle PlayerJournal in packetReader's GetPlayerPacketTables()
2021-06-10 15:19:19 +02:00
David Cernat
1ee053df47
[General] Use arg for PlayerJournal that is consistent w/ other packets
2021-06-08 02:37:13 +02:00
David Cernat
60cb6c4cec
[General] Update handling of client globals, separating shorts & longs
2020-02-17 18:20:36 +02:00
David Cernat
aa7297e1aa
[General] Use packetReader for PlayerJournal
2020-02-03 16:29:51 +02:00
David Cernat
da06716352
[General] Use packetReader for ClientScriptGlobal & add validator
2020-01-26 13:36:26 +02:00
David Cernat
afd4e6c201
[General] Handle clientside globals using new ClientScriptGlobal packet
2020-01-04 09:58:14 +02:00
David Cernat
17b56b9a96
[General] Implement handling of destination overrides
2019-12-04 16:45:31 +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
0ca388d550
[General] Implement saving/loading/syncing for clientside global shorts
2019-09-19 15:03:55 +03:00
Atkana and David Cernat
2c7a7bc7c9
Add configurable data path ( #83 )
...
* Update config.lua
* Update to use config.dataPath
* Update to use config.dataPath
* Update to use config.dataPath
* Update to use config.dataPath
* Update to use config.dataPath
* Update to use config.dataPath
* Update to use config.dataPath
* Update to use config.dataPath
2019-09-19 14:30:56 +03:00
David Cernat
96595c116c
[General] Change ToDisk() & FromDisk() into ToDrive() & FromDrive()
2019-04-21 00:54:46 +03:00
David Cernat
3eedd96248
[General] Use the quicker saving method for most objects in most cases
...
As of now, only players and cells still use the slower saving method, and only when disconnecting or being fully unloaded respectively.
Additionally, rename the Save() and Load() methods into SaveToDisk() and LoadFromDisk() to reduce ambiguity and prevent them from being used all the time by new scripters.
2019-04-14 23:49:03 +03:00
David Cernat
5e32375c0e
[General] Load up enumerations near top of serverCore
2019-04-14 19:45:47 +03:00
David Cernat
ed22fea80e
[StateHelper] Update function name for checking file path existence
2019-03-19 04:55:12 +02:00
David Cernat
a1cbd7385e
[General] Update function & var names for a couple of ServerFunctions
2019-03-19 04:06:49 +02:00
David Cernat
77ff69e2e2
[StateHelper] Only load map tile image files for valid coordinates
...
Additionally, only send WorldMap packets if they are not empty.
2019-01-17 08:47:07 +02:00
Koncord
c43f42b7d3
[General] Use GetModDir function instead getenv
2018-12-29 12:05:47 +08:00
David Cernat
8d1dfe5aaf
[General] Remove unnecessary spaces
2018-10-22 09:16:09 +03:00
David Cernat
b1783cc8dd
[General] Don't save players twice on cell changes
...
Additionally, log all player saving.
2018-10-13 12:25:09 +03:00
David Cernat
b368b386d9
[General] Update names for script functions that clear packet vectors
2018-10-03 02:28:54 +03:00
David Cernat
4dc340480e
[General] Change code style by using "not" operator whenever possible
2018-09-21 03:14:24 +03:00
David Cernat
46dcf531d7
[StateHelper] Use timestamps for journal entry saving and loading
2018-07-26 04:41:27 +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
1dbaa6978a
[General] Rename actionTypes into enumerations
2018-05-26 00:04:16 +03: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
b5afbd9806
[StateHelper] Reorder methods for more consistency with Player's methods
2018-01-29 01:26:18 +02:00
David Cernat
bf9d32abe0
[General] Add option for sharing player topics
2017-10-23 19:42:17 +03:00
David Cernat
8cee25eadd
[General] Add manual fixes for skipping the Seyda Neen Census Office
2017-07-28 23:21:42 +03:00
David Cernat
d6d213b1d0
[General] Update function name for getting faction expulsion state
2017-07-19 20:44:28 +03:00
David Cernat
43745a10be
[General] Add and use new file to track packet action types
2017-07-13 14:49:46 +03:00
David Cernat
6565f79bcf
[General] Save and load faction reputations
2017-07-13 13:37:59 +03:00
David Cernat
41dcd6d7e4
[General] Add toggleable option for sharing journal
2017-07-08 13:53:00 +03:00
David Cernat
497a9be088
[General] Add toggleable options for sharing faction ranks and expulsion
...
Create a new StateHelper class to help with saving/loading state that can be per player or per world
Separate faction ranks from expulsion states when saving/loading faction data
2017-07-08 12:07:33 +03:00