GAMMACASE / ServerRedirect

SourceMod plugin that allows players to see and connect to other servers
https://forums.alliedmods.net/showthread.php?t=322306
GNU General Public License v3.0
67 stars 26 forks source link

how to fix that error for reason #42

Closed hanicsgo closed 2 years ago

hanicsgo commented 2 years ago

L 01/28/2022 - 11:10:53: Info (map "de_mirage") (file "C:\steamcmd\csgo2\csgo\addons\sourcemod\logs\errors_20220128.log") L 01/28/2022 - 11:10:53: [gv.smx] Can't add reason: , because its smaller than 3 letters. (LINE: 5) L 01/28/2022 - 11:10:54: [server_redirect.smx] [Server Redirect] Failed to get ip for section "[ANH EM YEN BAI] PUBLIC 5v5 #1 [!ws !dao !gang !sticker]" skipping.

Well how can i fix this

GAMMACASE commented 2 years ago

Please, provide the full config that was used too, otherwise I wont be able to help.

hanicsgo commented 2 years ago

"Servers" { Server entry key, each server should be under it's own key "server1" { "ip" "anhemyenbai.ddns.net:27005" "alias_ip" "anhemyenbai.ddns.net:27005" "display_name" "[ANH EM YEN BAI] PUBLIC 5v5 #1 [!ws !dao !gang !sticker]" }

"server2"
{
    "ip"            "anhemyenbai.ddns.net:27015"
    "display_name"  "[ANH EM YEN BAI] PUBLIC 5v5 #2 [!ws !dao !gang !sticker]"
}

}

GAMMACASE commented 2 years ago

Would ask you to upload the config to some external service (like pastebin) to not lose its formatting, but you already have Server entry key, each server should be under it's own key which should be commented out.

hanicsgo commented 2 years ago

well its not work about me though i have dhook and socket

hanicsgo commented 2 years ago

btw: i fixed that tks