Jump to content

Rebel

Members
  • Content Count

    148
  • Joined

  • Last visited

  • Days Won

    7

Posts posted by Rebel


  1. In file included from sg_parrylov.c:23:0:
    sg_parrylov.c: In function 'plugin_init':
    ../plugins/HPMHooking.h:54:11: error: 'HPMHOOK_post_pc_calc_skilltree_clear' undeclared (first use in this function)
       (void)((HPMHOOK_post_ ## ifname ## _ ## funcname)0 == (hook)), \
               ^
    sg_parrylov.c:75:3: note: in expansion of macro 'addHookPost'
       addHookPost(pc, calc_skilltree_clear, pc_calc_skilltree_clear_post);
       ^
    ../plugins/HPMHooking.h:54:11: note: each undeclared identifier is reported only once for each function it appears in
       (void)((HPMHOOK_post_ ## ifname ## _ ## funcname)0 == (hook)), \
               ^
    sg_parrylov.c:75:3: note: in expansion of macro 'addHookPost'
       addHookPost(pc, calc_skilltree_clear, pc_calc_skilltree_clear_post);
       ^
    ../plugins/HPMHooking.h:54:52: error: expected ')' before numeric constant
       (void)((HPMHOOK_post_ ## ifname ## _ ## funcname)0 == (hook)), \
                                                        ^
    sg_parrylov.c:75:3: note: in expansion of macro 'addHookPost'
       addHookPost(pc, calc_skilltree_clear, pc_calc_skilltree_clear_post);
       ^
    ../plugins/HPMHooking.h:54:64: warning: left-hand operand of comma expression has no effect [-Wunused-value]
       (void)((HPMHOOK_post_ ## ifname ## _ ## funcname)0 == (hook)), \
                                                                    ^
    sg_parrylov.c:75:3: note: in expansion of macro 'addHookPost'
       addHookPost(pc, calc_skilltree_clear, pc_calc_skilltree_clear_post);
       ^

    @Myriad I got this when i compile..


  2. Find in skill.c

    int skill_check_condition_castend(struct map_session_data* sd, uint16 skill_id, uint16 skill_lv)

    insert after

    int index[MAX_SKILL_ITEM_REQUIRE];

    this

    struct status_change *sc = &sd->sc;

    find in skill.c

    if( require.weapon && !pc_check_weapontype(sd,require.weapon) ) {
    		clif->skill_fail(sd,skill_id,USESKILL_FAIL_THIS_WEAPON,0);
    		return 0;
    	}

    change to

    if( require.weapon && !(pc_check_weapontype(sd,require.weapon) ||
    		(skill_id == LK_PARRYING && sc && sc->data[SC_SOULLINK] && sc->data[SC_SOULLINK]->val2 == SL_KNIGHT && sd->weapontype == W_1HSWORD))) {
     		clif->skill_fail(sd,skill_id,USESKILL_FAIL_THIS_WEAPON,0);
     		return 0;
     	}

    Find again in skill.c

    if( require.weapon && !pc_check_weapontype(sd,require.weapon) ) {
    		clif->skill_fail(sd,skill_id,USESKILL_FAIL_THIS_WEAPON,0);
    		return 0;
    	}

    change to

    if( require.weapon && !(pc_check_weapontype(sd,require.weapon) ||
    		(skill_id == LK_PARRYING && sc && sc->data[SC_SOULLINK] && sc->data[SC_SOULLINK]->val2 == SL_KNIGHT && sd->weapontype == W_1HSWORD))) {
     		clif->skill_fail(sd,skill_id,USESKILL_FAIL_THIS_WEAPON,0);
     		return 0;
     	}

    recompile.


  3. On 6/16/2018 at 0:17 PM, Ejamestereo said:

    Hi Masters,


    Great day!


    I have some queries regarding rAthena, I hope you can help me with these. Kindly see below:
    •    What is the difference of Pre-RENEWAL from RENEWAL
    (I'm referring to rAthena emulator) and what is the best to use?


    •    Do I need to input these files manually on GRF and rAthena emulator:
    1.    Third Job new clothing’s/costume (GRF) – https://rathena.org/board/files/file/3437-third-job-costumes-new-classes-corrected/

    2.    Files of Star Emperor & Soul Reaper (rAthena emulator) - https://github.com/rathena/rathena/commit/fc951469e79cf80ed0b157a51d3b05430f28f8fa

     

    Upon exploring the files of rAthena emulator from this site (which I already downloaded all the files) – https://rathena.org/board/topic/109823-ragnarok-online-complete-offline-server-client-pack-2018-make-your-ro-server-in-less-then-5-minutes/


     From folders of db, npc etc... There are no files related to jobs of Star Emperor and Soul Reaper so I don’t know how to work on it.

     

    Sorry for being noob newbie, As I badly want to play this game with the new updates /sigh

    I guess you should be asking in rAthena not in Hercules. Also I think 3ceam is the only emulator that supports Star Emperorr and Soul Reaper as of now.


  4. 16 hours ago, luizragna said:

    try add In: src/map/constants.inc

    
    script->set_constant("SI_MYSTATUS", SI_MYSTATUS, false, false);

    Change MYSTATUS to your status name

    My version of hercules doesnt have constants.inc.. though I added the commit on that.. It still doesn't show the custom status icon.


  5. I followed Dastgir guide on how to add new status icon..

    status.h
    before SC_MAX

    SC_MINDBREAKER,
    SC_SERVICEFORYOU,
    SC_DONTFORGETME,
    SC_ASSNCROS,
    SC_POEMBRAGI,
    SC_APPLEIDUN,

    before SI_MAX

    SI_MINDBREAKER   = 1085,
    SI_SERVICEFORYOU = 1086,
    SI_DONTFORGETME  = 1087,
    SI_ASSASSINCROSS = 1088,
    SI_POEMBRAGI     = 1089,
    SI_APPLEIDUN     = 1090,

    status.c
    after

    status->dbs->IconChangeTable[SC_BLOSSOM_FLUTTERING] = SI_BLOSSOM_FLUTTERING;
    status->dbs->IconChangeTable[SC_MINDBREAKER] = SI_MINDBREAKER;
    status->dbs->IconChangeTable[SC_SERVICEFORYOU] = SI_SERVICEFORYOU;
    status->dbs->IconChangeTable[SC_DONTFORGETME] = SI_DONTFORGETME;
    status->dbs->IconChangeTable[SC_ASSNCROS] = SI_ASSASSINCROSS;
    status->dbs->IconChangeTable[SC_POEMBRAGI] = SI_POEMBRAGI;
    status->dbs->IconChangeTable[SC_APPLEIDUN] = SI_APPLEIDUN;

    efstids.lub

    EFST_MINDBREAKER = 1085,
    EFST_SERVICEFORYOU = 1086,
    EFST_DONTFORGETME = 1087,
    EFST_ASSASSINCROSS = 1088,
    EFST_POEMBRAGI = 1089,
    EFST_APPLEIDUN = 1090,

    stateiconinfo.lub

    StateIconList[EFST_IDs.EFST_MINDBREAKER] = {
    	haveTimeLimit = 1, posTimeLimitStr = 2, descript = {
    		{"Mind Breaker", COLOR_TITLE_BUFF},
    		{"%s", COLOR_TIME},
    		{"Increase MATK by 100%"}
    	}
    }
    StateIconList[EFST_IDs.EFST_SERVICEFORYOU] = {
    	descript = {
    		{"Service For You", COLOR_TITLE_TOGGLE},
    		{"Your under Service For You Song."},
    		{"Increase SP"}
    	}
    }
    StateIconList[EFST_IDs.EFST_DONTFORGETME] = {
    	descript = {
    		{"Please Dont Forget Me", COLOR_TITLE_TOGGLE},
    		{"Your under Please Don't Forget Me Song."},
    		{"Decrease ASPD & Movement Speed"}
    	}
    }
    StateIconList[EFST_IDs.EFST_ASSASSINCROSS] = {
    	descript = {
    		{"Assassin Cross of Sunset", COLOR_TITLE_TOGGLE},
    		{"Your under Assassin Cross of Sunset Song."},
    		{"Increase ASPD & Movement Speed"}
    	}
    }
    StateIconList[EFST_IDs.EFST_POEMBRAGI] = {
    	descript = {
    		{"A Poem of Bragi", COLOR_TITLE_TOGGLE},
    		{"Your under A Poem of Bragi Song."},
    		{"Reduce Aftercast Delay"}
    	}
    }
    StateIconList[EFST_IDs.EFST_APPLEIDUN] = {
    	descript = {
    		{"The Apple of Idun", COLOR_TITLE_TOGGLE},
    		{"Your under The Apple of Idun Song."},
    		{"Increase HP"}
    	}
    }

    stateiconimginfo.lub
    in [PRIORITY_WHITE] = {

    [EFST_IDs.EFST_MINDBREAKER] = "pf_mindbreaker.tga",
    [EFST_IDs.EFST_SERVICEFORYOU] = "dc_serviceforyou.tga",
    [EFST_IDs.EFST_DONTFORGETME] = "dc_dontforgetme.tga",
    [EFST_IDs.EFST_ASSASSINCROSS] = "ba_assassincross.tga",
    [EFST_IDs.EFST_POEMBRAGI] = "ba_poemofbragi.tga",
    [EFST_IDs.EFST_APPLEIDUN] = "ba_appleofidun.tga",

    should I add also in constants.conf?

    Untitled.png.6440cfbef787eba0148097bcf86fe124.png


  6. I need help fixing my script.. The enchantment is not staying on the slot. How do I keep the enchantment inserted in the slot?? This script should have 3 enchantment in a chosen headgear. But it only inserting one.

    enchant.txt


  7. I added zeny pot on this script but the winner gets nothing and the losing player gets the zeny pot.

    [ Fixed it already ]

    @AnnieRuru Thanks!

     

    i cant seem to add a enable/disable npc in this script i dont know why. when i use @roulette the npc doesnt enable.


  8. 15 hours ago, TheReturn said:

    I am testing this plugin seens really great tho.
    The only problem I am seeing is that changes the bg mode too quickly causing it to announce too many times.

    Could`t find any config related to it, do you guys can help me out on that one? How to increase the time for this?

    open bg_common.txt

    find

    // Rotate every n seconds.
    OnTimer30000:

    change 30000 = 30 seconds


  9. doc/script_commands.txt

    ---------------------------------------
    *getitembound(<item id>, <amount>, <bound type>{, <account ID>})
    *getitembound("<item name>", <amount>, <bound type>{, <account ID>})
    
    This command behaves identically to getitem(), but the items created will be
    bound to the target character as specified by the bound type. All items created
    in this manner cannot be dropped, sold, vended, auctioned, or mailed, and in
    some cases cannot be traded or stored.
    
    Valid bound types are:
     1 - Account Bound
     2 - Guild Bound
     3 - Party Bound
     4 - Character Bound
    
    ---------------------------------------
    
    *getitembound2(<item id>, <amount>, <identify>, <refine>, <attribute>, <card1>, <card2>, <card3>, <card4>, <bound type>)
    *getitembound2("<item name>", <amount>, <identify>, <refine>, <attribute>, <card1>, <card2>, <card3>, <card4>, <bound type>)
    
    This command behaves identically to getitem2(), but the items created will be
    bound to the target character as specified by the bound type. All items created
    in this manner cannot be dropped, sold, vended, auctioned, or mailed, and in
    some cases cannot be traded or stored.

     

×
×
  • Create New...

Important Information

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