Stefanuk12 / Pterodactyl

5 stars 4 forks source link

Even Mounting the IW5 game files it wont read path #3

Open FallenGodAngel opened 8 months ago

FallenGodAngel commented 8 months ago

Screenshot 2023-11-23 214837

Screenshot 2023-11-23 215010

Screenshot 2023-11-23 215056

Screenshot 2023-11-23 215331

I have my games files in the path /var/lib/pterodactyl/mounts/IW5 but for some reason it won't recognize the game folder path

I also think it could be the startup command:

cd "${HOME}/localappdata/Plutonium/"||exit;wine64 bin/plutonium-bootstrapper-win32.exe "${GAMETYPE}${GAMEMODE}" "${HOME}" -dedicated +start_map_rotate +set key "${KEY}" +set net_port "${SERVER_PORT}" +set sv_config "${CFG}" & sleep 30 && { "${HOME}/cod-rcon" -O -P "${SERVER_PORT}" -p "${RCON_PASSWORD}" & if [ "${IW4M}" == 1 ];then "${HOME}/iw4m-log-server" -p "${SERVER_PORT}";fi;}

Stefanuk12 commented 8 months ago

The error says: "It appears you have selected an invalid game folder, the folder you selected in the launcher does not contain the gamefiles requires required to play the game." To access the game files, the path to them must be set to either the target name or /home/container/ the target name but I'm not sure. You may have to change the startup command, I don't remember. It's been a while since I've used Plutonium.

View herefor more information.

FallenGodAngel commented 8 months ago

yup I did as The Link Shows , but if I change to /home/container/ I get another error at boot "Error Event [c9644f91-a281-4f47-b5e6-f6125be5547a]: environment/docker: failed to run pre-boot process: environment/docker: failed to create container: Error response from daemon: Duplicate mount point: /home/container"

If I find a way to fix it I will let know here or make a write tutorial , but I'm pretty positive that the issue could be the startup command.

Thanks for your response and your contribution for the community of gamers. I can get it working fast with a windows machine , but I prefer use ptero because it looks more organize . Have a nice day and thanks again :)

FallenGodAngel commented 8 months ago

I changed the path of target looks like its reading the game files, only think last is fix wine: failed to open "bin/plutonium-bootstrapper-win32.exe": c0000135

1 2

Stefanuk12 commented 8 months ago

You need to add the bootstrapper to IW5/bin

FallenGodAngel commented 8 months ago

Yes I did add the files there and had to create a directory called games and insert there the games.exe files. Now Working on another thing. It's telling there is no files in /main but it have all files inside. So looks like its now an organization of path issue. But working on it. Thanks a lot for the support.

1 2

I have to learn how to do an egg as well , so I can help the community with these things lol.

are you planning to update the egg in a future or are busy with new projects ?

Stefanuk12 commented 8 months ago

I probably won't be updating the egg but pull requests are accepted. When I used to play on Plutonium, I only played T6 anyway.

LoudStank commented 2 months ago

has anyone fixed this? ima also gettings boot strapper error. i just want working pterodactyl eggs for mw3 / bo3. :/ everywhere i turn they are all broken.