AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Metamod:Source Plugins (https://forums.alliedmods.net/forumdisplay.php?f=76)
-   -   CS2 Fake Rcon (https://forums.alliedmods.net/showthread.php?t=344083)

Kriax 10-01-2023 04:21

CS2 Fake Rcon
 
Hello,
I created a little Metamod plugin to help out some friends regarding RCON while Valve fixes the use of RCON in game, or someone does something better than me.

Link : https://github.com/Salvatore-Als/cs2-fake-rcon
Download URL : hhttps://github.com/Salvatore-Als/cs...-rcon/releases

Add this plugin like a normal metamod plugin.
Created an rcon.txt file in the /game/bin/win64 folder (where cs2.exe is located)
Add an rcon password of at least 4 characters, it must be on the first line

How to use it:
fake_rcon_password YOURPASSWORD
fake_rcon changelevel de_dust2

Le C++ is not my domain, I don't plan to maintain this plugin, it's simple but works well.

Tested and works on local Win serveur.
Tested and works on VeryGames linux server.

Regards !

Kriax 10-01-2023 13:08

Re: CS2 Fake Rcon
 
Now available for linux (on the release), thx to Oli and Wat u doing :)

alekfps0 10-01-2023 18:09

Re: CS2 Fake Rcon
 
Quote:

Originally Posted by Kriax (Post 2810892)
Now available for linux (on the release), thx to Oli and Wat u doing :)

did not work

https://cdn.discordapp.com/attachmen...7974/image.png

Kriax 10-02-2023 04:46

Re: CS2 Fake Rcon
 
Hello,
The unknown command is normal, we do not create a command but we check what is written in the console. The plugin works well for me and other community members.

Where did you add the rcon.txt file, what is its content please ? Linux or Win ?
https://prnt.sc/sAdEbaGPPKeT

Regards,

ThePwnt 10-02-2023 04:46

Re: CS2 Fake Rcon
 
Quote:

Originally Posted by alekfps0 (Post 2810907)

Did you create rcon.txt?

Linux:
Code:

game/bin/linuxsteamrt64/rcon.txt
Windows:
Code:

game/bin/win64/rcon.txt
Remember to enter your rcon pwd there. (You don't need to enter rcon_password - just the password from rcon_password)

If your rcon_password is set as
Code:

tester
You must write the rcon_password you want to use in rcon.txt - for example tester

alekfps0 10-02-2023 10:25

Re: CS2 Fake Rcon
 
Quote:

Originally Posted by Kriax (Post 2810934)
Hello,
The unknown command is normal, we do not create a command but we check what is written in the console. The plugin works well for me and other community members.

Where did you add the rcon.txt file, what is its content please ? Linux or Win ?
https://prnt.sc/sAdEbaGPPKeT

Regards,

I thought it was an error, but I did some tests here now and it really worked, thank you very much!

pecagg 10-02-2023 11:58

Re: CS2 Fake Rcon
 
Hey,
Trying to install this on our scrim server hosted on CKRAS

I don't have permission to upload files to /bin/ folder, is there a workaround?

I managed to install metamod and it lists the fakercon plugin successfully.

https://i.imgur.com/NksOzle.png

edit: Managed to fix with ckras support

haly 10-03-2023 11:31

Re: CS2 Fake Rcon
 
https://cdn.discordapp.com/attachmen...5353/image.png

Can't seem to get this working.

using a dathost server (linux) and yes rcon.txt is inside game/bin/linuxsteamrt64

Kriax 10-03-2023 13:53

Re: CS2 Fake Rcon
 
Working on it ;)

Kriax 10-03-2023 16:17

Re: CS2 Fake Rcon
 
New release fix the build, improve the code and add -fakercon commandline
https://github.com/Salvatore-Als/cs2-fake-rcon/releases

Regards,

Wizzardoff 10-03-2023 18:24

Re: CS2 Fake Rcon
 
