Jump to content

Keru

Members
  • Content Count

    30
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Keru


  1. Hello,

     

    how is the sprite of an ammo, for example the peach bullets from enchanted peach tree linked to the mob itself?

    Is there a table or something inside the client where i can link those sprites?

    I have a custom mob act and a spr and a custom amm/bullet act and spr which should be used in the ranged attack animation.


  2. I have tried to compile this plugin, but i get an error about the malloc.h and the CREATE which is usually in there. malloc.h isn't part of hercules, so how do this plugin work?


  3. Change skill_db.txt:

     

    254,5,6,4,6,0x48,0,10,1,no,33,0x100,0,magic,0, CR_GRANDCROSS,Grand Cross

    to

    254,5,6,4,6,0x48,0,10,1,no,33,0,0,magic,0, CR_GRANDCROSS,Grand Cross

     

    This changes the

    // 12 inf2 (skill information 2):// 0x0100- skill that damages/targets yourself

    so the selfhit is disabled.

     

    They will still lose some HP due to the Grandcross, but it will be impossible to kill theirself.

     


  4. In map/battle.c there is this part about Asura Strike aka Extrimity Fist:

     

    case MO_EXTREMITYFIST:    #ifndef RENEWAL                    {                        //Overflow check. [Skotlex]                        unsigned int ratio = skillratio + 100*(8 + st->sp/10);                        //You'd need something like 6K SP to reach this max, so should be fine for most purposes.                        if (ratio > 60000) ratio = 60000; //We leave some room here in case skillratio gets further increased.                        skillratio = (unsigned short)ratio;                    }#endif                    break; 

     

    If you are using pre-renewal ther is an overflow check, so if you are using high rates with high stats your asura will be capped at some point. This is becuase a short int is from 0 to 65535. If you change the cap to more than this you will get an overflow error, which means it will start again from 0.

     


  5. You have to change the pre-re/skill_db.txt:

     

    -2483,11,6,2,0,0x3,4,10,1,yes,0,0x2000,0,weapon,0,  GN_CRAZYWEED,Crazy Weed
    -2484,0,6,2,2,0x2,3,10,1,no,0,0x2000,0,weapon,0,  GN_CRAZYWEED_ATK,Crazy Weed Attack
    +2483,11,6,2,0,0x3,4,10,1,yes,0,0,0,none,0,  GN_CRAZYWEED,Crazy Weed
    +2484,0,6,2,2,0,0,10,1,no,0,0,0,weapon,0,  GN_CRAZYWEED_ATK,Crazy Weed Attack

     

    and the pre-re/skill_unit_db.txt :

    +2484,0x86,   ,  0, 2, 100,enemy, 0x080  //GN_CRAZYWEED_ATK

     

    this worked for me to enable crazy weed in pre-renewal, best regards to Happy for helping me with this

     


  6. My current skillinfo.lub, standard file is working fine.

    But i wanted to make an edit in this file at the teleport skill to sepereate the levels.

    bSeperateLv = true,

     

    But the problem is i cant edit it without getting the "unexpected symbol near" error.

     

    I've already tried different thing:

    - just editing the lub and save it.

    - decompile lub to lua, edit the lua save it as lub

    - decompile lub to lua, edit the lua and compile it back to lub

     

    Nothing has worked. The problem also stays the same when i doesn't even change anything after decompile it to lua and just compile or save it back to lub.

     

    Is there anything I'm doing wrong with it?


  7. I'm trying to warp a player to a special position on the map, after the warp, the conversation with the npc should go on.

    But there is an error after this short script:

    FishPond,63,46,6	script	WarpTest	555,{	mes "I Will warp you!";	warp "FishPond",64,42;	mes "So what happens here?";	select("Something");     //Here seems to be the problem	mes "And now?";	close;}

     

    After i choose the "Something" in the select, i get the message now logging out.

    In the map server appears the following warning message:

    Invalid menu selection on npc 110074997:'WarpTest' - got 1, valid range is [1..0] (player AID: X,CID:X, name:'Keru')!

     

    Do i have to reattach some ids to the script again or something like that?


  8. This is the item script for Thara Frog Card: (nothing changed here)

    {
     Id: 4058
     AegisName: "Thara_Frog_Card"
     Name: "Thara Frog Card"
     Type: 6
     Buy: 20
     Weight: 10
     Loc: 32
     Script: <" bonus2 bSubRace,RC_DemiHuman,30; ">
    },
     

     

    And this is the Alice Card where i changed the RC_Boss to 10 for testing:

    {
     Id: 4253
     AegisName: "Alice_Card"
     Name: "Alice Card"
     Type: 6
     Buy: 20
     Weight: 10
     Loc: 32
     Script: <"
       bonus2 bSubRace,10,40;
       bonus2 bSubRace,10,-40;
     ">
    },
     

    Both cards have no effect.


  9. Thanks for your fast answer!

     

    I didn't changed the const.txt. They are still:

    bSubEle  1010
    bSubRace  1011

    bSubSize  2026

     

    For item editing I'm using the Server Database Editor by Tokeiburu and I din't changed items like Thara Frog Card, so I'm pretty sure there are no typo's.

     

    Do you have any other idea what went wrong?

     

     


  10. Hello,

    currently we have a big problem on our server which is that every item with item script bsubrace, bsubele and bsubsize doesn't have any effect. The opposite effects like baddrace are working fine.

     

    I have testet it with following items: Thara Frog Card(in pvp and vs monsters), alice card, tirfing card, raydric card and deviling card. They are all not working.

    Hydra cards for example are working fine and elemental armors also working fine for element damage reduce.

     

    On my map server i get the following warning: [Warning]: pc_bonus2: unknown type 0 7 10

     

    It seems that it have something to do with it.

     

    I don't have any clue where to look after this error or what I've done wrong to mess this up.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.