Jump to content

rongmauhong

Members
  • Posts

    81
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by rongmauhong

  1. Currently rAthena has not updated item id to more than 65k, they are developing it, you can apply it but maybe it's not stable yet. Please check: https://github.com/rathena/rathena/pull/5141
  2. Any error on mapserv console?
  3. It is not skill effect from client 2020, this is the effect from Fall of Glast Heim instance
  4. 1. Error syntax on line 6 2. Missing double quotes on line 12 3. Missing some `next` command Try this script below //Test Alex HAT MAKER // Scripted by Alex // // Test Tutorial by Alex // ============================================== prontera,140,209,3 script Hat Maker#h1-1::Hat Maker 930,{ npctalk "Hello "+strcharinfo(0)+"my name CrazyMan"; next; mes "The purpose of this NPC is to"; mes "provide you the quest of the latest"; mes "headgears here in TESTRO!"; mes "Would you like to brows on the new headgears?"; goto H_top; H_top: menu "0-2",H_01,"Cancel",H_cancel; //__________Hat List__________// H_01: menu "Alice Doll",I_alice, "Hockey Mask",I_hockey, "Return to Menu",H_top; //_____________Item requirements_______________// //________model___________// //I_: // next; // mes ""; // menu "Make",M_,"Return to Menu",H_top; I_alice: next; mes "5x Marionett Dolls"; mes "100x Alice's Apron"; mes "5x Soft Apron"; menu "Make",M_alice,"Return to Menu",H_top; I_hockey: next; mes "200x Suspicious Hat"; mes "2x Blank Eyes"; mes "10x Gold"; mes "10x TCG Card"; menu "Make",M_hockey,"Return to Menu",H_top; //____________model______________// //M_: // if(countitem()< || countitem()< || Zeny < ) // goto M_insufficient; // delitem ,; // delitem ,; // set zeny,zeny-; // getitem ,; // close; M_alice: if(countitem(5141)<5 || countitem(7047)<100 || countitem(661)<5) goto M_insufficient; delitem 5141,5; delitem 7047,100; delitem 661,5; getitem 5137,1; close; M_hockey: if(countitem(7567)<200 || countitem(5102)<2 || countitem(969)<10 || countitem(7227)<10) goto M_insufficient; delitem 7567,200; delitem 5102,2; delitem 969,10; delitem 7227,10; getitem 5314,1; close; //________not enough or not the correct items________ M_insufficient: next; mes "CrazyMan I am sorry"; mes "You don't have the required materials."; mes "Please come back when you do..."; close; H_cancel: close; OnInit: waitingroom "Limited QUEST EVENT",0; end; }
  5. Hi, I am still trying to find this effect to call through the specialeffect function, do you know? Thank you! data\texture\effect\new_cloud_kill\ef_cloud_circle.tga data\texture\effect\new_cloud_kill\ef_cloud_kill.tga data\texture\effect\new_cloud_kill\ef_comm_lightning_cloud.tga anyway, I resolved it, thanks
  6. Did you try to use npc variable. Change .@gid To .gid
  7. I appreciate this tool, no doubt, I was tired of these "navi_*" files
  8. hi, you need to change questprogress(13185) to isbegin_quest(13185) questprogress(13188,PLAYTIME) to checkquest(13188, PLAYTIME )
  9. Did you use the @killmonster command to kill monsters? It will work if you kill pori by hand
  10. Hi, You should change sleep to sleep2 in this part OnPoripori: instance_announce .@i,"Pori Pori: What..... what is happening? How could I..... lose.....",bc_map,0xFFD700; sleep 5000; instance_announce .@i,"Pori Pori: I'll return when I've healed, then..... then you'll all suffer!!!",bc_map,0xFFD700; enablenpc instance_npcname("EC_Arc_Pori", instance_id()); sleep 15000 getpartymember getcharid(1),2;
  11. Hi, you need to update your data.grf, you can get from https://rathena.org/board/topic/106413-kro-full-client-2019-02-25-includes-bgm-rsu/
  12. Yes, I believe it is possible. I guess we need to hex the client exe.
  13. @Mistique Hi, try this code function script AddPointsFixed { .@map$ = instance_mapname(strcharinfo(3)); if (compare(.@map$, "@")) { set .@accountID, getarg(0); set .@amount, getarg(1); getitem 677, 3; message rid2name(.@accountID), "[ Instance ] : You've obtained 3 Coin(s) for completing instance!"; } return; } There are many ways to do this, but since each instance has different code, if you have a special instance, you have to do it separately.
  14. Thanks for sharing @NotKappa Corrected Items: db/import/item_trade.txt 25268,243,100 // Sticky_Blood 25269,243,100 // Mushroom_Sap 25270,243,100 // Wavy_Mane item/import/item_db.txt Weight: From 1 to 0 25268,Sticky_Blood,Sticky Blood,3,36,,0,,,,,0xFFFFFFFF,,,,,,,,{},{},{} 25269,Mushroom_Sap,Mushroom Sap,3,36,,0,,,,,0xFFFFFFFF,,,,,,,,{},{},{} 25270,Wavy_Mane,Wavy Mane,3,973,,0,,,,,0xFFFFFFFF,,,,,,,,{},{},{}
  15. Yes, you can do it by `gettime` function Change OnClock2100: hideoffnpc "Daily Item Sale"; end; to OnClock2100: .@dayOfWeek = gettime(DT_DAYOFWEEK); if (.@dayOfWeek == WEDNESDAY || .@dayOfWeek == SUNDAY) { hideoffnpc "Daily Item Sale"; } end;
  16. Hi, this script from rA repo and it is still in progress https://github.com/rathena/rathena/pull/3990
  17. Hi, try this prontera,150,150,6 script Daily Item Sale 100,{ mes "Hi"; next; if(select("Sale!:All items") == 2) { for(set .@i,0; .@i < getarraysize(.TradeID); set .@i, .@i +1){ if(.TradeID[.@i] != 0) { set .@menu$, .@menu$ + "^0000FF "+getitemname(.TradeID[.@i])+" ^000000 x "+.TradeCount[.@i]+" x "+.TradeItemsAmm[.@i]+""; set .@menu$, .@menu$ + ":"; } } set .@Select, select(.@menu$) - 1; if(.TradeCount[.@Select] < 1) { mes "I don't have this item."; close; } mes "Do you want buy it?"; mes "I need - "+getitemname(.TradeItemsReq[.@Select]); mes " x"+.TradeItemsAmm[.@Select]; next; if(countitem(.TradeItemsReq[.@Select]) < .TradeItemsAmm[.@Select]) { mes "Where is my "+getitemname(.TradeItemsReq[.@Select]); close; } delitem .TradeItemsReq[.@Select], .TradeItemsAmm[.@Select]; getitem .TradeID[.@Select], 1; .TradeCount[.@Select] -= 1; close; } for(set .@i,0; .@i < getarraysize(.TodaySale); set .@i, .@i +1){ if(.TodaySale[.@i] != 0) { set .@menu$, .@menu$ + "^0000FF "+getitemname(.TodaySale[.@i])+" ^000000 x "+.TodayCount[.@i]+" x "+.TradeItemsAmm[.@i]+""; set .@menu$, .@menu$ + ":"; } } set .@Select, select(.@menu$) - 1; if(.TodayCount[.@Select] < 1) { mes "I don't have this item."; close; } mes "Do you want buy it?"; mes "I need - "+getitemname(.TradeItemsReq[.@Select]); mes " x"+.TradeItemsAmm[.@Select]; next; if(countitem(.TradeItemsReq[.@Select]) < .TradeItemsAmm[.@Select]) { mes "Where is my "+getitemname(.TradeItemsReq[.@Select]); close; } delitem .TradeItemsReq[.@Select], .TradeItemsAmm[.@Select]; getitem .TodaySale[.@Select], 1; .TodayCount[.@Select] -= 1; close; OnInit: setarray .TradeID[0], 12210, 14533, 14545, 7619, 7620, 7227, 7228, 7229, 7230; //your cards id setarray .TradeCount[0], 5, 5, 5, 3, 3, 3, 2, 1, 3; //card count setarray .TradeItemsReq[0], 30002, 30002, 30002, 30002, 30002, 30002, 30002, 30002, 30002; //pod, poring coin, event ticket setarray .TradeItemsAmm[0], 1, 1, 1, 1, 1, 1, 1, 1, 1; // amount of ^ items for(.i = 0; .i < 5; .i ++) { // 5 items if(.TradeID[.i] != 0) { .TodaySale[.i] += .TradeID[rand(getarraysize(.TradeID))]; .TodayCount[.i] += .TradeCount[rand(getarraysize(.TradeCount))]; } } hideonnpc "Daily Item Sale"; end; OnClock0000: for(.i = 0; .i < 5; .i ++) { // 5 items if(.TradeID[.i] != 0) { .TodaySale[.i] += .TradeID[rand(getarraysize(.TradeID))]; .TodayCount[.i] += .TradeCount[rand(getarraysize(.TradeCount))]; } } end; OnClock2100: hideoffnpc "Daily Item Sale"; end; OnClock2115: hideonnpc "Daily Item Sale"; end; }
  18. Hi, you can choose 2018-06-20 or 2018-06-21 exe
  19. Hi, let's try changing to a new one... 21018,Lindy_Hop,Lindy Hop,5,20,,3400,340,,1,2,0x00004082,56,2,34,4,170,1,3,{ .@r = getrefine(); bonus2 bAddClass,Class_All,.@r/2; bonus bAspdRate,.@r; bonus bUnbreakableWeapon; },{},{}
  20. - script respawnMvp -1,{ OnInit: setarray .mob_id[0],1002,1857,1031,1113,1613,1836; set .size, getarraysize(.mob_id); set .random, rand(.size); set .amount, 1; // amount of monster spawned set .monster, .mob_id[.random]; // Spawn MVP donpcevent "respawnMvp::OnSpawn"; end; OnSpawn: if (mobcount("prontera", "respawnMvp::OnKill") < 1) { monster "prontera",154,172,getmonsterinfo(.monster, 0), .monster, .amount, "respawnMvp::OnKill"; announce "O MVP "+getmonsterinfo(.monster, 0)+" acabou de nascer!",0; } end; OnKill: // If the mob dies // Announce announce "O MVP "+getmonsterinfo(.monster, 0)+ " foi eliminado "+ (Sex?"pelo":"pela")+" "+ (Sex?"jogador":"jogadora")+" "+strcharinfo(0)+".",0; // Wait 10 seconds sleep 10000; // Spawn MVP again donpcevent "respawnMvp::OnSpawn"; end; } Hello, please check this ?
  21. Hi, try this script ? - script respawnMvp -1,{ OnInit: setarray .mob_id[0],1511; set .size, getarraysize(.mob_id); set .random, rand(.size); set .amount, 1; // amount of monster spawned set .monster, .mob_id[.random]; while (true) { if (mobcount("prontera", "respawnMvp::OnKill") < 1) { monster "prontera",154,172,getmonsterinfo(.monster, 0), .monster, .amount, "respawnMvp::OnKill"; announce "O MVP "+getmonsterinfo(.monster, 0)+" acabou de nascer!",0; } sleep 60000; } end; OnKill: announce "O MVP "+getmonsterinfo(.monster, 0)+ " foi eliminado "+ (Sex?"pelo":"pela")+" "+ (Sex?"jogador":"jogadora")+" "+strcharinfo(0)+".",0; sleep 1000; monster "prontera",154,172,getmonsterinfo(.monster, 0), .monster, .amount, "respawnMvp::OnKill"; end; }
  22. Hi, Edit this file <Your RO>\data\luafiles514\lua files\navigation\navi_npc_krpri.lub
×
×
  • Create New...