Any info how to install it on linux server? Im probably doing smth wrong:
meta list
No plugins loaded.
What from inside the package do i need to extract for this plugin to work on linux dedicated and where. Thanks

Kriax 10-04-2023 05:23

Re: CS2 Fake Rcon
 
https://github.com/Salvatore-Als/cs2-fake-rcon/releases

You just need to drag&drop on your addons folders.
On the /game/bin/{OS} create a rcon.txt file with the rcon on it :)

Be sure that your MM is on the last version.

antm 10-04-2023 11:29

Re: CS2 Fake Rcon
 
1 Attachment(s)
I cannot get it to work.

It is hosted on dathost.

The rcon.txt is in the folder "bin/linuxsteamrt64"
it contains:
Code:

tester
As a client I enter in console
Code:

fake_rcon_password tester
fake_rcon say test

What do I do wrong?

ArchieReeves 10-04-2023 20:03

Re: CS2 Fake Rcon
 
I am also using dathost and it doesn't seem to be working.

If i type "find rcon" in the console provided on dathost it shows me that i can use the command "fake_rcon_passoword" but when i use it in game or on the dathost console its self nothing happens, trying to get it to change map or say something just doesn't work.

Also if i do "find rcon" on the server its self i get the list of normal rcon commands but non of the fake_rcon commands like i do on the dathost console.

the only thing i can get to be shown from rcon is "[RCon] Usage: rcon <screenshot | console | commandstring>"

I believe i have all the files in the right places and everything written in the correctly and i have spent hours now trying to figure it out and find work arounds but nothing i do or follow seems to help, i think a video tutorial would be super useful to a lot of people here.

https://media.discordapp.net/attachm...080&height=116

https://media.discordapp.net/attachm...080&height=278



Thanks,
Archie

Kriax 10-05-2023 05:09

Re: CS2 Fake Rcon
 
Ola, fixed after valve update : https://github.com/Salvatore-Als/cs2-fake-rcon/releases

To install the plugins, check the tutoriel :

First, install the addons on /game/addons/metamod
https://prnt.sc/dUp5dbfanGbY

Next, go to /addons/configs/fake_rcon/config.ini
- fake_rcon_password is your rcon password
- caching_time is the cache time so you don't have to retype fake_rcon_password even if you log out

WARN : You can use the commande line -fakercon : -fakercon mesupermegasecretgigarconpassword.
The rcon configured in the line command takes precedence over the rcon of the file, only use it if you not have the choice !

Type meta list on your console and check if the plugin is loaded
https://prnt.sc/NecS1lYkKj3I

You can check if the password is found:
https://prnt.sc/3JokQn2kE1SM

And in game use fake_rcon_password mesupermegasecretgigarconpassword
ENTER YOUR PASSWORD, NOT MIND

https://prnt.sc/pz6m7-s2SJGZ
https://prnt.sc/6ESx_u2kfg8X


And then fake_rcon YOURCMD
https://prnt.sc/zPVp_WlrvzgJ

Kriax 10-05-2023 16:22

Re: CS2 Fake Rcon
 
Changing the configuration path, adding a cache.
https://github.com/Salvatore-Als/cs2-fake-rcon/releases

---

Tutorial available here https://forums.alliedmods.net/showpo...2&postcount=15

fedthaar 10-05-2023 23:14

Re: CS2 Fake Rcon
 
Its not loading for me.
https://imgur.com/a/2Ecb0Oh

On windows 2019 vm. I downloaded cs2 through normal steam and did a start bat file in game\bin\win64

Addons folder didnt exits so i just created it I assume that is fine

fedthaar 10-06-2023 00:32

Re: CS2 Fake Rcon
 
Got it to load but i get bad password

https://imgur.com/a/Q6YgTut

Set my password in addons\configs\fake_rcon\config and its matching my rcon_password

asozio 10-06-2023 02:16

Re: CS2 Fake Rcon
 
