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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Czar_
Senior Member
Join Date: Nov 2016
Location: Moms Basement
Old 12-14-2016 , 12:56   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.2.6, 24/01/2016)
Reply With Quote #441

Quote:
Originally Posted by h3bus View Post
One server having access to the mySQL database is à thing. You Can check in the database if the tables are actually created and if a line coresponding to that server is present.
However, !hop command won't show anything until another server running the plugin has registered into the SAME database.
Both servers have the same config for databases.
"redirect"
{
"driver" "mysql"
"host" "localhost"
"database" "redirect"
"user" "root"
"pass" "<password>"
}

Just checked the redirect table and its empty. Not sure how to fix.
mysql> use redirect;
Database changed
mysql> show tables;
Empty set (0.00 sec)

EDIT: Never I got it working . Sorry for being such a pain on here
__________________

Last edited by Czar_; 12-14-2016 at 13:18.
Czar_ is offline
darkyy1994
Member
Join Date: Feb 2015
Old 01-19-2017 , 20:25   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.2.6, 24/01/2016)
Reply With Quote #442

it shows all my other servers offline anyone please can help?
darkyy1994 is offline
Czar_
Senior Member
Join Date: Nov 2016
Location: Moms Basement
Old 01-19-2017 , 22:03   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.2.6, 24/01/2016)
Reply With Quote #443

Quote:
Originally Posted by darkyy1994 View Post
it shows all my other servers offline anyone please can help?
Are all of your servers using the same database?
__________________
Czar_ is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 01-20-2017 , 02:40   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.2.6, 24/01/2016)
Reply With Quote #444

What do you mean by "offline" exacly?
Did you check sourcemod error log?

Last edited by h3bus; 01-20-2017 at 03:58.
h3bus is offline
3agopka
Member
Join Date: Oct 2014
Location: Bulgaria/Stara Zagora
Old 02-05-2017 , 01:52   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.2.6, 24/01/2016)
Reply With Quote #445

I have 4 servers , 2 ot them are with password !2 of them dont have pass
and my error log is :
Code:
L 02/03/2017 - 21:21:51: [redirect_askconnect_steambot.smx] Socket error 3, 111
L 02/03/2017 - 21:38:39: Error log file session closed.
i have socket too - socket.ext.so
WTF ? how to make this plugin to work ?
__________________
http://forum.iplay.bg/
3agopka is offline
Send a message via Skype™ to 3agopka
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 02-05-2017 , 08:30   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.2.6, 24/01/2016)
Reply With Quote #446

It seems like you are using the steambot module but the steambot is either not running or not reachable.

For the configuration look into sourcemod/cfg/redirect/ you should have one configuration file per server instance there.
Because two of your servers have passwords you might want to create a group for these to expose the password only in this group.
So assuming servers 1 and 2 are not passworded and 3 and 4 are.

The group settings for 1 and 2 would be
Code:
redirect_my_groups                A
redirect_show_in_groups           AB
redirect_expose_pw_for_groups     ""
redirect_advertise_in_groups      AB
And for servers 3 and 4
Code:
redirect_my_groups                B
redirect_show_in_groups           AB
redirect_expose_pw_for_groups     B
redirect_advertise_in_groups      AB
That way you can join any server, but you'll het the password only if you already are in a passworded server

Last edited by h3bus; 02-05-2017 at 08:30.
h3bus is offline
GnomeChompski
Senior Member
Join Date: Jul 2012
Old 04-28-2017 , 07:57   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.2.6, 24/01/2016)
Reply With Quote #447

For some reason the plugin isn't advertising in game, i have Redirect.smx and redirect_askconnect_tf2_redirect.smx enabled.

Code:
// This file was auto-generated by SourceMod (v1.8.0.5973)
// ConVars for plugin "redirect.smx"


// Advertise !follow command when a player switched servers.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
redirect_advertise_follow "1"

// Groups where this server is advertised
// -
// Default: "A"
redirect_advertise_in_groups "A"

// Minimum players to advertise this server
// -
// Default: "2"
// Minimum: "0.000000"
redirect_advertise_me_min_players ""

// Minimum free slots to advertise this slots
// -
// Default: "2"
// Minimum: "0.000000"
redirect_advertise_me_min_slots "1"

// Cycling server advertisement period. Set to -1 to disable.
// -
// Default: "120.0"
// Minimum: "-1.000000"
redirect_advertise_period "60.0"

// Automatically cleanup old database entries.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
redirect_autocleanup_db "1"

// Groups where this server expose it's sv_password (if set). Note that password is visible to players that select the server
// -
// Default: ""
redirect_expose_pw_for_groups ""

// Maximum follow advertise time in minutes after a player choose a server.
// -
// Default: "2"
redirect_follow_timeout "2"

// Force the external IP of server (eg: "10.20.30.40:27015").
// -
// Default: ""
redirect_force_ip ""

// Force the query IP of server (eg: "192.168.0.10:27015").
// -
// Default: ""
redirect_force_query_ip ""

// Groups that will use the query IP, others will use external IP
// -
// Default: "A"
redirect_force_query_ip_for_group "A"

// Groups this server belongs to (each char is a group)
// -
// Default: "A"
redirect_my_groups "A"

// Automatically register server in database.
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
redirect_register_server "1"

// Server display order, lowest value are displayed first.
// -
// Default: "1"
// Minimum: "0.000000"
redirect_server_order "1"

// Minimum time seconds between each server queries
// -
// Default: "5"
redirect_server_queries_cooldown "5"

// If non empty, use this name instead of hostname.
// -
// Default: ""
redirect_server_short_hostname ""

// Use a one line chat message for server adverts.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
redirect_short_advertise_message "1"

// Use a one line chat message for follow adverts.
// -
// Default: "0"
// Minimum: "0.000000"
// Maximum: "1.000000"
redirect_short_follow_message "0"

// Groups where this server is listed by !server command
// -
// Default: "A"
redirect_show_in_groups "A"
__________________
GnomeChompski is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 04-29-2017 , 04:07   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.2.6, 24/01/2016)
Reply With Quote #448

Try setting redirect_advertise_me_min_players to 0 for all serveurs.
h3bus is offline
controlsuz123
Member
Join Date: Nov 2009
Old 05-16-2017 , 12:24   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.2.6, 24/01/2016)
Reply With Quote #449

hi @h3bus

after cs:go update when I'm using your hreserved_slots.smx, my servers are crashing..

is there any chance to fix it pls ?
controlsuz123 is offline
h3bus
AlliedModders Donor
Join Date: Nov 2013
Old 05-16-2017 , 20:34   Re: [ANY] Server Redirect - A full featured server listing/hoper (v0.2.6, 24/01/2016)
Reply With Quote #450

Im sorry but stepping away from valve and SM since more than a year put me in a very bad position to reproduce then solve your problem.

That being said, hreserved is a very simple plugin that should not cause any crash. I advise you to update SM if you haven't already.
h3bus 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 00:41.


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