Xynvaroth Posted July 17, 2013 Group: Members Topic Count: 39 Topics Per Day: 0.01 Content Count: 254 Reputation: 72 Joined: 07/10/13 Last Seen: October 9, 2017 Share Posted July 17, 2013 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 3 Quote Link to comment Share on other sites More sharing options...
Euphy Posted July 17, 2013 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 2997 Reputation: 1132 Joined: 05/27/12 Last Seen: June 1, 2017 Share Posted July 17, 2013 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.) 1 Quote Link to comment Share on other sites More sharing options...
Xynvaroth Posted July 17, 2013 Group: Members Topic Count: 39 Topics Per Day: 0.01 Content Count: 254 Reputation: 72 Joined: 07/10/13 Last Seen: October 9, 2017 Author Share Posted July 17, 2013 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. 1 Quote Link to comment Share on other sites More sharing options...
tr0n Posted July 18, 2013 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 562 Reputation: 153 Joined: 02/21/12 Last Seen: February 27, 2024 Share Posted July 18, 2013 Without SQL this would be much easier and better. Anyways, good idea. I should have something similiar without SQL. Quote Link to comment Share on other sites More sharing options...
Xynvaroth Posted July 18, 2013 Group: Members Topic Count: 39 Topics Per Day: 0.01 Content Count: 254 Reputation: 72 Joined: 07/10/13 Last Seen: October 9, 2017 Author Share Posted July 18, 2013 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. 1 Quote Link to comment Share on other sites More sharing options...
Xynvaroth Posted July 22, 2013 Group: Members Topic Count: 39 Topics Per Day: 0.01 Content Count: 254 Reputation: 72 Joined: 07/10/13 Last Seen: October 9, 2017 Author Share Posted July 22, 2013 2.2 - Revised the documentation. - Added @ReloadText. Quote Link to comment Share on other sites More sharing options...
Xynvaroth Posted July 24, 2013 Group: Members Topic Count: 39 Topics Per Day: 0.01 Content Count: 254 Reputation: 72 Joined: 07/10/13 Last Seen: October 9, 2017 Author Share Posted July 24, 2013 2.3 - Revised the documentation. Quote Link to comment Share on other sites More sharing options...
Xynvaroth Posted August 20, 2013 Group: Members Topic Count: 39 Topics Per Day: 0.01 Content Count: 254 Reputation: 72 Joined: 07/10/13 Last Seen: October 9, 2017 Author Share Posted August 20, 2013 3.0 - Added a functionality to split the texts over multiple arrays due to the rAthena's scripting engine's array size limit of 127. - Revised the examples. 1 Quote Link to comment Share on other sites More sharing options...
Angelisk Posted February 4, 2014 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 128 Reputation: 33 Joined: 01/21/13 Last Seen: November 8, 2024 Share Posted February 4, 2014 Great! Well done Xynvaroth! Are it going to work with rA multi lang system? Quote Link to comment Share on other sites More sharing options...
Xynvaroth Posted February 4, 2014 Group: Members Topic Count: 39 Topics Per Day: 0.01 Content Count: 254 Reputation: 72 Joined: 07/10/13 Last Seen: October 9, 2017 Author Share Posted February 4, 2014 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. Quote Link to comment Share on other sites More sharing options...
Angelisk Posted February 5, 2014 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 128 Reputation: 33 Joined: 01/21/13 Last Seen: November 8, 2024 Share Posted February 5, 2014 K, soon I'll maybe in a week I'll be back here. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.