Comments (9)
My solution was to write my own RCON library specifically for palworld.
I think this would be fun to try and tackle.
from palcon-discord.
discord/discord-api-docs#2482
Looking about the delay. I checked the contents like the link. That said, the rental server I use requires around 10s wait time, but the discord bot only supports within 3 seconds. It seems like a crash is happening.
from palcon-discord.
Is it possible to modify utf as well? utf still doesn't work.
from palcon-discord.
Is it possible to modify utf as well? utf still doesn't work.
Can you give me some more detail?
Thanks!
from palcon-discord.
2024-02-15 09:04:29,968 - main - ERROR - Unable to fetch/send game server info: 'utf-8' codec can't decode byte 0xec in position 38: invalid continuation byt
e
[2024-02-15 09:04:30] [ERROR ] discord.app_commands.tree: Ignoring exception in command 'info'
Traceback (most recent call last):
File "C:\PalCON-Discord\venv\Lib\site-packages\discord\app_commands\commands.py", line 828, in _do_call
return await self.callback(interaction, **params) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\PalCON-Discord\main.py", line 70, in info
await interaction.response.send_message(CONFIG["generic_bot_error"])
File "C:\PalCON-Discord\venv\Lib\site-packages\discord\interactions.py", line 801, in send_message
await adapter.create_interaction_response(
File "C:\PalCON-Discord\venv\Lib\site-packages\discord\webhook\async.py", line 219, in request
raise NotFound(response, data)
discord.errors.NotFound: 404 Not Found (error code: 10062): Unknown interaction
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\PalCON-Discord\venv\Lib\site-packages\discord\app_commands\tree.py", line 1248, in _call
await command._invoke_with_namespace(interaction, namespace)
File "C:\PalCON-Discord\venv\Lib\site-packages\discord\app_commands\commands.py", line 853, in _invoke_with_namespace
return await self._do_call(interaction, transformed_values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\PalCON-Discord\venv\Lib\site-packages\discord\app_commands\commands.py", line 846, in _do_call
raise CommandInvokeError(self, e) from e
discord.app_commands.errors.CommandInvokeError: Command 'info' raised an exception: NotFound: 404 Not Found (error code: 10062): Unknown interaction
apply the changed main.py to the utf version, it will be output as above. Maybe change it, it looks like the utf coding has changed.
from palcon-discord.
@Bratah123 Do you think just calling the .decode("utf-8", errors="ignore")
would be enough? I was thinking we could just pass it in when we call get_indices_from_info(res)
? Let me know what you think
from palcon-discord.
@Bratah123 Do you think just calling the
.decode("utf-8", errors="ignore")
would be enough? I was thinking we could just pass it in when we callget_indices_from_info(res)
? Let me know what you think
I think this problem isn't related to this issue, it might be non-latin characters messing up again?
from palcon-discord.
I think this problem isn't related to this issue, it might be non-latin characters messing up again?
Ah, okay, have you thought about a fix for this? I have one in mind, but curious if you and kookie are already working on something?
from palcon-discord.
I think this problem isn't related to this issue, it might be non-latin characters messing up again?
Ah, okay, have you thought about a fix for this? I have one in mind, but curious if you and kookie are already working on something?
His specific error might be caused by our utf branch of the bot, which was our experimental bot trying to solve this problem.
My solution was to write my own RCON library specifically for palworld.
I'm open to any solutions that are tested though
from palcon-discord.
Related Issues (16)
- Integer Error? HOT 5
- ModuleNotFoundError: No module named 'tomllib' HOT 3
- [BUG] ModuleNotFoundError: No module named 'discord' HOT 5
- [BUG] If an in-game setting that is not English is entered, the bot cannot output it. HOT 16
- Cannot start bot HOT 12
- [Unable to fetch/send metadata of connected players: list index out of range] HOT 14
- Sync Command Discussion HOT 1
- Bot on integration page? Need help pls HOT 2
- [BUG] Unable to parse player info for player HOT 7
- [SUGGESTION] Posts in the Discord Channel HOT 6
- [BUG] Received few bytes! HOT 2
- [SUGGESTION] join/leave HOT 8
- [BUG] Admin commands not checking perms properly HOT 3
- [SUGGESTION] Allow starting server as subprocess via discord
- [BUG] after patch 1.5 (palworld) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from palcon-discord.