Skip to content
This repository has been archived by the owner on May 14, 2024. It is now read-only.

[Egg Request]: Palworld #2669

Closed
shredoo opened this issue Jan 18, 2024 · 139 comments · Fixed by #2671
Closed

[Egg Request]: Palworld #2669

shredoo opened this issue Jan 18, 2024 · 139 comments · Fixed by #2671
Assignees
Labels
egg request request for egg

Comments

@shredoo
Copy link

shredoo commented Jan 18, 2024

Does this expand an already existing service

No

Link to a game or software

https://store.steampowered.com/app/1623730/Palworld/

Links for the download

https://store.steampowered.com/app/1623730/Palworld/

Links for the install docs

https://store.steampowered.com/app/1623730/Palworld/

@shredoo shredoo added the egg request request for egg label Jan 18, 2024
@parkervcp parkervcp self-assigned this Jan 18, 2024
@Destreyf
Copy link
Contributor

This is made by the same people behind Craftopia, so hopefully running a dedicated server is similar to that egg.

I know they broke the Craftopia dedicated servers at some point and I don't know what the current status is as it's not a game that I have played yet.

@gOOvER
Copy link
Contributor

gOOvER commented Jan 18, 2024

This is made by the same people behind Craftopia, so hopefully running a dedicated server is similar to that egg.

I know they broke the Craftopia dedicated servers at some point and I don't know what the current status is as it's not a game that I have played yet.

they should fix their Craftopia Release insteed releasing a new game. Not really worth to buy and create an server for it. But thats typical chinese releases; bringing out a reyyl good game and then create a new one and let the first die

@Mithrahn
Copy link

they should fix their Craftopia Release insteed releasing a new game. Not really worth to buy and create an server for it. But thats typical chinese releases; bringing out a reyyl good game and then create a new one and let the first die

Minor nitpick: Pocketpair is Japanese.

@QuintenQVD0
Copy link
Collaborator

This is made by the same people behind Craftopia, so hopefully running a dedicated server is similar to that egg.
I know they broke the Craftopia dedicated servers at some point and I don't know what the current status is as it's not a game that I have played yet.

they should fix their Craftopia Release insteed releasing a new game. Not really worth to buy and create an server for it. But thats typical chinese releases; bringing out a reyyl good game and then create a new one and let the first die

If you run the windows craftopua server with wine it works just fine.

@Simsz
Copy link

Simsz commented Jan 19, 2024

Link to dedicated server install instructions, linux is supported in that guide w/ steamCMD:

https://tech.palworldgame.com/dedicated-server-guide#qa

@Ballaual
Copy link
Contributor

Ballaual commented Jan 19, 2024

the server files are not in the anonymous branch currently, so login is once again required until they change it..

UPDATE: they just added it!

@QuintenQVD0
Copy link
Collaborator

QuintenQVD0 commented Jan 19, 2024

I made a test egg, it needs login of a real user that owns the game with steamguard off.
UPDATE It seems like anonymous now works, egg edited

I currently have no node running or own the game so I can not test this egg.
This egg also uses a startup script ( because I ofc can not see what is in the .sh file) so do not use in production!

in this state, this egg can and will not be merged.

https://gist.github.com/QuintenQVD0/8d7af6f08d716872ee609e9a203d696a

@Ballaual
Copy link
Contributor

Ballaual commented Jan 19, 2024

This egg also uses a startup script ( because I ofc can not see what is in the .sh file) so do not use in production!

#!/bin/sh
UE_TRUE_SCRIPT_NAME=$(echo "$0" | xargs readlink -f)
UE_PROJECT_ROOT=$(dirname "$UE_TRUE_SCRIPT_NAME")
chmod +x "$UE_PROJECT_ROOT/Pal/Binaries/Linux/PalServer-Linux-Test"
"$UE_PROJECT_ROOT/Pal/Binaries/Linux/PalServer-Linux-Test" Pal "$@"

EDIT
Currently testing on my own, got the server running but not able to join.
Will now switch to your version, which seems to be 1:1 what i've done so far and continue testing!

@Ballaual
Copy link
Contributor

Ballaual commented Jan 19, 2024

Startup Log
To set server done currently need to be added some part of that line: Setting breakpad minidump AppID = 2394010

