1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-08-04 07:01:46 +02:00
Commit Graph

75 Commits

Author SHA1 Message Date
Sandu Liviu Catalin
378b1bf001 Fix routines once and forever.
By simply preventing reuse of slots that have been terminated during their execution.
2020-05-06 01:20:17 +03:00
Sandu Liviu Catalin
ad8641e7d3 Fix initialization of null entities.
Few other minor changes.
2020-05-04 18:50:33 +03:00
Sandu Liviu Catalin
e2bc14cd9e Include default value for default constructor. 2020-05-04 11:59:40 +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
f2be86a65e Allow API selection as a cmake option. 2020-05-01 20:41:00 +03:00
Sandu Liviu Catalin
4a53ec8676 Prevent issues with routine slot recycling.
Prevent possible memory leak on object creation exceptions.
Other miscellaneous changes.
2020-05-01 01:24:06 +03:00
Sandu Liviu Catalin
3e7adb8fea What is dead may never live. 2020-04-30 23:27:24 +03:00
Sandu Liviu Catalin
1edc1930a3 Prevent silent failure uppon loading scripts that don't exist. 2020-04-30 22:28:01 +03:00
Sandu Liviu Catalin
88ef01e5e8 Fix maxminddb redefinition of strcasecmp. 2020-04-30 21:37:44 +03:00
Sandu Liviu Catalin
69e8a9377c Allow for debug builds with debug information. 2020-04-30 21:34:10 +03:00
Sandu Liviu Catalin
ae2b1dc778 Avoid implicit construction of object wrappers. 2020-04-30 21:03:15 +03:00
Sandu Liviu Catalin
185c51ef8f Fix algorithms. 2020-04-30 20:03:24 +03:00
Sandu Liviu Catalin
e7e266314e Miscellaneous. 2020-04-28 00:04:24 +03:00
Sandu Liviu Catalin
02dc14f26a Fix maxminddb call to CreateFile. 2020-04-27 15:38:09 +03:00
Sandu Liviu Catalin
82f183599f Actually expose the MySQL api. 2020-04-27 15:02:10 +03:00
Sandu Liviu Catalin
b86c4cea2b Refactor. 2020-04-27 13:53:16 +03:00
Sandu Liviu Catalin
22a17fe3c4 Code cleanup.
Get rid of ReleaseGently.
2020-04-27 13:10:54 +03:00
Sandu Liviu Catalin
48005a98f0 Return something. 2020-04-27 11:42:21 +03:00
Sandu Liviu Catalin
42a0d2ed62 Remove unnecessary macro. 2020-04-27 11:18:22 +03:00
Sandu Liviu Catalin
7bcaba518e Include dependency before using it. 2020-04-27 11:17:37 +03:00
Sandu Liviu Catalin
e2e671a13a Use modern header includes. 2020-04-27 11:08:32 +03:00
Sandu Liviu Catalin
df7c5f8266 USe pragma once. 2020-04-27 11:06:51 +03:00
Sandu Liviu Catalin
94ef17c26f Update CMakeLists.txt 2020-04-27 10:59:05 +03:00
Sandu Liviu Catalin
935ae53855 Avoid generic names. 2020-04-27 10:56:22 +03:00
Sandu Liviu Catalin
b0e7c305b6 Automatic OS identification. 2020-04-27 10:37:39 +03:00
Sandu Liviu Catalin
a6ce7811ba Use standard types and headers. 2020-04-27 10:25:29 +03:00
Sandu Liviu Catalin
1e82d7b747 Use updated win32 identification. 2020-04-27 10:17:08 +03:00
Sandu Liviu Catalin
6accac3bb1 Fix: remove leftover code. 2020-04-21 06:07:47 +03:00
Sandu Liviu Catalin
65f7852c21 Minor changes and additions. 2020-04-21 06:06:27 +03:00
Sandu Liviu Catalin
9af90e80db Don't pre-reserve null values in the array. 2020-04-20 16:07:42 +03:00
Sandu Liviu Catalin
2f31a9495a Allow circles to be transformed to area points. 2020-04-20 16:00:47 +03:00
Sandu Liviu Catalin
405c2920e7 Backport fix. 2020-04-20 04:54:46 +03:00
Sandu Liviu Catalin
5393b62892 Initial implementation of basic TCP/UDP sockets. 2020-04-20 04:46:05 +03:00
Sandu Liviu Catalin
8a927419c2 Return the length of the written string.
Since they can be dynamically generated through a formatted string.
2020-04-20 03:48:49 +03:00
Sandu Liviu Catalin
1f2f580a67 Rename Read/WriteString to Read/WriteClientString.
The buffer is being moved to a more general purpose type of buffer. And a rename was in order to avoid confusion with client-encoded strings.
2020-04-20 02:28:35 +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
1242b8a2fc Copy the binary to plugins folder after compiling. 2020-04-17 17:21:36 +03:00
Sandu Liviu Catalin
9e68216136 Actually register the maxmind-db library in the vm. 2020-04-17 16:57:52 +03:00
Sandu Liviu Catalin
040a7dd7e2 Miscellaneous changes. 2020-04-17 15:25:58 +03:00
Sandu Liviu Catalin
f0b00fb07f Fix GetWorldBounds() and GetWastedSettings() returning null.
By not giving a virtual machine to the table contructor it defaults to null. Which ignores subsequent values getting assigned and esentially returning null.
2020-04-13 14:01:15 +03:00
Sandu Liviu Catalin
4bf1443260 Preallocate mysql account options table. 2020-04-13 13:57:42 +03:00
Sandu Liviu Catalin
48c72e3cfb Indentation fix for previous commit. 2020-04-10 10:23:44 +03:00
Sandu Liviu Catalin
15532298dc Implement field selection in the MySQL library. 2020-04-10 10:12:05 +03:00
Sandu Liviu Catalin
a7f8584661 Allow routines to have configurable error reporting that is individual from global setting.
Potential fix for error handling that was being used in a way that had the opposite intended effect.
2020-04-10 08:30:22 +03:00
Sandu Liviu Catalin
19a245f3b1 Rename the signal class.
Avoid using the `Impl` suffix in names. It looks awkward in documentation.
2020-04-07 13:37:57 +03:00
Sandu Liviu Catalin
7030628f77 Rename function to avoid potential confusion.
`Active` may be confused with routines that aren't in a `Paused` state.
2020-04-03 00:29:17 +03:00
Sandu Liviu Catalin
831f25a323 Routine count.
Routine instance rename.
2020-04-03 00:26:17 +03:00
Sandu Liviu Catalin
7e1a3ded06 Don't include MySQL sources when disabled. 2020-03-22 21:02:02 +02:00