Raised This Month: $246 Target: $400
 61% 

Feature Request [SOLVED] SB++ Dashboard Server Status


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
r3v
Senior Member
Join Date: Feb 2016
Location: Lithuania, Vilnius
Old 01-03-2021 , 12:07   [SOLVED] SB++ Dashboard Server Status
Reply With Quote #1

Hello.
A couple of days ago, i found this thread: https://steamcommunity.com/discussio...8351344359625/
With STEAM_GAMESERVER_A2S_INFO_REQUIRE_CHALLENGE=1 my sourcebans page (game monitor) shows the server is offline, but i can join in my server, find on "Find servers - Internet, Favourites". Same problem with Gametracker (Showing offline) but server is Online.
Tested on my CS:GO server, and clean CS:S server from another Dedicated Server.
By default, the "challenge" command is disabled, but in the future, i think it will be enabled, so it's need to be updated in sourcebans to show server status online if "challenge" is on?
Asking this, because i'm getting whese query attacks, so i'm trying protect the servers with iptables, without any damage.

Last edited by r3v; 01-17-2021 at 07:12.
r3v is offline
asdfxD
Veteran Member
Join Date: Apr 2011
Old 01-10-2021 , 15:04   Re: [Question] SB++ Dashboard Server Status
Reply With Quote #2

Yes, sourcebans and gametracker needs to be updated to work again with this. Where i have to put this commands in, in linux after uploading the new files?

STEAM_GAMESERVER_A2S_INFO_REQUIRE_CHALLENGE=1

Last edited by asdfxD; 01-10-2021 at 15:04.
asdfxD is offline
r3v
Senior Member
Join Date: Feb 2016
Location: Lithuania, Vilnius
Old 01-11-2021 , 11:57   Re: [Question] SB++ Dashboard Server Status
Reply With Quote #3

Okey, i can write step, how you can enable this only for LINUX.
1) Turn off fully your csgo/css linux server. (command: quit, and disable server screen CTRL+C)
2) Go to in that directory, where did you installed ./steamcmd.sh and find linux32 folder
3) In linux32 folder find crashhandler.so and steamclient.so
4) Copy whese files to your Main CSGO/CSS server /bin directory (for example /home/csgo_awp_server/bin) (ofcourse, before it, backup old files or rename it for example crashhandler_.so & steamclient_.so
5) Go to your Main server directory and find srcds_run file. Open it. ( I recommend WinSCP for this or other text editor )
6) Find line: export LD_LIBRARY_PATH="${SRCDS_DIR}:${SRCDS_DIR}/bin:${LD_LIBRARY_PATH}"
7) After this line, add:

export STEAM_GAMESERVER_A2S_INFO_REQUIRE_CHALLENGE=1
export STEAM_GAMESERVER_RATE_LIMIT_200MS=25
export STEAM_GAMESERVER_PACKET_HANDLER_NO_IPC=1

Save it.

(For more info, go to this discussion: https://steamcommunity.com/discussio...8351344359625/ )

And Start the server like as always...

I have CSGO windows servers to on my PC, but i can't find that "srcds_run" file... So, just google it, or write comments in that Steam discussion thread where paste whese commands.

I'm using 6 CS:GO servers on Linux Debian 10. Whese commands with variables =1 , =25 , =1 which i'm using for now. My servers are in Lithuania, so Sweden or United Kingdom can see my servers to.
I'm always getting DDoS'ed everyday, so lag only appears for short time, for 3 seconds or little more.

So sooner or later, i think Steam will be updated the all servers for all with this Challenge=1. Not for only CS:GO, CS:S games, and for many games...
But for now, by the default, the Challenge is turned off, for testing maybe.

And it would be great to fix this thing on Sourcebans Website Page.

Last edited by r3v; 01-11-2021 at 12:05.
r3v is offline
asdfxD
Veteran Member
Join Date: Apr 2011
Old 01-11-2021 , 22:56   Re: [Question] SB++ Dashboard Server Status
Reply With Quote #4

Does not work here. Also stop server, copy files, add stuff to srcds_run and run server again.



gametracker & sourcebans still work.
asdfxD is offline
r3v
Senior Member
Join Date: Feb 2016
Location: Lithuania, Vilnius
Old 01-12-2021 , 13:27   Re: [Question] SB++ Dashboard Server Status
Reply With Quote #5

Looks like you're still using old csgo files.

1) Go in that discussion thread, and download what .zip file, and copy 2 files from linux32 folder, and start the server.

Or...

2) Try start ./steamcmd.sh to update all steam files and exit from steam login console. In WinSCP options, make visible all hidden folders. Go where did you downloaded ./steamcmd (i downloaded in /root folder) and find hidden folder called ".steam/sdk32/steamclient.so" and edit link to updated steamclient.so for example /root/linux32/steamclient.so
And start the server.

Just downloaded clean CS:S server on my another linux VPS for testing. Changed 2 files (from updated ./steamcmd linux32 folder), added lines 3 lines and added on my Dedicated server CS:S ip address in sourcebans for the test. With challenge didn't show the server, without it - shows... Using updated SB++ from here https://github.com/sbpp/sourcebans-pp/

Last edited by r3v; 01-12-2021 at 13:36.
r3v is offline
r3v
Senior Member
Join Date: Feb 2016
Location: Lithuania, Vilnius
Old 01-17-2021 , 03:48   Re: [Question] SB++ Dashboard Server Status
Reply With Quote #6

Okey, found the fix for this "problem"

https://github.com/xPaw/PHP-Source-Q...ourceQuery.php

Copy/paste in:

/var/www/html/bans/includes/SourceQuery/SourceQuery.php

Last edited by r3v; 01-17-2021 at 03:49.
r3v is offline
dran1x
Junior Member
Join Date: May 2020
Old 03-21-2021 , 17:14   Re: [SOLVED] SB++ Dashboard Server Status
Reply With Quote #7

Cant you just put these in the launch options? like this
Code:
./srcds_run -game csgo -console -port {{SERVER_PORT}} +ip 0.0.0.0 +map {{SRCDS_MAP}} STEAM_GAMESERVER_RATE_LIMIT_200MS=75 STEAM_GAMESERVER_PACKET_HANDLER_NO_IPC=1
dran1x is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:31.


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode