Raised This Month: $ Target: $400
 0% 

[ANY] Server Redirect - A full featured server listing/hoper (v0.2.6, 24/01/2016)


Post New Thread Reply   
 
Thread Tools Display Modes
BuSheeZy
Junior Member
Join Date: Oct 2015
Old 10-21-2015 , 11:42   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.1.2, 29/01/2015)
Reply With Quote #311

Quote:
Originally Posted by h3bus View Post
This might be possible, don't know if BuSheeZy takes requests.

An issue in nodejs Bot: bot is displayed as Offline, not that it is particularly important.
This might be caused by setPersonaState called to early. In the python implementation I remember delaying it until AccountInfo message is received.
https://github.com/busheezy/server-r...app.js#L59-L61

This is the correct spot according to their documentation and I've been using it for quite a while without issue. Message me on Steam when you're up and about, I would like to track 'er down.


Quote:
Originally Posted by dom3lek View Post
Is that possible to add people to my group after added to friends?
I think maybe it would be a bit cleaner to inform them through a steam message that there is a group and give them a steam command to enter if they want a quick invite. I kind of like the idea of them asking for the invite rather than forcing one upon them. Maybe H3bus can add a message and an optional cvar for group information and I'll add the command to give them an invite.

Last edited by BuSheeZy; 10-21-2015 at 11:53. Reason: prevent double post
BuSheeZy is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 10-21-2015 , 12:01   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.1.2, 29/01/2015)
Reply With Quote #312

Quote:
Originally Posted by BuSheeZy View Post
https://github.com/busheezy/server-r...app.js#L59-L61

This is the correct spot according to their documentation and I've been using it for quite a while without issue. Message me on Steam when you're up and about, I would like to track 'er down.
Does it work on your side? Mine is offline, but this could be due to another issue.

Also, what do I need to do to have the bot reconnecting automatically to steam. It disconnected today (issuing a disconnected message in log) and wouldn't reconnect.


Quote:
Originally Posted by BuSheeZy View Post
I think maybe it would be a bit cleaner to inform them through a steam message that there is a group and give them a steam command to enter if they want a quick invite. I kind of like the idea of them asking for the invite rather than forcing one upon them. Maybe H3bus can add a message and an optional cvar for group information and I'll add the command to give them an invite.
This is doable through a Cvar, however the not should check that player is not already in that group to avoid spamming him.

Last edited by h3bus; 10-21-2015 at 12:03.
h3bus is offline
BuSheeZy
Junior Member
Join Date: Oct 2015
Old 10-21-2015 , 12:54   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.1.2, 29/01/2015)
Reply With Quote #313

Quote:
Originally Posted by h3bus View Post
Does it work on your side? Mine is offline, but this could be due to another issue.

Also, what do I need to do to have the bot reconnecting automatically to steam. It disconnected today (issuing a disconnected message in log) and wouldn't reconnect.



This is doable through a Cvar, however the not should check that player is not already in that group to avoid spamming him.
I've pushed an update for auto reconnect. They would be spamming their selves.
BuSheeZy is offline
BuSheeZy
Junior Member
Join Date: Oct 2015
Old 10-21-2015 , 13:03   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.1.2, 29/01/2015)
Reply With Quote #314

Server Redirect Node Steam Bot

Github

If you are hosting your game servers and Steam bot on the same box then you want to have your ip in config.json to be set to 127.0.0.1 to prevent outside access.

If you are running your Steam bot on a server separate than your gaming boxes then you want to block unwanted access with iptables.

First we are going to accept connections on your default port of 19855 from our other server with an ip of 10.1.1.2 in this case. You can do this for multiple ip addresses, just replace the ip of course.
Quote:
iptables -I INPUT -p tcp -s 10.1.1.2 --dport 19855 -j ACCEPT
Next, we are going to drop all connections that haven't been accepted already.
Quote:
iptables -A INPUT -p tcp -s 0.0.0.0/0 --dport 19855 -j DROP
Lastly, we are going to save the iptables so they're present next reboot.
Quote:
iptables-save

Contact

AlliedModders

Make a Github issue if you're having problems with the bot.


Last edited by BuSheeZy; 10-06-2018 at 22:14.
BuSheeZy is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 10-22-2015 , 04:23   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.2.3, 20/10/2015)
Reply With Quote #315

I've updated teh first post with last version of plugin, and removed python implementation to switch over to your nodeJS one.
Above post is now linked in first page!
h3bus is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 10-22-2015 , 04:26   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.2.3, 20/10/2015)
Reply With Quote #316

BuSheeZy: there is an issue in the re-connect system after a disconnect. I think the bot should retry indefinitely (with a delay between retries) if it logged in once.

Code:
> [email protected] start /home/hebus/csgo/script/pybot/nodejs_steambot
> node app.js
Server running on port 19855

Sentry file found.  Sending to server.
Logged in!
[Error: Disconnected]
Sentry file found.  Sending to server.
Login failed.
[Error: Disconnected]
then the bot stays disconnected.

Last edited by h3bus; 10-22-2015 at 04:43.
h3bus is offline
BuSheeZy
Junior Member
Join Date: Oct 2015
Old 10-22-2015 , 11:40   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.2.3, 20/10/2015)
Reply With Quote #317

I made the bot attempt to connect every time there is an error. I just pushed version 1.1.5. Sorry about the problems. My bot hasn't disconnected in days.
BuSheeZy is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 10-22-2015 , 12:06   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.2.3, 20/10/2015)
Reply With Quote #318

Under test
I'll report back when (if ^^) it disconnects.
h3bus is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 10-23-2015 , 10:10   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.2.3, 20/10/2015)
Reply With Quote #319

A Disconnection/Reconnection occured seemlessly. Nice job!
h3bus is offline
mazdarx8
Veteran Member
Join Date: Aug 2014
Old 10-23-2015 , 10:55   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.2.3, 20/10/2015)
Reply With Quote #320

Hi,

Update CS:GO only drag & drop?
mazdarx8 is offline
Reply



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 00:48.


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