1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-18 16:17:14 +02:00
Commit Graph

80 Commits

Author SHA1 Message Date
4dc36b9889 Update player messaging to support alpha/transparency in the specified color. 2016-06-19 08:13:02 +03:00
bca0e1f3c6 More validations on identifiers obtained from the server.
Prevent out_of_range exceptions leak into the script as it would end up in a crash since Sqrat doesn't know how to handle them.
2016-06-15 06:11:47 +03:00
ef41d0d243 Improve the SetAnimation method on player class.
Make it so that the animation group is optional.
2016-06-15 06:06:03 +03:00
7391d9391e Prevent triggering the player option change event value din not change.
If the value for the specified option would not be changed then there's no point in triggering any event or attempting to set it again only and have the same effect.
Fixed minor misspelling in the player class source.
2016-06-14 04:42:18 +03:00
5a225a70b9 Validate identifiers obtained from the server before using them.
Prevent aout_of_range exceptions from leaking to the script in case the server returns a negative identifier. Thus, resulting in a server crash since Squirrel would not know how to handle them.
2016-06-14 02:34:04 +03:00
a71b45567a Added LastArmor alias to the player class for consistency. 2016-06-14 00:50:20 +03:00
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
0c92601362 Update the module API and merge shared code between modules and host plugin. 2016-06-03 21:26:19 +03:00
423bdfcdab Remove duplicate property from player class. 2016-05-26 08:55:48 +03:00
86a4933525 Release script callbacks properly in main plugin. 2016-05-24 21:36:49 +03:00
d7c4d389eb Throw an error if the given player name is invalid. 2016-05-24 08:26:47 +03:00
3ed0b22426 Make the function environment optional in entity callbacks. 2016-05-24 07:29:14 +03:00
f2361a27c3 Untested update to the new plugin API.
Various other changes to the plugin as well.
2016-05-22 06:20:38 +03:00
b818a162ee Initial implementation of the standard math library.
Implemented utilities to convert between fundamental types.
Implemented helper functions to retrieve numeric values from the stack at all costs.
Implemented various delegates on the long integer types to mimic the standard types.
Moved most of the stack utilities in a separate source.
Various other fixes and improvements.
2016-04-14 03:08:06 +03:00
c79598d843 Implement function to retrieve all active players. 2016-03-26 18:17:12 +02:00
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
5c81af5026 Minor changes in the entity types code style. 2016-03-12 22:51:44 +02:00
58891f1e8b Implemented searching entities by ID and Tag. 2016-03-10 06:18:39 +02:00
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
06e598acfb Dumped the old implementation. Started with a more simple approach. 2016-02-21 00:25:00 +02:00
cdd5cb2050 Update player entity to use the new debugging implementation. And create alternative version of several member functions. 2015-11-11 09:02:42 +02:00
bcf9d603e7 Implemented global and local player messaging customization. 2015-11-09 05:54:03 +02:00
3c3e67bdaa Implement message prefixing and other style customization. 2015-11-09 04:32:32 +02:00
8b9d46d9a9 Implemented player messaging. 2015-11-09 03:29:04 +02:00
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
46801b1ce8 Discarded the noexcept specifier entirely. 2015-11-01 05:48:01 +02:00
b0c174e75e Added constructor to create a player entity reference from a base reference. 2015-11-01 01:32:41 +02:00
d3d247b5f9 Simlified the buffer size calculation in Player type.
Fixed bug which multiplied by the type size instead of dividing. thanks @VRocker
2015-10-30 15:22:23 +02:00
772822415b Untested implementation of the Player type. 2015-10-29 22:11:30 +02:00
6ed02d0fd4 Initial commit. 2015-09-30 03:56:11 +03:00