I am running WC3FT v3.0 RC14 with AMXX v1.9
I am getting an "ML_NOTFOUND WAR3HELP" instead of a nice display of commands to help players.
I found in the motd.inl how the war3help is structured and it lines up with what's in game.
Code:
public MOTD_War3help(id)
{
if ( !WC3_Check( id ) )
{
return;
}
// Get the game title
new szGame[32];
get_modname( szGame, 31 );
new pos = 0;
// Add header
pos += formatex( szTmpMsg[pos], 2047-pos, "%s", MOTD_header );
// Add the content
pos += formatex( szTmpMsg[pos], 2047-pos, "%L<br>" , id, "MOTD_DEVELOPED_BY" );
pos += formatex( szTmpMsg[pos], 2047-pos, "%L<br>" , id, "MOTD_CLICK_FOR_LATEST" );
pos += formatex( szTmpMsg[pos], 2047-pos, "%L<p>" , id, "MOTD_MORE_INFO", szGame );
pos += formatex( szTmpMsg[pos], 2047-pos, "%L" , id, "WAR3HELP" );
// Set up the title
new szTitle[128];
formatex( szTitle, 127, "%L", id, "WAR3HELP_TITLE" );
show_motd( id, szTmpMsg, szTitle );
return;
}
The words in quotes (above) tie to words in the language file war3ft.txt (below)
Code:
MOTD_DEVELOPED_BY = Warcraft 3 Frozen Throne was developed by Geesu (also known as Pimp Daddy and OoTOAoO)
MOTD_CLICK_FOR_LATEST = Click <a href="http://www.war3ft.com">here</a> for the latest information and updates
MOTD_MORE_INFO = Click <a href="http://war3ft.com/online/war3info.php?game=%s">here</a> for more information regarding the races
WAR3HELP_TITLE = Warcraft 3 Frozen Throne Help
WAR3HELP :
This is how you bind a key<p>
1) Type ` to get to the console (key to the left of number 1)<br>
2) Type bind alt ultimate<br>
3) Type bind - shopmenu<br>
4) Type bind = shopmenu2<br>
5) Type bind p ability<p>
There are a few commands you need to know in order take full advantage of the plugin<p>
say /selectskill - Allows you to select skills before the start of the next round<br>
say /changerace - Allows you to change your race<br>
say /playerskills - Shows you what skills other players have chosen<br>
say /skillsinfo - Shows you what each skill does for the race you have selected<br>
say /itemsinfo - Shows you a list of items and what they do<br>
say /itemsinfo2 - Shows you more items<br>
say /level - Shows you what race, level and skills you have<br>
say /war3menu - Shows the War3 Frozen Throne Player menu<br>
say /ability - if you have serpent wards it will plant them<br>
say /resetskills - resets your skills<br>
say /resetxp - Will reset your level and XP to 0
:
I did a test by setting "WAR3HELP = Hello", which gave no error in the motd. It properly showed the WAR3HELP as "Hello" in-game.
Does the ":" syntax not work with AMXX v1.9 language files the same way it worked in v1.8.2? To be fair I am not even sure it has anything to do with AMXX, but I thought it might.
Asking here before I go through reinstalling the previous version of AMXX again.