skelcium / CS2-Chatbot

Automatically respond to in-game messages
GNU General Public License v3.0
29 stars 2 forks source link

[InputService] exec: couldn't exec '{*}cfg/message.cfg', unable to read file #7

Open incues2 opened 3 months ago

incues2 commented 3 months ago

This shows up inside of my CS2 console whenever I try to use this. I launch the program as admin, and I launch it regularly, and it's the same. No clue what is doing this. RVsj9KYkTp

SmalltimeTommie commented 3 months ago

If you ran it as admin and it isn't writing the file, the C.AI token may be wrong or the bot wasn't enabled in menu.

Check your token and make sure the power button is enabled on bottom left in menu.

incues2 commented 3 months ago

The token is correct, and the power button is enabled. The issue is, it's not creating a message.cfg file inside of the Counter-Strike Global Offensive -game-CSGO-cfg folder. I tried manually creating the file and it's not doing anything with it.

incues2 commented 3 months ago

Realizing that you won't be able to fix this, this is an issue with my computer and python. They do not get along. My python refuses to install needed dependencies and then shits itself after running a singular command. Only way to fix it is to factory reset my computer. Even with the standalone executable, with no AV and giving it admin access, it still cannot read or write to the CS folder.

skelcium commented 3 months ago

Hi, the file is only created once someone says something in chat and the bot is ready to reply. There is no need to manually press the bind as the app will automatically press it for you.

WhatAVibe commented 3 months ago

Hello, I had this problem and took me a minute to figure out what was wrong, python is trying to access the games files but cannot due to the game being installed on a different drive, try making a folder on the same drive as the game. Worked instantly for me. Hope this helps you

cloudeeminds commented 2 months ago

Hello, I had this problem and took me a minute to figure out what was wrong, python is trying to access the games files but cannot due to the game being installed on a different drive, try making a folder on the same drive as the game. Worked instantly for me. Hope this helps you

hey i double checked, my steam/cs is installed on my C: drive alongside when i run 'where python' in CMD, it's also in my C: c:\Users\xxxx\AppData\Local\microsoft\windowsapps\python.exe