-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Palworld broken after update #555
Comments
same problem |
Also facing this problem |
Same here ! It was working before the update, but now it's not |
Can confirm Palworld update has broken querying 😐 |
Palworld uses Epic Online Services to query servers and it needs some credentials to make it work. We currently have these ones: node-gamedig/protocols/palworld.js Lines 7 to 10 in b0af081
|
Very possible, although it'll be better to move to RCON for this. |
@CosminPerRam - According to the DefaultPalWorldSettings.ini the key-value pair Even if enabled, the values you can get from RCON are much more limited then what you got from the EOS service, see: https://tech.palworldgame.com/settings-and-operation/commands |
|
There you go: $:~/development/docker-palworld-dedicated-server$ docker exec palworld-dedicated-server rcon info
Welcome to Pal Server[v0.1.5.1] jammsen.test.local
$:~/development/docker-palworld-dedicated-server$ docker exec palworld-dedicated-server rcon showplayers
name,playeruid,steamid
j,a,m,m,s e,n,!123,130XXXXXXXX,765XXXXXXXXXXXXXXX And yes my charactername is "j,a,m,m,s e,n,!123" on purpose for my "player-detection" rcon tool. Normally there should be only like "jammsen". You will be missing, Map, MaxPlayerNumber and a lot of other stuff thats on the root-level of your regular steam/eos returns. What you can get is:
Do you mean as a native feature to lookup data instead of queries to master-servers-alike systems? |
I've been able to successfully query my server by name instead of IP address just by adjusting the filter. |
Well what if you decide to change name at some point ? You have to re-add it ? |
Probably. I'm targeting it based on |
Do we have any updates on this other than using name to query? |
Can we clarify what is meant by "query by name"? Additional debug output:
|
Could you provide some more explainations or a code snippet regarding this? |
Yeah @dkoz do you mean by "dns-name" or what do you mean? Please clarify. |
I've developed a simple RCON API service in Go for Palworld, which you can find at palworld-query-api. The repository includes a container image for easy deployment. This API heavily relies on the Feel free to check it out and contribute if you're interested! plz delete if not allowed :) |
Please dont use that binary or the image itself like it is, the Maintainer knows since weeks about CVEs and isnt patching them, please use my fix for that: https://github.com/jammsen/docker-palworld-dedicated-server/blob/develop/Dockerfile#L5 |
Is there a way to filter using this API ? |
That also appears like it wouldn't work if the server is configured as not publicly listed. |
Makes sense, in the old api even people who disbaled community-mode, were listed in that server-list. |
How do you find your server within this list with so many pages ? |
Here is a snippet of the first implementation that I'm working on now, and that's not even a complete query. Unfortunately there doesnt seem to be any way to filter by ip or port, there is a search functionality but doesnt look in the address/port fields. What we can do for now is to just query a page, check if our server is in it, and if not just query the next page, until we find our server and return. This is O(n) and it's bad for performance (on both sides) and it comes down to luck I guess for how up your server is in the list. There could be much more of this API but we don't have any docs at all on it. |
We could add an option to encourage players to also include a field like "name" for palworld to try to narrow down the list, but it doesnt sound very great. |
|
The latest update of Palworld added an API to query players, can we use that ? |
That RESTAPI needs Basci-Auth with "admin:ADMIN_PASSWORD" so you might just need to extend things here in a way. But i forwarded @CosminPerRam some stuff im working on with my Palworld Docker Image. |
Yes, this looks really good! |
Successfully made a query on a server provided by @jammsen, if anyone encounters issues please mention or make a new issue (: |
Testing from my side, positive and negative worked like a charm too. |
After the new palworld update it seems to have broken the way the data is retrieved.
The text was updated successfully, but these errors were encountered: