75 Commits

Author SHA1 Message Date
Lion Kortlepel
f98ef7d41c
Lua: Call local eventhandlers synchronously when TriggerGlobalEvent is called from inside a handling state 2021-09-18 00:05:51 +02:00
Lion Kortlepel
c2b73d93b5
Lua: Implement more core functions 2021-09-17 12:56:08 +02:00
Lion Kortlepel
9a37ed4341
Lua: Add GetPlayerName 2021-09-17 12:45:34 +02:00
Lion Kortlepel
bac476ec34
Lua: Set package.path and package.cpath before onInit is called 2021-09-17 02:19:45 +02:00
Lion Kortlepel
a44050f0f1
Lua: Almost Working events, all triggers working 2021-09-17 00:21:43 +02:00
Lion Kortlepel
968d9ff999
Lua: Implement most API functions 2021-09-16 19:00:13 +02:00
Lion Kortlepel
1c80a4deb7
Lua: working events, global and local 2021-09-16 18:14:11 +02:00
Lion Kortlepel
e602decb96
Lua: Fix multiple issues with events 2021-09-16 14:58:47 +02:00
Lion Kortlepel
26231c6272
Fix compile issue with asio, implement Lua events 2021-09-16 13:03:00 +02:00
Lion Kortlepel
9b9c18a4c1
Lua: Add variadic print, LuaAPI 2021-09-16 11:54:52 +02:00
Lion Kortlepel
5978665ad6
Lua: Fix threading related crash 2021-09-16 10:07:04 +02:00
Lion Kortlepel
2cf368c2b0
First working console 2021-09-16 03:40:24 +02:00
Lion Kortlepel
ba0678dade
Continue Lua Rewrite 2021-09-16 03:21:00 +02:00
Lion Kortlepel
dd4e4c4467
Start rewrite of lua, rename all print functions 2021-09-16 01:04:01 +02:00
Lion Kortlepel
be90a8a2c0
add sol2 2021-09-16 00:33:13 +02:00
Anonymous-275
fb76b8309a
Fully working lua_Register 2021-08-02 14:01:00 +02:00
Lion Kortlepel
40cae31885 Merge TUDPServer and TTCPServer into TNetwork
this gets rid of a bunch of unclear cases which I mistakenly created
while refactoring for this rewrite. One example is having to call into
TTCPServer to do UDP sending in some cases.
2021-03-18 23:44:14 +02:00
Anonymous275
9b1bf071a8 Fixed lua crash caused by lion with optimizations 2021-03-18 23:44:14 +02:00
Anonymous275
218504e674 Fixed windows build not compiling 2021-03-18 23:44:14 +02:00
Lion Kortlepel
13f8be5d39 update players info 2021-03-18 23:44:14 +02:00
Lion Kortlepel
8cd35d64e4 fix lua thread never exiting 2021-03-18 23:44:14 +02:00
Lion Kortlepel
d360403c56 finish rewrite, builds fully 2021-03-18 23:44:14 +02:00
Lion Kortlepel
f19a012509 add PPSMonitor 2021-03-18 23:44:14 +02:00
Lion Kortlepel
4cda6e8bc3 fully implement lua 2021-03-18 23:44:14 +02:00
Lion Kortlepel
459814a6ec add lua engine, lua file, server, client, vehicle data, other stuff 2021-03-18 23:44:14 +02:00