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

[CSGO] Servers menu | ServerRedirect [1.3.1]


Post New Thread Reply   
 
Thread Tools Display Modes
henriquemod
Junior Member
Join Date: May 2020
Old 03-16-2021 , 18:17   Re: [CSGO] Servers menu | ServerRedirect [1.2.0]
Reply With Quote #71

This plugin is very useful, good work!

Id like to suggest an improvement, in some cases (like mine) servers would communicate with each other locally in network, that would cause problems when an external client try to redirect cause plugin will redirect the client with local ip (192.168.1.x for example) what will obviously result in a timeout connection, my solution involves implementing an alias in cfg file so if the admin want to put local ip for the server be able to see the others in the same local network and put an alias ip for the plugin redirect players with the public ip address.


I hope it helps someone

EDIT:

Just a quick update, if you want alias ip to be showed in advertisements change line 475 in server_redirect.sp to:
Quote:
if (se.ip_alias[0]){
PrintToChatColored(i, "%t", "server_advertisement_server_stats", buff, se.ip_alias);
}
else{
PrintToChatColored(i, "%t", "server_advertisement_server_stats", buff, se.ip);
}
Attached Files
File Type: cfg server_redirect.cfg (569 Bytes, 67 views)
File Type: sp Get Plugin or Get Source (server_redirect.sp - 52 views - 29.1 KB)
File Type: smx server_redirect.smx (24.7 KB, 60 views)

Last edited by henriquemod; 03-16-2021 at 19:27.
henriquemod is offline
butare
Senior Member
Join Date: Nov 2016
Old 03-17-2021 , 16:57   Re: [CSGO] Servers menu | ServerRedirect [1.2.0]
Reply With Quote #72

Quote:
Originally Posted by henriquemod View Post
This plugin is very useful, good work!

Id like to suggest an improvement, in some cases (like mine) servers would communicate with each other locally in network, that would cause problems when an external client try to redirect cause plugin will redirect the client with local ip (192.168.1.x for example) what will obviously result in a timeout connection, my solution involves implementing an alias in cfg file so if the admin want to put local ip for the server be able to see the others in the same local network and put an alias ip for the plugin redirect players with the public ip address.


I hope it helps someone

EDIT:

Just a quick update, if you want alias ip to be showed in advertisements change line 475 in server_redirect.sp to:
I've added it to master branch, but changed a bit more stuff so alias_ip is also displayed in servers info menu and other places where you normally would see default ip displayed.
butare is offline
butare
Senior Member
Join Date: Nov 2016
Old 03-17-2021 , 16:59   Re: [CSGO] Servers menu | ServerRedirect [1.2.0]
Reply With Quote #73

Quote:
Originally Posted by Sincronic View Post
Hello. There is a bug, i have 8 servers in redirect menu and is showing just 5 and the buttons with number 6 and 7 and 9 is not showing to go to next page.

https://ibb.co/tbJLfyW
I've added some cvars to help prevent buffer overflow in cases like yours, you might try it out by compiling master branch.
butare is offline
foxsay
AlliedModders Donor
Join Date: Sep 2013
Old 04-09-2021 , 19:12   Re: [CSGO] Servers menu | ServerRedirect [1.2.0]
Reply With Quote #74

can you add DNS support?
__________________
poggers
foxsay is offline
Cats869
Junior Member
Join Date: Apr 2020
Old 06-02-2021 , 11:44   Re: [CSGO] Servers menu | ServerRedirect [1.3.1]
Reply With Quote #75

Does anyone know if this plugin is able to work on Counter Strike Source?
Cats869 is offline
butare
Senior Member
Join Date: Nov 2016
Old 06-02-2021 , 11:47   Re: [CSGO] Servers menu | ServerRedirect [1.3.1]
Reply With Quote #76

Quote:
Originally Posted by Cats869 View Post
Does anyone know if this plugin is able to work on Counter Strike Source?
No it's CSGO only.
butare is offline
butare
Senior Member
Join Date: Nov 2016
Old 06-02-2021 , 11:48   Re: [CSGO] Servers menu | ServerRedirect [1.2.0]
Reply With Quote #77

Quote:
Originally Posted by foxsay View Post
can you add DNS support?
Can you provide more info on what is your use case and what do you mean here?
butare is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 06-02-2021 , 11:49   Re: [CSGO] Servers menu | ServerRedirect [1.2.0]
Reply With Quote #78

Quote:
Originally Posted by butare View Post
Can you provide more info on what is your use case and what do you mean here?
I believe it's the Custom IPS he says, for example:
  • csgo.gruposteam.com:27015
  • csgo.gruposteam.com:27018
  • csgo.gruposteam.com:27025
paulo_crash is offline
butare
Senior Member
Join Date: Nov 2016
Old 06-02-2021 , 11:53   Re: [CSGO] Servers menu | ServerRedirect [1.2.0]
Reply With Quote #79

Quote:
Originally Posted by paulo_crash View Post
I believe it's the Custom IPS he says, for example:
  • csgo.gruposteam.com:27015
  • csgo.gruposteam.com:27018
  • csgo.gruposteam.com:27025
That was added in the latest version 1.3.1.
butare is offline
Kubad
Senior Member
Join Date: Sep 2015
Location: Czech Republic
Old 06-04-2021 , 16:18   Re: [CSGO] Servers menu | ServerRedirect [1.3.1]
Reply With Quote #80

can you disable count gotv and show gotv in list ?
Kubad 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 16:47.


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