Jump to content

Nerfwood

Members
  • Posts

    104
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Nerfwood

  1. Try replacing: setd ".@enc$", select("Fighting Enchant:Magic Enchant:Archer Enchant:Critical/Fatal Enchant:Max HP Enchant:Max SP Enchant:ASPD Enchant:STR Enchant:AGI Enchant:DEX Enchant:VIT Enchant:INT Enchant:LUK Enchant"); With: setd ".@enc$", rand(1,13);
  2. Main problem starts at line 37. The script uses the "getarg" command but it is not a function. Try changing the NPC Great Balthazar (Line 37) into a function, and put it at the topmost portion of the file, e.g.: function script highrefinemain { mes "[" + getarg(0) + "]"; mes "Looking for"... etc, etc.. } prt_in,59,55,3 script Great Balthazar 99,{ callfunc "highrefinemain","Balthazar"; end; }
  3. Try changing the code to something like this: { .@hp = HP*100/MaxHP; if(.@hp==100) { percentheal 100,100; } },{},{}
  4. The default is 5 minutes. Did you change its value in your import folder? Otherwise, it should still work. You may also want to check the Duration 2 of the skill in skill_cast_db.txt and make sure that it's set to 300000.
  5. File Name: Unofficial Fallen Angel Wing (FAW) Enchantment File Submitter: Nerfwood File Submitted: 03 Dec 2014 File Category: Utilities Content Author: Nerfwood Unofficial Fallen Angel Wing (FAW) Enchants This script should do exactly what is written on iRO wiki's FAW Enchants page, but you can easily change some settings as specified below. Also, kindly press that reputation button if you find this helpful. This is my first script release, so why not encourage me to release more by pressing that button? Custom Settings: .chancetype If set to 1, lower-level enchants are more likely to be enchanted. If set to 0, all levels have an equal chance to be enchanted (true random). // 1 = 60% low, 30% mid, 10% high for 1st & 2nd enchant slot && 40% low, 30% mid, 20% high, 10% special for 3rd enchant slot// 0 = Equal Chance.chancetype = 1; .cost Cost for enchanting. //Cost for Enchanting. It's free in iRO //.cost=0; .cost2 Cost for resetting enchants. //Cost to reset | Costs 1Mz in iRO .cost2 = 1000000; .autoequip If set to 1, it lets the player to equip the garment while the script is running. Set to 0 to disable. //Turn on Equip Selection if garment is unequipped? 1 = Yes .autoequip =1; Additional Notes: You may want to change the effects of the Fatal Enchants as rAthena's effects are different from iRO's. //iRO Fatal effect4863,Fatal1Lv,Fatal1Lv,6,10,,,,,,,,,,,,,,,{ bonus bCritAtkRate,4; bonus bCritical,1; },{},{}4864,Fatal2Lv,Fatal2Lv,6,10,,,,,,,,,,,,,,,{ bonus bCritAtkRate,6; bonus bCritical,2; },{},{}4865,Fatal3Lv,Fatal3Lv,6,10,,,,,,,,,,,,,,,{ bonus bCritAtkRate,8; bonus bCritical,3; },{},{}4866,Fatal4Lv,Fatal4Lv,6,10,,,,,,,,,,,,,,,{ bonus bCritAtkRate,10; bonus bCritical,4; },{},{} Click here to download this file
  6. You mean Item Group? It's still incomplete, but you should be able to create one with the provided information.
  7. data\sprite\Àΰ£Á·\¸öÅë\¿© refers to the name of the folder, so.... In your ragnarok directory, create a folder named "data"if there isn't already. Then, inside the data folder, create a folder named "sprite." Inside the sprite, create a folder named Àΰ£Á·. And inside that, ¸öÅë, and inside that, ¿©. For more information, review this page: http://rathena.org/wiki/Data_Folder_Structure Just read the wiki's contents, and it will provide you valuable information in running a server.
  8. According to rathena's doxygen, itemdb_searchrandomid needs 2 arguments, and yours only provide one. So... try adding 1 to it? nameid = itemdb_searchrandomid(-nameid, 1); This is untested, and I just want to share the use of doxygen since it helped me at editing the src.
  9. You must specify which MVP cards aren't working, and where/when did your players use it. Anyway, if it's working for you, chances are it's also working for them, but they just aren't aware of it (e.g., they thought of the wrong effect)... unless you have implemented some restrictions, but it doesn't seem that you did. lol
  10. Try this one? http://rathena.org/board/topic/98070-extended-cell-pvp-17/
  11. I don't understand much what you're script is trying to do, but why not just use this method instead? http://rathena.org/board/topic/99346-how-to-disable-maya-purple-card-during-woe/#entry274609 It's easier to do, and won't give you any trouble.
  12. http://rathena.org/board/pastebin/1l5i26hwpy11a/
  13. Booo!! You didn't press the button (yes, it's a big deal). Anyway, the specialeffect2 command only displays the effect/visuals and doesn't do anything at all (aside from that). What you want is to use the sc_start, which is actually the command that buffs (or debuffs) players. Click the links and you'll see the explanation for each. If you want, you can also use npcskill command, which is easier than the sc_start command. Here's a revamped version of the file from above: Paste: 1b9xqn2i457du Remember that button. Oh wait? You want me to separate the Payment and the Buffer? Then you need to provide your NPC healer script.
  14. You can try using the getequipid() command like this: 1519,Chain,Chain,4,23000,,800,84,,1,2,0x0004C5B2,7,2,2,2,14,1,8,{ if(getuipid(EQI_HAND_L)!=1520 || getuipid(EQI_HAND_L)!=1521 || getuipid(EQI_HAND_L)!=1522 ) { bonus bStr,10; bonus bVit,10; } },{},{} This is untested.
  15. Try this one: autobonus2 "{ bonus bNoMagicDamage,100;}",500,2000,BF_MAGIC,"{ specialeffect2 EF_ENDURE; }";
  16. So you want the NPC to use showevent when there are nearby players? Then use the OnTouch label, and add <x> and <y> trigger area to the NPC header (the 55,5,5 part). The code below makes the NPC display the showevent icon when a player enters its 5x5 area. new_1-1,62,107,4 script Test 55,5,5,{ mes "[Test]"; mes "Hello World."; close; OnTouch: showevent 1,1; end; }
  17. Here: http://rathena.org/board/pastebin/bk281eruqaj/
  18. The information you provided is quite lacking. Can you provide the script(s) that you are using? And the purpose of the NPC(s), and the goal you are trying to achieve.
  19. Someone, do this now! lol I wonder how many will actually use this if made? I mean the players who will make the request. What can they possibly get from doing this? Will they get the items they requested?
  20. It won't work because you placed the mes command under the OnInit label. OnInit triggers everytime the server is (re)loaded (in which no player is attached to the script), while mes needs an attached player to function, so that's probably why it isn't working. The mes command contradicts the OnInit label. .xxx is a variable, but it is not declared, which is why I used while(!.xxx). !.xxx means that .xxx has no value. While is a looping function, so as long as !.xxx is true (or .xxx is not declared), it will do the script in it over and over again. So, the correct script would be: prontera,102,102,3 script SpecialEffect 66,{ mes "Done"; close; OnInit: freeloop(1); while(!.xxx) { specialeffect 70; sleep 500; } } On a side note, Skorm's method is much easier to do.
  21. Try this one. prontera,68,63,3 script IP freebies 60,{ .@IP_table$ = getcharip(); mes "[Freebies]"; if(compare($IP_table$,.@IP_table$)) { mes "You have already received your freebies."; close; } set $IP_table$, $IP_table$+","+.@IP_table$; mes "Here are your freebies."; getitem 909,1; close; } Don't forget the button. I'm building up my rep lol.
  22. No. What gvg_castle does is that it enables GvG every time agitstart is called (aka enable WoE), just like how castles function. If gvg_noparty has already been disabled, then you should check the following: Are the players in a party? Are their levels within the allowed devo level gap? If they are in a party and their levels are within the allowed gap, then you may have failed to disable pvp/gvg_noparty. Double check your script, and make sure that the lines are deleted or commented out. You may want to post your script here as well. Edit: Did you disable Devo in GvG? Better check your skill_nocast_db.txt.
  23. 1000 downloads

    Unofficial Fallen Angel Wing (FAW) Enchants This script should do exactly what is written on iRO wiki's FAW Enchants page, but you can easily change some settings as specified below. Also, kindly press that reputation button if you find this helpful. This is my first script release, so why not encourage me to release more by pressing that button? Custom Settings: .chancetype If set to 1, lower-level enchants are more likely to be enchanted. If set to 0, all levels have an equal chance to be enchanted (true random). // 1 = 60% low, 30% mid, 10% high for 1st & 2nd enchant slot && 40% low, 30% mid, 20% high, 10% special for 3rd enchant slot// 0 = Equal Chance.chancetype = 1; .cost Cost for enchanting. //Cost for Enchanting. It's free in iRO //.cost=0; .cost2 Cost for resetting enchants. //Cost to reset | Costs 1Mz in iRO .cost2 = 1000000; .autoequip If set to 1, it lets the player to equip the garment while the script is running. Set to 0 to disable. //Turn on Equip Selection if garment is unequipped? 1 = Yes .autoequip =1; Additional Notes: You may want to change the effects of the Fatal Enchants as rAthena's effects are different from iRO's. //iRO Fatal effect4863,Fatal1Lv,Fatal1Lv,6,10,,,,,,,,,,,,,,,{ bonus bCritAtkRate,4; bonus bCritical,1; },{},{}4864,Fatal2Lv,Fatal2Lv,6,10,,,,,,,,,,,,,,,{ bonus bCritAtkRate,6; bonus bCritical,2; },{},{}4865,Fatal3Lv,Fatal3Lv,6,10,,,,,,,,,,,,,,,{ bonus bCritAtkRate,8; bonus bCritical,3; },{},{}4866,Fatal4Lv,Fatal4Lv,6,10,,,,,,,,,,,,,,,{ bonus bCritAtkRate,10; bonus bCritical,4; },{},{}
    Free
×
×
  • Create New...