1 Attachment(s)
Quote:

Originally Posted by Kriax (Post 2811000)
New release fix the build, improve the code and add -fakercon commandline
https://github.com/Salvatore-Als/cs2-fake-rcon/releases

Regards,

Not sure what I am doing wrong or if valve have changed something since yesterday?

Kriax 10-06-2023 05:41

Re: CS2 Fake Rcon
 
You are using the wrong version, the last is 1.2, was my fault I fail my archive ><
Re-dl and try again :)

vmisel 10-06-2023 09:38

Re: CS2 Fake Rcon
 
Hi Kriax,

Thank you for providing these plugins. I tried several times, but no success. As have other people.

Would you be so kind to record your screen and show us how it's done? I've been trying for a few days already.

Now I can't even re-install my server anymore. I created a support ticket in the meanwhile for this.

Hope you're willing to record your screen and help the CS2 community out. Recording your screen will also prevent any language barriers that might exist.

Thanks again.

Kriax 10-06-2023 09:42

Re: CS2 Fake Rcon
 
Hello,
Works on windows server, in my personal computer, and on a linux server hosted at VeryGames.net.

Did you check my tutorial ? https://forums.alliedmods.net/showpo...2&postcount=15
Be sure to install on the right folder, please check again if you have the right folder, I have made a mistake on the tutorial, that I fixed since 2 hours :x

Please can you share me your addons/metamod/configs/fake_rcon folder by a screenshot please ?
Either, you can search [FAKERCON] on your console server, you will have 2 logs, can you share them with me please.

I will try to take a record of my screen asap

Regards,

vmisel 10-06-2023 10:18

Re: CS2 Fake Rcon
 
Edit: I see that the fake rcon plugin took a long time to install. That's why I did not see the addons folder. I do see it now. I will update this post in a bit. A recording for verygames linux is still very much appreciated and needed.

So what I did is:

- Installed Metamod and fake rcon plugin through VeryGames portal: https://prnt.sc/EhKQg7A0FKNk
- Downloaded the lastest version of Fake RCON from your GitHub and dragged/dropped the folders "configs", "fake_rcon" and "metamod" in the folder /cs2 - verygames/game/csgo/addons
- I have created an rcon.txt in the folder /cs2 - verygames/game/bin/linuxsteamrt64 that contains only one line: rcon_password mypassword https://prnt.sc/-gZ1IzTWMJ04

When i want to type meta list in the live console of VeryGames, now finally says it sees your fake rcon script: https://prnt.sc/tRRZTOlmNITm

I will continue with the steps, because before it said: meta list is an unknown command

Edit: when typing fake_rcon_password mypassword - it says it's a bad password, eventhough I put it in the rcon.txt
Edit: screenshot for ingame console that says bad password: https://prnt.sc/MM4KgoSCThxU

Also please see the screenshot of the rcon.txt in the folder /cs2 - verygames/game/bin/linuxsteamrt64 -> https://prnt.sc/-gZ1IzTWMJ04

Edit: another screenshot of the config.ini file that I edited to have a rcon_password - https://prnt.sc/MA-8pldXVgDh

Kriax 10-06-2023 10:33

Re: CS2 Fake Rcon
 
Recording a video tutorial would take me some time, and I don't have this time sorry.

You simply have to download the archive and unzip everything into the /game/csgo/addons folder, then you just have to configure the config.ini file which is located in /game/csgo/addons/configs/fake_rcon/

:)

Regards,

vmisel 10-06-2023 10:53

Re: CS2 Fake Rcon
 
Quote:

Originally Posted by Kriax (Post 2811209)
Recording a video tutorial would take me some time, and I don't have this time sorry.

You simply have to download the archive and unzip everything into the /game/csgo/addons folder, then you just have to configure the config.ini file which is located in /game/csgo/addons/configs/fake_rcon/

:)

Regards,

Pleae check my previous post. I have edited it and added screenshots where ever I could. Hope you can help further.

