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
TheRedBull
Member
Join Date: May 2015
Old 10-17-2015 , 11:26   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.1.2, 29/01/2015)
Reply With Quote #281

What is the cvar for the menu so i can add it to the exception list for the kz-timer

sm_redirect ??
TheRedBull is offline
SOBgaming
Senior Member
Join Date: Jul 2015
Old 10-17-2015 , 15:15   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.1.2, 29/01/2015)
Reply With Quote #282

Basicly I just moved my db to a remote location and now the !hop works exactly one time out of two.

Example:
I type !hop.
I see the servers saying "Error Refreshing Info"

I type !hop a second time.
I see the servers and the numbers of players (pressing show players dosen't work).

I type !hop a third time and I'm back to step one.
I see the servers saying "Error Refreshing Info"

Any idea what this is caused by?
Thanks.
__________________
SOBgaming is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 10-17-2015 , 15:53   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.1.2, 29/01/2015)
Reply With Quote #283

Quote:
Originally Posted by TheRedBull View Post
What is the cvar for the menu so i can add it to the exception list for the kz-timer

sm_redirect ??
You mean the command? sm_servers, sm_hop and sm_list

Quote:
Originally Posted by SOBgaming View Post
Basicly I just moved my db to a remote location and now the !hop works exactly one time out of two.

Example:
I type !hop.
I see the servers saying "Error Refreshing Info"

I type !hop a second time.
I see the servers and the numbers of players (pressing show players dosen't work).

I type !hop a third time and I'm back to step one.
I see the servers saying "Error Refreshing Info"

Any idea what this is caused by?
Thanks.
This is really weird. Do you have a rate limiter for server queries in your iptables?
Do you have any errors in log?

Last edited by h3bus; 10-17-2015 at 15:54.
h3bus is offline
SOBgaming
Senior Member
Join Date: Jul 2015
Old 10-17-2015 , 19:33   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.1.2, 29/01/2015)
Reply With Quote #284

Quote:
Originally Posted by h3bus View Post
This is really weird. Do you have a rate limiter for server queries in your iptables?
Do you have any errors in log?
This what I have:

Code:
L 10/17/2015 - 13:50:00: [redirect.smx] OnRconError: Socket error: Send Error (errno.h Error 110)
L 10/17/2015 - 15:06:59: [redirect.smx] OnRconError: Socket error: Send Error (errno.h Error 110)
And no I don't have any rate limiter for server queries!
__________________

Last edited by SOBgaming; 10-17-2015 at 19:34.
SOBgaming is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 10-18-2015 , 06:35   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.1.2, 29/01/2015)
Reply With Quote #285

Error 110 is connection timeout. However the error you get is on RCON command, it's not related to refreshing infos.
For some reasons, refreshing info won't log errors if they happened, I didn't though it was usefull. But I can add this in a test version to check what happens.

For me this can't be related to your Db, Db connection are persistant, and the fact that your servers IP are shown in menu proves thta they are actually retrieved form DB.

I can't think of anything but connectivity issues.
h3bus is offline
SOBgaming
Senior Member
Join Date: Jul 2015
Old 10-18-2015 , 09:34   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.1.2, 29/01/2015)
Reply With Quote #286

Quote:
Originally Posted by h3bus View Post
Error 110 is connection timeout. However the error you get is on RCON command, it's not related to refreshing infos.
For some reasons, refreshing info won't log errors if they happened, I didn't though it was usefull. But I can add this in a test version to check what happens.

For me this can't be related to your Db, Db connection are persistant, and the fact that your servers IP are shown in menu proves thta they are actually retrieved form DB.

I can't think of anything but connectivity issues.
So you think connectivity issue by the plugin itself? Or the server?
I can send you my redirect settings maybe it could be due to thoses? Not sure :/
The test idea would be much appreciated.

It was a feature that I really liked on my servers hopefully I/we can find a fix..
__________________
SOBgaming is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 10-18-2015 , 10:02   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.1.2, 29/01/2015)
Reply With Quote #287

Please PM me your email so I can send you the debug version.
h3bus is offline
BuSheeZy
Junior Member
Join Date: Oct 2015
Old 10-18-2015 , 22:16   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.1.2, 29/01/2015)
Reply With Quote #288

I hope you don't mind me posting this here.

I wrote a node.js implementation of your chat bot server real quickly, today.
I'll add some stuff to the readme soon. If you want any changes, let me know.

https://github.com/busheezy/server-r...node-steam-bot

To install:
* Install Node
* Clone or download the repo
* Navigate to the app's directory
* "npm install" in shell
* "npm start" in shell

You can use something like forever.js or pm2 to ensure its uptime.


Thanks for your work.
Also, is there any way you can make a socket reconnect if it disconnects?

Last edited by BuSheeZy; 10-19-2015 at 02:35.
BuSheeZy is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 10-19-2015 , 03:39   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.1.2, 29/01/2015)
Reply With Quote #289

Thank you for your work, in fact I'm really pleased you've done this.

The python implementation is too buggy. If it's OK, I will be pleased to replace it by your implementation once it is stable and tested.

For your question, I'm not sure if you are talking of sockets in sourcemod plugins or in JS.
h3bus is offline
SOBgaming
Senior Member
Join Date: Jul 2015
Old 10-19-2015 , 07:24   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.1.2, 29/01/2015)
Reply With Quote #290

Quote:
Originally Posted by h3bus View Post
Please PM me your email so I can send you the debug version.
Why not post it here? I pm'd you.
__________________
SOBgaming 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 06:31.


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