Jump to content

banhelba2019

Members
  • Content Count

    200
  • Joined

  • Last visited

  • Days Won

    5

Reputation Activity

  1. Like
    banhelba2019 got a reaction from meruem in DB error - Table 'ragnarok.loginlog' doesn't exist   
    so instead of it looking like this
     
    HERCULES>
    LOGS>
     
    it should be 
     
    HERCULES >
                 -Logs?
     
    Damnit. thanks 
     
  2. Upvote
    banhelba2019 got a reaction from w0wZukuBg in [w0w] Advanced Maps Project   
    Yeah thats cool 
  3. Upvote
    banhelba2019 reacted to Habilis in How to keep emulator updated   
    I don't offer any paid services (That's how you know it's me. If I suddenly request money, it's an imposter report him!)
    My parents give me enough money for lunch at my school and for chewing gum. I don't need your money
     
     
     
    2
    3
     
  4. Upvote
  5. Upvote
    banhelba2019 reacted to WhiteEagle in Skill Tree Issue   
    Thanks for your replys.
    Yea, thats "fixed" the problem.
    And AnnieRuru, that's all was disabled and tested with an normal acc. .
    But thanks either. ^^
     
  6. Upvote
    banhelba2019 reacted to AnnieRuru in @market clone   
    1.5
    plugin
    - fix an issue that when using @hide, the market clone also clone as invisible
    ---- the real issue about this is, if that GM do @marketkill, the surrounding client will crash
  7. Upvote
    banhelba2019 reacted to AnnieRuru in @market clone   
    nope, this is just an update to compatible with latest hercules, no new feature added or anything
    1.6 - plugin
    - update to latest revision
    - remove all TBL_ and change to struct
    - add NULL checks to places where it needed
    - update the clif_charnameack with struct packet_reqnameall_ack
    and special thanks to dastgir helped maintaining this plugin
     
    just add the check like you did in scripting
    in npc script
    getmapxy .@map$, .@x, .@y, UNITTYPE_PC; if ( .@map$ == "prontera" && .@x == 155 && .@y == 185 ) dispbottom "OK"; in source
    if ( strcmp( mapindex_id2name(sd->mapindex), "prontera" ) == 0 && sd->bl.x == 155 && sd->bl.y == 185 ) clif->message( sd->fd, "OK" );  
  8. Upvote
    banhelba2019 reacted to AnnieRuru in @market clone   
    1.7 - plugin
    - fix memory leak for not removing the chatroom
  9. Upvote
    banhelba2019 reacted to AnnieRuru in @market clone   
    1.8 - plugin
    - update to latest revision
  10. Upvote
    banhelba2019 reacted to AnnieRuru in Item Options   
    // Build the Menu. setarray .@costume, EQI_COSTUME_HEAD_TOP, EQI_COSTUME_HEAD_MID, EQI_COSTUME_HEAD_LOW, EQI_COSTUME_GARMENT; .@menu$ = ""; for (.@i = 0; .@i < getarraysize(.@costume); ++.@i) .@menu$ += ((getequipisequiped(.@costume[.@i])) ? getequipname(.@costume[.@i]) : "" + .@costume[.@i] + "-[Not equipped]") + ":"; // Select the part. .@equip_index = .@costume[ select(.@menu$) -1 ];  
  11. Upvote
    banhelba2019 reacted to AnnieRuru in [Ranger]: Electric Shock   
    I think its official, otherwise there are 2 places to check it doesn't trigger on boss
     
  12. Upvote
    banhelba2019 reacted to AnnieRuru in Continues Sonic Blow.   
    even this is old topic, but this member still active
    unfortunately not all stuffs can be turn into plugin, like adding custom cell_ type (setcell) ... etc..
    but, plugin do provide function overload, which is kinda a double-edge-sword
    you can overload the function with a plugin file, but you still have to update this plugin file periodically to prevent it from not working
    also having 2 plugins overload the same function, defeats the purpose of using plugin
     
    so for your answer, there is no other choice but to copy paste the skill_additional_effect function into the plugin, with the lines you wish to edit
     
    https://github.com/HerculesWS/Hercules/wiki/Hercules-Plugin-Manager#hpm-function-overloading
  13. Upvote
    banhelba2019 reacted to Kuroe in race_resist   
    View File race_resist
    A simple plugin that adds race_resist() into your emulator (Checks race resist of a player).
    //===== Description ========================================== //= Checks how much resistance a character has to a particular // race. // //= race_resist(<type>{, <account id>}); //= E.g. race_resist(RC_Player); //= E.g. race_resist(RC_Player, getcharid(CHAR_ID_ACCOUNT)); Its just actually a rip off plugin from @bWolfie's check_resist() plugin full credits goes to him.
    Submitter Kuroe Submitted 04/11/19 Category Plugins  
  14. Upvote
    banhelba2019 got a reaction from Momabuh in [Showcase] Moonyxel Art   
    Your gonna get sued
     
    I had this idea where you use hats to add effects to attack animations, maybe you can make the Pikachu add some sparks to your swings 
     

     
  15. Upvote
    banhelba2019 reacted to Momabuh in [Showcase] Moonyxel Art   
    No, it's a headgear.

  16. Upvote
    banhelba2019 reacted to Momabuh in [Showcase] Moonyxel Art   
    Hi, I'm a new spriter.
    These are some of my works :3
    Come anda meet me in Deviantart or Facebook, and order that sprite you've always dreamed on your server but never found anywhere 🙂
    I accept sprites orders of any theme.
     
       
      
  17. Upvote
    banhelba2019 got a reaction from luan122 in diferences between rA and herc so far   
    ra has oboro/rebellion
    herc doesnt
     
    herc has plugin support
    ra doesnt
     
    rathena database is split into 20 different sections
    herc database is perfect
     
    rathena uses a new src code 
    herc uses the old one
     
    Theres also  3ceam or whatever near the bottom of the forum hosted by @Rytech which has all the jobs implemented, however they use rathena database, herc database is way better , they also use their own code but its all the same really....
     
     
    Maybe some other reasons
     
     
  18. Upvote
    banhelba2019 reacted to luan122 in diferences between rA and herc so far   
    Could someone list them to me? Ty!
  19. Upvote
    banhelba2019 reacted to 4144 in Max Atk   
    I created this pr https://github.com/HerculesWS/Hercules/pull/2419 for allow change some limits
  20. Upvote
    banhelba2019 reacted to AnnieRuru in New damage formula (Dragon Breath)   
    no idea, I have tested it works

    do I seriously have to do like this ?
    https://github.com/HerculesWS/Hercules/compare/master...AnnieRuru:topic/16676-n.
    https://github.com/AnnieRuru/Hercules/blob/803f7335803460b8a4f2554240a9b29f4686f556/src/map/battle.c#L4957-L4963
     
  21. Upvote
    banhelba2019 got a reaction from bWolfie in Tifa Lockhart (dont sue me)   
    View File Tifa Lockhart (dont sue me)
    Just my attempt at adding some cleavage to ro 
     
    Nothing fancy she just stands there, Didnt give her a back sprite cause she was gonna be placed in a fixed camera so i could focus on animations without worrying about the back sprite. 
     
    Didnt add the animations in the end cause she already looked great in-game
    Submitter lllaaazzz Submitted 03/28/19 Category Sprites & Palettes   credits to everybody at "Square" for final fantasy 7 or whoever they go by now.
  22. Upvote
    banhelba2019 reacted to AnnieRuru in New damage formula (Dragon Breath)   
    @@ -4960,6 +4953,14 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src, struct bl the patch has clearly said, modify the line somewhere at line no.4960
    and your compiler said your error is on line 4127
  23. Upvote
    banhelba2019 reacted to AnnieRuru in New damage formula (Dragon Breath)   
    if you change skill->attack from BF_MISC into BF_WEAPON,
    then you should also change the damage calculation from battle_calc_misc_attack function into battle_calc_weapon_attack function
    src/map/battle.c | 15 ++++++++------- src/map/skill.c | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/src/map/battle.c b/src/map/battle.c index 1b7bf909e..4193c8cd0 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -4130,13 +4130,6 @@ static struct Damage battle_calc_misc_attack(struct block_list *src, struct bloc case NPC_EVILLAND: md.damage = skill->calc_heal(src,target,skill_id,skill_lv,false); break; - case RK_DRAGONBREATH: - case RK_DRAGONBREATH_WATER: - md.damage = ((status_get_hp(src) / 50) + (status_get_max_sp(src) / 4)) * skill_lv; - RE_LVL_MDMOD(150); - if (sd) md.damage = md.damage * (95 + 5 * pc->checkskill(sd,RK_DRAGONTRAINING)) / 100; - md.flag |= BF_LONG|BF_WEAPON; - break; /** * Ranger **/ @@ -4960,6 +4953,14 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src, struct bl break; } break; + + case RK_DRAGONBREATH: + case RK_DRAGONBREATH_WATER: + wd.damage = ((status_get_hp(src) / 50) + (status_get_max_sp(src) / 4)) * skill_lv; + wd.damage = wd.damage * status->get_lv(src) / 150; + if (sd) wd.damage = wd.damage * (95 + 5 * pc->checkskill(sd,RK_DRAGONTRAINING)) / 100; + wd.flag |= BF_LONG|BF_WEAPON; + break; default: { i = (flag.cri diff --git a/src/map/skill.c b/src/map/skill.c index 633a73d67..4121d66e7 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -4937,7 +4937,7 @@ static int skill_castend_damage_id(struct block_list *src, struct block_list *bl if( (tsc = status->get_sc(bl)) && (tsc->data[SC_HIDING] )) { clif->skill_nodamage(src,src,skill_id,skill_lv,1); } else - skill->attack(BF_MISC,src,src,bl,skill_id,skill_lv,tick,flag); + skill->attack(BF_WEAPON,src,src,bl,skill_id,skill_lv,tick,flag); } break; case NPC_SELFDESTRUCTION: { but how you want to change the damage formula is totally up to you ...
  24. Upvote
    banhelba2019 reacted to AnnieRuru in How to Remove Base EXP | Base Drop (VIP)   
    run this script, and click on it
    prontera,155,185,4 script ksjdhfksdjfh 1_F_MARIA,{ ModExp = 100; ModDrop = 100; ModDeath = 100; // BankVault = 1000; // in-game bank variable, limit to INT signed end; } to reset everything back to normal
     
    additionally, its store in SQL table `account_data`
    select * from account_data; where your account bank balance store there as well
  25. Upvote
    banhelba2019 reacted to AnnieRuru in @mobalive   
    https://github.com/AnnieRuru/Release/blob/master/Guides/What is dynamic_mob and how it affects scripts.md.
    https://rathena.org/board/topic/102715-mvp-board/#comment-357487
    unfortunately, Hercules/rAthena has dynamic_mob option, which is not available on Aegis, official ragnarok emulator
    we can't just simply mobcount the MVP because the boss_monster are not loaded until someone warp into the map
    the TBL_MOB in the topic you link to, using iteration, is equivalent to getunits script command, also doesn't cache the boss_monster
    there is a tricky way to do this however, which, in my theory, whenever a script command boss_monster pops up, push a source variable,
    and again this source variable can be read by scripts, and thus provide us to check either that MVP is available or not
     
    this question also has been asked to me privately in discord, and currently in 1 of my todo list
×
×
  • Create New...

Important Information

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