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

545 Commits

Author SHA1 Message Date
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
Sandu Liviu Catalin
05e644b040 Minor changes and bugfixes to WS client. 2021-09-05 12:30:49 +03:00
Sandu Liviu Catalin
f3d4dab454 Basic web-socket client implementation. 2021-09-05 12:05:38 +03:00
Sandu Liviu Catalin
81893bf236 Simplify internal buffer implementation where possible. 2021-09-05 12:03:04 +03:00
Sandu Liviu Catalin
cbfed04bc9 Remove CivetWeb in favor of POCO. 2021-09-05 00:38:00 +03:00
Sandu Liviu Catalin
bc2260a0f0 CivetWeb as a potential library. 2021-09-04 22:44:47 +03:00
Sandu Liviu Catalin
d879999aeb Update Official.cpp 2021-09-04 19:09:15 +03:00
Sandu Liviu Catalin
d1bf8f5033 Update SQLite.cpp 2021-09-04 19:09:10 +03:00
Sandu Liviu Catalin
f4c2665e86 Update Vector.hpp 2021-08-24 19:14:37 +03:00
Sandu Liviu Catalin
31029cbaf0 "Hide" get/set tables. 2021-08-24 17:18:31 +03:00
Sandu Liviu Catalin
5ea7364a6d Update sqratClass.h 2021-08-24 17:16:24 +03:00
Sandu Liviu Catalin
b67a637c61 Add xxHash library. 2021-08-22 22:27:08 +03:00
Sandu Liviu Catalin
c0fc1aea75 Add Levenshtein distance to string utilities. 2021-08-22 22:23:25 +03:00
Sandu Liviu Catalin
2a06a00e3e Update code for changes to CPR library. 2021-08-22 22:10:03 +03:00
Sandu Liviu Catalin
b78b3e8ede Change MySQL header include path. 2021-08-22 19:16:31 +03:00
Sandu Liviu Catalin
954f28c2dc Update Common.cpp 2021-08-22 18:40:54 +03:00
Sandu Liviu Catalin
a99e926088 Update VecMap.hpp 2021-08-18 22:20:07 +03:00
Sandu Liviu Catalin
490f80d1e9 Update Events.inc 2021-08-18 22:19:08 +03:00
Sandu Liviu Catalin
1d2a78c91e Update Areas.cpp 2021-08-18 22:19:04 +03:00
Sandu Liviu Catalin
f23a8bc8f5 Update Shared.cpp 2021-08-18 22:18:57 +03:00
Sandu Liviu Catalin
11f3c52319 Update Circle.cpp 2021-08-18 22:18:54 +03:00
Sandu Liviu Catalin
2b1c76a05d Update AABB.hpp 2021-08-18 22:18:49 +03:00
Sandu Liviu Catalin
a36e85d9b7 Update Circle.cpp 2021-08-18 21:55:01 +03:00
Sandu Liviu Catalin
2fb0f851c0 Update SqBase.hpp 2021-08-18 21:54:53 +03:00
Sandu Liviu Catalin
7655c1cb98 Update Common.hpp 2021-08-18 21:37:55 +03:00
Sandu Liviu Catalin
9d62233cfc More additions to chrono utilities. 2021-08-18 21:37:33 +03:00
Sandu Liviu Catalin
503b61c3df Allow unoptimized to use formatting without errors. 2021-08-18 21:36:59 +03:00
Sandu Liviu Catalin
181b0f4377 Update SqBase.hpp 2021-08-18 21:36:16 +03:00
Sandu Liviu Catalin
4090b558ad Update CMakeLists.txt
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-15 19:23:10 +03:00
Sandu Liviu Catalin
79fca45c13 Expose hidden server option.
All checks were successful
continuous-integration/drone/push Build is passing
2021-08-01 13:03:19 +03:00
Sandu Liviu Catalin
8eb431ea8f Merge branch 'master' of https://github.com/VCMP-SqMod/SqMod
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-23 17:31:08 +03:00
Sandu Liviu Catalin
7b7f974e42 Allow current client data buffer to be retrieved anywhere during the callback. 2021-07-23 17:31:05 +03:00
Sandu Liviu Catalin
0641de7920 Allow global stream to be cloned into a buffer. 2021-07-23 17:30:19 +03:00
Sandu Liviu Catalin
e2e9d2c83f Fix a couple narrowing conversions in vehicle entity. 2021-07-23 17:29:32 +03:00
Sandu Liviu Catalin
47519cb3f4 Fix a couple narrowing conversions in player entity. 2021-07-23 17:29:23 +03:00
vancityspiller
d8ccd421be Fix onPlayerCommand returning incomplete text 2021-07-23 11:34:33 +05:30
Sandu Liviu Catalin
79b5641b9f Add yielding results for routines.
Also add a way to retrieve currently executed routine.
2021-07-23 00:41:14 +03:00
Sandu Liviu Catalin
2088a825e3 Update Logger.cpp 2021-07-23 00:39:20 +03:00
Sandu Liviu Catalin
d79f292729 Replace JSMN with SAJSON.
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-16 20:42:34 +03:00
Sandu Liviu Catalin
e685b3ffe0 Implement explicit persistent routines.
All checks were successful
continuous-integration/drone/tag Build is passing
2021-07-14 21:10:59 +03:00
Sandu Liviu Catalin
2701b6487a Implement a non-throwing routine lookup. 2021-07-14 20:03:24 +03:00
Sandu Liviu Catalin
2344189c10 Improve debug information layout. 2021-07-13 23:25:51 +03:00
Sandu Liviu Catalin
3ff344c296 Basic JSON decode implementation. 2021-07-13 20:07:07 +03:00
Sandu Liviu Catalin
17733c9b5f Update CMakeLists.txt 2021-07-10 14:50:26 +03:00
Sandu Liviu Catalin
c433e8de85 Update CMakeLists.txt 2021-07-10 14:18:00 +03:00
Sandu Liviu Catalin
cdf57cd0be Update sqratFunction.h 2021-07-10 14:16:24 +03:00
Sandu Liviu Catalin
e86e5d5741 Update sqratLightObj.h 2021-07-10 14:16:03 +03:00
Sandu Liviu Catalin
03cbf5a5e5 Update sqratUtil.h 2021-07-10 14:15:58 +03:00
Sandu Liviu Catalin
ce6050cc08 JSMN approach. 2021-07-10 14:15:41 +03:00
Sandu Liviu Catalin
6cd9c37b86 Remove ghc_filesystem.
I forgot POCO has similar functionality built-in.
2021-07-10 14:14:34 +03:00
Sandu Liviu Catalin
a72cc4fccf Update sqratArray.h 2021-07-06 20:18:36 +03:00
Sandu Liviu Catalin
2b6ba1d4c1 Add ghc_filesystem vendor library. 2021-07-06 17:18:59 +03:00
Sandu Liviu Catalin
e5e179e6ba Add Jansson vendor library. 2021-07-06 17:16:28 +03:00
Sandu Liviu Catalin
a268756153 Update Path.cpp 2021-07-04 20:22:25 +03:00
Sandu Liviu Catalin
a4f1e0d19d Improve interaction of path utility with strings. 2021-07-04 20:21:47 +03:00
Sandu Liviu Catalin
722c7c8515 Fix crash from uninitialized signal. 2021-07-04 14:08:03 +03:00
Sandu Liviu Catalin
a15f493ef5 Use case insensitive file naming comparison for windows. 2021-07-04 13:59:00 +03:00
Sandu Liviu Catalin
3bef7e9419 Implement signal for executed scripts. 2021-07-04 05:17:32 +03:00
Sandu Liviu Catalin
0ed82f66e1 Remove extra containers.
They must be implemented without binding library for them to compete in terms of performance.
2021-07-04 04:15:38 +03:00
Sandu Liviu Catalin
f661d13d24 Include a few other extra methods. 2021-07-04 04:00:41 +03:00
Sandu Liviu Catalin
9e0071567e Add retrieval with fall-back. 2021-07-04 03:41:53 +03:00
Sandu Liviu Catalin
812cbcf332 Rename method. 2021-07-04 03:39:41 +03:00
Sandu Liviu Catalin
8fc23a837a Add method to check for existence of an element. 2021-07-04 03:38:28 +03:00
Sandu Liviu Catalin
323dc3ad1b Implement dictionary type.
Basically a fast (hybrid) contiguous hash map.
2021-07-04 03:34:33 +03:00
Sandu Liviu Catalin
3c30b9c7a2 Extend notification script loading with support for context.
This replaces the second argument from callback. Initial implementation was missing this feature.
2021-07-04 02:19:37 +03:00
Sandu Liviu Catalin
494aed47bf Backport basic xml. 2021-07-03 20:42:44 +03:00
Sandu Liviu Catalin
f2c1f8afd7 Implement script loading with notification. 2021-07-03 19:46:39 +03:00
Sandu Liviu Catalin
a710ceebff Lazy fix for new changes to cpp fmt library. 2021-07-03 14:09:58 +03:00
Sandu Liviu Catalin
69d1b6a919 Update cpp fmt target name. 2021-07-03 14:08:51 +03:00
Sandu Liviu Catalin
8db8ee4f33 Implement user agent option in CPR. 2021-07-02 21:11:06 +03:00
Sandu Liviu Catalin
1d6bca426b Implement cookie file/jar. 2021-07-02 17:45:16 +03:00
Sandu Liviu Catalin
425b13afe0 Port legacy MySQL implementation. 2021-06-12 17:51:33 +03:00
Sandu Liviu Catalin
f5592208fa Port legacy SQLite implementation. 2021-06-12 17:51:01 +03:00
Sandu Liviu Catalin
7fbf1ee4e1 Update Buffer.hpp 2021-06-11 17:44:18 +03:00
Sandu Liviu Catalin
ccfae607d7 Update Buffer.hpp 2021-06-11 17:24:54 +03:00
Sandu Liviu Catalin
5b155731fa Implement command alias. 2021-05-08 16:11:50 +03:00
Sandu Liviu Catalin
6b8da10deb Fix command authority check. 2021-05-05 18:28:19 +03:00
Sandu Liviu Catalin
cb0598d228 Make the audit stage optional.
Also fix bug where the execution function is not invoked without binding an audit function first which enables it.
2021-05-05 17:51:07 +03:00
Sandu Liviu Catalin
47ff628a46 Changes to command manager.
Add a new callback to audit command parameters.
Include extra arguments to fail and post callbacks.
Refactor code to simplify some cases.
2021-05-01 22:58:59 +03:00
Sandu Liviu Catalin
d5bfeced1c Indentation. 2021-04-20 20:07:06 +03:00
Sandu Liviu Catalin
bc6a43d84c Update String.cpp 2021-04-20 19:54:41 +03:00
Sandu Liviu Catalin
974b916b5c Update String.cpp 2021-04-20 19:50:17 +03:00
Sandu Liviu Catalin
68cbbdb831 Update Env.cpp 2021-04-20 19:24:44 +03:00
Sandu Liviu Catalin
ecef038f1a Update Core.cpp 2021-04-20 18:20:02 +03:00
Sandu Liviu Catalin
1969d1e624 Locale based formatting support. 2021-04-20 18:19:58 +03:00
Sandu Liviu Catalin
0223621b75 Update String.hpp 2021-04-18 13:14:41 +03:00
Sandu Liviu Catalin
eb7cafac46 Update String.hpp 2021-04-18 07:00:39 +03:00
Sandu Liviu Catalin
eef9063628 Update Data.cpp 2021-04-17 20:39:32 +03:00
Sandu Liviu Catalin
3d11796465 Update Data.hpp 2021-04-17 20:39:21 +03:00
Sandu Liviu Catalin
f8eb6cf2f4 Update Main.cpp 2021-04-17 20:39:15 +03:00
Sandu Liviu Catalin
6ee33a6dcd Transactor. 2021-04-10 17:19:37 +03:00
Sandu Liviu Catalin
623f8053f4 Update sqratUtil.h 2021-04-10 17:19:17 +03:00
Sandu Liviu Catalin
c3a0d23a32 Update sqratObject.h 2021-04-10 17:19:12 +03:00
Sandu Liviu Catalin
34159d1662 Update sqratLightObj.h 2021-04-10 17:19:09 +03:00
Sandu Liviu Catalin
3e0280a3c4 Update sqratClassType.h 2021-04-10 17:19:05 +03:00
Sandu Liviu Catalin
33979d4c97 Update SqBase.hpp 2021-04-10 17:18:56 +03:00
Sandu Liviu Catalin
afcad89f18 String utils. 2021-04-10 17:18:49 +03:00
Sandu Liviu Catalin
d9a35ec5d8 BLOB and CLOB support. 2021-04-03 16:30:08 +03:00
Sandu Liviu Catalin
950d684f9a Global wide switch to extended format support. 2021-04-02 19:12:06 +03:00
Sandu Liviu Catalin
cb9c5019f8 Include special handling for POCO exceptions in constructors. 2021-04-02 17:59:20 +03:00
Sandu Liviu Catalin
1c15090161 WIP regular expression. 2021-04-01 22:00:29 +03:00
Sandu Liviu Catalin
41f7c4f75f WIP inventory prototyping. 2021-04-01 22:00:04 +03:00
Sandu Liviu Catalin
8dfeba7719 WIP loot distribution prototyping. 2021-04-01 21:58:42 +03:00
Sandu Liviu Catalin
0ec506f8e8 WIP extended string formatting. 2021-04-01 19:31:33 +03:00
Sandu Liviu Catalin
4a238bc611 Update sqratUtil.h 2021-03-31 18:45:24 +03:00
Sandu Liviu Catalin
2ea65f86cd Update Chrono.hpp 2021-03-30 20:32:32 +03:00
Sandu Liviu Catalin
7a255f065f Update sqratUtil.h 2021-03-30 20:32:06 +03:00
Sandu Liviu Catalin
9278d92603 WIP native string container. 2021-03-28 22:36:47 +03:00
Sandu Liviu Catalin
8d1b6576f3 Update Vector.hpp 2021-03-28 22:36:08 +03:00
Sandu Liviu Catalin
f95a4f9305 Experimental changes to binding utility. 2021-03-28 02:58:47 +02:00
Sandu Liviu Catalin
72b4f661e6 Update Main.cpp 2021-03-28 01:07:46 +02:00
Sandu Liviu Catalin
cd55e51d62 Allow CPR to use the thread pool. 2021-03-28 00:19:09 +02:00