Jump to content

alexander03

Members
  • Posts

    154
  • Joined

  • Last visited

Posts posted by alexander03

  1. hello every one ,im sorry i dont know where should i post this topic if im wrong please transfer me to the right page, 

    is any body can help me how to script this item info in item db?
     

     

     

    DEF +50 per every refine level.???
     Heal Amount +20% per every [Purring] level.??

    If player learned [Spirit of Sea] 1Lv, [Pneuma] 1Lv available??

     

    just that 3 item info ,help plss how to put that into item DB? 

     

  2. On 7/22/2020 at 12:17 AM, Chaos92 said:

    Hello, for 20200401 clients, is it safe to use 800 as max storage ? 

    Ive tried recompile myself and theres no issue issue about it but seems like i heard it will cause issue for 2020 clients.

    Anyone can clarify this issue ?

    screenrAthena007.thumb.jpg.7afa994af3511e09eed1114a0bb64645.jpg

    Additional Info :
    I tried max storage = 800 ; no error/warnings.
    I tried max storage = 818 ; no error/warnings.
    I tried max storage = 819; error as below :

    
    rathena\src\char\int_storage.cpp(204,45): warning C4305: '=': truncation from 'unsigned int' to 'uint16'
    rathena\src\char\int_storage.cpp(204,42): warning C4309: '=': truncation of constant value
    rathena\src\char\int_storage.cpp(472,45): warning C4305: 'initializing': truncation from 'unsigned int' to 'uint16'
    rathena\src\char\int_storage.cpp(472,41): warning C4309: 'initializing': truncation of constant value

     

    hello any body can help me , i have question how to change that display image of storage when open??? can anybody which file i go to replace?

  3. 3 hours ago, Froost said:

    try https://github.com/rathena/rathena/blob/master/npc/custom/quests/quest_shop.txt

    thnk u so muchh for reply,i try that but its difficult to understand how to edit to become a moneybag to pay the equip and also how to edit the items that inside ,cause i want to make npc for custom items selling using money bags

  4. 7 hours ago, Haruka Mayumi said:
    • Convert the problem to an equation using the percentage formula: (Percent * NUM = M) / 100  = Answer
    • Percent is 20, NUM is readparam(bStr), so the equation is 20% * 100%(let's say your Str is 100) = M
    • So in the equation: 20 * 100 = (M becomes 2000) / 100 = Answer
    • Answer = 20
    • So 20% of 100 is 20

    This one is easy if rAthena can use float but the sad thing is.. The script only accept integers.. Easiest way is readparam(bStr)*0.20 wherein 0.20 is float.

    how about this one sir how to put in item_db 
    if refine +8 and above increase damage to demihuman monster by 8%

     

  5. 1 hour ago, Haruka Mayumi said:
    
    bonus bStr,readparam(bStr)*20/100;
    bonus bAgi,readparam(bAgi)*20/100;
    bonus bVit,readparam(bVit)*20/100;
    bonus bInt,readparam(bInt)*20/100;
    bonus bDex,readparam(bDex)*20/100;
    bonus bLuk,readparam(bLuk)*20/100;

     

    sir thank u for your reply, really appreciated, may i ask question more sir what is the meaning of 100? this number *20/100 <== this number sir 100 whats that means ?

  6. hello any body i dont know if im in right room to discuss this problem if not ppls transfer me, 
    please help me how to put bonus on this in my item_db??

    Increase All Stats by 20%

    any body help plsss

     

  7. hi thnx for reply :) im sorry but i dont see where i put the sprites details which file i edit ? can u please teach me every single details on how ? i just want to make a fortune chest that has 700 random item inside 

     

  8. hello everyone ? ! can i ask help from u guys? 
    how to make my own gift box or like a treasure box using my own box sprite?

    where can i put sprites and which files to edit? 

    im planning to make a box that has a lot of custom item inside including set of headgears and deffirent headgears?? any body can help me plssS? m using rathena 2019

     

  9. to make the normal headgear sir to become costume headgear ,no effect when become costume remove the effects of the headgear and also the slot, top,mid,low
    im using rathena server sir renewal ,
    thank u sir for reply

    On 9/2/2020 at 6:57 AM, Mael said:

    yes.

    this is all i should do sir to have what i want ???

    thnk u sir very much, sooo i only need to do sir is go to that files and change the lines ??

     

  10. Hello Sir and Maam,
    sir and maam , i use rathena server and renewal mode
    Any body can help me how to change the Thanatos Card and Icepick weapon effect on DEF

    as for my test , thanatos card and icepick effect only to those character that have a high armor def,

    i just want , thantos card and icepick effect only on VIT def not on armor def ,so the character/players cannot increase there VIT to much because thanatos and ice pick deals more damage to them .

    any idea sir and maam how to change it? i played DREAMER Ragnarok Online before, and i want like how they set that thanatos card effect on VIT def,

  11. may i know sir which line and how  to change it ? to make it clear?

    ill just want sir on my def status to change

    because when my level increase also my VIT def increase, so i dont want it and i want to change, i want to change only vit can increase my vit def
    also when i levelup my agi status every 5 agi i got 1 VIT def and i dont like that

    so iwant to know which line to change , and can u sir please clear where sir ? thank u sir for replying

     

    On 8/20/2020 at 2:45 PM, Seravy said:

    replace the stat+= line with this :

    stat+= (int) (status->vit / 2)

    This will affect everything that's not a mercenary though, not just player characters, you didn't specify if that's what you want.

    sir it works

    my VIT def not increase anymore when my level is increase ,also on my agi dont give VIT def anymore
    thank u sir very much your number 1 ?

    FIX!!

  12. Hello sir and maam,
    Any body can help me how to set this

    i look for ithis line on src/status.cpp folder , iwonder how to change this

    // Def2
    if (bl->type == BL_MER)
    stat = (int)(status->vit + ((float)level / 10) + ((float)status->vit / 5));
    else {
    stat = status->def2;
    stat += (int)(((float)level + status->vit) / 2 + (bl->type == BL_PC ? ((float)status->agi / 5) : 0)); //base level + (every 2 vit = +1 def) + (every 5 agi = +1 def)
    }

    status->def2 = cap_value(stat, 0, SHRT_MAX);

    All i want to change is
    -I dont want the vit def increase when my base level increase

    -i dont want agi give a vit def also

    -only VIT can increase the Vit Def and every 2 vit = 1 vit def

    thank you , hopefully anybodty can help me which line i going to change and how,.

    im using Renewal server

  13. eto na po boss yung huling NPC bago po mag exit po , yang parang warp po 

    HorrorToyFactory.txt


    d2 yata na part yan boss
     

    1@xm_d,218,150,5    script    #exwp1    PORTAL,{
        mes "Will you exit?";
        next;
        if (select( "Take a look around", "Go outside" ) == 1) {
            mes "Stop the machine.";
            close;
        }
        close2;
        warp "xmas",233,300;
        end;
    }

    1@xm_d,210,141,3    script    Packaged Present#1    4_TREASURE_BOX,{
        specialeffect EF_COIN;
        disablenpc instance_npcname( strnpcinfo(0) );
        initnpctimer;
        end;
     

     

     

     

    screenrAthena021.jpg

    screenrAthena028.jpg

  14. 5 hours ago, Poring King said:

    I really think that you don't know the basic scripting.... 
     

    Always visit this folder from server files. There is a sample folder and there is also a script_commands.txt have time to read script_commands.txt

    Im trying sir but, i am not really a developer sir ,i dont understand the codes thats why i ask people, im trying to but its hard for me,im just only a seafarer im sorry ?

  15. How do i do that sir? And what should i change after? I use hercules 20180418exe ,rathena server,renewal server,i read diffirent topics bout it but i cant get it step by step how to do it ,and what should files to change and,

    Star emperor and soul reaper sprite novice ,my gangsi sprice acolyte, just that 3 jobs only sir is the problem,,thnx for reply sir

×
×
  • Create New...