Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/28/17 in all areas

  1. In order to give back to this community, and as a huge thank you and I leave you an instance that many seeks I hope you enjoy. Mob DB Mob Skills Quest DB Instance DB Mercenary DB devil_tower.txt
    1 point
  2. Added in Git Hash: 7de7472
    1 point
  3. Try to restart the server, maybe the instance_db isn't reloaded.
    1 point
  4. Probably you missed to put : 30,Devils Tower,14400,300,1@tnml,50,104,1@tnml2,1@tnml3 in instace DB or check if in the script the name is the same that is in the instance_db
    1 point
  5. Well on this route rathena/db/mercenary_db.txt
    1 point
  6. mes "Select Equipment to Craft."; for (.@i = 1; .@i < getarraysize(.itemID); .@i++) .@menu$ = .@menu$ + "~ "+ getitemname(.itemID[.@i]) + ":"; set .@n,select( .@menu$) - 1; next; // By seting the .@n via the menu already you don't need the switch anymore // So I removed the switch itself as well the extra .@n = x; // I also removed in the .itemID array the 0 and added [0] just for my personal preference xD mes "Item Preview: <ITEM>"+getitemname(.itemID[.@n])+"<INFO>"+.itemID[.@n]+"</INFO></ITEM>"; mes "===================="; for(.@i = 0; .@i < getarraysize(.reqItemID1); .@i++) mes "^FF0000"+countitem(.reqItemID1[.@i])+"^000000 / "+.reqItemQty1[.@i]+ " ~ "+getitemname(.reqItemID1[.@i]); mes "^FF0000"+callfunc("F_InsertComma",Zeny)+" / "+callfunc("F_InsertComma",.Zeny[.@n])+" Zeny"; next; mes "Do you wish to continue?"; switch(select("Let me think about it: Yes, create item.")){ case 1: mes "Come back anytime"; close; case 2: if(Zeny <= .Zeny[.@n]){ mes "You have insufficient Zeny!"; close;} for( .@i = 0; .@i < getarraysize(.reqItemID1); .@i++) if(countitem(.reqItemID1[.@i]) < .reqItemQty1[.@i]){ mes "You have insufficient items"; close; } for( .@i = 0; .@i < getarraysize(.reqItemID1); .@i++){ delitem .reqItemID1[.@i],.reqItemQty1[.@i];} Zeny -= .Zeny[.@n]; getitem .itemID[.@n],1; mes "Here you go!"; close; } // mini case end OnInit: setarray .itemID[0],2589, 18600; setarray .Zeny[0],50000000,20000000; //item requirement for each items //Fallen Angel Wing setarray .reqItemID1[0], 2573, 7441,916,949, 1039, 7063,7511,983,982; setarray .reqItemQty1[0], 1, 300, 300, 300, 300, 100, 50, 20, 20; //Cat Ear Beret setarray .reqItemID2[0], 5172, 714, 5057, 919, 7161, 1059, 983; setarray .reqItemQty2[0], 1, 1, 1, 100, 200, 200, 5; end; } Here you go, the corrected menu read the // comments what I did xD Regards, Chris
    1 point
  7. Actually got newer. U just not checking carefully. http://herc.ws/board/topic/15348-kro-unpacked-clients-releases/
    1 point
  8. ok, i already change and add some modification here my lastest script
    1 point
  9. it's looking good, pretty clear. good work
    1 point
  10. I have just edited between "achievement_re\upper_trophy.bmp" and "À¯ÀúÀÎÅÍÆäÀ̽º\achievement_re\btn_receive". Use Control F for find this part.
    1 point
×
×
  • Create New...