Jump to content

Euphy

Members
  • Posts

    2997
  • Joined

  • Last visited

  • Days Won

    74

Everything posted by Euphy

  1. It basically requires a rewrite of the entire script. trunk/npc/custom/warper.txt
  2. Implemented in r17274 by Lighta.
  3. This message was added in r17273: // Return pet to egg message 451: You can't return your pet because your inventory is full. A translation is needed for all languages except ENG, SPN, and POR.
  4. A non-atcommand alternative is: percentheal -100,0;
  5. http://svn6.assembla.com/svn/ClientSide/Translation_Project/renewal%20data/
  6. @mkbu95 added a Brazilian Portuguese (POR) translation in r17268.
  7. Euphy

    downrefitem

    Or you could run the command 3 times...
  8. Updated RUS and SPN translations in r17267. Thanks, Lilith and jaBote!
  9. - switch(select(((!Mission0)?" ~ New Mission::":": ~ Mission Status: ~ Abandon Mission")+": ~ Information: ~ Mission Shop: ~ View Top Hunters: ~ ^777777Cancel^000000")) { + switch(select(((!Mission0)?" ~ New Mission::":": ~ Mission Status: ~ Abandon Mission")+": ~ Information: ~ Mission Shop ("+#Mission_Points+"): ~ View Top Hunters: ~ ^777777Cancel^000000")) { This already happens.
  10. Lemongrass, where exactly were you thinking to take the parameters from? I could only come up with: Read the import lines in the scripts_main.conf file, ignoring pre-re/re directories (?). Make the command import scripts_<parameter>.conf, checking if the path exists and then loading both pre-re/re directories (if they exist). Hardcode them (preferably not). Or was there something else you had in mind?
  11. Marking this as finished. All further updates/comments should be posted in SVN News.
  12. Multilanguage Support r17251 extends the functionality of rAthena's map-server message system to support other languages. When enabled, players are able to set a language to receive self-information messages, notably from atcommands. This setting is stored as the #langtype variable in `global_reg_value` (default 0, or English). Note that adding additional languages consume RAM, so all languages besides English are disabled by default. Adding a Language Languages are defined in a bitmask in trunk/src/common/msg_conf.h: enum lang_types { LANG_RUS = 0x01, LANG_SPN = 0x02, LANG_GRM = 0x04, LANG_CHN = 0x08, LANG_MAL = 0x10, LANG_IDN = 0x20, LANG_FRN = 0x40, LANG_POR = 0x80, LANG_THA = 0X100, LANG_MAX }; // Multilanguage System. // Define which languages to enable (bitmask). // 0xFFF will enable all, while 0x000 will enable English only. #define LANG_ENABLE 0x000Add values for languages you want to enable, then recompile.Setting a Language The @langtype command will allow players to switch their language setting: For example, typing @langtype SPN will make all messages display in Spanish.Language Files All language files are stored in the trunk/conf/msg_conf/ directory as map_msg_***.conf. Custom messages may be stored inside the 'import' directory for easy updating. When the server reads a line from a language file, you may receive debug messages for the following cases: The line is missing from the translation file. The language is enabled, but the table is missing. In both cases, the server will output the English line as a fallback.(As of now, not all translations are complete.) Other Changes The msg_txt function now takes a target parameter, so all lines like this: clif_displaymessage(fd, msg_txt(6)); // Your save point has been changed. Now look like this:clif_displaymessage(fd, msg_txt(sd,6)); // Your save point has been changed.If you have any conflicting code, consider using RegEx to batch update the lines rather than doing so manually; Cydh has explained the process here.Lastly, the @reloadmsgconf command will reload all message configuration files. Credits This project is made possible through the support of many of our members: Coding: @Lilith & @Lighta Translations: Chinese: @goddameit/ (svn) (user) German: @Snow/@Lemongrass Russian: @Lilith/@Jarek (svn) (user) Bahasa Malaysia: @Feistz Bahasa Indonesia: @Cydh/@nanakiwurtz (svn) (user) French: @Capuche (svn) (user) Spanish: @Leeg (svn) (user) ~ @jaBote/@Tragedy (user) Portuguese: @mkbu95 (svn) Thai: @boneskung (svn) Thanks to everyone for their help!(The original topic may be found here.) Updates Please post any updates or changes you would like to see in a translation file here; they will be reviewed and added periodically. Any time changes are made to the original map_msg files, a post will also be made; if you are contributing to the translations, I ask that you follow this topic and provide updates when this happens.
  13. trunk/npc/custom/breeder.txt
  14. This is only compatible with rAthena.
  15. For some reason (I haven't looked into it yet) @storage fails for me if binded to a script. Try 'openstorage' instead? @Reynard: 'atcommand' always calls the original command. Edit: Beaten. :<
  16. Alternatively, you can set a temporary character array (@var) instead of scope and clear it afterwards (probably more efficient than string manipulation).
  17. trunk/conf/channels.conf /* Allow users to create their own (private) channels through @channels command? */ /* (must also allow players to use @channels in groups.conf) */ allow_user_channel_creation: true
  18. A little trick, you can use 'eaclass' commands to save yourself a lot of work: set .@job, roclass(eaclass()|EAJL_THIRD); if (.@job) changebase .@job;That line will work for all classes; read more about it in trunk/doc/ea_job_system.txt.Not sure about the mounts.
  19. No. The one in the SVN is official, the other is custom. Notably, the official script auto-detects equipment while the custom script does not.
  20. To make it permanent, set a permanent character variable and execute the command OnPCLoginEvent. I'd suggest making an item to do this instead (either equipment or non-consumed usable).
  21. They'll be given out soon, working out some last-minute issues. (Don't shoot me, I'm only the messenger!)
  22. Ah, thank you Mysterious, I'd forgotten about that.
×
×
  • Create New...