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

505 Commits

Author SHA1 Message Date
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
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