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
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
f02b6be315
WIP Official plug-in compatibility layer.
2021-03-15 07:02:48 +02:00
Sandu Liviu Catalin
20cb308c3f
Update VecMap.hpp
2021-03-04 21:59:54 +02:00
Sandu Liviu Catalin
6fa8a17e9d
Fix indentation.
2021-02-21 13:37:57 +02:00
Sandu Liviu Catalin
9017236b13
Work around server defect.
2021-02-21 13:34:08 +02:00
Sandu Liviu Catalin
1f2b75ed26
Handle Poco exceptions explicitly.
2021-02-20 21:22:12 +02:00
Sandu Liviu Catalin
a6a9aa88b2
Const cleanup.
2021-02-05 16:03:04 +02:00
Sandu Liviu Catalin
076d778e50
Fix inspection parameters.
2021-02-05 15:56:24 +02:00
Sandu Liviu Catalin
479272d59f
Add iteration.
2021-02-05 15:42:27 +02:00
Sandu Liviu Catalin
bd1504bd24
Add removal methods.
2021-02-05 15:26:39 +02:00
Sandu Liviu Catalin
d20726621b
Discard object references.
2021-02-05 14:21:53 +02:00
Sandu Liviu Catalin
66dca8785c
Remove all method.
2021-02-05 14:19:15 +02:00
Sandu Liviu Catalin
e4d4b09f52
Update Privilege.cpp
2021-02-05 14:12:05 +02:00
Sandu Liviu Catalin
4da00718f7
Assign/Remove/Modify methods.
2021-02-05 14:06:13 +02:00
Sandu Liviu Catalin
90597e4287
First draft/prototype of built-in privilege management.
2021-02-05 13:32:37 +02:00
Sandu Liviu Catalin
0de21ae5a0
Move away from C format to cpp::fmt.
2021-02-03 17:50:39 +02:00
Sandu Liviu Catalin
a09948770f
Update Script.cpp
2021-02-01 00:22:28 +02:00
Sandu Liviu Catalin
3c33af7640
Use direct integer type names instead of fixed size types.
2021-01-31 23:18:28 +02:00
Sandu Liviu Catalin
dcf35782d1
Catch more exception types.
2021-01-31 18:48:49 +02:00
Sandu Liviu Catalin
4a6bfc086c
Major plugin refactor and cleanup.
...
Switched to POCO library for unified platform/library interface.
Deprecated the external module API. It was creating more problems than solving.
Removed most built-in libraries in favor of system libraries for easier maintenance.
Cleaned and secured code with help from static analyzers.
2021-01-30 08:51:39 +02:00
Sandu Liviu Catalin
95705e87c8
Initial preparations for CURL and Discord integration.
2021-01-27 07:27:48 +02:00
Sandu Liviu Catalin
d6f3f52eec
Rewrite logger to account for multiple-threads.
...
Implement error handling for worker VMs.
2020-09-08 22:44:04 +03:00
Sandu Liviu Catalin
018a2de97b
Some changes on user options.
2020-05-10 12:56:23 +03:00
Sandu Liviu Catalin
4c1030c76e
Implement simple distance tracking for player and vehicle entities.
...
Doesn't differentiate from in-air and on-ground.
Just sums up the distance from last position on each position update.
2020-05-04 11:58:30 +03:00
Sandu Liviu Catalin
22a17fe3c4
Code cleanup.
...
Get rid of ReleaseGently.
2020-04-27 13:10:54 +03:00
Sandu Liviu Catalin
738e90fc29
Rename function.
2020-04-17 20:34:27 +03:00
Sandu Liviu Catalin
977b20d9f0
Expose the function to emit custom global events.
2020-04-17 20:33:57 +03:00
Sandu Liviu Catalin
e13d1a91e7
Replace GetObject with GetObj to avoid collisions on Windows.
...
ef you MS
2020-04-17 17:42:09 +03:00
Sandu Liviu Catalin
040a7dd7e2
Miscellaneous changes.
2020-04-17 15:25:58 +03:00