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
L33TGaming
Senior Member
Join Date: Jun 2014
Old 01-27-2015 , 20:41   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.1.1, 26/01/2015)
Reply With Quote #41

What happens if the bot's friends list goes full?
L33TGaming is offline
L33TGaming
Senior Member
Join Date: Jun 2014
Old 01-28-2015 , 01:24   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.1.1, 26/01/2015)
Reply With Quote #42

Plugin sometimes show this error in the logs:

L 01/28/2015 - 17:009: [redirect.smx] OnRconError: Socket disconnected early

L 01/28/2015 - 17:21:29: [SM] Native "GetArrayCell" reported: Invalid Handle 43950339 (error: 1)
L 01/28/2015 - 17:21:29: [SM] Displaying call stack trace for plugin "redirect.smx":
L 01/28/2015 - 17:21:29: [SM] [0] Line 88, redirect/paginated_panels.sp::pp_Close()
L 01/28/2015 - 17:21:29: [SM] [1] Line 509, redirect.sp::OnGetServerListCallBack()

L 01/28/2015 - 131:43: [SM] Native "IsClientConnected" reported: Client index 0 is invalid
L 01/28/2015 - 131:43: [SM] Displaying call stack trace for plugin "redirect.smx":
L 01/28/2015 - 131:43: [SM] [0] Line 499, redirect.sp::OnGetServerListCallBack()

Last edited by L33TGaming; 01-28-2015 at 01:26.
L33TGaming is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 01-28-2015 , 01:51   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.1.1, 26/01/2015)
Reply With Quote #43

Is there a friend list size limit? I'm unaware of that...

Seems to be the same issue as Doomhamer. Do you have some steps to reproduce? I don't have these errors on my servers...

Last edited by h3bus; 01-28-2015 at 03:23.
h3bus is offline
irepz
Senior Member
Join Date: Mar 2013
Location: France
Old 01-28-2015 , 05:24   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.1.1, 26/01/2015)
Reply With Quote #44

Thanks Mr H3bus for your amazing work !

I just installed it on my servers and it works well.


Some improvement ideas for the bot :
- ability to send message to players without adding friends
- ability to directly invite players on the selected server (like if you invite a friend in your party), maybe we need a bot by server ?

Thanks for all !
__________________
irepz is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 01-28-2015 , 05:58   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.1.1, 26/01/2015)
Reply With Quote #45

Quote:
Originally Posted by irepz View Post
- ability to send message to players without adding friends
- ability to directly invite players on the selected server (like if you invite a friend in your party), maybe we need a bot by server ?
Unfortunately this seems hardly doable as or both functionalities we need to fake the fact that the bot is playing on the server:
- We would need to have one bot per server (which is not really a problem)
- We would need to have the server fake the presence of the BOT on the server and that's not possible without a dedicated extension. Because steam clients do not send directly their "Now playing" statuses to the game coordinator, it seems that servers directly do this. Or maybe this is the role of the lobby system, including client and servers. Thus this can't be done from the steambot.

If such an extension existed this might be doable... I've no knowledge in extension writing, this would be very complex.
Also we would have to reverse-engineer the corresponding steam messages.

Last edited by h3bus; 01-28-2015 at 06:00.
h3bus is offline
Sprilo
Member
Join Date: Aug 2014
Old 01-28-2015 , 06:40   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.1.1, 26/01/2015)
Reply With Quote #46

Quote:
Originally Posted by h3bus View Post
Is there a friend list size limit? I'm unaware of that...
IIRC by default its 250 friends + 5 every steam level?
Sprilo is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 01-28-2015 , 07:13   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.1.1, 26/01/2015)
Reply With Quote #47

I will have to add a method to prune old unused friends.

I'll push an update tonight to fix the "Invalid Handle" errors some of you have been reporting. Hopefully I'll update the steambot to handle friends too.
h3bus is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 01-28-2015 , 13:19   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.1.2, 28/01/2015)
Reply With Quote #48

Quote:
v0.1.2 (28/01/2015):
redirect:
- Fixed Handle error on panels
- Fixed server informations not being translated in menu if SQL data is up to date
- Fixed server being selectable in menu even if full if refreshed through A2S
- Fixed incorrect paginated display when an element is non selectable
askconnect_steambot:
- Fixed error on unexpected steambot disconnect
steambot.py:
- Now removes old friends when number of friends reach a threshold (240 by default)
h3bus is offline
L33TGaming
Senior Member
Join Date: Jun 2014
Old 01-29-2015 , 03:33   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.1.2, 28/01/2015)
Reply With Quote #49

Updating to v0.1.2 added these errors:

L 01/29/2015 - 17:152: [redirect.smx] A2S Socket error on server 119.252.190.62:27015 |Type 6, errno 10061
L 01/29/2015 - 17:162: [redirect.smx] A2S Socket error on server 119.252.190.61:27016 |Type 6, errno 10061
L 01/29/2015 - 17:182: [redirect.smx] A2S Socket error on server 119.252.189.187:27230 |Type 6, errno 10061
L 01/29/2015 - 17:192: [redirect.smx] A2S Socket error on server 119.252.190.94:27016 |Type 6, errno 10061

L 01/29/2015 - 18:25:50: [SM] Native "IsClientConnected" reported: Client index 0 is invalid
L 01/29/2015 - 18:25:50: [SM] Displaying call stack trace for plugin "redirect.smx":
L 01/29/2015 - 18:25:50: [SM] [0] Line 499, redirect.sp::OnGetServerListCallBack()


This error still remained from previous version:
L 01/29/2015 - 19:24:13: [redirect.smx] OnRconError: Socket disconnected early

Last edited by L33TGaming; 01-29-2015 at 03:33.
L33TGaming is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 01-29-2015 , 03:45   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.1.2, 28/01/2015)
Reply With Quote #50

Quote:
Originally Posted by L33TGaming View Post
L 01/29/2015 - 17:152: [redirect.smx] A2S Socket error on server 119.252.190.62:27015 |Type 6, errno 10061
L 01/29/2015 - 17:162: [redirect.smx] A2S Socket error on server 119.252.190.61:27016 |Type 6, errno 10061
L 01/29/2015 - 17:182: [redirect.smx] A2S Socket error on server 119.252.189.187:27230 |Type 6, errno 10061
L 01/29/2015 - 17:192: [redirect.smx] A2S Socket error on server 119.252.190.94:27016 |Type 6, errno 10061
These servers might not be running when you tested.
Do you have a lot of these?
Quote:
Error 10061 (WSAECONNREFUSED): Connection refused. No connection could be made because the target computer actively refused it. This usually results from trying to connect to a service that is inactive on the foreign host—that is, one with no server application running.
Quote:
Originally Posted by L33TGaming View Post
L 01/29/2015 - 18:25:50: [SM] Native "IsClientConnected" reported: Client index 0 is invalid
L 01/29/2015 - 18:25:50: [SM] Displaying call stack trace for plugin "redirect.smx":
L 01/29/2015 - 18:25:50: [SM] [0] Line 499, redirect.sp::OnGetServerListCallBack()
This may happen if you ran the sm_servers command from rcon (or server console) or if someone disconnected right after issuing the command.
I'll add a check for next version.

Quote:
Originally Posted by L33TGaming View Post
This error still remained from previous version:
L 01/29/2015 - 19:24:13: [redirect.smx] OnRconError: Socket disconnected early
I would be please to know more about your firewall settings (especially TCP input on game port).
Maybe we could use a test redirect plugin to see when this is happening.
h3bus 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 13:58.


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