[Pterodactyl Daemon]: Finished pulling Docker container image
steam user is not set.
Using anonymous user.
tid(21) burning pthread_key_t == 0 so we never use it
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
Redirecting stderr to '/home/container/Steam/logs/stderr.txt'
Logging directory: '/home/container/Steam/logs'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version 1705108307
-- type 'quit' to exit --
Loading Steam API...dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
OK
Connecting anonymously to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Success! App '2394010' already up to date.
:/home/container$ ./PalServer.sh -port ${SERVER_PORT} -players ${MAX_PLAYERS} -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS
Shutdown handler: initalize.
- Existing per-process limit (soft=1048576, hard=1048576) is enough for us (need only 1048576)
Increasing per-process limit of core file size to infinity.
- Existing per-process limit (soft=18446744073709551615, hard=18446744073709551615) is enough for us (need only 18446744073709551615)
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API] SteamAPI_Init(): Loaded '/home/container/.steam/sdk64/steamclient.so' OK.  (First tried local 'steamclient.so')
CAppInfoCacheReadFromDiskThread took 4 milliseconds to initialize
dlmopen steamservice.so failed: steamservice.so: cannot open shared object file: No such file or directory
Setting breakpad minidump AppID = 2394010
[S_API FAIL] Tried to access Steam interface SteamUser021 before SteamAPI_Init succeeded.
[S_API FAIL] Tried to access Steam interface SteamFriends017 before SteamAPI_Init succeeded.
[S_API FAIL] Tried to access Steam interface STEAMAPPS_INTERFACE_VERSION008 before SteamAPI_Init succeeded.
[S_API FAIL] Tried to access Steam interface SteamNetworkingUtils004 before SteamAPI_Init succeeded.

EDIT:

  • default port is 7777 (ingame failure connect popup) 8221(docs)

@lilkingjr1
Copy link
Collaborator

default port is 7777

Not according to their docs (8221), but okay.

Also, I can try to build an egg that doesn't rely on the script (unless someone's already on it).

@Ballaual
Copy link
Contributor

Ballaual commented Jan 19, 2024

Not according to their docs (8221), but okay.

ingame they say 7777 but it also can be any other port

Also, I can try to build an egg that doesn't rely on the script (unless someone's already on it).

