Raised This Month: $ Target: $400
 0% 

Multi-Lingual File Error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 08-27-2008 , 17:13   Multi-Lingual File Error
Reply With Quote #1

I'm currently updating my Entity Remover plugin, but my multi-lingual file has an error.

Here is the file:
Code:
[en]
CANNOT_REMOVE_PLAYER = [ER] You cannot remove a player!
CANNOT_RESTORE_PLAYER = [ER] You cannot restore a player!
AIM_AT_ENTITY = [ER] You must aim at an entity first!
ENTITY_REMOVED = [ER] Entity removed!
ENTITY_RESTORED = [ER] Entity restored!
RESET_ENTITIES = [ER] All removed entities have been reset!
ENTITY_ALREADY_REMOVED = [ER] This entity is already removed!
ENTITY_NOT_REMOVED = [ER] This entity has not been removed!
SOMEONE_ALREADY_REMOVING = [ER] Someone is already removing entities!
SOMEONE_ALREADY_RESTORING = [ER] Someone is already restoring entities!
MENU_TITLE = Entity Remove Menu
MENU_FIND_REMOVE_NO_COLOR = Find Entity To Remove
MENU_FIND_REMOVE_COLOR = Find Entity To \rRemove
MENU_FIND_RESTORE_NO_COLOR = Find Entity To Restore
MENU_FIND_RESTORE_COLOR = Find Entity To \yRestore
MENU_FIND_NEXT_ENTITY = Find Next Entity
MENU_REMOVE_ENTITY_COLOR = \rRemove \wEntity \r[\y%s\r][\y%i\r]
MENU_REMOVE_ENTITY_NO_COLOR = Remove Entity
MENU_RESTORE_ENTITY_COLOR = \yRestore \wEntity \r[\y%s\r][\y%i\r]
MENU_RESTORE_ENTITY_NO_COLOR = Restore Entity
MENU_SETTING_REMOVE = Setting: \rRemove
MENU_SETTING_RESTORE = Setting: \rRestore
MENU_NO_REMOVE = [ER] Could not find entity to remove!
MENU_NO_RESTORE = [ER] There are no entities to restore!
Here is the error:
Code:
L 08/27/2008 - 16:03:50: Invalid multi-lingual line (file "cstrike\addons\amxmodx\data\lang\entity_remover.txt" line 1)
This error is displayed in my console upon server start and changing maps.

I have the latest version of AMXX (1.8.1).

I don't see anything wrong with my file. I even tried adding a few other languages, with random words because I don't know other languages enough to translate. And it still doesn't work.

In game, every time a ML message should be shown, I get ML_NOTFOUND error.

Screenshot
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-27-2008 , 17:22   Re: Multi-Lingual File Error
Reply With Quote #2

I'm pretty sure that you have tried to register this file as UTF8.

You must register the file as UTF8 Without BOM. ( Byte Order Mark ). Because of this mark, the ML system cries.
__________________
Arkshine is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 08-27-2008 , 17:27   Re: Multi-Lingual File Error
Reply With Quote #3

How do I do that? Because that is not an option in my notepad.

Screenshot
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-27-2008 , 17:28   Re: Multi-Lingual File Error
Reply With Quote #4

Use Notepad++ ; really a good editor.
__________________
Arkshine is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 08-27-2008 , 20:16   Re: Multi-Lingual File Error
Reply With Quote #5

Thanks arkshine. I got it to work, but now I broke my code.
I can't figure out why it won't work

I'll keep testing to see where I went wrong.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] 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 03:05.


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