Jump to content

Dark Theme was set as default for all members. Please report any issues here.

MikZ

Members
  • Content Count

    303
  • Joined

  • Last visited

Everything posted by MikZ

  1. Good day! May I request to convert this script to hercules please. - script GlobalMvP::GlobalMvP -1,{ OnNPCKillEvent: if(inarray(getd(".MVP_" + strcharinfo(3)),killedrid) != -1){ query_sql "SELECT `name` FROM `mvp` WHERE `char_id`="+getcharid(0)+"",[email protected]$; if ( [email protected]$ == "" ) { query_sql "INSERT INTO `mvp` (`char_id`,`name`,`kills`,`points`) VALUES (" + getcharid(0) + ",'" + escape_sql(strcharinfo(0)) + "',1,1)"; end; } query_sql "UPDATE `mvp` SET `kills` = (`kills` + 1), `points` = (`points` +1) WHERE `char_id`=" + getcharid(0); } end; function AddMvP { for([email protected]=1;[email protected]<getargcount();[email protected]++){ setd ".MVP_" + getarg(0) + "[" + [email protected] + "]",getarg([email protected]); } return; } OnInit: query_sql("CREATE TABLE IF NOT EXISTS `mvp` (`char_id` int(11) unsigned NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL DEFAULT '0', `kills` int(11) unsigned NOT NULL DEFAULT '0',`points` int(11) unsigned NOT NULL DEFAULT '0', `level` int(11) unsigned NOT NULL DEFAULT '0', KEY `char_id` (`char_id`), KEY `kills` (`kills`), KEY `points` (`level`), KEY `level` (`level`)) ENGINE=MyISAM"); freeloop(1); //AddMvP(<"MAP_NAME">,<MVP ID>{,<MVP ID>}); //you can add as much as you want mvp ids AddMvP("prontera",1002); AddMvP("payon",1002,1003,1004); AddMvP("geffen",1546); freeloop(0); end; } Error found: [Error]: script error in file '(DIRECT INPUT)' line 3 column 10 parse_simpleexpr: unmatched ')' 1: { 2: OnNPCKillEvent: * 3: if(inarray(getd(".MVP_" + strcharinfo(3)),killedrid) != -1){
  2. Can you provide me NPC script for it? just give me hint, like it sells white potion, orange potions, red potion, blue potion. etc.
  3. Good day! I don't know if this has been requested. May I request a NPC SHOP that sells item but upon buying the item will have NPC name on it? For example. DriveThru NPC: Red pots ---->> upon purchased ----> "DriveThru Red Pots" I don't know how to add getnameditem under NPC Name. Thank you!
  4. Hi @AnnieRuru, apologies. 1. MVP list EASY Atroce (ATROCE) Mob-ID#1785 Bacsojin / White Lady (BACSOJIN_) Mob-ID#1630 Boitata (BOITATA) Mob-ID#2068 Doppelganger (DOPPELGANGER) Mob-ID#1046 Dracula (DRACULA) Mob-ID#1389 Drake (DRAKE) Mob-ID#1112 Eddga (EDDGA) Mob-ID#1115 Garm / Hatii (GARM) Mob-ID#1252 Gopinich (GOPINICH) Mob-ID#1885 Maya (MAYA) Mob-ID#1147 Mistress (MISTRESS) Mob-ID#1059 Osiris (OSIRIS) Mob-ID#1038 Pharaoh (PHARAOH) Mob-ID#1157 Phreeoni (PHREEONI) Mob-ID#1159 Tao Gunka (TAO_GUNKA) Mob-ID#1583 Turtle General (TURTLE_GENERAL) Mob-ID#1312 Vesper (APOCALIPS_H) Mob-ID#1685 NORMAL Amon Ra (AMON_RA) Mob-ID#1511 Baphomet (BAPHOMET) Mob-ID#1039 Dark Lord (DARK_LORD) Mob-ID#1272 Detale / Detardeurus (DETALE) Mob-ID#1719 Evil Snake Lord (DARK_SNAKE_LORD) Mob-ID#1418 Golden Thief Bug (GOLDEN_BUG) Mob-ID#1086 Incantation Samurai / Samurai Specter (INCANTATION_SAMURAI) Mob-ID#1492 Knight of Windstorm / Stormy Knight (KNIGHT_OF_WINDSTORM) Mob-ID#1251 Lady Tanee (LADY_TANEE) Mob-ID#1688 Lord of Death / Lord of the Dead (LORD_OF_DEATH) Mob-ID#1373 Moonlight Flower (MOONLIGHT) Mob-ID#1150 Orc Hero (ORK_HERO) Mob-ID#1087 Orc Lord (ORC_LORD) Mob-ID#1190 RSX 0806 / RSX-0806 (RSX_0806) Mob-ID#1623 Wounded Morroc (MOROCC_) Mob-ID#1917 HARD Beelzebub (BEELZEBUB_) Mob-ID#1874 Fallen Bishop / Fallen Bishop Hibram (FALLINGBISHOP) Mob-ID#1871 Gloom Under Night (GLOOMUNDERNIGHT) Mob-ID#1768 Ifrit (IFRIT) Mob-ID#1832 Kiel D-01 (KIEL_) Mob-ID#1734 Ktullanux (KTULLANUX) Mob-ID#1779 Thanatos / Memory of Thanatos (THANATOS) Mob-ID#1708 Valkyrie Randgris (RANDGRIS) Mob-ID#1751 2. Will wait for it /no1 <--- Can we skip the rank Name and just the killing points only for meantime. if possible 3. For monthly only 4. Points trigger on MVP maps only. (branch and bloody branch summons not included) Thank you so much!
  5. Good day! Where can i find the #define MAX_EVENTQUEUE 2 seem it is no longer found in map.h reference below. thanks!
  6. MikZ

    @mobalive

    Good day! May i request command @mobalive please. though was already requested before. @mobalive moonlight Dispbottom "MVP moonlight is dead"; Dispbottom "MVP moonlight is Alive"; etc Only trigger if MVP is in MVP Map not in Deadbranch room or any other map.
  7. Hi! How can I remove this on the screen? Base EXP: | Base Drops: | Base Death Penatly: already commented the lines yet, still on the screen. //ModDrop = 140; //ModExp = 140; //ModDeath = 0;
  8. Alright! Thank you so much ms. Annieruru
  9. Good day! May I request script similar to this please. https://rathena.org/board/topic/114565-utility-automated-mvp-ladder-reward-system/ Contacted the maker yet script not available for Hercules. Just wanted: MVP points will trigger on MVP maps only 3 Set of MVP Easy = 2 pts (Solo) / 1pts (party Share) Moderate = 4 pts (Solo) / 2pts (party Share) Hard = 6 pts (Solo) / 3pts (party Share) View Personal Ranking (shows number of MVP killed only not pts.) weekly Easy = # of MVPs Moderate = # of MVPs Hard = # of MVPs Monthly Easy = # of MVPs Moderate = # of MVPs Hard = # of MVPs View Top ranking / Rewards to Top 5 (names only) Easy: Name of Players Moderate: Name of Players Hard : Name of Players Shop Reset points/ Ranking (Manual @command or Autoreset) If possible will have RANK name: Copper = 10 Iron = 15 Silver = 20 Gold = 25 Platinum = 30 Mythril = 35 Orichalcum = 40 Adamantite = 50 2 set of points MVP points(for shop purposes) and Hunting points(for Ranking name purposes) Basically Ranking Name points = Hunting points - Penalty points (Killed by MVP / right minus wrong) Reward will be given per rank monthly I'm running out of ideas, if possible only. if not not the MVP points above. thanks!
  10. @AnnieRuru your Quest information is so neat. can that be use for client 20141022 or for 2018 client only? Check mine .. also where to add these? */ mission 1 - acolyte trouble 49900 - from tavern, talk to acolyte 49901 - from acolyte, talk to npc in izlude 49902 - from izlude, talk to acolyte 49903 - from acolyte, submit to tavern mission 2 - gemstone stortage 49904 - from tavern, talk to gem seller 49905 - from gem seller, collect 10 yellow/blue/red gemstone 49906 - from gem seller, submit to tavern mission 3 - poring problem 49907 - from tavern, talk to guard 49908 - from guard, kill 10 poring 49909 - after kill poring and talked to guard, submit to tavern mission 4 - hand over the artifact 49910 - from tavern, talk to artifact collecter 49911 - from artifact collecter, talk to assistant within 20 seconds 49912 - from assistant, talk to artifact collecter 49913 - from artifact collecter, submit to tavern */
  11. I'm planning to, meantime I'm using 20141022 . Awaiting from AndRO dev how can I update my client in mobile and if it is free. does 20180621 is stable?
  12. @AnnieRuru sorry, what if I add case 2 for 12 hours. Can i Just add these? but im getting infinity loop. Case 2: mes "Retrieving today's half day supplies..."; for ( [email protected] = 1; [email protected] <= 3; [email protected] ) { [email protected] = rand(.totalchance[[email protected]]); for ( [email protected] = 3; ( [email protected] -= getd(".twelve"+ [email protected] +"["+ [email protected] +"]") ) >= 0; [email protected] += 2 ); getitem getd(".twelve"+ [email protected] +"["+( [email protected] -1 )+"]"), rand( getd(".twelve"+ [email protected] +"[0]"), getd(".twelve"+ [email protected] +"[1]") ); } #daily_twelvet = gettimetick(2); } close; } OnInit: setarray .twelve1, 1, 10, // amount : rand(1,10) // chance of getting the items Set#1 // <Item ID>,<chance> Red_Potion, 5, Orange_Potion, 4, Yellow_Potion, 3, White_Potion, 2, Blue_Potion, 1, Green_Potion, 6; setarray .twelve2, 5, 15, // amount : rand(5,15) // chance of getting the items Set#1 // <Item ID>,<chance> Red_Herb, 5, Yellow_Herb, 4, White_Herb, 3, Blue_Herb, 2, Green_Herb, 1; setarray .twelve3, 10, 20, // amount : rand(10,20) // chance of getting the items Set#1 // <Item ID>,<chance> Apple, 5, Banana, 4, Grape, 3, Carrot, 2, Sweet_Potato, 1, Meat, 99, Honey, 50, Milk, 100; for ( [email protected] = 1; [email protected] <= 3; [email protected] ) { setd ".twelve"+ [email protected] +"size", getarraysize( getd(".twelve"+ [email protected]) ); for ( [email protected] = 3; [email protected] < getd(".twelve"+ [email protected] +"size"); [email protected] += 2 ) .totalchance[[email protected]] += getd(".twelve"+ [email protected] +"["+ [email protected] +"]"); for ( [email protected] = 3; [email protected] < getd(".twelve"+ [email protected] +"size"); [email protected] += 2 ) { [email protected] = getd(".twelve"+ [email protected] +"["+ [email protected] +"]") *10000 / .totalchance[[email protected]]; [email protected] = [email protected] / 100; [email protected]$ = .gchance % 100; while ( getstrlen([email protected]$) < 2 ) [email protected]$ = insertchar([email protected]$, "0", 0); setd ".chance_display_item"+ [email protected] +"$["+ [email protected] +"]", [email protected] +"."+ [email protected]$ +"%"; } } end; }
  13. Perfect! Thank you so much @AnnieRuru
  14. That was fast, I like to add some twist, can you add like rate for rare one. example item 506 is @ 5% and item 14510 is @ 2% success chance to get in set A for set b 505 @ 9% and 657 @ 1% for Set C 657 @ 10% 14510 @ 1%. of course ill be adding more item like bubble gums, Food items, TCGs something like that. thanks!
  15. @utofaery Hello, just what i wanted with success rate for rare ones, can you add countdown timer "you still have 00 hours, minute/s seconds countdown to get next supplies" Also, im getting error like and no items were given. Buildin_getitem: Nonexistant item 0 requested. Hi @AnnieRuru yes can be repeated. can you add rates for the rare ones, like the above. thnx!
  16. Hi! May I request a sample random prize giver. What I'm looking for is. This npc will give all 3 set 1 type of item from set A,B to C randomly, with random number of pieces too. Set A: random (1x,10x) pcs random :656 , 657 , 505 , 645 , 506 , 14510 Set B: random (5x,15x) pcs random :656 , 657 , 505 , 645 , 506 , 14510 Set C: random (10x,20x) pcs random :656 , 657 , 505 , 645 , 506 , 14510 please help me. thanks!
  17. Already fixed thanks!
  18. hi @4144 do we have update regarding this now? thanks!
  19. thanks! when will this be fix? is it included in the version this month?
  20. Good day! After I updated my GIT I always got this everytime i logged in a char: [Waring]: Unhandled packet 0x044A (length 6), authed session #7, 2000000/150537 (AID/CID) what does this mean?
  21. Good day! Quick question. Does hit-delay plugin include return to die warp/last save point delay? If not how, can i enable delay after dying wanted to add timer like 5, 4, 3, 2, 1 . before return to last save point appear if killed by a monster "only". Thanks!
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.