already tried with this startline ``cd Pal/Binaries/Linux && ./PalServer-Linux-Test -port 7877 -players 16 -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS```makes no difference for now.

However i am not able to find the server ingame or able to connect via IP:PORT.

  • The servername is set in /home/container/Pal/Saved/Config/LinuxServer/GameUserSettings.ini under DedicatedServerName.

@hackles
Copy link

hackles commented Jan 19, 2024

fwiw DefaultPalWorldSettings.ini lists 8211 (not 8221) as default port

[/Script/Pal.PalGameWorldSettings]
OptionSettings=(Difficulty=None,DayTimeSpeedRate=1.000000,NightTimeSpeedRate=1.000000,ExpRate=1.000000,PalCaptureRate=1.000000,PalSpawnNumRate=1.000000,PalDamageRateAttack=1.000000,PalDamageRateDefense=1.000000,PlayerDamageRateAttack=1.000000,PlayerDamageRateDefense=1.000000,PlayerStomachDecreaceRate=1.000000,PlayerStaminaDecreaceRate=1.000000,PlayerAutoHPRegeneRate=1.000000,PlayerAutoHpRegeneRateInSleep=1.000000,PalStomachDecreaceRate=1.000000,PalStaminaDecreaceRate=1.000000,PalAutoHPRegeneRate=1.000000,PalAutoHpRegeneRateInSleep=1.000000,BuildObjectDamageRate=1.000000,BuildObjectDeteriorationDamageRate=1.000000,CollectionDropRate=1.000000,CollectionObjectHpRate=1.000000,CollectionObjectRespawnSpeedRate=1.000000,EnemyDropItemRate=1.000000,DeathPenalty=All,bEnablePlayerToPlayerDamage=False,bEnableFriendlyFire=False,bEnableInvaderEnemy=True,bActiveUNKO=False,bEnableAimAssistPad=True,bEnableAimAssistKeyboard=False,DropItemMaxNum=3000,DropItemMaxNum_UNKO=100,BaseCampMaxNum=128,BaseCampWorkerMaxNum=15,DropItemAliveMaxHours=1.000000,bAutoResetGuildNoOnlinePlayers=False,AutoResetGuildTimeNoOnlinePlayers=72.000000,GuildPlayerMaxNum=20,PalEggDefaultHatchingTime=72.000000,WorkSpeedRate=1.000000,bIsMultiplay=False,bIsPvP=False,bCanPickupOtherGuildDeathPenaltyDrop=False,bEnableNonLoginPenalty=True,bEnableFastTravel=True,bIsStartLocationSelectByMap=True,bExistPlayerAfterLogout=False,bEnableDefenseOtherGuildPlayer=False,CoopPlayerMaxNum=4,ServerPlayerMaxNum=32,ServerName="Default Palworld Server",ServerDescription="",AdminPassword="",ServerPassword="",PublicPort=8211,PublicIP="",RCONEnabled=False,RCONPort=25575,Region="",bUseAuth=True,BanListURL="https://api.palworldgame.com/api/banlist.txt")

note:

PublicPort=8211

@Ballaual
Copy link
Contributor

Ballaual commented Jan 19, 2024

@hackles is that from the Linux install? For me the file is empty..

there some more useful data inside such as server and admin pw rcon and worldname

@Simsz
Copy link

Simsz commented Jan 19, 2024

@hackles I think the support article has a typo. When you're in game the port for multiplayer connections also defaults to 8211 and NOT 8221

@Ballaual the DefaultPalWorldSettings.ini is a folder up from where the configuration is intended to be set: steamapps/common/PalServer/DefaultPalWorldSettings.ini

@Ballaual
Copy link
Contributor

@hackles I think the support article has a typo. When you're in game the port for multiplayer connections also defaults to 8211 and NOT 8221

@Ballaual the DefaultPalWorldSettings.ini is a folder up from where the configuration is intended to be set: steamapps/common/PalServer/DefaultPalWorldSettings.ini

for Pterodactyl its localted in /home/container

@RedNinja25
Copy link

So this is interesting, when I run @QuintenQVD0 's script, and run the server it clears out the
/home/container/Pal/Saved/Config/LinuxServer/PalWorldSettings.ini every time, as the DefaultPalWorldSettings.ini doesnt reflect changes on the server...

@Simsz
Copy link

Simsz commented Jan 19, 2024

@Ballaual good call. Also the server works and I am able to connect when I use port 8211. There is an issue people were discussing in the discord about changing the port not working potentially?

@Ballaual
Copy link
Contributor

Ballaual commented Jan 19, 2024

@Ballaual good call. Also the server works and I am able to connect when I use port 8211. There is an issue people were discussing in the discord about changing the port not working potentially?

interesting, im still not able to join while using 8211. Have you set sth inside the file?
nvm now it works... added public ip and password but seems the server ignores the password completely

@QuintenQVD0
Copy link
Collaborator

NOTE: I edited my egg to drecitly launch the binary and not the sh file

@masakiyoshi
Copy link

try to get the settings working for the egg otherwise anyone can join the server

@hackles
Copy link

hackles commented Jan 19, 2024

already tried with this startline ``cd Pal/Binaries/Linux && ./PalServer-Linux-Test -port 7877 -players 16 -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS```makes no difference for now.

their shell script passes Pal to PalServer-Linux-Test

-cd Pal/Binaries/Linux && ./PalServer-Linux-Test -port 7877 -players 16 -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS
+cd Pal/Binaries/Linux && ./PalServer-Linux-Test Pal -port 7877 -players 16 -useperfthreads -NoAsyncLoadingThread -UseMultithreadForDS

not sure if that makes a difference as i'm still using their shell script, just noticed what you had there differed from their default script

@Ballaual
Copy link
Contributor

@danny6167
Copy link
Contributor

Try setting the port with -port={{SERVER_PORT}}

@Ballaual
Copy link
Contributor

did anyone already found out what the difference is between dedicated and community server (EpicApp=PalServer) ?

@LexiieKF
Copy link

I can confirm that there are no server parameters, rates etc in gameusersettings.ini and also the server name doesn't change I think because I don't see the server in the list

@QuintenQVD0
Copy link
Collaborator

Updated, for the port now to be set -port={{SERVER_PORT}}

@Ballaual
Copy link
Contributor

-port={{SERVER_PORT}}

Tested and confirmed working!

@Simsz
Copy link

Simsz commented Jan 19, 2024

@Ballaual apparently the difference is this: "Dedicated servers and community servers are the same, but the difference is community servers show up in the server list"

@HerrSammyDE
Copy link
Contributor

HerrSammyDE commented Jan 23, 2024

Alright.. I hope that a hotfix for all the problems will come very soon

@Ballaual
Copy link
Contributor

hopefully within next 24h... game and server files are currently in qa, might be released this night

image

@ValhallaCommunityOfficial
Copy link

