Commit Graph
161 Commits
Author SHA1 Message Date
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 4906a54cde [General] Add /confiscate command 2018-02-25 18:41:41 +02:00
David Cernat 116d693b00 [General] Add CreateObjectAtLocation method 2018-02-10 05:53:50 +02:00
David Cernat 8a506b7d0e [General] Place players at previous position when cell change is invalid 2018-01-18 19:23:58 +02:00
David Cernat 880ceaf346 [General] Disable default chargen using new questFixer script 2018-01-18 18:56:06 +02:00
David Cernat d4f7b32bdd [General] Split old /runconsole into /storeconsole & a new /runconsole
The new /runconsole uses count and interval arguments.
2017-12-31 02:34:36 +02:00
David Cernat 8151532bab [General] Move console command logic to myMod 2017-12-31 01:49:45 +02:00
David Cernat 4315869c86 [General] Implement ObjectLoops to allow count & interval command args
For now, count and interval arguments have only been added to the /placeat and /spawnat commands.
2017-12-31 01:36:08 +02:00
David Cernat 32bdbf41c6 [General] Small spacing fix 2017-12-16 07:22:17 +02:00
David Cernat ceb38c98f5 [General] Save and load player quick keys
Additionally, remove unused spell-related lines.
2017-10-25 07:22:32 +03:00
David Cernat bf9d32abe0 [General] Add option for sharing player topics 2017-10-23 19:42:17 +03:00
David Cernat 4b05bbb9cc [General] Ensure that players who disconnect are not nil 2017-09-01 20:46:19 +03:00
David Cernat 76bcf6ddc3 [General] Add logging for cell events 2017-08-25 09:33:31 +03:00
David Cernat 8ea997234c [General] Use myMod.GetChatName(pid) to simplify player & pid printing 2017-08-24 07:59:03 +03:00
David Cernat f69617ee18 [Commands] Move ban methods to myMod and make it possible to ban by pid 2017-08-24 07:12:44 +03:00
David Cernat 80812a9198 [General] Use clearer variable names for player IDs 2017-08-24 06:31:55 +03:00
David Cernat 1f31e49a42 [General] Fix broken logic in ban system 2017-07-27 22:25:28 +03:00
David Cernat 93ab46134e [General] Ban players when try to join with a new IP
Add lib/.gitkeep back in.
2017-07-27 21:23:44 +03:00
David Cernat 14bd073102 [General] Implement ban system and associated commands
Create banlist.json file.

Add playerName argument to Player initialization to allow the reading of player files for players who are offline.

Fix confusing syntax for some command descriptions.

Rename pname into playerName in all instances for consistency in variable naming.

Remove unnecessary spaces at the ends of certain rows.

Remove unnecessary lib/.gitkeep
2017-07-27 20:51:09 +03:00
David Cernat 479681043f [General] Update script functions for spells 2017-07-20 18:04:00 +03:00
David Cernat 6e967668b2 [General] Load unloaded cells when receiving ObjectState data about them 2017-07-20 17:36:01 +03:00
David Cernat 00372a472d [General] Save and load werewolf states for players 2017-07-15 11:11:04 +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 7335df87e3 [General] Save and load object states 2017-07-13 09:51:14 +03:00
David Cernat 41dcd6d7e4 [General] Add toggleable option for sharing journal 2017-07-08 13:53:00 +03:00
David Cernat 0dc29b8dac [General] Move code for chargen end to BasePlayer 2017-07-08 12:21:54 +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
David Cernat 7f254a8dad [World] Use new faction actions when saving faction data 2017-07-05 07:09:47 +03:00
David Cernat f43fdc7db4 [General] Move death and resurrection logic to Player class 2017-07-03 11:54:32 +03:00
David Cernat 20f8d19a91 [General] Save and load books read by a player 2017-06-27 08:30:56 +03:00
David Cernat d98f9daa2c [General] Modernize getting and setting of player cells 2017-06-10 18:05:31 +03:00
David Cernat a9ba9918f2 [General] Update names for rotation script functions 2017-06-10 16:59:06 +03:00
David Cernat c40504229d [Config] Add optional settings for initial spawn cell
Moreover, allow the setting of position and rotation for both the spawn cell and the respawn cell.

As a related fix, make a player's last rotation get loaded when they rejoin the server.
2017-06-10 16:53:08 +03:00
David Cernat 0474984d1e [General] Save and load kill counts
Additionally, set a specific order for world data keys
2017-06-10 14:51:53 +03:00
Koncord 7d6694203c [General] Remove deleted function GetAngleY 2017-06-06 16:31:43 +08:00
David Cernat 4d57d2bf96 [General] Fix name comparison between players 2017-06-02 01:11:38 +03:00
David Cernat 62ea77f696 [General] Handle saving and loading of ObjectSpawn packets
Also add integrity checks to locations in ActorPosition and ActorCellChange packets.
2017-05-31 11:47:27 +03:00
David Cernat f13776607a [Cell] Save momentary actor data to cell before sending it to a new visitor 2017-05-28 07:40:02 +03:00
David Cernat c0a90f09ed [Cell] Save actor equipment to cell data 2017-05-26 22:59:50 +03:00
David Cernat 83ffeb728c [General] Save and load object trap triggerings 2017-05-26 00:44:56 +03:00
David Cernat 2b595da5ee [General] Save and load dialogue topics 2017-05-24 23:24:48 +03:00
David Cernat 507aeb1348 [General] Remove code related to the removed ObjectUnlock packet 2017-05-24 13:54:32 +03:00
David Cernat b084594aed [General] Load journal and factions for newly created accounts 2017-05-19 10:02:16 +03:00
David Cernat 99e1def97f [General] Save and load factions 2017-05-18 21:53:27 +03:00
David Cernat 46480b2242 [World] Save journal items 2017-05-18 11:51:34 +03:00
David Cernat 1df8dd7a3e [General] Update names for Player callbacks 2017-05-16 21:13:04 +03:00
David Cernat c7f28c0271 [Utils] Add tableHelper.getCount() and tableHelper.usesNumericalValues() 2017-05-09 05:49:23 +03:00