vmisel 10-06-2023 16:58

Re: CS2 Fake Rcon
 
Quote:

Originally Posted by Kriax (Post 2811209)
Recording a video tutorial would take me some time, and I don't have this time sorry.

You simply have to download the archive and unzip everything into the /game/csgo/addons folder, then you just have to configure the config.ini file which is located in /game/csgo/addons/configs/fake_rcon/

:)

Regards,

I give up man.. I'll wait for you to help me. Nothing that I do works. I keep getting bad password, no matter what. Even if I reinstall everything and leave it at default, regarding the password.

vmisel 10-06-2023 17:43

Re: CS2 Fake Rcon
 
Quote:

Originally Posted by Kriax (Post 2811207)
Hello,
Works on windows server, in my personal computer, and on a linux server hosted at VeryGames.net.

Did you check my tutorial ? https://forums.alliedmods.net/showpo...2&postcount=15
Be sure to install on the right folder, please check again if you have the right folder, I have made a mistake on the tutorial, that I fixed since 2 hours :x

Please can you share me your addons/metamod/configs/fake_rcon folder by a screenshot please ?
Either, you can search [FAKERCON] on your console server, you will have 2 logs, can you share them with me please.

I will try to take a record of my screen asap

Regards,

There is no fake_rcon in addons/metamod/configs/fake_rcon folder - see here https://prnt.sc/H_PQLj0Ct9b-

codergeek82 10-08-2023 10:03

Re: CS2 Fake Rcon
 
I think a better way to do rcon is to simply use some rcon protocol cli.

vmisel 10-08-2023 10:15

Re: CS2 Fake Rcon
 
Quote:

Originally Posted by codergeek82 (Post 2811323)
I think a better way to do rcon is to simply use some rcon protocol cli.

I'm not sure whether you're referring to me, but I don't understand what that cli part means.

I am convinced I am missing something small and it should be easy, but the explanation is made more difficult or even incorrect.

codergeek82 10-08-2023 15:45

Re: CS2 Fake Rcon
 
Quote:

Originally Posted by vmisel (Post 2811324)
I'm not sure whether you're referring to me, but I don't understand what that cli part means.
I am convinced I am missing something small and it should be easy, but the explanation is made more difficult or even incorrect.

Sorry if my shorter message caused any confusion.

I was just trying to point the server admin community towards the rcon command line interfaces that gives a bit more freedom and yet versatility to manage a server from any remote location and even with just a cell phone on the move.

For the past few years am using an rcon cli solution given here https://github.com/n0la/rcon that still works for CS2. Tested on my Linux based CS2 community server a few days back and can confirm it works like a charm.

Regards, CoderGeek82

Wizzardoff 10-09-2023 12:28

Re: CS2 Fake Rcon
 
Quote:

Originally Posted by vmisel (Post 2811324)
I'm not sure whether you're referring to me, but I don't understand what that cli part means.

I am convinced I am missing something small and it should be easy, but the explanation is made more difficult or even incorrect.

Download from github full release https://github.com/Salvatore-Als/cs2-fake-rcon/releases and extract folder to desktop. You will get addons folder. drop it to game/csgo folder on server. Edit config.ini in /game/csgo/addons/configs/fake_rcon on server. Thats it. I made those steps and it works great

Kriax 10-10-2023 04:53

Re: CS2 Fake Rcon
 
It's possible that the file encoding created a problem reading the file, try encoding it in UTF8 without bom, but I'm not sure.
I'm trying to find a solution to the fact that sometimes it doesn't detect the rcon well.

Regards,

kryddersonn 10-10-2023 13:01

Re: CS2 Fake Rcon
 
Works great for me! just needed to add the rcon.txt file even on the new version, atleast that fixed it for me

kryddersonn 10-10-2023 13:04

Re: CS2 Fake Rcon
 
Quote:

Originally Posted by vmisel (Post 2811206)
Hi Kriax,

