Giter Site home page Giter Site logo

Cannot start bot about palcon-discord HOT 12 CLOSED

ShadyGame avatar ShadyGame commented on August 12, 2024
Cannot start bot

from palcon-discord.

Comments (12)

Bratah123 avatar Bratah123 commented on August 12, 2024 1

Also a message in the chat informing who joined or left the server would be nice

And set automated messages ingame chat , hope you consider ;D

Sure! preferably if you could open another Issue post for this in the form of a feature request, we would love to look at it.

Can anyone use the discord commands or just admin? anyway to change that, i wanted to let player use atleast the /online command

the /info and /online command anyone can use, every other command is admin only (I.E. shutdown, kick, etc..)

For the problem you're having now, we will try to fix it in this issue: #9

Glad it worked, I will close this issue as the original problem has been fixed, Thanks!!!

@ShadyGame

from palcon-discord.

Bratah123 avatar Bratah123 commented on August 12, 2024

Is there any errors that you get before or why it closes?

Did you follow all the steps of environment setup

It has to run in the same machine as the server?
It does not, so long as you have RCON setup on your pal world server (docs soon) and you have the rcon port (25575) port forwarded, you can connect from any machine

from palcon-discord.

ShadyGame avatar ShadyGame commented on August 12, 2024

What does it mean to SET IT TO PATH DURING INSTALLATION? sorry :\

Also i created the bot and added it to my discord server but i cannot see it there

from palcon-discord.

Bratah123 avatar Bratah123 commented on August 12, 2024

What does it mean to SET IT TO PATH DURING INSTALLATION? sorry :\

No worries, when you first install python it will ask you for some configurations, one of them is adding it to your PATH. Which lets you run python in a console.

When you install python you should have these configurations:

image

Also i created the bot and added it to my discord server but i cannot see it there

I don't really know what you mean by this

from palcon-discord.

KOOKIIEStudios avatar KOOKIIEStudios commented on August 12, 2024

Can you try running from command line and letting us know the result?

  • Win Key + X
  • Click Terminal
  • cd to the path of the cloned repository (e.g. cd C:\Users\Admin\Desktop\PalCON-Discord)
  • ./start.bat

from palcon-discord.

ShadyGame avatar ShadyGame commented on August 12, 2024

Okay yes i have done that @Bratah123 , thanks for the clear instructions

@KOOKIIEStudios

You have selected A: Virtual Python Environment
Traceback (most recent call last):
File "C:\Users\x\Documents\PalCON-Discord\main.py", line 3, in
import discord
ModuleNotFoundError: No module named 'discord'
PS C:\Users\Lil_G\Documents\PalCON-Discord>

from palcon-discord.

KOOKIIEStudios avatar KOOKIIEStudios commented on August 12, 2024

Strange. The start script should automatically deal with it

Well, another user resolved it this way: #3 (comment)

from palcon-discord.

BloodDragon2580 avatar BloodDragon2580 commented on August 12, 2024

I have the same error on windows 2019.

from palcon-discord.

KOOKIIEStudios avatar KOOKIIEStudios commented on August 12, 2024

Our test benches are win11 using pwsh 7
And our production server is on Ubuntu Jammy

Icyww

from palcon-discord.

KOOKIIEStudios avatar KOOKIIEStudios commented on August 12, 2024

I have the same error on windows 2019.

Have you tried out the sequence outlined in #3?

from palcon-discord.

ShadyGame avatar ShadyGame commented on August 12, 2024

It worked. but only with Global Python enviroment B

Can anyone use the discord commands or just admin? anyway to change that, i wanted to let player use atleast the /online command

Also a message in the chat informing who joined or left the server would be nice

And set automated messages ingame chat , hope you consider ;D

also when i try /online this is happening

2024-02-01 20:25:12,718 - main - INFO - Bot is online!
2024-02-01 20:25:17,217 - client - INFO - Setting up RCON connection
2024-02-01 20:25:17,217 - client - DEBUG - Fetching online players
2024-02-01 20:25:17,328 - main - ERROR - Unable to fetch/send metadata of connected players: list index out of range
2024-02-01 20:30:25,634 - client - INFO - Setting up RCON connection
2024-02-01 20:30:25,635 - client - DEBUG - Fetching online players
2024-02-01 20:30:25,741 - main - ERROR - Unable to fetch/send metadata of connected players: list index out of range

It was working before

from palcon-discord.

BloodDragon2580 avatar BloodDragon2580 commented on August 12, 2024

It worked now with Global Python enviroment B

from palcon-discord.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.