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

556 Commits

Author SHA1 Message Date
Sandu Liviu Catalin
f238588abe More work on async sql.
Current implementation only provides execution for sqlite queries in worker threads. Statements and MySQL is on the TODO list.
2022-07-19 19:29:32 +03:00
Sandu Liviu Catalin
39524098f1 Extend worker pool.
Task exceptions are caught and they can provide custom information to identify the task that failed.
Take ownership of the task instance sooner.
2022-07-19 19:28:13 +03:00
Sandu Liviu Catalin
ea63899c9a Mark unreachable code. 2022-07-04 20:05:21 +03:00
Sandu Liviu Catalin
8f11e08150 Allow session pool to be used with legacy database wrappers (experimental). 2022-07-04 19:39:41 +03:00
Sandu Liviu Catalin
87387999f3 Remove old POCO RegEx. 2022-06-25 02:30:33 +03:00
Sandu Liviu Catalin
2f3684e251 Update sqratMemberMethods.h 2022-06-25 00:35:44 +03:00
Sandu Liviu Catalin
7afc05e52b Add rpmalloc as a thread-safe alternative. 2022-06-24 22:51:20 +03:00
Sandu Liviu Catalin
5c54dc6a95 Update sqratClass.h 2022-06-24 22:49:09 +03:00
Sandu Liviu Catalin
9330cd4eb3 Update Weapon.cpp 2022-06-24 22:49:03 +03:00
Sandu Liviu Catalin
7576409ceb Update Vehicle.cpp 2022-06-24 22:48:58 +03:00
Sandu Liviu Catalin
f278d151d6 Update Player.cpp 2022-06-24 22:48:54 +03:00
Sandu Liviu Catalin
b3b57d5b2b Update VecMap.hpp 2022-06-24 22:48:48 +03:00
Sandu Liviu Catalin
c4130c589f Update ThreadPool.hpp 2022-06-23 21:50:23 +03:00
Sandu Liviu Catalin
2d24860905 Update RegEx.hpp 2022-06-23 21:07:52 +03:00
Sandu Liviu Catalin
eb90d9bc99 Update Net.hpp 2022-06-23 21:07:48 +03:00
Sandu Liviu Catalin
b87e68b9fc Add an extra method to the logger. 2022-06-23 21:07:44 +03:00
Sandu Liviu Catalin
a1a71ee031 Validate sub-str range. 2022-06-13 04:00:41 +03:00
Sandu Liviu Catalin
c4b9b4c0a5 Basic implementation of PCRE.
Just the foundation is currently implemented. Utilities are to be added with time.
2022-06-13 03:51:39 +03:00
Sandu Liviu Catalin
b3f9f9e47a Fix entity quaternion properties.
Vector flag enumeration was used instead of Quaternion flag enumeration.
2022-03-22 21:11:17 +02:00
Sandu Liviu Catalin
a2421afca1 Fix player iteration. 2022-03-19 23:51:34 +02:00
Sandu Liviu Catalin
2725387112 Update MySQL.hpp 2022-03-16 22:36:50 +02:00
Sandu Liviu Catalin
7248351469 Update Areas.cpp 2022-03-16 22:36:48 +02:00
Sandu Liviu Catalin
38f0a53cd8 Fix areas with a temporary workaround. 2022-03-16 21:58:00 +02:00
Sandu Liviu Catalin
1c7fee69ea Update RegEx.cpp 2022-03-16 18:33:49 +02:00
Sandu Liviu Catalin
2b85b3a035 Update Signal.cpp 2022-03-16 17:21:53 +02:00
Sandu Liviu Catalin
11fb1fa25c Update Events.inc 2022-03-16 17:02:11 +02:00
Sandu Liviu Catalin
8dc0ca18f5 Minor changes. 2022-03-09 22:59:19 +02:00
Sandu Liviu Catalin
7e39fab21a Reuse method. 2022-03-09 22:41:00 +02:00
Sandu Liviu Catalin
da139c6a81 Update XML.hpp 2022-03-09 22:37:06 +02:00
Sandu Liviu Catalin
27521f209d Fix return value. 2022-03-09 22:33:35 +02:00
Sandu Liviu Catalin
e6cbdfaf30 Allow XML chaining. 2022-03-09 22:25:51 +02:00
Sandu Liviu Catalin
fd62cafe33 Update XML.cpp 2022-03-09 22:11:03 +02:00
Sandu Liviu Catalin
d749250e1b Update INI.cpp 2022-03-06 20:02:01 +02:00
Sandu Liviu Catalin
c205261ee9 Update INI.cpp 2022-03-06 20:01:13 +02:00
Sandu Liviu Catalin
4af93aff14 Allow tasks to also be identified by their tag.
Change the behavior of DropTask to return boolean.
2022-03-02 18:57:11 +02:00
Sandu Liviu Catalin
d246ee8430 Update Dir.hpp 2022-01-28 15:23:48 +02:00
Sandu Liviu Catalin
6419fc0f4d Add Elapsed and Remaining properties to routine.
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-11-10 17:30:21 +02:00
Sandu Liviu Catalin
0213ffe632 Update Official.cpp 2021-11-10 16:58:13 +02:00
Sandu Liviu Catalin
5f364605ab Update Official.cpp 2021-11-10 16:50:38 +02:00
Sandu Liviu Catalin
3e9f25502b Remove DPP.
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-09-23 22:18:24 +03:00
Sandu Liviu Catalin
1d85603dfb Expose DPP message embeds.
Some checks reported errors
continuous-integration/drone/push Build was killed
2021-09-23 22:13:13 +03:00
Sandu Liviu Catalin
b4bf96ce4b Add MariaDB Connector/C as a built-in alternative (v3.2.3). 2021-09-21 20:59:01 +03:00
Sandu Liviu Catalin
f192767853 Update UTF8.cpp 2021-09-19 17:40:55 +03:00
Sandu Liviu Catalin
a58b9fe267 Expose more DPP message types. 2021-09-19 14:24:15 +03:00
Sandu Liviu Catalin
4a8a7172d4 Add UTF8 library. 2021-09-19 14:23:47 +03:00
Sandu Liviu Catalin
cae745378d Update Utilities.hpp 2021-09-19 14:21:57 +03:00
Sandu Liviu Catalin
62b9504d43 Expose DPP message component. 2021-09-19 01:08:39 +03:00
Sandu Liviu Catalin
26ccfa62b9 Add std::vector proxy type. 2021-09-19 01:08:19 +03:00
Sandu Liviu Catalin
83f2ab79e0 Update Guild.hpp 2021-09-18 21:35:42 +03:00
Sandu Liviu Catalin
57321af0c7 Update Message.hpp 2021-09-18 21:35:38 +03:00
Sandu Liviu Catalin
8d908208f0 Update Other.hpp 2021-09-18 21:35:34 +03:00
Sandu Liviu Catalin
87cb6a2cba Update Role.hpp 2021-09-18 21:35:30 +03:00
Sandu Liviu Catalin
0487f26865 Update User.hpp 2021-09-18 21:35:27 +03:00
Sandu Liviu Catalin
e3c32e4788 DPP update fixes. 2021-09-18 21:24:49 +03:00
Sandu Liviu Catalin
0f235ff6af
Merge pull request #54 from theKAKAN/patch-2
Fix team kill and normal kill swapped
2021-09-12 22:38:01 +03:00
Sandu Liviu Catalin
7057939854 Add more flexible string to integer and float conversion. 2021-09-12 22:28:42 +03:00
KAKAN
eb3100de36
Fix team kill and normal kill swapped
onPlayerKill and onPlayerTeamKill were swapped
2021-09-12 19:06:28 +00:00
KAKAN
0d323f4a26
Fixes SetSpawnCameraLookAtEx not working as intended
`SetSpawnCameraLookAtEx` was basically the same as `SetSpawnPlayerPositionEx`
2021-09-12 17:46:49 +00:00
Sandu Liviu Catalin
0c4c78da6e Define discord message types. 2021-09-12 19:32:07 +03:00
Sandu Liviu Catalin
2011631e78 Update Constants.cpp 2021-09-12 18:51:25 +03:00
Sandu Liviu Catalin
801ccbd6cd Update Guild.hpp 2021-09-12 18:51:22 +03:00
Sandu Liviu Catalin
9062121cc8 Update Other.hpp 2021-09-12 18:51:19 +03:00
Sandu Liviu Catalin
596da38403 Update Role.hpp 2021-09-12 18:51:16 +03:00
Sandu Liviu Catalin
aa2a8f32d1 Update User.hpp 2021-09-12 18:51:13 +03:00
Sandu Liviu Catalin
13fc02e9ca Restructure discord API files. 2021-09-12 17:53:57 +03:00
Sandu Liviu Catalin
5df55164ee Update Vehicle.cpp 2021-09-12 16:03:38 +03:00
Sandu Liviu Catalin
45570af13b Update Player.cpp 2021-09-12 16:03:31 +03:00
Sandu Liviu Catalin
949e5e61d0 Change the order of custom Pickup events to happen before performing the action. 2021-09-12 16:03:23 +03:00
Sandu Liviu Catalin
e4aa96a8c3 Change the order of custom Object events to happen before performing the action. 2021-09-12 16:03:17 +03:00
Sandu Liviu Catalin
e60e2958f0 Change the order of custom Checkpoint events to happen before performing the action. 2021-09-12 16:02:46 +03:00
Sandu Liviu Catalin
dfee411de5 Emulate embarking event when done from server-side.
Also change the order of other events to happen before performing the action.
2021-09-12 15:55:55 +03:00
Sandu Liviu Catalin
37383b9383 Emulate embarking event when done from server-side.
Also change the order of other events to happen before performing the action.
2021-09-12 15:49:29 +03:00
Sandu Liviu Catalin
ba4b8524e5 Update SQLite.cpp 2021-09-12 15:13:20 +03:00
Sandu Liviu Catalin
f1ef37bdf3 Fix sqlite3_snprintf not having a room for a null terminator in the buffer. 2021-09-12 15:12:35 +03:00
Sandu Liviu Catalin
9235cb5069 Update Official.cpp
Allow null in `SpectateTarget` property to match official plugin.
2021-09-12 14:52:49 +03:00
Sandu Liviu Catalin
4e27ba4a4f Expose role type. 2021-09-11 23:16:14 +03:00
Sandu Liviu Catalin
19102a9334 Implement base layout for all events. 2021-09-11 22:43:30 +03:00
Sandu Liviu Catalin
1d8d31518c Refactor presence and activity types. 2021-09-11 21:38:46 +03:00
Sandu Liviu Catalin
a19a171e0d Expose user type. 2021-09-11 21:18:45 +03:00
Sandu Liviu Catalin
4c3921d88a Update sqratTypes.h 2021-09-11 21:02:05 +03:00
Sandu Liviu Catalin
e9f5111a33 Expose guild type.
Refactor constants to be more compile time efficient.
2021-09-11 20:36:19 +03:00
Sandu Liviu Catalin
08a5ba3154 Update sqratObject.h 2021-09-11 20:35:27 +03:00
Sandu Liviu Catalin
13a7a98abe Update sqratArray.h 2021-09-11 20:35:22 +03:00
Sandu Liviu Catalin
f8ebb0e2b1 Update Net.hpp 2021-09-10 22:44:55 +03:00
Sandu Liviu Catalin
f49452c165 Remove SLongInt and ULongInt helper types.
Fix a bunch of bugs and mistakes discovered along the way.
2021-09-10 21:27:28 +03:00
Sandu Liviu Catalin
4f70f89b78 Basic Discord library layout.
Foundation for the discord library bindings. To be gradually exposed to the script.
2021-09-10 20:13:42 +03:00
Sandu Liviu Catalin
f6cb8ff8a1 Update SqBase.hpp 2021-09-10 20:08:23 +03:00
Sandu Liviu Catalin
4876b37f7f Officially declare the plugin as 64-bit only.
Due to various limitations, this plug-in no longer compiles on 32-bit platforms.
2021-09-10 20:06:25 +03:00
Sandu Liviu Catalin
b46535dedf Detect method to export symbols based on platform instead of compiler. 2021-09-10 00:13:15 +03:00
Sandu Liviu Catalin
66c731bf65 Remove unnecessary files. 2021-09-08 17:26:17 +03:00
Sandu Liviu Catalin
5dcc57a130 Initial implementation of WebSocket client. 2021-09-07 20:55:05 +03:00
Sandu Liviu Catalin
1bd1b5545b Update Announce.hpp 2021-09-07 19:46:28 +03:00
Sandu Liviu Catalin
8288c32d41 Update Net.cpp 2021-09-07 19:46:23 +03:00
Sandu Liviu Catalin
e577a96f7e Update Net.hpp 2021-09-07 17:08:58 +03:00
Sandu Liviu Catalin
9cbac142c2 Update CMakeLists.txt 2021-09-06 19:14:01 +03:00
Sandu Liviu Catalin
4cefc96faf Fix recursive call that could cause infinite loop.
Introduced by an earlier commit.
2021-09-06 00:35:47 +03:00
Sandu Liviu Catalin
608c444694 Update Buffer.hpp 2021-09-06 00:31:59 +03:00
Sandu Liviu Catalin
cacc6c7c62 Minor WS changes and a few helpers. 2021-09-05 18:15:02 +03:00
Sandu Liviu Catalin
11c17189b3 Update Net.hpp 2021-09-05 13:40:21 +03:00
Sandu Liviu Catalin
1a11dd777e Make WS non blocking and handle timeout.
Implement a few helper methods as well.
2021-09-05 13:27:19 +03:00