ValhallaCommunityOfficial commented Jan 23, 2024

https://github.com/tetosama/Palworld-Server-Modding

Is it possible to implement this? Or would this be a whole new egg?

@gOOvER
Copy link
Contributor

gOOvER commented Jan 23, 2024

https://github.com/tetosama/Palworld-Server-Modding

Is it possible to implement this? Or would this be a whole new egg?

Let the server become stable first before thinking about modding ;)
'
But you can do it your own. Looks not really hard ;)

@scarecr0w12
Copy link

https://github.com/tetosama/Palworld-Server-Modding
Is it possible to implement this? Or would this be a whole new egg?

Let the server become stable first before thinking about modding ;) ' But you can do it your own. Looks not really hard ;)

It works, but requries teh egg to use the windows platform and proton. Similar to ASA's ServerAPI system, it requires a DLL injection, which looks to be what the exe does. Otherwise, Proton using a DLL injection via wintricks does work (Slightly tested on a custom egg i made to try it)

@URLeisure
Copy link

URLeisure commented Jan 24, 2024

When I replace the game save, this error will appear after two minutes of playing, and then the server will automatically shut down. Does anyone know the reason?
./PalServer.sh: line 5: 15792 Segmentation fault (core dumped) "$UE_PROJECT_ROOT/Pal/Binaries/Linux/PalServer-Linux-Test" Pal "$@"

@QuintenQVD0
Copy link
Collaborator

When I replace the game save, this error will appear after two minutes of playing, and then the server will automatically shut down. Does anyone know the reason? ./PalServer.sh: line 5: 15792 Segmentation fault (core dumped) "$UE_PROJECT_ROOT/Pal/Binaries/Linux/PalServer-Linux-Test" Pal "$@"

Cleary a old or modified egg, not supported.

@tony-ist
Copy link

@QuintenQVD0, you seem to have deleted the egg. Was there some kind of problem?

@gOOvER
Copy link
Contributor

gOOvER commented Jan 25, 2024

@QuintenQVD0, you seem to have deleted the egg. Was there some kind of problem?

Its not deleted, its WIP. Because a lot of thing dont work, as ist should. Like config parsing ;)

@QuintenQVD0
Copy link
Collaborator

I removed mine because it is the same as the one in pr. And I have no time to deal with issues rn

@khalimwu
Copy link

I removed mine because it is the same as the one in pr. And I have no time to deal with issues rn

Which one do you mean? do you have a link to that one so we can follow?

@Ballaual
Copy link
Contributor

I removed mine because it is the same as the one in pr. And I have no time to deal with issues rn

Which one do you mean? do you have a link to that one so we can follow?

#2671

@NoctisDeLucis
Copy link

Hello, just wanted to thank you a lot for this! Wondering if it is possible to add RCON inside the pterodactyl egg ? I've been looking around the internet to find something that could send messages and commands with the Pterodactyl scheduler but to no avail.

@QuintenQVD0
Copy link
Collaborator

Hello, just wanted to thank you a lot for this! Wondering if it is possible to add RCON inside the pterodactyl egg ? I've been looking around the internet to find something that could send messages and commands with the Pterodactyl scheduler but to no avail.

Sorry, but this is currently not possible, Our priority is now getting this egg function for as many as possible. Then we may add Rcon functionality and there must be a way to enable it as a startup args as there config is unparsable

@NoctisDeLucis
Copy link

No problem, I am already happy with the egg so far. Thanks a lot

@mauzao9
Copy link

mauzao9 commented Jan 26, 2024

Hey guys anyone has ran into this weird ass issue where players can only connect once per session?

First connect, all fine. If they relog before the next restart... infinite loading screen. I have thinkered with everything I can't work around it, started to happen after the last hotfix! This one is much nastier than the memory leak, the issues that are building up over time are no joke...

@QuintenQVD0
Copy link
Collaborator

Hey guys anyone has ran into this weird ass issue where players can only connect once per session?

First connect, all fine. If they relog before the next restart... infinite loading screen. I have thinkered with everything I can't work around it, started to happen after the last hotfix! This one is much nastier than the memory leak, the issues that are building up over time are no joke...

To be honest that sounds like a engine / game issue and not somthing we can fix rn.

@mauzao9
Copy link

mauzao9 commented Jan 26, 2024

Hey guys anyone has ran into this weird ass issue where players can only connect once per session?
First connect, all fine. If they relog before the next restart... infinite loading screen. I have thinkered with everything I can't work around it, started to happen after the last hotfix! This one is much nastier than the memory leak, the issues that are building up over time are no joke...

