rongmauhong

Members
  • Content Count

    68
  • Avg. Content Per Day

    0
  • Joined

  • Last visited

  • Days Won

    1

rongmauhong last won the day on December 14 2018

rongmauhong had the most liked content!

Community Reputation

12 Good

About rongmauhong

  • Rank
    Santa Poring

Profile Information

  • Gender
    Male
  • Github
    teededung

Contact Methods

  • Discord
    tee#6313

Recent Profile Visitors

421 profile views
  1. 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/
  2. Yes, I believe it is possible. I guess we need to hex the client exe.
  3. @Mistique Hi, try this code function script AddPointsFixed { [email protected]$ = instance_mapname(strcharinfo(3)); if (compare([email protected]$, "@")) { set [email protected], getarg(0); set [email protected], getarg(1); getitem 677, 3; message rid2name([email protected]), "[ 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.
  4. 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,,,,,,,,{},{},{}
  5. Yes, you can do it by `gettime` function Change OnClock2100: hideoffnpc "Daily Item Sale"; end; to OnClock2100: [email protected] = gettime(DT_DAYOFWEEK); if ([email protected] == WEDNESDAY || [email protected] == SUNDAY) { hideoffnpc "Daily Item Sale"; } end;
  6. Hi, this script from rA repo and it is still in progress https://github.com/rathena/rathena/pull/3990
  7. Hi, try this prontera,150,150,6 script Daily Item Sale 100,{ mes "Hi"; next; if(select("Sale!:All items") == 2) { for(set [email protected],0; [email protected] < getarraysize(.TradeID); set [email protected], [email protected] +1){ if(.TradeID[[email protected]] != 0) { set [email protected]$, [email protected]$ + "^0000FF "+getitemname(.TradeID[[email protected]])+" ^000000 x "+.TradeCount[[email protected]]+" x "+.TradeItemsAmm[[email protected]]+""; set [email protected]$, [email protected]$ + ":"; } } set [email protected], select([email protected]$) - 1; if(.TradeCount[[email protected]] < 1) { mes "I don't have this item."; close; } mes "Do you want buy it?"; mes "I need - "+getitemname(.TradeItemsReq[[email protected]]); mes " x"+.TradeItemsAmm[[email protected]]; next; if(countitem(.TradeItemsReq[[email protected]]) < .TradeItemsAmm[[email protected]]) { mes "Where is my "+getitemname(.TradeItemsReq[[email protected]]); close; } delitem .TradeItemsReq[[email protected]], .TradeItemsAmm[[email protected]]; getitem .TradeID[[email protected]], 1; .TradeCount[[email protected]] -= 1; close; } for(set [email protected],0; [email protected] < getarraysize(.TodaySale); set [email protected], [email protected] +1){ if(.TodaySale[[email protected]] != 0) { set [email protected]$, [email protected]$ + "^0000FF "+getitemname(.TodaySale[[email protected]])+" ^000000 x "+.TodayCount[[email protected]]+" x "+.TradeItemsAmm[[email protected]]+""; set [email protected]$, [email protected]$ + ":"; } } set [email protected], select([email protected]$) - 1; if(.TodayCount[[email protected]] < 1) { mes "I don't have this item."; close; } mes "Do you want buy it?"; mes "I need - "+getitemname(.TradeItemsReq[[email protected]]); mes " x"+.TradeItemsAmm[[email protected]]; next; if(countitem(.TradeItemsReq[[email protected]]) < .TradeItemsAmm[[email protected]]) { mes "Where is my "+getitemname(.TradeItemsReq[[email protected]]); close; } delitem .TradeItemsReq[[email protected]], .TradeItemsAmm[[email protected]]; getitem .TodaySale[[email protected]], 1; .TodayCount[[email protected]] -= 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; }
  8. Hi, you can choose 2018-06-20 or 2018-06-21 exe
  9. 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,{ [email protected] = getrefine(); bonus2 bAddClass,Class_All,[email protected]/2; bonus bAspdRate,[email protected]; bonus bUnbreakableWeapon; },{},{}
  10. - 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
  11. 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; }
  12. Hi, Edit this file <Your RO>\data\luafiles514\lua files\navigation\navi_npc_krpri.lub
  13. https://stackoverflow.com/questions/2451417/whats-pros-and-cons-putting-javascript-in-head-and-putting-just-before-the-bod
  14. Hi, You have this error because missing 'end' for the 'close2' command, just put 'end' after 'close2' or using 'close3' Fixed script test.txt
  15. Hi, this crash this crash related to state icon. If you use ROenglishRE from zackdreaver open data/luafiles514/lua files/stateicon/stateiconinfo.lub change StateIconList[EFST_IDs.EFST_GEFFEN_MAGIC1] = { haveTimeLimit = 1, posTimeLimitStr = 3, descript = { { "Increases physical damage against Demihuman monster" }, { "%s", COLOR_TIME } } } StateIconList[EFST_IDs.EFST_GEFFEN_MAGIC2] = { haveTimeLimit = 1, posTimeLimitStr = 3, descript = { { "Increases magical damage against Demihuman monster" }, { "%s", COLOR_TIME } } } StateIconList[EFST_IDs.EFST_GEFFEN_MAGIC3] = { haveTimeLimit = 1, posTimeLimitStr = 3, descript = { { "Reduces damage taken from Demihuman monster" }, { "%s", COLOR_TIME } } } to StateIconList[EFST_IDs.EFST_GEFFEN_MAGIC1] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { { "Increases physical damage against Demihuman monster" }, { "%s", COLOR_TIME } } } StateIconList[EFST_IDs.EFST_GEFFEN_MAGIC2] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { { "Increases magical damage against Demihuman monster" }, { "%s", COLOR_TIME } } } StateIconList[EFST_IDs.EFST_GEFFEN_MAGIC3] = { haveTimeLimit = 1, posTimeLimitStr = 2, descript = { { "Reduces damage taken from Demihuman monster" }, { "%s", COLOR_TIME } } }