All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Classes | Functions | Variables
Aion Translator

Aion Translator between Asmodian <-> Elyos languages. More...

Classes

struct  aion_table
 
struct  aion_language
 

Functions

void aion_translate (char *txt, uint32_t langid)
 
void aion_rtranslate (char *txt, uint32_t langid)
 

Variables

struct aion_language aion_lang_asmodian
 
struct aion_language aion_lang_elyos
 

Detailed Description

Aion Translator between Asmodian <-> Elyos languages.

In game this module is used by 4 commands:

Note
The tables and algorithm there was not inveted by me, but was ripped off on a forum thread on aionsource.com
Todo:
Update credits for the translator.

How does it work?

Function Documentation

void aion_rtranslate ( char *  txt,
uint32_t  langid 
)

Reverse translator. This uses the translation formula to reverse a translated a text back to normal language.

This function does the opposite of aion_translate().

Note
This is used by the ?relyos and ?rasmo commands
Parameters
[in,out]txtInput/Output text to translate
[in]langidLanguage ID. Either LANG_ASMODIAN or LANG_ELYOS
See Also
aion_translate()
void aion_translate ( char *  txt,
uint32_t  langid 
)

Translate text to a language. Currently only the Asmodian and Elyos language are supported. If somebody wants to add support for Mau or Krall, feel free to send patches :P

Supported language IDs:

  • LANG_ASMODIAN
  • LANG_ELYOS
Note
This is used by the ?relyos and ?rasmo commands
Parameters
[in,out]txtInput/Output text
[in]langidLanguage ID
See Also
aion_rtranslate()

Variable Documentation

struct aion_language aion_lang_asmodian
Initial value:
=
{
.al_table =
{
{
.at_alpha = "ihkjmlonqpsrutwvyxazcbedgf",
.at_next = "11111111111111111121222222",
},
{
.at_alpha = "dcfehgjilknmporqtsvuxwzyba",
.at_next = "11111111111111111111111122",
},
{
.at_alpha = "edgfihkjmlonqpsrutwvyxazcb",
.at_next = "11111111111111111111112122",
},
{
.at_alpha = "@@@@@@@@@@@@@@@@@@@@@@@@@@",
.at_next = "33333333333333333333333333",
}
}
}

Elyos -> Asmodian language translation table

struct aion_language aion_lang_elyos
Initial value:
=
{
.al_table =
{
{
.at_alpha = "jkhinolmrspqvwtuzGbcJafgde",
.at_next = "11111111111111111322322222",
},
{
.at_alpha = "efcdijghmnklqropuvstyzabIJ",
.at_next = "11111111111111111111112233",
},
{
.at_alpha = "fgdejkhinolmrspqvwtuzGbcJa",
.at_next = "11111111111111111111132232",
},
{
.at_alpha = "ghefklijopmnstqrwxuvGHcdab",
.at_next = "11111111111111111111332222",
}
}
}

Asmodian -> Elyos language translation table