Jump to content

Lilith

Members
  • Posts

    407
  • Joined

  • Last visited

  • Days Won

    11

Posts posted by Lilith

  1. Hmmm, why you don't want to use this format ?

     

     

    <weaponlvl1>,{script code};
     

    {script code} - for example 'bonus bStr,5;'

    this format more effectively...

  2. @Cydh

    So far, no change. I don't know how to not add an argument to a function msg_txt. :unsure: I'll see today how to do this.

    Need to remake this all, because login server use msg_txt only for logs, not for players, my mistake... We must to add language support for map server only ( + char server's mail messages? )

     

    I can give the russian translation of file map_msg.txt

    • Upvote 1
  3. 3nd, define language directory

    • English: (lang_id 0)
    • Russian: ru/ (lang_id 1)
    • Spanish: sp/ (lang_id 2)

    Do you mean that lang_id to be hardcoded in src ? No problem  /bo

    4th, of course its possible.

    btw, i'm not sure about this implementation. For example in the file int_auction.c there is no check on the language...

  4. Initial support to read multiple 'msg_conf' files... Need tests.

    Change 'lang' column in table 'login' for change language id... By default, lang ID = 0 its English

     

    Examples: (in char_athena.conf, login_athena_conf and map_athena_conf )

     

    Translations
    Format:
    read_msg: language ID,path
    read_msg: 1,conf/msg_conf/map_msg_sp.conf // Spanish
    read_msg: 2,conf/msg_conf/map_msg_ru.conf // Russian

     

     
    SQL Query:
    ALTER TABLE  `login` ADD  `lang` TINYINT( 3 ) UNSIGNED NOT NULL DEFAULT  '0'
    

     

     

     

     
    • Upvote 2
  5. I propose to add multilingual support. Player's language stored in the database (sd-> lang_id, for ex.), default 0 - English language. The idea is to read multiple files msg_conf different languages.
    sd->lang_id = 0 // English
    sd->lang_id = 1 // Spanish
    sd->lang_id = 2 // German
    etc...
     

    msg_table[MAX_LANG][MAP_MAX_MSG];

     

    For add the new language we must add a new parameter like 'read_msg: 1,map_msg_sp.conf',
    where
    '1' - is Language ID
    'map_msg_sp.conf' - spanish translation.
     
    In-game example: if player havent language (sd->lang_id = 0), he will recive 
    'Character not found'
    if(sd->lang_id = 1) // Spanish
    he will recive
    'El carácter no se ha encontrado'.
     
    Thus, each player will receive messages from the server in understandable language.
    • Upvote 8
  6. File Name: @novendingboards / @novenders

    File Submitter: Lilith

    File Submitted: 19 Mar 2013

    File Category: Source Modifications

    Content Author: Lilith

    Request: @nndsl

    Post: http://rathena.org/board/topic/80231-notrade/#entry187456

    See on YouTube:

    @novendingboards

    http://www.youtube.com/watch?v=sHIT1pRSQZU&feature=youtu.be

    @novenders

    http://www.youtube.com/watch?v=1UajUvlzAAc&feature=youtu.be

    Enjoy :)

    Click here to download this file

    • Upvote 4
  7. @partybuff / @spb


    @partybuff (@spb) can display party member's special buffs in party list (Alt+Z)

    Buffs are:

    B - Blessing

    A - Agility Up

    F - Full Chemical Protection

    S - Soul Link

    + - Devotion

    Look like

    [BAFS+]Player name

    Watch on YouTube

    http://www.youtube.com/watch?v=YS4G18DoqUY&feature=youtu.be


     

    • Upvote 2
  8. I have a question (I'm using  BETA 2)
     
    Whenever I try to add faction ID 4, my map server gives an error. Is there a limit of 3 factions on this script?
     
    Also, I'm very excited about the full version, nice job Lilith!

     

    See faction.h
     
    #define MAX_FACTION 3

     

    Maximum is 3 factions. Increase it if you want.
×
×
  • Create New...