


All of these improvements have played a role in development.Īt the moment, multiplayer has a lot of features, and its source code is filled with many examples of how you can patch certain functions of GTA: San Andreas using the built-in memory library and Lua FFI. The data exchange was carried out using the UDP (User Datagram Protocol) protocol: first, a compressed JSON table was transmitted, then they began to transmit a Lua table, the values of which were shared using a divider, well, and later switched to SL:NET (Simple Lua Networking) - a system running on a kind of BitStream, the encoder for which was written by Akionka (one of developers). A server was also developed, which in turn worked using a luajit compiled for Windows or Linux. With the course of development, we completely abandoned this dependency and the multiplayer became independent and quietly worked on a clean assembly of GTA: San Andreas with only one MoonLoader. Initially, the multiplayer was planned as a small experiment and it was supposed to work exclusively on the basis of SA:MP. The prerequisite for this was a discussion of how sockets work and the LuaSocket library for Lua in general. On August 24, 2020, we came up with the idea of creating our own multiplayer based on MoonLoader. We`re trying to use "native" language without using any translators to make this text readable to you, and I am building this text only on my knowledge, well I ask you to estimate the quality of this text. We thanks FYP from BH Team for transferring ImGUI from C++ to Lua Language. So, and here is a declaimer - this project is made by Russians, so this topic might be written with some language mistakes, so we ask you to forgive us for that. The whole GUI is powered by ocornut`s ImGUI Library. We invented and implemented methods to synchronize different GTA:SA actions such as players walking and vehicles riding. So, the whole modification is powered on Lua with the exception of launcher, it's powered by Java. We`re searching young and enthusiastic developers who are interested in this kind of projects. Well, now SLMP in state of beta testing and everyone have a chance to become a part of this development. It's important to tell that SLMP is fan-made project and it works only on its developers enthusiasm. Simple Lua Multiplayer is kind of GTA: San Andreas Multiplayer powered by Lua & MoonLoader.
