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