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 #12

Open timpax opened 2 months ago

timpax commented 2 months ago

i still get this in my console when i try to answer "[InputService] exec: couldn't exec '{*}cfg/message.cfg', unable to read file" and yes i have ran it as admin and i got the right api key for old.character.ai, and i have downloaded everything i need from python.

SmalltimeTommie commented 2 months ago

Are you hitting the bind manually? It automatically creates message.cfg and runs the bind when there is a response to send.

timpax commented 2 months ago

Yes, I did that aswell, even moved my cs2 and the chatbot to the same disc as my python is on

timpax commented 2 months ago

my cs2 doesnt create a messege file after someone is typing in game or atleat i cant find it still get the same problem as before tho :/

skelcium commented 2 months ago

Sorry if you've done this already, but a few people miss it, have you clicked the power on the bottle left to turn the bot on?

3550ac806eb3eb9b68b10d6351071e5d

timpax commented 2 months ago

Sorry if you've done this already, but a few people miss it, have you clicked the power on the bottle left to turn the bot on?

3550ac806eb3eb9b68b10d6351071e5d

yes i've done that even started both cs and cs2chatbot in admin but nothing works the problem seems to be that my game dont create the message.cfg file

cloudeeminds commented 2 months ago

hey im having the same issue as well.. got my api key, ran as admin, chatbot.exe is in my cs2 directory, set the bind in game, every time i push p, same message: [InputService] exec: couldn't exec '{*}cfg/message.cfg', unable to read file

i know i shouldn't have to manually push 'p' as the bot will automatically reply when a message is sent, however i'm running into same issue regardless.

TheRatDog commented 1 month ago

I am experiencing the same issue.

EDIT: OS: Windows 11 Architecture: x64 Did you run it as admin? Yes Did you add "-condebug" to CS2 launch options in Steam? Yes Did you run the command "bind p "exec message.cfg"" in CS2? Yes Did you enter your c.ai token? Yes Did you enable the bot using the button on the bottom left of window (the power button)? Yes