Raised This Month: $ Target: $400
 0% 

New x-redirect_beta.sma


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 11-03-2009 , 15:35   New x-redirect_beta.sma
Reply With Quote #1

In the x-redirect_beta.sma, there are alot of these errors:

Quote:
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.
KadiR is offline
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 11-05-2009 , 06:49   Re: New x-redirect_beta.sma
Reply With Quote #2

web compiler or local compiler?
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:
xOR is offline
EThaNol
Member
Join Date: Aug 2009
Location: Germany, Berlin
Old 11-05-2009 , 12:57   Re: New x-redirect_beta.sma
Reply With Quote #3

both compiler have the errors
__________________
EThaNol is offline
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 11-05-2009 , 13:43   Re: New x-redirect_beta.sma
Reply With Quote #4

Quote:
Originally Posted by xOR View Post
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..
KadiR is offline
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 11-05-2009 , 15:20   Re: New x-redirect_beta.sma
Reply With Quote #5

pretty weird, i must have broken something with last upload. i uploaded a new version, please let me know whether it works better.
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:
xOR is offline
EThaNol
Member
Join Date: Aug 2009
Location: Germany, Berlin
Old 11-06-2009 , 11:02   Re: New x-redirect_beta.sma
Reply With Quote #6

not fixed.

web compiler:
Code:
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.
Attached Thumbnails
Click image for larger version

Name:	Error.jpg
Views:	193
Size:	88.0 KB
ID:	53111  
__________________
EThaNol is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-06-2009 , 11:53   Re: New x-redirect_beta.sma
Reply With Quote #7

By looking the code there are some code removed :

Code:
                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 :

Code:
                    // 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) {
__________________
Arkshine is offline
xOR
Veteran Member
Join Date: Jun 2006
Location: x-base.info
Old 11-06-2009 , 13:33   Re: New x-redirect_beta.sma
Reply With Quote #8

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.
__________________
Got more than one HL1 (CS, DoD, NS, TS, TFC, HLDM...) server? Check:
xOR is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 11-06-2009 , 13:41   Re: New x-redirect_beta.sma
Reply With Quote #9

It works now. It's really weird. Maybe because of http://forums.alliedmods.net/showthr...164#post982164
__________________
Arkshine 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 22:20.


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