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

Server Hop [v0.8.1, updated 2010-03-21]


Post New Thread Reply   
 
Thread Tools Display Modes
Dragonisser
AlliedModders Donor
Join Date: Jan 2014
Location: Germany
Old 03-30-2018 , 10:38   Re: Server Hop [v0.8.1, updated 2010-03-21]
Reply With Quote #501

Doesnt seem to work in tf2. Worked until recently.

No errors, no logs, nothing happens when i type !hop or !servers
Dragonisser is offline
JoinedSenses
Senior Member
Join Date: Sep 2013
Old 07-02-2018 , 17:12   Re: Server Hop [v0.8.1, updated 2010-03-21]
Reply With Quote #502

ServerHop is not broken, Valve just changed the default value of a client console command. If you want to use ServerHop, the user must set cl_showpluginmessages 1 by adding it to /tf/cfg/autoexec.cfg

If you want to use this plugin without requiring people to do this, modify the plugin to use ClientCommand(client, "redirect %s", serverIP); instead of CreateDialog(param1, kv, DialogType_AskConnect); and create a panel to send to the player that requests permission.

Last edited by JoinedSenses; 07-04-2018 at 02:24.
JoinedSenses is offline
JoinedSenses
Senior Member
Join Date: Sep 2013
Old 07-04-2018 , 01:53   Re: Server Hop [v0.8.1, updated 2010-03-21]
Reply With Quote #503

I have patched server hop to instead use a panel and the redirect client command.

https://github.com/JoinedSenses/ServerHop
JoinedSenses is offline
Lubricant Jam
AlliedModders Donor
Join Date: Oct 2016
Location: United Kingdom
Old 07-04-2018 , 04:10   Re: Server Hop [v0.8.1, updated 2010-03-21]
Reply With Quote #504

Quote:
Originally Posted by JoinedSenses View Post
I have patched server hop to instead use a panel and the redirect client command.

https://github.com/JoinedSenses/ServerHop
(Only for TF2)
Lubricant Jam is offline
JoinedSenses
Senior Member
Join Date: Sep 2013
Old 07-04-2018 , 13:25   Re: Server Hop [v0.8.1, updated 2010-03-21]
Reply With Quote #505

^Thanks. I updated it again to run a check on cl_connectmethod, since redirect cannot be used on players who join through the Internet tab of the server browser.

Code:
public void OnClientAuthorized(int client, const char[] auth) {
	char clientConnectMethod[64];
	GetClientInfo(client, "cl_connectmethod", clientConnectMethod, sizeof(clientConnectMethod));
	if (!StrEqual(clientConnectMethod, "serverbrowser_internet")) {
		connectedFromFavorites[client] = true;
	}
}
JoinedSenses is offline
michaelrw
Senior Member
Join Date: Jul 2017
Old 07-08-2018 , 14:45   Re: Server Hop [v0.8.1, updated 2010-03-21]
Reply With Quote #506

anyone got this working on CSGO?
__________________

michaelrw is offline
Fearts
ferts of daeth
Join Date: Oct 2008
Old 08-11-2018 , 21:52   Re: Server Hop [v0.8.1, updated 2010-03-21]
Reply With Quote #507

Quote:
Originally Posted by JoinedSenses View Post
I have patched server hop to instead use a panel and the redirect client command.

https://github.com/JoinedSenses/ServerHop
Thank you for this. However, please update #define MAX_SERVERS 10. Took me a while to figure out why the plugin wouldn't load (I have more than 10 severs).
__________________
Fearts is offline
Fearts
ferts of daeth
Join Date: Oct 2008
Old 08-12-2018 , 18:10   Re: Server Hop [v0.8.1, updated 2010-03-21]
Reply With Quote #508

@JoinedSenses

Also a idea. If a player joins through internet tab and types !hop it posts the message:

Quote:
[ServerHop] Due to game changes, this feature cannot be used because you didn't connect from favorites. To use this feature, add this server to your favorites and reconnect through the favorites panel.
Which is great, but it would be nice if the player then clicks on a server from the menu it prints the server information to the chat with the IP. This way they still have the information they need to connect to that server.
__________________
Fearts is offline
JoinedSenses
Senior Member
Join Date: Sep 2013
Old 08-15-2018 , 21:20   Re: Server Hop [v0.8.1, updated 2010-03-21]
Reply With Quote #509

Updated: https://github.com/JoinedSenses/TF2-ServerHop

Changes: https://github.com/JoinedSenses/TF2-...29403a39776548

Main change was timing of message and displaying server info if client did not connect from favorites.

Last edited by JoinedSenses; 08-15-2018 at 21:20.
JoinedSenses is offline
Trice
Member
Join Date: Nov 2017
Location: Germany
Old 11-06-2018 , 09:34   Re: Server Hop [v0.8.1, updated 2010-03-21]
Reply With Quote #510

someone have a funktionally work Version for CSS?
Trice is offline
Send a message via Skype™ to Trice
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 04:31.


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