Jump to content

H4Mm3r

Members
  • Posts

    24
  • Joined

  • Last visited

Posts posted by H4Mm3r

  1. Hi all,

     

    I've loaded npc/events/halloween_2009.txt from latest rathena revision.

     

    The "Halloween Wizard" should spawn monsters in towns. It takes items but no monster spawn... Any idea ?

     

    The script here : https://github.com/rathena/rathena/blob/master/npc/events/halloween_2009.txt

     

    Thanks by advance.

     

    Regards,

    H4Mm3r

     

    EDIT

     

    Found the solution, I had to uncomment mobs and execute sql files...

     

    Sorry for this !

  2. Hello,

     

    What is the best way to save a rAthena server ?

     

    I've planned to save ./rAthena's folder and mysqldump the whole DB, but is there a best way ? And how often should I save it ?

     

    Typically, where are dropped or refinded items stored ? This is datas I wish to save asap not to loose someone's fresh information...

     

    Thanks by advance

     

    Regards,

  3. Hi,

     

    Your first suggestion is working but affecting sitting and standing regen. In addition, it was affecting the amount of regenrated HP/SP.

     

    With those clues, I've found the adapted solution to my goal.

     

    Sitting HP/SP recovery is faster, but regenrated amounts are the same.

     

    status.c line

                    if(vd && vd->dead_sit == 2)
                            multi += 2; 
                    if(regen->state.gc)
                            multi += 1;
    
    

    Change "multi += 2;" by the ratio you want. (ex. 9 is *10 faster)

     

    Thanks for all answers !!!

     

    Regards

  4. Hi all,

     

    Thanks to this old post (https://rathena.org/board/topic/67722-sitting-regeneration-and-weight-limit/), I really would like to increase HP/SP sitting regeneration.

     

    The last proposition in skill.c can't compile :

            if( type ) {
                    +sd->regen.rate.hp += 2; // boost 3 times
                    clif_status_load(&sd->bl,SI_SIT,1);
            } else {
                    +sd->regen.rate.hp = 1; // return to normal
                    clif_status_load(&sd->bl,SI_SIT,0);
            }
    

    Modified one compile but don't change anything :

            if( type ) {
                    sd->regen.rate.hp += 2; // boost 3 times
                    clif_status_load(&sd->bl,SI_SIT,1);
            } else {
                    sd->regen.rate.hp = 1; // return to normal
                    clif_status_load(&sd->bl,SI_SIT,0);
            }
    

    Any idea about it ?

     

    Thanks by advance.

     

    Regards

  5. I think it'll be hard to find them with just WinSCP...

     

    Maybe the best way could be to find your NPC by his name or location on https://github.com/rathena/rathena/npc, and comment it in the txt file.

     

    Ex :

     

    You want to remove "Kafra Leilah", you find it in npc/kafras/kafras.txt

    You'll have to comment line 29 to 113 (with //) and reload npc

     

    If you NPC has a single TXT file, you just have to comment his import line in npc/scripts_athena.conf

  6. It is absolutely doing it :D Thanks a lot !

     

    Do you think it could be possible to easily modify the menu ?

     

    I've added a sentence "dont worry about prices if your'e under lvl 30", but if I could modify the menu to remove prices, it could be wonderful. I tried to understand how destinations are provided and prices set, but it's a little bit difficult...

     

    Thanks a lot !

     

    Regards

  7. Hello,

     

    I would like to set free teleport for players lvl<30.

     

    In functions_kafras.txt I've found :

    
    //===================================================
    // Teleport Function
    //===================================================
    function        script  F_KafTele       {
            mes "[Kafra Employee]";
            mes "Choisissez votre destination :";
            next;
            set .@menu$, "";
            for (set .@i, 0; .@i <= 6; set .@i, .@i + 1)
                    set .@menu$, .@menu$ + @wrpC$[.@i] + ":";
            set .@j, select (.@menu$) - 1;
            if (@wrpC$[.@j] == "Quitter") return;
            // Consume "Free Ticket for Kafra Transportation" if available.
            // Do not consume if in Guild castle
            if(countitem(7060) > 0 && getarg(0) != 2) delitem 7060,1;
            else {
                    if (Zeny<@wrpP[.@j]){
                            mes "[Kafra Employee]";
                            mes "Je suis desolee mais vous n'avez pas";
                            mes "assez de zenys pour utiliser le service de Teleportation";
                            mes "Le tarif pour "+@wrpD$[.@j]+" est de "+@wrpP[.@j]+" zenys.";
                            close2;
                            cutin "", 255;
                            end;
                    }
                    set Zeny, Zeny - @wrpP[.@j];
                    set RESRVPTS, RESRVPTS + (@wrpP[.@j]/16);
            }
            cutin "", 255;
            if (@wrpD$[.@j] == "Al De Baran") warp "aldebaran",168,112;
            else if (@wrpD$[.@j] == "Alberta") warp "alberta", 117, 56;
            else if (@wrpD$[.@j] == "Comodo") warp "comodo", 209, 143;
            else if (@wrpD$[.@j] == "Comodo Pharos Beacon") warp "cmd_fild07", 127, 134;
            else if (@wrpD$[.@j] == "Geffen") warp "geffen", 120, 39;
            else if (@wrpD$[.@j] == "Izlude") { if (checkre(0)) warp "izlude", 128, 98; else warp "izlude", 91, 105; }
            else if (@wrpD$[.@j] == "Juno") warp "yuno", 158, 125;
            else if (@wrpD$[.@j] == "Mjolnir Dead Pit") warp "mjolnir_02", 99, 351;
            else if (@wrpD$[.@j] == "Morroc") warp "morocc", 156, 46;
            else if (@wrpD$[.@j] == "Orc Dungeon") warp "gef_fild10", 52, 326;
            else if (@wrpD$[.@j] == "Payon") warp "payon", 161, 58;
            else if (@wrpD$[.@j] == "Prontera") warp "prontera", 116, 72;
            else if (@wrpD$[.@j] == "Umbala") warp "umbala", 100, 154;
            end;
    }
     

    Can someone help me wiht that ?

     

    Thanks by advance.

     

    Regards

  8. Hi,

     

    Context :

     

    I'm using "nickyzai.com" latest client with "2013-08-07 Ragexe".

     

    My server is compiled with "DEF PRERE".

     

    My problem :

     

    Items descriptions are RENEWAL (ex: Muffler 8 DEF). I'm trying to replace with a PRE-RE desc table (https://github.com/ROClientSide/Translation) where the Muffler is 2 DEF.

     

    I put all good files in my data/ folder and rebuilded my GRF, but the wrong description is still here...

     

    Ragexe is patched with "use plaintext descriptions", I tried "read data first" too...

     

    Am I doing something wrong ?

     

    Thanks by advance.

     

    Regards

     

     

    ###### EDIT #######

     

     

    I'm sorry, I just found where the problem was... The bad desc was in the ItemInfo.lua in System/ folder.

     

    Sorry for the useless post !

    Regards

  9. Hello,

     

    I admit I'm a little bit lost with npc/ folder.

     

    My goal : pre-Re server

    What I did : compiled rAthena with #define PRERE

     

    I see in npc/ folder :

     

    - airports/kafra/warps...

    - pre-re/ airports/kafra/warps...

    - re/ airports/kafra/warps...

     

    I cannot delete "re" folder because servers is loading it.

     

    I sometimes have to edit the root folders files to see my changes, and sometimes pre-re/ foler ones.

     

    Can someone help me undertanding witch NPC folders are read, included, can be deleted for a pre-RE server ?

     

    Thanks by advance.

     

    Regards

  10. Hi all,

     

    Can someone tells me what is the best way to translate NPC files and keep it up to date ?

     

    I guess if I translate NPC.txt files and update the server files will be overrided right ?

     

    Is it a way to do that ?

     

    Thanks by advance, thanks for the work.

     

    H4Mm3r

×
×
  • Create New...