Jump to content

Gidz Cross

Members
  • Posts

    640
  • Joined

  • Last visited

  • Days Won

    9

Everything posted by Gidz Cross

  1. Gidz Cross

    GRF files

    You did it wrong. Usually we make our own grf. Instead of merging to kRO's original grf.
  2. Gidz Cross

    GRF files

    By making your own custom ro. Or you can merge it to data.grf
  3. Translation files. Ragnarok English Translation Project by llchrisll - Project Releases - rAthena
  4. Start from scratch i guess? Since you dont have any modifications yet. That would be the best option.
  5. Use this state icon for devo. Much better! devotion.tga It was already declared in SRC so you only need to do it via client. And it's easy. efstids.lub EFST_DEVOTION = 60, stateimgiconinfo.lub [EFST_IDs.EFST_DEVOTION] = "devotion.tga" finally in stateiconinfo.lub StateIconList[EFST_IDs.EFST_DEVOTION] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { { "Devotion", COLOR_TITLE_BUFF }, { "%s", COLOR_TIME }, { "Under influence of devotion." }, { "Received shield buff." }, } }
  6. By default, MO_CALLSPIRITS is set to have 5 spirit balls (1 per cast). Maybe you did something? Backtrack your modifications.
  7. Okay. To mirror Endure to devoted party status.c look for this line: case SC_IMPOSITIO: case SC_KAAHI: //These status changes always overwrite themselves even when a lower level is cast status_change_end(bl, type, INVALID_TIMER); break; case SC_ENDURE: if (sd && sd->special_state.no_walk_delay) return 1; break; } change it to case SC_IMPOSITIO: case SC_KAAHI: //These status changes always overwrite themselves even when a lower level is cast status_change_end(bl, type, INVALID_TIMER); break; case SC_ENDURE: if (sd) { struct map_session_data *tsd; int i; for (i = 0; i < MAX_DEVOTION; i++) { // See if there are devoted characters, and pass the status to them. [Skotlex] if (sd->devotion[i] && (tsd = map_id2sd(sd->devotion[i]))) status_change_start(src,&tsd->bl,type,10000,val1,val2,val3,val4,tick,SCSTART_NOAVOID); } } if (sd && sd->special_state.no_walk_delay) return 1; break; } For the reflect shield status.c look for this line: case SC_PROVIDENCE: val2 = val1*5; // Race/Ele resist break; case SC_REFLECTSHIELD: val2 = 10+val1*3; // %Dmg reflected // val4 used to mark if reflect shield is an inheritance bonus from Devotion if( !(flag&SCSTART_NOAVOID) && (bl->type&(BL_PC|BL_MER)) ) { struct map_session_data *tsd; if( sd ) { int i; for( i = 0; i < MAX_DEVOTION; i++ ) { if( sd->devotion[i] && (tsd = map_id2sd(sd->devotion[i])) ) status_change_start(src,&tsd->bl, type, 10000, val1, val2, 0, 1, tick, SCSTART_NOAVOID|SCSTART_NOICON); } } else if( bl->type == BL_MER && ((TBL_MER*)bl)->devotion_flag && (tsd = ((TBL_MER*)bl)->master) ) status_change_start(src,&tsd->bl, type, 10000, val1, val2, 0, 1, tick, SCSTART_NOAVOID|SCSTART_NOICON); } change it to case SC_PROVIDENCE: val2 = val1*5; // Race/Ele resist break; case SC_REFLECTSHIELD: val2 = 10+val1*3; // %Dmg reflected // val4 used to mark if reflect shield is an inheritance bonus from Devotion if( !(flag&SCSTART_NOAVOID) && (bl->type&(BL_PC|BL_MER)) ) { struct map_session_data *tsd; if( sd ) { int i; for( i = 0; i < MAX_DEVOTION; i++ ) { if( sd->devotion[i] && (tsd = map_id2sd(sd->devotion[i])) ) status_change_start(src,&tsd->bl, type, 10000, val1, val2, 0, 1, tick, SCSTART_NOAVOID); } } else if( bl->type == BL_MER && ((TBL_MER*)bl)->devotion_flag && (tsd = ((TBL_MER*)bl)->master) ) status_change_start(src,&tsd->bl, type, 10000, val1, val2, 0, 1, tick, SCSTART_NOAVOID|SCSTART_NOICON); } break; To be honest im not sure about to reflect shield. I might delete some function. But it works upon testing it. Nevermind. I edit it. ? Limitations i found: The Devo caster should recast (Endure & Reflect Shield) buffs to appear the state icons to devoted party member. P.S I wonder why recasting is needed.
  8. Oh why didnt i think of this. I have custom state icons too. Like when you stepped on land protector or you cast ecall. But ive done it in a very long time. Now i forgot. I want to help with this. Since the defender state can be mirrored in the devo'ed party. Mirroring Endure and Reflect Shield is doable i guess. First. I have to refresh my memory how to add customs state icons.
  9. I have posted this on git. Bug with Land Protector? · Issue #6131 · rathena/rathena (github.com) lets wait for the devs to see if this was legit bug.
  10. Your translation files are bad. Download fresh translation here. Ragnarok English Translation Project by llchrisll - Project Releases - rAthena
  11. Assuming its a mod source. When using @itembound for equipment you can generate the item with YELLOW COLOR in it. But when i use it to generate USABLES and MISCS the items looked like normal. Is there a way to colorized them as well?
  12. Oh my! This is HUGE! Thanks @sader1992. However i did try this and this is my result also, is there an option for the whole players of the server? Not just specific map. Thanks!
  13. This can be found in Well as you can see its very old. In the second page of the thread it was updated to year 2017 (or not) by @solid2005 and applied all the bug fixes Can someone update this to current rathena or year 2020 rathena? Thanks!
  14. Yes ive tested it. And it doesnt work. Is there another way to detachrid using addrid(0);? Ive seen this thread. This what happens to me. @addrid, @detachrid? - Scripting Support - rAthena My test were addrid(0); cutin "xxx",2; detachrid; (this supposed to close the cutin before the annouce script) announce "hello world!",0,0x00FFFD; i also tried addrid(0); cutin "xxx",2; end; announce "Hello world!",0,0x00FFFD; But its ending the whole script. Make sense i did use END after the the cutin.
  15. Oh yes. I have tried adding addrid(0); before cutin "xxx",2; I thought it works. Until i tried to login my second account. The announcement got doubled. Is the more efficient way to do this? Kindly refer to the youtube link i posted. I think i have solved it. By making another script solely for the cutins to work alone. Tied with my onlocks and onminutes. Unless otherwise there is still efficient way. Example - script Nvz#cutin -1,{ OnClock0035: OnClock0115: OnClock0235: OnClock0335: OnClock0435: OnClock0535: OnClock0635: OnClock0735: OnClock0835: OnClock0935: OnClock1035: OnClock1135: OnClock1235: OnClock1335: OnClock1435: OnClock1535: OnClock1635: OnClock1735: OnClock1835: OnClock1935: OnClock2035: OnClock2135: OnClock2235: OnClock2335: addrid(0); cutin "nvz.bmp",2; sleep 5000; addrid(0); cutin "nvz.bmp",2; sleep 5000; addrid(0); cutin "nvz.bmp",2; sleep 5000; addrid(0); cutin "nvz.bmp",2; sleep 60000; addrid(0); cutin "nvz.bmp",2; sleep 30000; addrid(0); cutin "nvz.bmp",2; sleep 10000; addrid(0); cutin "nvz.bmp",2; sleep 5000; addrid(0); cutin "",255; end; }
  16. Hello. Im not sure if im in the correct section. To all mods, please move the topic if its not. Anyways... Im trying to put cutin supports to my automated events that uses announce. How can i properly call cutin and properly close it as well? The idea is this. OnClock0100: if (agitcheck() || agitcheck2() || agitcheck3()) end; cutin "pc.bmp",2; (This works) announce "It's time to play some Poring Catcher!",0,0x00FFFD; OnTimer30000: cutin "pc.bmp",2; // To re show the cutin (Will show error/debug to map saying Player not attached) announce "Last 30 seconds.",0,0x00FFFD; sleep 5000; announce "Hurry to Midgard 40 315 or you can type @event if you want to join.",0,0x00FFFD; end; OnTimer60000: cutin "",255; // To close the cutin ( Will show error/debug to map saying Player not attached) announce "The Poring Catcher has begun!",0,0x00FFFD; end; Thanks guys! The idea is this: Catch the Poring Event (Darkside RO) - YouTube
  17. can someone updated this to latest rathena? Thanks!
  18. Sorry for necro bumping. I was looking for method to bypass FLEE/PD. mind sharing your solution to this?
  19. Well this isnt compatible with my TRUNK. But @Scylla was able to help me with it. Thank you so much bro! if somebody have this on your battle.c if (flag & BF_SHORT) {//Bounces back part of the damage. if ( (skill_get_inf2(skill_id, INF2_ISTRAP) || !status_reflect) && sd && sd->bonus.short_weapon_damage_return ) { rdamage += damage * sd->bonus.short_weapon_damage_return / 100; rdamage = i64max(rdamage,1); } else if( status_reflect && sc && sc->count ) { change it to if (flag & BF_SHORT) {//Bounces back part of the damage. if ( (skill_get_inf2(skill_id, INF2_ISTRAP) || !status_reflect) && sd && sd->bonus.short_weapon_damage_return) { rdamage = i64max(rdamage,-1); } else if ( (status_reflect) && sd && sd->bonus.short_weapon_damage_return) { rdamage += damage * sd->bonus.short_weapon_damage_return / 100; rdamage = i64max(rdamage,1); } if( status_reflect && sc && sc->count ) { voila!!!
  20. i need the vhost shell script as well. Thanks!
  21. Not your typical item exchanger. The idea is it will allow me to exchange setarrays of items. (eg. auras) Lets say i have black amaterasu auras i want to exchange my Black Aura to different colors. The NPC should auto detect that u have that specific aura. And will bring up a menu with different choices. Ofcourse the NPC whould charge me like Aura Coupon or something. I have tons of aura on my project this will be useful for players if they lose interest with the current color of their aura and decided to switch to other colors.
×
×
  • Create New...