Jump to content

FXFreitas

Members
  • Posts

    354
  • Joined

  • Last visited

  • Days Won

    13

Posts posted by FXFreitas

  1. you know the client version by the date in the hexed name (like 2014-10-22bragexexe.exe).

    If you already renamed it, open the clientinfo.xml and check the clientversion (will be a number, like 45 or anything else)

    Go to packet_db in db folder and find the line with this number and the client date.

  2. 23 minutes ago, Yatohime said:

    you need to add a command on atcommand.c @bodystyle where it added condition for Wanderer and Minstrel bodystyle

    Yeah, in these lines:

        if (!((sd->class_&MAPID_THIRDMASK) == MAPID_GUILLOTINE_CROSS || (sd->class_&MAPID_THIRDMASK) == MAPID_GENETIC
            || (sd->class_&MAPID_THIRDMASK) == MAPID_MECHANIC || (sd->class_&MAPID_THIRDMASK) == MAPID_ROYAL_GUARD
            || (sd->class_&MAPID_THIRDMASK) == MAPID_ARCH_BISHOP || (sd->class_&MAPID_THIRDMASK) == MAPID_RANGER) {

    But what is the MAPID for The Minstrel (Maestro)? Aparently he got compile error when tried it.

  3. Na verdade não, o único que eu conheço é o super stylist (em inglês) que pega a opção do bodystyle, acho que tem ele na seção de downloads do 3CeAM. Mas não sei se é compatível com rAthena, teria que testar.

    Eu não faço scripts então não posso ajudar nessa parte.

  4. Acredito que esteja usando o nome errado. Talvez ao invés de minstrel seja MAESTRO ou algo assim e lembre que tem que adicionar a WANDERER tambem pois são bases separadas, e que eu lembre a tradução que o rAthena usa pra transclasse de bardo é Minstrel e não clown... e pra 3rd é outro nome, procura na source do Hercules pelo github deles, o mesmo arquivo na mesma parte. Lá já deve ter, eu postaria link se tivesse no pc

  5. O tópico tá aqui (Não postei antes por estar pelo celular):

    http://herc.ws/board/files/file/230-dress-pack/

    O Dress Pack vem com um Read ME, que vem com as instruções de uso, manjando um pouco de google translatês você consegue achar as partes que explicam como da job funciona, eu mesmo apliquei o dress pack no RagEMU pra testar e adicionei a roupa Clássica do Cavaleiro Rúnico.

    Primeiramente precisa ir para pasta lua files e depois dressroom, para abrir o arquivo JobDressList.lub, basta adicionar a roupa alternativa, igual aos outros jobs:

     _DressList_m = {
    -- Rune Knight
        [4054] = {
            { "(0) Default", 0 }
        },
    -- Warlock
        [4055] = {
            { "(0) Default", 0 }
        },
    -- Ranger
        [4056] = {
            { "(0) Default", 0 }
        },
    -- Arch Bishop
        [4057] = {
            { "(0) Default", 0 }
        },
    -- Mechanic
        [4058] = {
            { "(0) Default", 0 },
            { "(1) Alternate Outfit", 1 } 

    Basta adicionar o { "(1) Alternate Outfit", 1} nos que já tem a roupa alternativa, igual ao do mecânico. Isso servirá apenas para que a dress room reconheça a sprite alternativa. Não esquece de achar o trans e o baby para adicionar as sprites tambem rsrs.

    Depois vir em:

    src/map/atcommand.c

    	/*==========================================
     * @bodystyle [Rytech]
     *------------------------------------------*/
    ACMD(bodystyle)
    {
        int body_style = 0;
        nullpo_retr(false, sd);
    	    memset(atcmd_output, '\0', sizeof(atcmd_output));
        
        if (!((sd->class_&MAPID_THIRDMASK) == MAPID_GUILLOTINE_CROSS || (sd->class_&MAPID_THIRDMASK) == MAPID_GENETIC
            || (sd->class_&MAPID_THIRDMASK) == MAPID_MECHANIC || (sd->class_&MAPID_THIRDMASK) == MAPID_ROYAL_GUARD
            || (sd->class_&MAPID_THIRDMASK) == MAPID_ARCH_BISHOP || (sd->class_&MAPID_THIRDMASK) == MAPID_RANGER) {
            clif->message(fd, msg_txt(35));    // This job has no alternate body styles.
            return false;
        }
    	    if (!*message || sscanf(message, "%d", &body_style) < 1) {
            sprintf(atcmd_output, "Please, enter a body style (usage: @bodystyle <body ID: %d-%d>).", MIN_BODY_STYLE, MAX_BODY_STYLE);
            clif->message(fd, atcmd_output);
            return false;
        }
    	    if (body_style >= MIN_BODY_STYLE && body_style <= MAX_BODY_STYLE) {
            pc->changelook(sd, LOOK_BODY2, body_style);
            clif->message(fd, msg_txt(36)); // Appearence changed.
        } else {
            clif->message(fd, msg_txt(37)); // An invalid number was specified.
            return false;
        }
        return true;
    }
    

    Bem, vê onde está || (sd->class_&MAPID_THIRDMASK) == MAPID_ARCH_BISHOP || (sd->class_&MAPID_THIRDMASK) == MAPID_RANGER)?

    Basta adicionar o job que deseja tipo: || (sd->class_&MAPID_THIRDMASK) == MAPID_RUNE_KNIGHT

    Isso fará com que o comando @bodystyle e a função setlook 13,(número aqui) reconheçam o job que você adicionou.

    Depois salve e compile o Emulador.

    Talvez eu possa ter esquecido algum arquivo, faz muito tempo que fiz esse procedimento (quando lançaram a sprite do Ranger) e precisa testar tambem, mas acredito que não tenha esquecido  nada.

  6. 1 hour ago, Emistry said:

    change the slot value to 4 in item_db

    And in clientside you need to change the slotcount in iteminfo.lua (if you use 2012+ clients) or itemslotcounttable.txt (if you use x-ray clients)

  7. 16 hours ago, Malice said:
    • Client Date: 2012-10-04

    Which mode does your server use: Renewal

    • Description of Issue: Item not showing
      • As I was done fixing "Unkown Items" another one came in. Item now are not showing. It doesnt show in game anything I wear but its visible in my equipment area.
      • Error: [string "buf']:1034:'}' expected(to close'{' at line 1) near '='
        Error:[string "buf"]:3: attempt to index global 'ACCESSORY_IDs' (a nil value)

    Hope you guys can help me! Thanks!

    screenMyth000.jpg

    screenMyth003.jpg

    Just read the error, the file expect you close a } in the line close to the 1034. Find the view id 1034 in accessoryid.lua and put a comma after him (if there is no comma after him).

  8. On 11/02/2017 at 11:55 PM, Ezergil said:

    UPD. Managed to fix it. Reason was in Setup.exe (downloaded it from another place)

    connected to server and there are troubles as well((

    krDqe08FYNjPmp.jpg

    i see black screen and cannot move. Someone encountered fimiliar behaviour? It looks like map was not loaded, could it be something connected to mapserver? But it is running

    This happen because kRO made changes in starting area but the emulator did not made the necessary changes try to do a @jump, you'll be transported to a random location of this map (is a replica of sunken ship island), take the coordinates then change the start point in conf folder (I don't remember the exact file but is one of these 3 char, map or login confs), you can take the start npcs and the warp and change they location too.

  9. Search in iRO, jRO or bRO data, the sprite is there, is a bit hard to found because kRO doesn't have it.

    The costume garments are inside of data/sprite/¸ðÇè°¡¹è³¶

    Drop iventory and collection sprites are in same folder of the another headgears/items.

  10. 6 hours ago, zeikheim said:

    how can i manually hext may msgstringtable? its still rejected from server :(

    EDIT: i forgot to edit the clif.c solved. but how can i hext my msgstringtable? and also what if i will not hex my msstringtable what will happen? noob question sorry 

    According Rytech because of the new encryption of the clients, the new msgstringtable cannot be extracted. And Using the kRO default will make all texts in korean.

  11. Bom Já recebi a resposta, o Erro ocorre porque o emulador está desatualizado, tambem decidi usar a ferramenta de pesquisa do Fórum sabe, pra ver se mais alguem já tinha criado um tópico...

    Como pode ver um erro que ocorreu no ano passado, o próprio secrets confirmou que era um erro de emulador que já tinha sido corrigido.

×
×
  • Create New...