Raised This Month: $51 Target: $400
 12% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
Andrey309a
Junior Member
Join Date: Feb 2017
Old 05-20-2017 , 06:51   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.2.6, 24/01/2016)
Reply With Quote #451

L 05/20/2017 - 12:00:18: SourceMod error session started
L 05/20/2017 - 12:00:18: Info (map "am_sandtunne_64") (file "errors_20170520.log")
L 05/20/2017 - 12:00:18: [redirect.smx] A2S Socket error on server 51.254.154.195:27015 |Type 6, errno 111
L 05/20/2017 - 12:00:18: [redirect.smx] A2S error 'SocketError' while refreshing 51.254.154.195:27015 infos
L 05/20/2017 - 12:02:18: [redirect.smx] A2S Socket error on server 51.254.154.197:27015 |Type 6, errno 111
L 05/20/2017 - 12:02:18: [redirect.smx] A2S error 'SocketError' while refreshing 51.254.154.197:27015 infos
L 05/20/2017 - 12:14:18: [redirect.smx] A2S Socket error on server 94.23.80.85:27015 |Type 6, errno 111
L 05/20/2017 - 12:14:18: [redirect.smx] A2S error 'SocketError' while refreshing 94.23.80.85:27015 infos
L 05/20/2017 - 12:16:19: Error log file session closed.

Spam errors all the time.


[01] SourceMod (1.8.0.5995) by AlliedModders LLC
[02] CS Tools (1.8.0.5995) by AlliedModders LLC
[03] SDK Tools (1.8.0.5995) by AlliedModders LLC
[04] SDK Hooks (1.8.0.5995) by AlliedModders LLC
[05] SteamWorks Extension (1.2.1) by Kyle Sanderson
[06] PTaH (P Tools and Hooks) (1.0.5) by Phoenix (??????????????)
[07] DHooks (2.0.5) by Dr!fter

0:<TAB>"Metamod:Source 1.10.7-dev"

Any solutions?
---------------------
Andrey309a is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 05-20-2017 , 08:37   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.2.6, 24/01/2016)
Reply With Quote #452

Ernoo 111 is "connection refused", which means that your server is not able to reach other servers.

There could be plenty of reason for that, one is a misconfiguration of firewalls. Check that UDP port game is open between your servers.

This could also be due to a routing problem usage of public IPs on a private network. You may solve this by setting redirect_force_query_ip CVars
h3bus is offline
LiMaaa
AlliedModders Donor
Join Date: Oct 2010
Location: Behind You
Old 05-27-2017 , 17:03   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.2.6, 24/01/2016)
Reply With Quote #453

@h3bus

Thanks for a great plugin. I have some questions though. I have installed everything correctly, including your modded hreserved slots.

1. If i edit the "server offers to reconnect" message in the translation file of hreservedslots.phrases.txt will that be the message that is shows to the user when they are forced to spectate to select a server to be redirected to?

2. Whilst the user is in specate selecting a server, and the reserved slot is taken by the user who just joined, does this mean other users who have a reserved slot flag cannot join until user selects a server and the reserved slot is again free?

3. My old server hop plugin i used allowed people with reserved slot flag to join a full server via the !hop menu. It would connect them to the server and kick a player similar to this plugin. For some reason this plugin turns full server white and does not give user an option to !hop to the server even if they have a reserved slot flag.

Option #1: Allow users to !hop to server even if its full, if they have flag it will kick someone, if they don't they will receive "Sorry this server is full".

Option #2: Allow users to !hop to server even if its full if user has reserved slot flag. If user does not have reserved slot flag, full server will show WHITE not allowing them to hop to server.

Are any of those 2 options currently possible in this version? If not is it possible to implement those changes?
__________________
>>> Hiring SourcePawn, Node.js, SteamAPI DEVS <<<
Feel free to add me on steam or PM me on the forums.
Endless Gamers Community
http://endlessgamers.com
LiMaaa is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 05-27-2017 , 18:39   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.2.6, 24/01/2016)
Reply With Quote #454

1. Yes
2. Yes, you need to add additional reserved slot for this. I used to have 2 slots for redirections.
3. Yes this is a problem with redirect. There is no easy way to know if a client have specific flags on a server, however what could be done is allowing connection to full servers.
To acheive this, redirect.sp must be modified and recompiled. You might need an 1.6 compiler.

The modification is the removal of lines 942 and 943 in function a2s_callback
Code:
    if(infos[a2s_status] == eA2S_Success)
    {
        new flags = ITEMDRAW_NO_UPDATE;
        // if(infos[a2s_players]-infos[a2s_bots] >= infos[a2s_maxplayers])
        //    flags = ITEMDRAW_WITHNEXT | ITEMDRAW_DISABLED;
        
        Format(itemId, sizeof(itemId), "t%s", infos[a2s_ip]);
h3bus is offline
LiMaaa
AlliedModders Donor
Join Date: Oct 2010
Location: Behind You
Old 05-27-2017 , 21:14   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.2.6, 24/01/2016)
Reply With Quote #455

Thank you for the quick reply. I will make the changes to the sp and report my experience.
__________________
>>> Hiring SourcePawn, Node.js, SteamAPI DEVS <<<
Feel free to add me on steam or PM me on the forums.
Endless Gamers Community
http://endlessgamers.com
LiMaaa is offline
j1gg
Senior Member
Join Date: Dec 2015
Old 06-17-2017 , 12:46   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.2.6, 24/01/2016)
Reply With Quote #456

How can I compile this? On sm 1.9 I have a lot of errors while compiling.
__________________
j1gg is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 06-17-2017 , 15:09   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.2.6, 24/01/2016)
Reply With Quote #457

Nees SM 1.6
h3bus is offline
condolent
AlliedModders Donor
Join Date: Jan 2016
Location: gc_sLocation;
Old 08-04-2017 , 04:40   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.2.6, 24/01/2016)
Reply With Quote #458

Not a big fan of that the mysql tables are un-editable.
I'd like to manually remove old IPs instead of having to wait for it to time out on them a couple of times.

Other than that this is a great plugin and I've used it for almost a year now! It's great with the advertisements that pop up in chat when there's x amount of players on another of my servers!
__________________
condolent is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 08-05-2017 , 03:46   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.2.6, 24/01/2016)
Reply With Quote #459

You can manually remove them if you wish.
h3bus is offline
nco
Junior Member
Join Date: Mar 2016
Location: c:/home
Old 08-21-2017 , 10:42   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.2.6, 24/01/2016)
Reply With Quote #460

L 08/20/2017 - 16:15:25: SourceMod error session started
L 08/20/2017 - 16:15:25: [redirect.smx] OnRconError: Socket disconnected early
L 08/20/2017 - 16:27:51: Error log file session closed.

L 08/20/2017 - 22:045: SourceMod error session started
L 08/20/2017 - 22:045: [redirect.smx] OnRconError: Socket disconnected early
L 08/20/2017 - 225:18: Error log file session closed.

L 08/21/2017 - 12:02:08: SourceMod error session started
L 08/21/2017 - 12:02:08: [redirect.smx] OnRconError: Socket disconnected early
L 08/21/2017 - 12:10:00: Error log file session closed.
L 08/21/2017 - 14:55:06: SourceMod error session started
L 08/21/2017 - 14:55:06: [redirect.smx] A2S Socket error on server 84.200.229.71:27065 |Type 6, errno 111
L 08/21/2017 - 14:55:06: [redirect.smx] A2S error 'SocketError' while refreshing 84.200.229.71:27065 infos
L 08/21/2017 - 15:14:40: Error log file session closed.

This happens sometimes.
Any ideas?
__________________
nco 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:17.


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