Jump to content

Recommended Posts

Posted

TextManager is a script package used to separate texts from scripts with an optional multilangual support.

You will never have to touch a script to change the texts. If you have staff members which should only translate or correct texts, they will only have to receive and change the data area of the Xynvaroth_TextManager. There is no need to spread all your scripts anymore.

There is a detailed documentation inside the file.

Xynvaroth_TextManager

  • Upvote 3
Posted

That's... a lot of SQL queries. It's a convenient way of doing this, but is not very good for performance.

That aside, why don't you integrate this with our Multilanguage Support feature? (#langtype stores a player's language setting.)

  • Upvote 1
Posted

Thanks for your feedback.

I have recently returned to rAthena, so I am not a hundret percent up to date.

If the engine featured a better solution to store data (to a file or so), then I would surely use it. If there is a better way today, I will welcome it if you let me know.

I did not know about the Multilanguage Support feature; thank you for informing me. I will consider changing my script to feature it, because there are also downsides like that the possible languages are pre-defined.

  • Upvote 1
Posted

2.0

Thank you again for your feedback.

It actually let me to making some runtime analaysis (I wrote a custom script command to do so) and if I store the data in server variables instead of MySQl, the script will be about ten folds faster.

Thus, here is the new version without MySQL!

2.1

- Changed the length of the variable names.

  • Upvote 1
  • 4 weeks later...
  • 5 months later...
Posted

Great! Well done Xynvaroth! Are it going to work with rA multi lang system?

Thank you!

I never used the Multilanguage Support, but I believe you only have to replace #TextManager_Language with #langtype (you are hereby allowed to do so) and of course fill the arrays according to the predefined languages.

Let me know if you try that and it still does not work.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...