Question about language file syntax
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. https://i.imgur.com/MmGiQPH.png 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)Code:
MOTD_DEVELOPED_BY = Warcraft 3 Frozen Throne was developed by Geesu (also known as Pimp Daddy and OoTOAoO)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. |
Re: Question about language file syntax
Check if ur txt file is saved on latin or utf-8 if its on utf-8 switch it to latin and recheck if its working
|
Re: Question about language file syntax
Quote:
I opened the war3ft.txt in notepad, went to "Save As...", selected the ANSI encoding from the drop down menu, and saved it. I reloaded the server and the motd was still giving me the same issue with ML_NOTFOUND. I ran a powershell script to get the encoding of the .txt files and this is what it returned (war3ft.txt at the bottom): Code:
Encoding Path |
Re: Question about language file syntax
That seems more like a motd limitation rather than AMXX one.
|
Re: Question about language file syntax
So I went ahead and reverted back to AMXX 1.8.2 without changing anything else and it fixed itself.
While it is fixed, it's not exactly solved. Anyone know why this would happen? |
Re: Question about language file syntax
Maybe because war3ft is outdated who knows
|
Re: Question about language file syntax
You should use a real source code editor like Notepad++, never use Notepad. Then you can change the encoding to "UTF-8 without BOM" (this is the only encoding that you'll ever need with AMX Mod X).
It's certainly possible that you discovered a bug in 1.9. You could try 1.10 to see if it's till an issue there so that you can be sure that it's still an issue in the current development version of AMX Mod X. EDIT: Looking at the code, it looks like the functionality is meant to be in there but it looks like they refactored how they read the file since 1.8.2 so it's not unlikely that something broke. |
Re: Question about language file syntax
I use Notepad++ almost always, but I was unsure if the encoding was doing anything when I clicked it. It felt very finicky when I would choose an encoding, then reopen the file and it wasn't really showing the encoding I chose just a second earlier.
Went ahead and loaded up v1.10 on my server and got the same error. So it seems it's still a bug in the current build. Not sure where to report the bug though. This is basically solved with fysiks input. How can I mark it solved? |
Re: Question about language file syntax
Edit ur post on advanced, and look at ur title on ur left u will see the prefix, and u switch the prefix to Solved
|
Re: Question about language file syntax
Quote:
|
| All times are GMT -4. The time now is 17:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.