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

84 Commits

Author SHA1 Message Date
Sandu Liviu Catalin
bc1fc1d245 Allow external native plug-ins to interact wit the script.
Very primitive mechanism but better than nothing.
2023-03-05 15:38:59 +02:00
Sandu Liviu Catalin
78dc76e6b4 Object to typename helper. 2022-10-03 18:32:06 +03:00
Sandu Liviu Catalin
c9fb257f48 Update ThreadPool.hpp 2022-09-15 23:03:50 +03:00
Sandu Liviu Catalin
39473a68f4 Fix formatting in buffer type. 2022-08-14 21:00:10 +03:00
Sandu Liviu Catalin
49df7b75ee Asynchronous statements implementation for SQLite.
Extend worker threads to allow tasks to re-queue themselves during completion.
2022-07-23 19:27:40 +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
7afc05e52b Add rpmalloc as a thread-safe alternative. 2022-06-24 22:51:20 +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
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
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
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
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
KAKAN
eb3100de36
Fix team kill and normal kill swapped
onPlayerKill and onPlayerTeamKill were swapped
2021-09-12 19:06:28 +00: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
608c444694 Update Buffer.hpp 2021-09-06 00:31:59 +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
7655c1cb98 Update Common.hpp 2021-08-18 21:37:55 +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
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
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
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
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
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
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
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
5f90d55fc7 Update Events.inc 2021-03-21 10:36:37 +02:00
Sandu Liviu Catalin
26dddbd55b Update Events.inc 2021-03-20 20:54:27 +02:00
Sandu Liviu Catalin
2ca0af51cb Update Events.inc 2021-03-20 20:32:26 +02:00
Sandu Liviu Catalin
1ed005e571 Update Events.inc 2021-03-20 17:20:11 +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
26cb65fcbc Return entity instance instead of object.
Implement helper entity iteration functions.
2021-03-20 11:51:40 +02:00