Jump to content

sotf

Members
  • Posts

    173
  • Joined

  • Last visited

Everything posted by sotf

  1. I did this on my previous project as well. It's not yet supported but I did a work-around to make it work like a card. What I did was I made 2 seperate items, one is the "card" which has the original effect, then the other one which is the "pretend card" which is actually a consumable item that inserts your "card" into the shadow equip that your player is wearing using getitem2 command. (in my case it's shadow weapon) Here's my "card": 31101,sphere001,Sphere,6,20,,10,,,,,,,,,,,,,{ skill 8,10; },{},{} Here's my "pretend card": 32101,sphere001x,Sphere,11,10,,0,,,,0,0xFFFFFFFF,63,2,,,,,,{ set powsphere,1; callfunc "powersphere"; },{},{} I set them both to have the same sprite, display name and description so players would think it's just one item. (unless they user @iteminfo, then the cover will be blown~) Here's the simple function I made: function script powersphere { mes "^ff0000===========!WARNING!===========^000000"; mes "Attatching a Power Sphere in an Aura is an irreversible process. It cannot be undone in any way. Do you want to proceed?"; mes "^ff0000===============================^000000"; switch(select("Cancel:Proceed")) { case 1: close; case 2: close2; if(getequipid(EQI_SHADOW_WEAPON) == -1) { dispbottom "FAILED! You're not equipping any Aura!"; end; } if(getequipcardid(EQI_SHADOW_WEAPON,0) > 0) { dispbottom "FAILED! Your Aura is already enchanted!"; end; } if(countitem(getequipid(EQI_SHADOW_WEAPON)) > 1) { dispbottom "FAILED! You have more than 1 of the same Aura in your inventory! Please store the other ones first!"; end; } specialeffect2 58; progressbar "green",2; set powaura,getequipid(EQI_SHADOW_WEAPON); unequip EQI_SHADOW_WEAPON; //unequips your shadow weapon delitem 32100+powsphere,1; //deletes the "pretend card" delitem powaura,1; //deletes your shadow weapon getitem2 powaura,1,1,0,0,31100+powsphere,0,0,0; //generates the same shadow weapon but with the "card" already in it end; } } Well I know it's not much but I hope you get the idea
  2. About your custom bow, it's item id should be in the range of the allowed item ids for bows. Should be 1700 - 1749, other than that it will only show a punching animation when attacking and no arrows will appear. Read more here: https://rathena.org/wiki/Custom_weapons
  3. This folder has to have name - "Font", not "Fonts". Sorry my bad but that was just my typo on this post. Of course my friend's folders are fine but he gets this error. We are using the same lite client but I don't get this kind of error, just my friend.
  4. Hi! Good day rAthena! My friend was trying to play my server but he got this error related to fonts. It's weird because he has the fonts on his ro/System/Fonts folder and as well as on the data folder. I'm using 2014 client btw. I already tried searching but... :/
  5. Hi! Sorry but I'm not really aware of eamod and it's features.
  6. Hi! I was wondering if this is possible: Whenever the Guild Leader of a guild casts the skill Emergency Call and is on cooldown, it automatically sends a guild chat that tells that the skill is on cooldown and how much time left until it can be used again. Thanks for those who will answer my question!
  7. Hi! I downloaded your map and tried it. It crashes when I warp to your map, I can't enter it at all. I am sure I installed it right. I added it on the map cache, I added entries on maps_athena.conf and map_index. I also placed the files on my data folder. Even did resnametable.txt. I also recompiled it. Any help? I'm using 2014 client btw.
  8. Oh alright, thank you for enlightening me! Another thing, sometimes the roulette bugs me out, instead of rolling the next line, it instantly gives me the conso prize of that next line.
  9. Hi! Good day! I was wondering, in db_roulette, what values to I have to put in 'index' and 'flag'? Level is for the rows of items in roulette right? Since level 1 requires 9 items, it's the one on the lowest. Item id, it's the id of the item I want to put in the roulette. While Amount is the amount of the item in each slots.
  10. Hi rAthena! I was having a problem with my client, I'm using 2013-08-07. Whenever I change/edit my iteminfo.lub/iteminfo.lua, my client wont open. The problem comes here, EVEN IF I REPLACE WITH LUB/LUA THAT IS WORKING BEFORE I EDIT IT my client still wont open. No error messages, it just wont open at all. Even if I do a clean re-install. My second problem is, whenever I convert lub to lua, either it will be blank or just a few lines with the last line stating an error.
  11. Good day rAthena! I'm just wondering, how can I remove those annoying messages when spamming usables with delays? Thanks in advance! Screenshot of what I am talking about posted below:
  12. I see, okay, I'll try to see if I can do a work-around about it. But on item_combo_db it's not possible? :/ I tried on item_combo_db, it's not working as what I intended in the first place, but I guess this is okay! Thanks!
  13. ^ I'll try that one again and post my exact script, thanks! oh will this work on card script as well? this is my script: 26397,virus_crystal,Virus Crystal,6,20,,10,,,,,,,,8192,,,,,{ bonus bAllStats,5; if(isequipped(26397) >= 4) { bonus bMaxHPrate,5; bonus bMaxSPrate,5; bonus2 bSkillAtk,379,20; bonus bCritAtkRate,20; skill 2033,5; skill 2035,5; } } },{},{} in-game result is attached below:
  14. Good day rAthena! I was just wondering how could I do an item combo script of a custom card, where it's effect will depend on how many cards you wear. Here's what I did on item_combo_db.txt but as a result, it returned all the effects even if I'm wearing just 1 of it: 26397:26397,{ bonus bMaxHPrate,5; bonus bMaxSPrate,5; bonus2 bSkillAtk,379,20; } 26397:26397:26397,{ bonus bCritAtkRate,20; } 26397:26397:26397:26397,{ skill 2033,5; skill 2035,5; } I even tried using isequippedcnt but it still gives the same result. Please help, I'm kinda lost on this one. Is this possible or impossible?
  15. Good day again rAthena! Is there a way to make the Oboro/Kagerou skill Zenkai not to inflict debuff 100%? Maybe a chance of 50% is fair enough. I saw this on skill.c: case UNT_ZENKAI_WATER: case UNT_ZENKAI_LAND: case UNT_ZENKAI_FIRE: case UNT_ZENKAI_WIND: if( battle_check_target(&src->bl,bl,BCT_ENEMY) > 0 ){ switch( sg->unit_id ){ case UNT_ZENKAI_WATER: sc_start(ss, bl, SC_CRYSTALIZE, sg->val1*5, sg->skill_lv, skill_get_time2(sg->skill_id, sg->skill_lv)); sc_start(ss, bl, SC_FREEZE, sg->val1*5, sg->skill_lv, skill_get_time2(sg->skill_id, sg->skill_lv)); sc_start(ss, bl, SC_FREEZING, sg->val1*5, sg->skill_lv, skill_get_time2(sg->skill_id, sg->skill_lv)); break; case UNT_ZENKAI_LAND: sc_start(ss, bl, SC_STONE, sg->val1*5, sg->skill_lv, skill_get_time2(sg->skill_id, sg->skill_lv)); sc_start(ss, bl, SC_POISON, sg->val1*5, sg->skill_lv, skill_get_time2(sg->skill_id, sg->skill_lv)); break; case UNT_ZENKAI_FIRE: sc_start(ss, bl, SC_BURNING, sg->val1*5, sg->skill_lv, skill_get_time2(sg->skill_id, sg->skill_lv)); break; case UNT_ZENKAI_WIND: sc_start(ss, bl, SC_SILENCE, sg->val1*5, sg->skill_lv, skill_get_time2(sg->skill_id, sg->skill_lv)); sc_start(ss,bl, SC_SLEEP, sg->val1*5, sg->skill_lv, skill_get_time2(sg->skill_id, sg->skill_lv)); sc_start(ss, bl, SC_DEEPSLEEP, sg->val1*5, sg->skill_lv, skill_get_time2(sg->skill_id, sg->skill_lv)); break; } and this one too: case KO_ZENKAI: if( sd ){ ARR_FIND(1, 6, i, sd->talisman[i] > 0); if( i < 5 ){ val1 = sd->talisman[i]; // no. of aura val2 = i; // aura type limit += val1 * 1000; subunt = i - 1; pc_del_talisman(sd, sd->talisman[i], i); } Can anyone please show me how to change the chance of Zenkai's debuff? Thanks in advance!
  16. Oh sorry for the late reply, I am currently using the old ladder from rAthena which gives too much map errors and warnings. I'll try your recommendations, thanks!
  17. Hi rAthena, is there a pvp ladder script here that reads char id instead of char name? Because on my server we have a change name feature that lets you change your name, on our current ladder we experience some conflicts with players that changes their name while having a rank on the ladder. So if you may, if someone already has one, please do share or if there's anyone who knows how to make one... Thanks in advance!
  18. Just change the 'Loc' of your bows from 34 to 2 like so: 1704,Composite_Bow,Composite Bow,4,2500,,600,29,,5,3,0x000A0848,7,2,34,1,4,1,11,{},{},{} 1704,Composite_Bow,Composite Bow,4,2500,,600,29,,5,3,0x000A0848,7,2,2,1,4,1,11,{},{},{}
  19. Here's mine, download it and extract to your RO folder. It should work since it works for me http://www.mediafire.com/download/ulou06jxz4zld25/AI.rar
  20. Oh! Are they there? Sorry my bad, okay I'll try that. I'll post if it works, thanks! UPDATE: I was able to change Silver Sniper's ASPD but the Magic Decoy's dmg doesn't seem to change. If I summon the Magic Decoys thru the mechanic's skill, it's damage is always 400~409, even their int on mob_db.txt is 5000 But if I summon the magic decoys thru @monster/@spawn, the damage is 7k or so with 5000 int. Help anyone? :/
  21. Good day rAthena! Does anyone here know how to increase FAW's damage? And if possible, attack speed? Thanks in advance!
  22. Oh sorry if I posted on the wrong sub forum. Anyways, thanks for the quick replies! I'll try this and see how things work.
×
×
  • Create New...