1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2024-11-08 08:47:17 +01:00
Commit Graph

20 Commits

Author SHA1 Message Date
Sandu Liviu Catalin
8088ba94c2 Updated the exception system in the main plugin to also include the location in the source files in debug builds.
Moved the functions that extract base types from strings as static functions under the associated type.
Revised some of the base shared code.
Fixed some of the functions in the String library that did not take into account the null terminator.
2016-03-21 22:37:58 +02:00
Sandu Liviu Catalin
afc72a0162 Fixed a bug in the command system that did not take into account the null terminator when finding the command separator.
Added the option to retrieve the listener instance of the currently executed command.
Moved several helper functions to where they belong.
2016-03-17 22:06:14 +02:00
Sandu Liviu Catalin
839c3c3434 Allow the retrieval of the currently executed command from the command system.
Also improve the way errors during the execution are handled and resources are released.
2016-03-16 19:11:42 +02:00
Sandu Liviu Catalin
98b2ddfda6 Fix bug in command system when identifiying where the command name ends.
Also add a quick helper function to retrieve the number of existing commands.
2016-03-15 14:12:14 +02:00
Sandu Liviu Catalin
acaf826498 Revised the implementation for the command system to be safer in situations that could lead to the destruction of the listener instance while still used.
Also changed the command system to store the commands in a contiguous container since commands are only inserted once and constantly accessed after.
Documented the command listener member functions.
Various other fixes and improvements.
2016-03-15 10:56:00 +02:00
Sandu Liviu Catalin
f27a195b6f Fixed the INI compilation on Linux by reverting to the original library.
Fixed an infinite loop in the parsing of command specification strings.
Added the option to retrieve common configs with a fall back value if they don't exist.
Few other minor changes.
2016-03-11 20:04:26 +02:00
Sandu Liviu Catalin
70e5f0ba21 Migrated the host module to C++ exceptions as well.
Also enabled the latest C++ revision in the project.
Replaced the Random library with the one provided by C++11.
Implemented a simple AES256 encryption class.
Various other fixes and improvements.
2016-03-10 05:57:13 +02:00
Sandu Liviu Catalin
bedf03c9cd Implemented the IRC library.
Fixed a bug in the Routine system that caused crashes when constructed with only the first three arguments because it wasn't attached.
Implemented a gentle release of functions to not release them if the reference count is 1.
Adjusted the Routine and Command system to not be necessary to include them in the module core.
Moved the INI and XML libraries into their own namespace.
Various other modifications and fixes.
2016-02-23 05:23:56 +02:00
Sandu Liviu Catalin
35d662a02f Minor additions and fixes to the command system. 2016-02-21 10:31:10 +02:00
Sandu Liviu Catalin
06e598acfb Dumped the old implementation. Started with a more simple approach. 2016-02-21 00:25:00 +02:00
Sandu Liviu Catalin
14a46c5372 Fixed spelling mistake in command function name. Updated collor packing macros to correct type casting. 2015-11-09 03:27:52 +02:00
Sandu Liviu Catalin
6f89d0b8d1 Use entity instance when sending the invoker to commands. 2015-11-08 23:52:56 +02:00
Sandu Liviu Catalin
8a01a1b0ed Added auto generation of informational message based on the suplied argument tags and specifiers. 2015-11-08 23:25:40 +02:00
Sandu Liviu Catalin
b5ed79ad43 Exposed methods for checking if an argument supports a certain type and whether a certain invoker is allowed to execute. 2015-11-08 22:34:14 +02:00
Sandu Liviu Catalin
b6023b842e Implemented command argument tag/name to allow auto generation of command syntax information. 2015-11-08 22:31:03 +02:00
Sandu Liviu Catalin
d26b9b560e Fixed argument range checking in command manager. 2015-11-08 21:34:25 +02:00
Sandu Liviu Catalin
4e23d3ff88 Exported command enumerations and helper function to retrieve player instance level without an instance. 2015-11-08 21:12:05 +02:00
Sandu Liviu Catalin
ad65cf91d8 Documentation spelling corrections and added several functions to retrieve useful information about the currently executed command and a more expanded constructor as well. 2015-11-08 20:53:50 +02:00
Sandu Liviu Catalin
e41581a0e3 Added a member function in command manager to retrieve the last invoker. 2015-11-08 12:36:23 +02:00
Sandu Liviu Catalin
3206d49404 Implemented a simple command system. Added a custom buffer class. Implemented reconnection for IRC sessions. Various other adjustments and additions. 2015-11-07 12:17:39 +02:00