To be honest that sounds like a engine / game issue and not somthing we can fix rn.

Yeah I'm afraid of that, the level data is all a mess packed in one file so even trying some soft resets to find what's the cause is impossible attm :/

@Ballaual
Copy link
Contributor

actually didnt run into that issue, but heard that it might be a "common issue" which alredy existed prepatch

@mauzao9
Copy link

mauzao9 commented Jan 27, 2024

Anyone has an update if the decay timer is working? (the 72h since login). I see bases that should have been decayed...
Also, is it one of the settings that you can change after the save is generated?

@raitono
Copy link

raitono commented Jan 27, 2024

Anyone has an update if the decay timer is working? (the 72h since login). I see bases that should have been decayed... Also, is it one of the settings that you can change after the save is generated?

I would assume it is this setting in the PalWorldSettings.ini: BuildObjectDeteriorationDamageRate=1.000000

I've seen objects deteriorating, but haven't let anything fully destroy yet, so can't confirm if it "works"

@raitono
Copy link

raitono commented Jan 27, 2024

Hey guys anyone has ran into this weird ass issue where players can only connect once per session?

First connect, all fine. If they relog before the next restart... infinite loading screen. I have thinkered with everything I can't work around it, started to happen after the last hotfix! This one is much nastier than the memory leak, the issues that are building up over time are no joke...

Perhaps fixed with 1/25 update?
image

@SovereignSkies
Copy link

Is there an egg for this? I saw one on Google, but it's 404 now.

@Ballaual
Copy link
Contributor

Ballaual commented Feb 2, 2024

Is there an egg for this? I saw one on Google, but it's 404 now.

https://github.com/parkervcp/eggs/tree/master/game_eggs/steamcmd_servers/palworld

@SovereignSkies
Copy link

Is there an egg for this? I saw one on Google, but it's 404 now.

https://github.com/parkervcp/eggs/tree/master/game_eggs/steamcmd_servers/palworld

I apologize for being blind and appreciate the help!

@thomasbonsirven
Copy link
Contributor

Hello,

Ok, thank all for this egg.
It's a good work.

I have a last problem, with this egg, is Rcon.
Impossible to use Rcon. In pterodactyl console, have a error to connexion on ::1 on port 25575.
If I change the Rcon port with my custom port, it's work, but have a connexion refused.

Tested on :
wings Ubuntu 22.04
Wings rockylinux 8.x
Wings centos7
Same error.

But if install palword2 with LinuxGSM, this Rcon work.

Help please, I don't understand why I have this error.

@Ballaual
Copy link
Contributor

Ballaual commented Feb 27, 2024

Hello,

Ok, thank all for this egg. It's a good work.

I have a last problem, with this egg, is Rcon. Impossible to use Rcon. In pterodactyl console, have a error to connexion on ::1 on port 25575. If I change the Rcon port with my custom port, it's work, but have a connexion refused.

Tested on : wings Ubuntu 22.04 Wings rockylinux 8.x Wings centos7 Same error.

But if install palword2 with LinuxGSM, this Rcon work.

Help please, I don't understand why I have this error.

egg has been updated 1h before, since 0.1.5.0 they have changed sth and needed a fix.
Please make sure to update to this version if not done. Then it should work fine again :)

https://github.com/parkervcp/eggs/tree/master/game_eggs/steamcmd_servers/palworld

@thomasbonsirven
Copy link
Contributor

Hello,
Ok, thank all for this egg. It's a good work.
I have a last problem, with this egg, is Rcon. Impossible to use Rcon. In pterodactyl console, have a error to connexion on ::1 on port 25575. If I change the Rcon port with my custom port, it's work, but have a connexion refused.
Tested on : wings Ubuntu 22.04 Wings rockylinux 8.x Wings centos7 Same error.
But if install palword2 with LinuxGSM, this Rcon work.
Help please, I don't understand why I have this error.

egg has been updated 1h before, since 0.1.5.0 they have changed sth and needed a fix. Please make sure to update to this version if not done. Then it should work fine again :)

https://github.com/parkervcp/eggs/tree/master/game_eggs/steamcmd_servers/palworld

Ok I try,
Thanks you

@thomasbonsirven
Copy link
Contributor

It's work ! Super !

Thanks all

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
egg request request for egg
Projects
None yet
Development

Successfully merging a pull request may close this issue.