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

57 Commits

Author SHA1 Message Date
Sandu Liviu Catalin
f86c12bff2 Implement a new event to receive notifications when a vehicle handling rule has changed. 2016-08-18 15:21:50 +03:00
Sandu Liviu Catalin
db522913d3 Implement a new event to receive notifications when a vehicle radio has changed. 2016-08-18 15:13:33 +03:00
Sandu Liviu Catalin
69325ed2cc Implement a new event to receive notifications when a vehicle damage data has changed. 2016-08-18 15:06:03 +03:00
Sandu Liviu Catalin
05443ba2d4 Implement a new event to receive notifications when a vehicle tyre status has changed. 2016-08-18 14:56:38 +03:00
Sandu Liviu Catalin
23948b5903 Implement a new event to receive notifications when a vehicle part status has changed. 2016-08-18 14:51:55 +03:00
Sandu Liviu Catalin
732769aff2 Implement a new event to receive notifications when a vehicle immunity has changed. 2016-08-18 14:45:12 +03:00
Sandu Liviu Catalin
ebc168e558 Implement a new event to receive notifications when a vehicle world has changed. 2016-08-18 14:38:00 +03:00
Sandu Liviu Catalin
3d8417759b Implement a new event to receive notifications when a player score has changed.
Fix syntax error in enumeration declaration.
Fix compilation error on const correctness in player method for changing player world.
2016-08-17 16:10:43 +03:00
Sandu Liviu Catalin
c6c17e9396 Implement a new event to receive notifications when a player immunity has changed. 2016-08-17 16:07:31 +03:00
Sandu Liviu Catalin
8f78b0a852 Implement a new event to receive notifications when a player wanted level has changed. 2016-08-17 16:04:14 +03:00
Sandu Liviu Catalin
203dd9802e Implement a new event to receive notifications when a player score has changed. 2016-08-17 16:00:28 +03:00
Sandu Liviu Catalin
e9b6d9765b Implement a new event to receive notifications when a player money has changed. 2016-08-17 15:55:59 +03:00
Sandu Liviu Catalin
16f35cbef6 Implement a new event to receive notifications when a player skin has changed. 2016-08-17 15:52:22 +03:00
Sandu Liviu Catalin
ad774fcb3f Implement a new event to receive notifications when a player team has changed. 2016-08-17 15:49:08 +03:00
Sandu Liviu Catalin
84bae9432a Implement a new event to receive notifications when a player world has changed. 2016-08-17 15:45:44 +03:00
Sandu Liviu Catalin
c5ef8018ae Implement a new event to notify on player admin status change. 2016-08-17 15:40:48 +03:00
Sandu Liviu Catalin
c4e82d6756 Add the ability to specify a custom header/payload when kicking/banning a player. 2016-08-17 13:48:29 +03:00
Sandu Liviu Catalin
29b0f8d4c9 Add the possibility to have null entity instances intentionally. 2016-08-07 01:54:33 +03:00
Sandu Liviu Catalin
1229e7f59f Revise the entity clean up to fix crash at server shutdown, remove duplicate code and overall make the code more reliable.
Various other minor changes surrounding the entity destruction from the server.
2016-07-16 19:39:51 +03:00
Sandu Liviu Catalin
88765b80c0 Forgot to complete the proper variable names when clearing entity container names. 2016-07-16 18:07:07 +03:00
Sandu Liviu Catalin
3fab6d931f Don't destroy entity instances from the server at server shutdown. 2016-07-16 17:52:55 +03:00
Sandu Liviu Catalin
0599b57087 Minor documentation in core class and some const-correctness when cleaning entity instance containers. 2016-07-16 16:17:09 +03:00
Sandu Liviu Catalin
e32464b6ea Don't clear entity containers untill after the virtual machine was closed. Should close #22 2016-07-16 15:45:36 +03:00
Sandu Liviu Catalin
6be526924d Add the option to specify a header and payload when tracking player position changes. 2016-07-14 19:52:14 +03:00
Sandu Liviu Catalin
2ee475bb8d Prevent server notifications of entity pool changes from introducing entity leaks and triggering events multiple times. Should close #9 2016-06-26 15:47:27 +03:00
Sandu Liviu Catalin
8846cb9351 Initial revision of the script loading system to be more flexible and accurate. 2016-06-18 20:31:35 +03:00
Sandu Liviu Catalin
6a31e9ee58 Allow the option to toggle debugging from configuration file. 2016-06-17 03:33:58 +03:00
Sandu Liviu Catalin
c76acc07dc Use the new script loading system to be able to hold script information for future debugging implementations.
Fixes issue with scripts being sorted rather then being executed in the load order.
2016-06-17 03:28:37 +03:00
Sandu Liviu Catalin
399ef5a292 Fix minor misspelling in core class. 2016-06-17 03:14:26 +03:00
Sandu Liviu Catalin
bc1e7dbde6 Implement the option to specify how many times you want to allow intensive entity events to be forwarded to script callbacks.
Also expose several properties for the vehicle entity type that I forgot about.
2016-06-08 16:53:16 +03:00
Sandu Liviu Catalin
0c92601362 Update the module API and merge shared code between modules and host plugin. 2016-06-03 21:26:19 +03:00
Sandu Liviu Catalin
f05e562708 Move most of the reload implementation to the central core. 2016-05-24 19:26:43 +03:00
Sandu Liviu Catalin
75452625cd Enable the reload system in the macros.
Prevent the reload from entering a cyrcular reload when sending plugin commands.
2016-05-24 06:51:40 +03:00
Sandu Liviu Catalin
86297882d5 Implement the custom event functions. 2016-05-23 03:51:44 +03:00
Sandu Liviu Catalin
f2361a27c3 Untested update to the new plugin API.
Various other changes to the plugin as well.
2016-05-22 06:20:38 +03:00
Sandu Liviu Catalin
216ac8bbc0 Use unordered maps for storing script instances and options.
Also update some of the code to use braces even for single statements.
2016-03-26 18:16:01 +02:00
Sandu Liviu Catalin
42af986890 Initial implementation of reload mechanism. 2016-03-24 09:32:44 +02:00
Sandu Liviu Catalin
e057f22402 Implement functions to import existing entity instances after loading is complete. 2016-03-24 08:44:01 +02:00
Sandu Liviu Catalin
ff6cacaf68 Dumb approach to recive some kind of asserts if the program crashes because a component was used after it was deleted. 2016-03-24 06:43:02 +02:00
Sandu Liviu Catalin
01bafd7c4f Fix issues in the entity creation and destruction code.
Implement a locking mechanism to prevent entities be dstroyed in mid-destruction.
Also clean up properly when internal instances are deleted.
2016-03-24 05:28:55 +02:00
Sandu Liviu Catalin
1f0d26da33 Separated the code that deallocates entity instances so it can be shared by entity pool change events from the server.
Minor improvements in the entity allocation methods.
Removed the return value from the function binding method.
2016-03-22 04:12:25 +02:00
Sandu Liviu Catalin
b60c8bc12c Separate the code that actually allocates the entity instance so it can be shared by entity pool change events from the server. 2016-03-22 03:29:27 +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
fa12692490 Implemented the module system. 2016-02-23 17:48:30 +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
b05b8f3859 Fixed several spelling mistakes in code class documentation. 2015-11-08 12:35:54 +02:00
Sandu Liviu Catalin
673119db3d Removed the root table reference from the core class which was causing a 998 error when the plugin was loaded. 2015-11-08 10:11:49 +02:00
Sandu Liviu Catalin
c070c7acc8 More documentation for the core class. 2015-11-08 07:20:31 +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