mirror of
https://github.com/azerothcore/mod-solo-lfg
synced 2025-11-29 15:58:17 +08:00
fix: docker install
This commit is contained in:
16
README.md
16
README.md
@@ -1,4 +1,4 @@
|
||||
# mod-solo-lfg
|
||||
# Solo Dungeon Finder
|
||||
|
||||
## Description
|
||||
|
||||
@@ -8,18 +8,22 @@ Allows for players to use dungeon finder solo or in groups less than and up to 5
|
||||
```
|
||||
1. Apply lfg-solo.patch to your core.
|
||||
2. Simply place the module under the `modules` directory of your AzerothCore source.
|
||||
3. Re-run cmake and launch a clean build of AzerothCore.
|
||||
3. Apply lfg-solo.patch to your core.
|
||||
a. In order to do this, please go to the root /azerothcore-wotlk of your installation.
|
||||
b. Then do git apply modules/mod-solo-lfg/lfg-solo.patch
|
||||
4. Re-run cmake and launch a clean build of AzerothCore.
|
||||
```
|
||||
|
||||
## Docker Installation
|
||||
```
|
||||
0. Go inside your /modules/ folder
|
||||
1. git clone https://github.com/milestorme/mod-solo-lfg.git
|
||||
2. Apply lfg-solo.patch to your core.
|
||||
1. Go inside your /modules/ folder
|
||||
2. git clone https://github.com/milestorme/mod-solo-lfg.git
|
||||
3. Apply lfg-solo.patch to your core.
|
||||
a. In order to do this, please go to the root /azerothcore-wotlk of your installation.
|
||||
b. Then do git apply modules/mod-solo-lfg/lfg-solo.patch
|
||||
(make sure the path is indeed pointing to your lfg-solo.patch file)
|
||||
3. Re-run cmake and launch a clean build of AzerothCore.
|
||||
4. Go to src/Lfg_solo.cpp and replace line 24 with ``` void OnLogin(Player* __attribute__ ((unused))player)``` save file.
|
||||
5. Re-run cmake and launch a clean build of AzerothCore.
|
||||
a. Go to your root folder and ./bin/acore-docker-build
|
||||
b. Then do a docker-compose up
|
||||
```
|
||||
|
||||
@@ -82,3 +82,4 @@ index 30ae2a4ec4..288ccbe5af 100644
|
||||
{
|
||||
strGuids.addRoles(proposalRoles);
|
||||
for (uint8 i=0; i<5 && check.guid[i]; ++i)
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ public:
|
||||
|
||||
// Docker Installation prevents warnings. In order to avoid the issue, we need to add __attribute__ ((unused))
|
||||
// to the player variable to tell the compiler it is fine not to use it.
|
||||
void OnLogin(Player* __attribute__ ((unused))player)
|
||||
void OnLogin(Player* player)
|
||||
{
|
||||
if (sConfigMgr->GetIntDefault("LFG.SoloMode", true))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user