Jump to content

crazyarashi

Developer
  • Posts

    776
  • Joined

  • Last visited

  • Days Won

    22

Everything posted by crazyarashi

  1. You'll need to edit the src for pc_allskillup and add specific checks for the skill you want excluded.
  2. skill "BS_GREED",1; itemskill is for triggering skills when used. ex : fly wing, scrolls, etc..
  3. I don't know why you are looking for Endless Tower, but here https://github.com/rathena/rathena/blob/master/npc/instances/EndlessTower.txt
  4. @BFPkiller Fixed it. Just copy again ?
  5. - shop food_vendor -1,12043:20000,12058:20000,12053:20000,12063:20000,12068:20000 map,123,123,1 script Food Vendor 123,{ if(!vendor_unlocked){ mes "[ Food Vendor ]"; mes "Can you give me one " + getitemname(12128) +"?"; next; if(countitem(12128)){ if(select("Give the "+getitemname(12128)+":Cancel") == 2){ mes "[ Food Vendor ]"; mes "That's unfortunate."; close; } mes "[ Food Vendor ]"; mes "Thank you, now I can prepare my foods."; delitem 12128,1; vendor_unlocked = 1; end; } else { mes "[ Food Vendor ]"; mes "Please bring me a " + getitemname(12128) +"?"; end; } } mes "[ Food Vendor ]"; mes "How can I help you?"; next; callshop "food_vendor",1; end; }
  6. Find the line in your job_exp and change it to 120 //Job - Ninja/Gunslinger 70,24:25,..... to 120,24:25,..... //Job - Star Gladiator 50,4047:4048,..... to 120,4047:4048,.....
  7. - script item_swap -1,{ for(.@i = 0; .@i < .size; .@i++){ .@menu$ += "List " + (.@i+1) + ":"; } mes "Select a list."; next; .@s = select(.@menu$) - 1; explode(.@item$,.item_list$[.@s],","); for(.@i = 0; .@i < getarraysize(.@item$); .@i++){ .@id = atoi(.@item$[.@i]); .@item[.@i] = .@id; if(countitem(.@id)){ .@temp[getarraysize(.@temp)] = .@id; .@data$ += getitemname(.@id) + ":"; } else { continue; } } mes "Select the item you want to swap."; next; .@s = select(.@data$) - 1; .@swap_id = .@temp[.@s]; .@index = inarray(.@item,.@swap_id); for(.@i = 0; .@i < getarraysize(.@item); .@i++){ if(.@i == .@index) continue; .@swap[getarraysize(.@swap)] = .@item[.@i]; .@swap$ += getitemname(.@item[.@i]) + ":"; } mes "select the item you want to swap into."; next; .@s = select(.@swap$) - 1; delitem .@swap_id,1; getitem .@swap[.@s],1; end; OnInit: setarray .item_list$,"501,502,503,504,505","506,507,508,509,510"; .size = getarraysize(.item_list$); end; } Haven't tested this but pretty sure it will work..
  8. You can use bonus2 bExpAddClass if(fame >= 100){ bonus2 bExpAddClass,Class_All,20; //= Increase EXP gain from killing mobs by 20% }
  9. You can easily change the client side to korean language items/etc but not the scripts in the server side, but you should be able to find one. There is a forum that translates rA into korean language i just dont remember the forum name anymore.
  10. Recompile your server. ?
  11. Use a full translation file Zackdreaver English Translation
  12. Just add an account variable tick to it if you want it to have an account cd, just match the cd to your quest_db cd. //= Instance Creation Check if (is_party_leader() == false) { mes "[Civilization Explorer]"; mes "Ah. You aren't the party leader. Take me to your leader! Or perhaps take your leader to me."; close; } if(#CentralLabCD > gettimetick(2)){ mes "[Civilization Explorer]"; mes "Account CD Mes"; close; } //= Instance Enter case IE_OK: mapannounce "verus01", "" + strcharinfo(0) + " of the party, " + getpartyname(.@party_id) + ", is entering Central Laboratory.",bc_map,"0x00FF99"; #CentralLabCD = gettimetick(2) + 9999999; //= Account CD setquest 12347;// Trace of Laboratory Access end;
  13. setarray .current_maps$[0] ,"payg_cas04", to setarray .current_maps$[0] ,"payg_cas04";
  14. I don't see the need too add instance_destroy checks. That is why we have the IdleTimeOut in the instance db.
  15. kRO should be in that range of ID's 32k+ except for the 100K > new range of ID in kRO, any missing database is either you make it or wait for updates.
  16. As the post above said it might be your client or it can be something else. Please do provide more info about your problem :))
  17. Edit the item database for it. Make it only wearable for your specific classes. and don't go reviving old topics.
  18. You can't use dead branch on the GVG Mapflag even if you uncomment it out :))
  19. Use item_noequip.txt in the database. This will disable the script effect the item. In your case just restricted in normal maps will do // Structure of Database: // ItemID,Flag // // Legend for 'Flag' field (bitmask): // 1 - restricted in normal maps // 2 - restricted in PVP // 4 - restricted in GVG // 8 - restricted in Battlegrounds // 16 - restricted in WOE:TE castles // Restricted zones - configured by 'restricted <number>' mapflag // 32 - restricted in zone 1 // 64 - restricted in zone 2 // 128 - restricted in zone 3 // 256 - restricted in zone 4 // 512 - restricted in zone 5 // 1024 - restricted in zone 6 // 2048 - restricted in zone 7 // 4096 - restricted in zone 8
  20. The map_flag_vs is for pvp. ATK_ADDRATE(wd.damage, wd.damage2, (map_flag_gvg(src->m) || map_getmapdata(src->m)->flag[MF_BATTLEGROUND] > 0) ? 25 : 100);
  21. It should work even if it's hidden make sure you add a color marker so it will display on the map. Also add an OnTouch event to change its class id ^^
  22. Here is a rather detailed guide, maybe you can start with this ^^
  23. data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/menu_icon/
  24. @domez86 There are simple ways to achieve this than you're request. Make the item account bound and add restriction to the NPC like your past request for the equipment giver. @Sakurada This is script request section not an "opinion request section". You correct people, then maybe it's not hard to read on what section you're at. ^^
×
×
  • Create New...