From 7f2d4b2ccc0c77689ef61c71214f829aad8c14f4 Mon Sep 17 00:00:00 2001 From: Darklighter Date: Wed, 26 Feb 2025 20:56:57 +0000 Subject: [PATCH] =?UTF-8?q?2.1)=20Local=20>REM<=20Server=20Setup=20hinzuge?= =?UTF-8?q?f=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 2.1%29-Local-%3EREM%3C-Server-Setup.md | 54 ++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 2.1%29-Local-%3EREM%3C-Server-Setup.md diff --git a/2.1%29-Local-%3EREM%3C-Server-Setup.md b/2.1%29-Local-%3EREM%3C-Server-Setup.md new file mode 100644 index 0000000..7336c9a --- /dev/null +++ b/2.1%29-Local-%3EREM%3C-Server-Setup.md @@ -0,0 +1,54 @@ +## 2.1) Local >REM< Server Setup + +After cloning the REM-Mod Repository you have a fully functional >REM< Client. +To setup a local >REM< Server: + +Copy your >REM< Repository Files to another directory path *(e.g. C:\REM-Mod)* + +For a Local >REM< Server you need to add the latest compiled .dll files from our RemHook. +There will be follow a detailed explanation in the further tutorial section. + +If you use the upper local Server path example you can do the following steps: + +``` +Place FLHook.dll into C:\REM-Mod\EXE +Place rem_server.dll C:\REM-Mod\EXE\flhook_plugins +``` + +Important attached DLL files need to insert in the EXE Folder: + +``` +Place mysqlcppconn.dll into C:\REM-Mod\EXE +Place libmysql.dll into C:\REM-Mod\EXE +``` +https://i.imgur.com/KBocHgn.png + +https://i.imgur.com/doxSZJW.png + +Next step is to create the config file: + +``` +Create config.cfg into C:\REM-Mod\EXE\flhook_plugins\REM +``` + +You have to insert following lines in this .cfg file: + +``` +[Config] +Enabled = true +[SQL] +SQLServerIP = 127.0.0.1 +SQLServerPort = 3306 +SQLServerUser = root +SQLServerPass = yourpassword0 +SQLServerDatabase = rem +``` + +Important attached .cfg files need to insert in the \EXE\flhook_plugins\REM folder: + +``` +Place attached npc.cfg into C:\REM-Mod\EXE\flhook_plugins\REM +Place attached depottradegoods.cfg into C:\REM-Mod\EXE\flhook_plugins\REM +``` + +Next step will be setting up an local SQL Server with the software MariaDB \ No newline at end of file