PDA

View Full Version : Problem: xredirect.sma::welcome_message (line 2424)


Bugg
08-09-2012, 15:02
I have this errors on AMX LOG.

xredirect.sma::welcome_message (line 2424)

public welcome_message(id[])
{
new nID = id[0]
if (is_user_connected(nID)) // make sure the player didn't already disconnect within the set_task delay
{
new nLastServer = g_nLastServer[nID - 1]
if ((nLastServer >= 0) && (nLastServer != g_nOwnServer) && (nLastServer < MAX_SERVERFORWARDS))
{
new sAnnounceText[MAX_WELCOME_LEN]
format(sAnnounceText, MAX_WELCOME_LEN - 1, "%L", nID, "MSG_REDIRFROM", g_saServerNames[g_nOwnServer], g_saServerNames[nLastServer]) // linea 2424
if ((get_pcvar_num(cvar_retry) == 1) && (get_pcvar_num(cvar_show) == 1))
format(sAnnounceText, MAX_WELCOME_LEN - 1, "%s^n%L", sAnnounceText, nID, "MSG_RETRY_BACK_ANNOUNCE")

set_hudmessage(000, 100, 255, -1.0, -1.0, 0, 0.0, 10.0, 0.5, 2.0, 1)
show_hudmessage(nID, sAnnounceText)
}
}
}

YamiKaitou
08-09-2012, 17:30
Give the full log message, not part of it

Mordekay
08-10-2012, 06:44
Also read THIS (http://forums.alliedmods.net/showthread.php?t=133929)

xOR
08-15-2012, 04:53
check your normal AMXX log too, it probably says the own server wasn't detected. if that is the case you find that point covered on the FAQ (http://wiki.x-base.org/wakka.php?wakka=xREDIRECT/FAQ#5) questions 5 and 6.