Thank you for providing these plugins. I tried several times, but no success. As have other people.

Would you be so kind to record your screen and show us how it's done? I've been trying for a few days already.

Now I can't even re-install my server anymore. I created a support ticket in the meanwhile for this.

Hope you're willing to record your screen and help the CS2 community out. Recording your screen will also prevent any language barriers that might exist.

Thanks again.




if you need help resolving i can try, if you didnt fix it ;https://steamcommunity.com/id/krydderr/

Kriax 10-10-2023 14:56

Re: CS2 Fake Rcon
 
Quote:

Originally Posted by kryddersonn (Post 2811439)
Works great for me! just needed to add the rcon.txt file even on the new version, atleast that fixed it for me

rcon.txt is not needed anymore because there is a config.ini file in /addons/configs/fake_rcon

Thanks for the proposal, but I have fixed the problem, I'm not familiar with C++, I made a mistake.

vmisel, the release 1.2.1 fix the problem.
Please update it manually (or from your provider auto plugin), go to /addons/config/fake_rcon/config.ini and not on METAMOD FOLDER and config your rcon_password line, you have made a mistake on your config file, you have set "fake_rcon_password", please change for "rcon_password", if needed refer to my tutorial

vmisel 10-19-2023 17:02

Re: CS2 Fake Rcon
 
Quote:

Originally Posted by Kriax (Post 2811448)
rcon.txt is not needed anymore because there is a config.ini file in /addons/configs/fake_rcon

Thanks for the proposal, but I have fixed the problem, I'm not familiar with C++, I made a mistake.

vmisel, the release 1.2.1 fix the problem.
Please update it manually (or from your provider auto plugin), go to /addons/config/fake_rcon/config.ini and not on METAMOD FOLDER and config your rcon_password line, you have made a mistake on your config file, you have set "fake_rcon_password", please change for "rcon_password", if needed refer to my tutorial

Your explanation is terrible, I am sorry. I can't do anything with your explanations. I am not the only one having these problems.

vmisel 10-19-2023 17:03

Re: CS2 Fake Rcon
 
Quote:

Originally Posted by kryddersonn (Post 2811441)
if you need help resolving i can try, if you didnt fix it ;https://steamcommunity.com/id/krydderr/

Hi there, Thank you for your offer. I have added you on Steam

Kriax 10-19-2023 17:15

Re: CS2 Fake Rcon
 
My instructions are clear, the other problems simply came from the plugin itself ;)
I don't see how I can be clearer than this post https://forums.alliedmods.net/showpo...2&postcount=15, but i'll try :

1) Download the plugins

2) Be sure you are using the 1.1.2 version with "meta list" on your SERVER CONSOLE

3) Put it in the addons folder

4) Edit the config.ini file BE SURE YOU ARE USING "rcon_password" AND NOT "fake_rcon_password" (This was the case at the time of my last message).

5) On your server console (OR LOGS) during the starting up, check the logs "FAKE RCON IS", you will be sure if is working or not

6) Use fake_rcon_password THE_RCON_THAT_YOU_SET_ON_RCON_PASSWORD_IN_CON FIG_FILE

7) Use fake_rcon changelevel de_dust2

Zontir 10-22-2023 15:33

Re: CS2 Fake Rcon
 
Greetings, thank you very much for creating this plugin!
I have found a little problem that gave me a headache for a few minutes because my password did not work, and is that if the password starts with 0 the 0 is ignored and when you enter the password that is in the configuration file says the message "Bad password".

Onaj 10-30-2023 07:35

Re: CS2 Fake Rcon
 
@Kriax

Does the other plugins you have in this screenshot work in CS2 ?? :shock:

" https://prnt.sc/NecS1lYkKj3I "

In this post: https://forums.alliedmods.net/showpost.php?p=2811082

Wonderful work being one of the glorious first ;-)


All times are GMT -4. The time now is 11:54.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.