PDA

View Full Version : New x-redirect_beta.sma


KadiR
11-03-2009, 15:35
In the x-redirect_beta.sma, there are alot of these errors:

Error: Undefined symbol "get_current_players" on line 1096
Error: Undefined symbol "get_current_players" on line 1200
Error: Undefined symbol "imenu" on line 1210
Error: Undefined symbol "paramref" on line 1210
Error: Invalid expression, assumed zero on line 1210
Error: Too many error messages on one line on line 1210

Compilation aborted.
6 Errors.

xOR
11-05-2009, 06:49
web compiler or local compiler?

EThaNol
11-05-2009, 12:57
both compiler have the errors

KadiR
11-05-2009, 13:43
web compiler or local compiler?

I tryed to compile it with the local compiler, cause of the xredirect include file, and I had this errors..

xOR
11-05-2009, 15:20
pretty weird, i must have broken something with last upload. i uploaded a new version, please let me know whether it works better.

EThaNol
11-06-2009, 11:02
not fixed.

web compiler:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team

/home/groups/amxmodx/tmp3/phpxqY9x4.sma(1096) : error 017: undefined symbol "get_current_players"
/home/groups/amxmodx/tmp3/phpxqY9x4.sma(1200) : error 017: undefined symbol "get_current_players"
/home/groups/amxmodx/tmp3/phpxqY9x4.sma(1210) : error 017: undefined symbol "imenu"
/home/groups/amxmodx/tmp3/phpxqY9x4.sma(1210) : error 017: undefined symbol "paramref"
/home/groups/amxmodx/tmp3/phpxqY9x4.sma(1210) : error 029: invalid expression, assumed zero
/home/groups/amxmodx/tmp3/phpxqY9x4.sma(1210) : fatal error 107: too many error messages on one line

Compilation aborted.
6 Errors.and local compiler the picture.

Arkshine
11-06-2009, 11:53
By looking the code there are some code removed :


format(sMenuBody, MAX_MENUBODY_LEN - 1, "%s^n\y%L \w%s", sMenuBody, id, "MSG_SRVINFO_MAP", g_saServerMap[nServer])
format(sMenuBody, MAX_MENUBODY_LEN - 1, "%s^n\y%L \w%d/%d", sMenuBody, id, "MSG_SRVINFO_PLAYERS", g_naServerActivePlayers[nServer], g_naServerMaxPlayers[nServer])
}
}
else
{
imenu page <paramref name="menupage"/> to the the player with ID <paramref name="id"/>.</summary>
/// <param name="id">The ID of the player to show the server menu to.</param>
/// <param name="menupage">The menu page number to show to the player. Offset is 0.</param>
/// <seealso name="server_menu_select"/>
/// <seealso name="sub_menu_select"/>
/// <seealso name="show_sub_menu"/>
public show_server_menu(id, menupage)


or here :


// server is down
if ((nCheckMethod > 0) && (!g_baServerResponding[nServerCount]))
{
if ((!bColorMenu) && (!bSubMenu))
sMenuNumber = "_. "
bCanRedirect = false
if (bColorMenu)
sMenuInfo = " \r(\wdown\r)"
else
sMenuInfo = " (down)"
}
// server is cumenu page <paramref name="menupage"/> to the the player with ID <paramref name="id"/>.</summary>
/// <param name="id">The ID of the player to show the server menu to.</param>
/// <param name="menupage">The menu page number to show to the player. Offset is 0.</param>
/// <seealso name="server_menu_select"/>
/// <seealso name="sub_menu_select"/>
/// <seealso name="show_sub_menu"/>
public show_server_menu(id, menupage)
{

xOR
11-06-2009, 13:33
see, the file that is online never existed on my PC, it was strange enough already that it was there. but then i reuploaded a working file and online is the same destroyed file again? i am really confused now.
all i can do is reupload it once more now...
this time i will delete the file from attachments, then save the post, then edit again and add the file. maybe this will work better.

Arkshine
11-06-2009, 13:41
It works now. It's really weird. Maybe because of http://forums.alliedmods.net/showthread.php?p=982164#post982164