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

496 Commits

Author SHA1 Message Date
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
Sandu Liviu Catalin
6a0b7f246e Basic thread pool implementation for internal use. 2021-03-27 19:53:49 +02:00
Sandu Liviu Catalin
8a29e812b1 Update Vehicle.cpp 2021-03-27 16:25:31 +02:00
Sandu Liviu Catalin
bee47a44c4 Reinstate CPR using system library. 2021-03-27 00:18:51 +02:00
Sandu Liviu Catalin
1ac456aa9d Update CMakeLists.txt 2021-03-21 20:27:24 +02:00
Sandu Liviu Catalin
828452a878 Direct MySQL string escape. 2021-03-21 20:19:00 +02:00
Sandu Liviu Catalin
0b62694491 Direct SQLite string escape. 2021-03-21 19:58:39 +02:00
Sandu Liviu Catalin
954b1f5c0d Use native types.
And add more constructors.
2021-03-21 11:43:35 +02:00
Sandu Liviu Catalin
4ebd2ff6f6 Update Official.cpp
Update type names.
2021-03-21 11:20:59 +02:00
Sandu Liviu Catalin
5bc69bc789 Update Official.cpp 2021-03-21 11:04:01 +02:00
Sandu Liviu Catalin
8dc4d353e2 Check for out of range. 2021-03-21 11:03:20 +02:00
Sandu Liviu Catalin
2cbc450285 Manually identify stream target. 2021-03-21 11:01:22 +02:00
Sandu Liviu Catalin
f5e766ab7b Fix stream not clearing the proper values. 2021-03-21 10:50:18 +02:00
Sandu Liviu Catalin
5f90d55fc7 Update Events.inc 2021-03-21 10:36:37 +02:00
Sandu Liviu Catalin
85a2097d82 Update Official.cpp 2021-03-21 10:36:25 +02:00
Sandu Liviu Catalin
26dddbd55b Update Events.inc 2021-03-20 20:54:27 +02:00
Sandu Liviu Catalin
a746bf0075 Update Official.cpp 2021-03-20 20:38:25 +02:00
Sandu Liviu Catalin
2ca0af51cb Update Events.inc 2021-03-20 20:32:26 +02:00
Sandu Liviu Catalin
8985866060 Do not register two Quaternion types. 2021-03-20 20:21:05 +02:00
Sandu Liviu Catalin
370c5cfe88 Fix derived class creation. 2021-03-20 19:58:56 +02:00
Sandu Liviu Catalin
88a50cac4e Explicit casts. 2021-03-20 19:58:46 +02:00
Sandu Liviu Catalin
85a305d987 Update Official.hpp 2021-03-20 19:36:41 +02:00
Sandu Liviu Catalin
d18719a6d8 Allow chaining the Generate() method. 2021-03-20 17:56:38 +02:00
Sandu Liviu Catalin
1ed005e571 Update Events.inc 2021-03-20 17:20:11 +02:00
Sandu Liviu Catalin
f3eabd43f5 Default constructors. 2021-03-20 17:10:57 +02:00
Sandu Liviu Catalin
49eaedbb4b Implement stream for official plug-in compatibility layer. 2021-03-20 16:56:44 +02:00
Sandu Liviu Catalin
1297635b89 Implement timers for official plug-in compatibility layer. 2021-03-20 15:47:32 +02:00
Sandu Liviu Catalin
ed07b17c22 Implement constants for official plug-in compatibility layer. 2021-03-20 12:09:20 +02:00
Sandu Liviu Catalin
5885c3f10b Update sqratConst.h 2021-03-20 12:08:51 +02:00
Sandu Liviu Catalin
d7804ab321 Implement global functions for official plug-in compatibility layer.
Make ARGB derive from Color4 to be consistent with the rest of the plugin.
2021-03-20 11:53:17 +02:00
Sandu Liviu Catalin
26cb65fcbc Return entity instance instead of object.
Implement helper entity iteration functions.
2021-03-20 11:51:40 +02:00
Sandu Liviu Catalin
45c857f439 Disable unwanted constructors and assignment operators. 2021-03-20 11:50:39 +02:00
Sandu Liviu Catalin
86e070d61c Use optimized type identification. 2021-03-20 11:49:58 +02:00
Sandu Liviu Catalin
f11622177e Return by reference. 2021-03-20 11:49:26 +02:00
Sandu Liviu Catalin
dd780dbd02 Update sqratArray.h 2021-03-20 11:49:13 +02:00
Sandu Liviu Catalin
814a871b5a Update sqratObject.h 2021-03-20 11:49:09 +02:00
Sandu Liviu Catalin
e88007d2f6 Update sqratTable.h 2021-03-20 11:49:02 +02:00
Sandu Liviu Catalin
f02b6be315 WIP Official plug-in compatibility layer. 2021-03-15 07:02:48 +02:00
Sandu Liviu Catalin
aadba58795 Update Color4.hpp 2021-03-15 07:01:41 +02:00
Sandu Liviu Catalin
c22e37622d Flatten tyres utility. 2021-03-15 07:01:26 +02:00
Sandu Liviu Catalin
5082b9ace8 Update sqratClass.h 2021-03-15 07:00:46 +02:00
Sandu Liviu Catalin
e2528e88dd Update sqratFunction.h 2021-03-15 07:00:39 +02:00
Sandu Liviu Catalin
405afbb72d Update sqratTypes.h 2021-03-15 07:00:34 +02:00
Sandu Liviu Catalin
4c08879b5c Adjust stream constructor. 2021-03-09 00:40:16 +02:00
Sandu Liviu Catalin
6935d4bfb1 Update Stream.cpp 2021-03-09 00:21:40 +02:00
Sandu Liviu Catalin
7d7fd44427 Initial draft for I/O streams. 2021-03-09 00:18:07 +02:00
Sandu Liviu Catalin
0675c05fe7 Update Time.cpp 2021-03-04 22:51:09 +02:00
Sandu Liviu Catalin
80ab78d6d8 Update Data.hpp 2021-03-04 22:41:56 +02:00
Sandu Liviu Catalin
f7ec3594eb Implement SessionPool. 2021-03-04 22:41:18 +02:00
Sandu Liviu Catalin
c4c88fd97c Allow RecordSet to be constructed from statements. 2021-03-04 22:00:19 +02:00