Jump to content

MikZ

Members
  • Content Count

    461
  • Joined

  • Last visited


Reputation Activity

  1. Upvote
    MikZ reacted to Dastgir in hit-delay   
    https://github.com/dastgir/HPM-Plugins/blob/master/src/plugins/hit-delay.c
    This was updated many days before
  2. Upvote
    MikZ reacted to Dastgir in Remove script effect   
    bonus2 bExpAddRace,RC_All,50;if(BaseLevel < 175) { bonus bAllStats,5;}
  3. Upvote
    MikZ reacted to Kuya Jeo in CRITICAL DAMAGE MAKES DROP ITEM 2x ~ 3x. BUG or What?   
    @@MikZ hmm 4 apples in 1 poring?
  4. Upvote
    MikZ reacted to AnnieRuru in CRITICAL DAMAGE MAKES DROP ITEM 2x ~ 3x. BUG or What?   
    https://github.com/HerculesWS/Hercules/blob/master/conf/battle/monster.conf#L199
    depends on the setting, the patch will be different
    its already inside your server
     
    and you still didn't tell what will happen like I said before
     
    oh, post in wrong section, no wonder you misunderstand what I'm saying
    move to source request
     
     
    EDIT for below,
    nvm, I think he don't understand what 'patch' means anyway
  5. Upvote
    MikZ reacted to Dastgir in CRITICAL DAMAGE MAKES DROP ITEM 2x ~ 3x. BUG or What?   
    https://github.com/dastgir/HPM-Plugins/blob/master/src/plugins/Critical-Magic.c
    Using this plugin? Be sure to disable it and try again(or check if you are using latest version of that), I eventually got busy to refactor that plugin ...
  6. Upvote
    MikZ reacted to Samuel in CRITICAL DAMAGE MAKES DROP ITEM 2x ~ 3x. BUG or What?   
    @@MikZ any modification in src? can't reproduce this bug
     
    because even if you have renewal setting, this will not happen afaik


    @@MikZ any modification in src? can't reproduce this bug
     
    because even if you have renewal setting, this will not happen afaik
  7. Upvote
    MikZ reacted to Tranquility in WOE DAMAGE   
    That one is pretty accurate. Use a hexing program (XVI or Hexworkshop are the ones I've used in the past). Search for that bolded hex in your client, replace the "74" with "EB" and then save your changes.
    You'll have to enable WoE damage in your server settings too though.
  8. Upvote
    MikZ reacted to AnnieRuru in King Of Emperium Hill ROYAL Rumble   
    script and plugin
     
    ... erm ... I remember I said something about stop supporting on the board
    but I'm kinda ... having fun writing all these stuffs =/
  9. Upvote
    MikZ reacted to AnnieRuru in King Of Emperium Hill ROYAL Rumble   
    change
    #include "common/memmgr.h"into#include "common/malloc.h"..
    http://herc.ws/board/topic/8192-restock-system/?p=64596
    http://herc.ws/board/topic/4830-noitem-mapflag/?p=65839
     
     
    EDIT: oh and, since its your 1st time, always uncomment this line
  10. Upvote
    MikZ reacted to AnnieRuru in King Of Emperium Hill ROYAL Rumble   
    almost every hercules user know plugin
    http://herc.ws/wiki/Building_HPM_Plugin_for_MSVC
     
    if you don't use this plugin, the one who owned this koe map can kill the emperium over and over
     
     
    EDIT:
    https://rathena.org/board/topic/103799-king-of-emperium-hill-royal-rumble/
    everyone there talk sh*t, doesn't make sense
  11. Upvote
    MikZ reacted to AnnieRuru in movespeed mapflag   
    this is useful for certain events when you want your players to move at a fixed speed
    eg: even if the player has agi up, mount peco or using Authoritative Badge,
    all players movement speed are fixed at your desire value
     
    Download: 1.3
    plugin
     
    Example:
    prontera mapflag movespeed 150 setmf_movespeed "prontera", 150; all players at prontera will move at default speed
    the value capped between 20~1000 
     
    prontera mapflag movespeed 150 99 setmf_movespeed "prontera", 150, 99; all players except GM99 at prontera will move at default speed
     
    removemf_movespeed "prontera"; remove the movespeed mapflag in prontera, without using "@reloadscript"
     
    dispbottom getmf_movespeed( "prontera" ) +""; dispbottom getmf_movespeed( "prontera", 0 ) +""; dispbottom getmf_movespeed( "prontera", 1 ) +""; first 2 lines return the movespeed value, 3rd line return the GM level bypass restriction
    Note: since the minimum value is 20, if the mapflag is off, return 0
     
     
  12. Upvote
    MikZ reacted to AnnieRuru in Run Or Die event ( aka. Poring Bomb )   
    @@MikZ
    http://herc.ws/board/topic/11153-movespeed-mapflag/
     
    ok I made the movespeed mapflag (actually I did this for a customer few days ago hahaha)
    so just add
    guild_vs5 mapflag movespeed 150at your script
  13. Upvote
    MikZ reacted to AnnieRuru in Run Or Die event ( aka. Poring Bomb )   
    maybe you use gm account to register, and then teleport out ?
    almost all event script made by me doesn't have this protection
     
    so make sure only use non-gm account to run this event, and use gm to @warp in
     
    once haru's queue iterator script commands out, then its SQO_OnMapChange can prevent this from happening
     
     
    EDIT: nvm, maybe just add a few lines 1st, doesn't hurt I guess ?
    release 2.2
  14. Upvote
    MikZ reacted to Aeromesi in AnnieRuru Devil Square   
    Change this line:
     
     
    else if ( baselevel < 70 || zeny < 20000 ) { // requirement to
     
     
    else if (BaseLevel <= 69  || Zeny <= 19999 ) {

    BaseLevel is a constant and zeny should be "Zeny" as we're moving towards using constants I guess. @@MikZ
     
  15. Upvote
    MikZ reacted to Kashiro in Aura blade   
    makikita mo naman pinagkaiba kapag umattack ka ng walang aura blade at kapag umattack ka ng may aura blade
  16. Upvote
    MikZ reacted to Dastgir in QUEST SHOP NPC   
    If you mean TCG Shop, here it is
    prontera,153,152,1 trader TCGShop 4_F_EDEN_OFFICER,{ OnInit: tradertype(NST_CUSTOM); sellitem Red_Potion,2; //Sell Red Potion for 2z sellitem Orange_Potion; //Sell Orange Potion with default price. /* Add All Items to be sold here */ end;OnCountFunds: setcurrency(countitem(TCG_Card)); end;OnPayFunds: if( countitem(TCG_Card) < @price ) end; delitem TCG_Card,@price; purchaseok(); end;}
  17. Upvote
    MikZ reacted to iCORE in QUEST SHOP NPC   
    // -------------------- Config 1 --------------------// For each shop added, copy this MSHOPX dummy data.// Write your shop names in the select() function.- shop MSHOP1 -1,512:-1- shop MSHOP2 -1,512:-1- shop MSHOP3 -1,512:-1- shop MSHOP4 -1,512:-1- shop MSHOP5 -1,512:-1- shop MSHOP6 -1,512:-1MAP,X,Y,P script Sample Shop 4_PORING,{ set @s, select("50 PCoins To 1 TCG","Tao Gunka to 15 TCGs","Ifrit to 30TCGs","Gloom to 45 TCGs","Thanatos to 60 TCGs","Keil to 80 TCGs");// -------------------------------------------------- message strcharinfo(0),"This shop only accepts "+getitemname(.Currency[@s])+"."; dispbottom "You have "+countitem(.Currency[@s])+" "+getitemname(.Currency[@s])+"."; callshop "MSHOP"+@s,1; npcshopattach "MSHOP"+@s; end;OnBuyItem: set .@i,0; while (.@i < getarraysize(@bought_nameid)) { set .@j, 0; while (.@j < getarraysize(getd(".Shop"+@s))) { if(getd(".Shop"+@s+"["+.@j+"]") == @bought_nameid[.@i]) { set @itemcost, (getd(".Shop"+@s+"["+(.@j+1)+"]") * @bought_quantity[.@i]); set @totalcost, @totalcost + @itemcost; break; } set .@j, .@j+2; } set .@i, .@i+1; } if (@totalcost > countitem(.Currency[@s])) dispbottom "You don't have enough "+getitemname(.Currency[@s])+"."; else { set .@i,0; while (.@i < getarraysize(@bought_nameid)) { getitem @bought_nameid[.@i], @bought_quantity[.@i]; dispbottom "Purchased "+@bought_quantity[.@i]+"x "+getitemname(@bought_nameid[.@i])+"."; set .@i, .@i+1; } delitem .Currency[@s], @totalcost; } set @totalcost, 0; deletearray @bought_nameid[0], 128; deletearray @bought_quantity[0], 128; end;OnInit:// -------------------- Config 2 --------------------// Currency: The ID of each shop currency,// in the same order as the shops.// Shop order follows that of the select() call,// and is formatted "ID1,Count1,ID2,Count2,..." setarray .Currency[1],7539,4302,4430,4408,4397,4403; setarray .Shop1[0],20000,1; //TCG setarray .Shop2[0],20000,15; //TGK setarray .Shop3[0],20000,30; //Ifrit setarray .Shop4[0],20000,45; //Gloom setarray .Shop5[0],20000,60; //Thanatos setarray .Shop6[0],20000,80; //Kiel// -------------------------------------------------- set .@i,1; while (.@i <= getarraysize(.Currency)) { set .@j,0; while (.@j < getarraysize(getd(".Shop"+.@i))) { npcshopdelitem "MSHOP"+.@i,512; npcshopadditem "MSHOP"+.@i, getd(".Shop"+.@i+"["+.@j+"]"), getd(".Shop"+.@i+"["+(.@j+1)+"]"); set .@j, .@j+2; } set .@i, .@i+1; } end;}
  18. Upvote
    MikZ reacted to Litro in QUEST SHOP NPC   
    how you intend to give a player 5 M zeny ? if you will give 5M zeny as an item or coin, you can use this but the menu will have ugly outcome since it have long pharase, do not use in live server before you test it, i never test this script to make sure it was working as intended
     
    - script Item Trader -1,{ mes .@npc_name$ = "["+strnpcinfo(1)+"]"; mes "Do yo want to trade some items?"; next; .@s = select(.menu$) -1; .@choice = .@s * 6; mes .@npc_name$; mes "I can trade you..."; mes .item_list[.@choice+1]+"x "+getitemname(.item_list[.@choice])+" + "+.item_list[.@choice+3]+"x "+getitemname(.item_list[.@choice+2]); mes "For exchange.."; mes .item_list[.@choice+5]+"x "+getitemname(.item_list[.@choice+4]); mes " "; mes "Do you want to?"; next; if (select("Yes:No") == 2) { mes .@npc_name$; mes "All right "+callfunc("F_Bye"); close; } mes .@npc_name$; if (countitem(.item_list[.@choice+4]) < .item_list[.@choice+5]) { mes "You dont have enought item I want."; close; } mes "Glad to do bussines with you"; delitem .item_list[.@choice+4], .item_list[.@choice+5]; for (.@i = .@choice; .@i < .@choice+4; .@i+=2) getitem item_list[.@i], .item_list[.@i+1]; close;OnInit: setarray .item_list, 7539,1, 501,1, 7227,1, // <Item ID>,<Amount>,<Item ID>,<Amount>,<Item Price>,<Amount> 7539,2, 502,2, 7227,2, 7539,3, 503,3, 7227,3; .menu$ = ""; for (.@i = 0; .@i < getarraysize(.item_list); .@i+=6) .menu$ += .item_list[.@i+1]+"x "+getitemname(.item_list[.@i])+" + "+.item_list[.@i+3]+"x "+getitemname(.item_list[.@i+2])+" = "+.item_list[.@i+5]+"x "+getitemname(.item_list[.@i+4])+":"; end;}
  19. Upvote
    MikZ reacted to Litro in QUEST SHOP NPC   
    try this ripped form Euphy's Quest Shop, i'm trying to match your request , do not use it in live server before you test it in your local server this script yet be tested by my self but it pas script check
    -  script  Item Trader  -1,{  function Chk;  mes .@npc_name$ = "["+strnpcinfo(1)+"]";  mes "I can trade you some TCG, do you want it?";  next;  .@s = select(.menu$);  copyarray .@q[0],getd(".q_"+.@s+"[0]"),getarraysize(getd(".q_"+.@s));  mes .@npc_name$;  mes "I can trade you...";  mes .@q[2]+"x "+getitemname(.@q[1]);  mes "For exchange..";  if (.@q[3]) mes " > "+Chk(Zeny,.@q[4])+(.@q[4])+" Zeny^000000";  if (.@q[4]) for (.@i = 4; .@i < getarraysize(.@q); .@i += 2)    mes " > "+Chk(countitem(.@q[.@i]), .@q[.@i+1])+getitemname(.@q[.@i])+" ("+countitem(.@q[.@i])+"/"+(.@q[.@i+1])+")^000000";  next;  if (select("Trade:No") == 2) {    mes .@npc_name$;    mes "All right "+callfunc("F_Bye");    close;  }  if (@qe[0]) {    mes .@npc_name$;    mes "You're missing one or more requirements.";    @qe = 0;    close;  }  if (!checkweight(.@q[1],.@q[2])) {    mes .@npc_name$;    mes "^FF0000You need "+(((.@q[2]*getiteminfo(.@q[1],6))+Weight-MaxWeight)/10)+" additional weight capacity to complete this trade.^000000";    close;  }  if (.@q[3]) Zeny -= .@q[4];  if (.@q[4])    for (.@i = 4; .@i < getarraysize(.@q); .@i += 2)      delitem .@q[.@i], .@q[.@i+1];  getitem .@q[1], .@q[2];  mes .@npc_name$;  mes "Thanks, Glad to have a bussines with you "+callfunc("F_Bye");  specialeffect2 EF_FLOWERLEAF;  close;OnInit:  function Add;  .menu$ = "";  // Add(<menu index>, <item reward id>, <item reward amount>, <zeny requirement>, <item requirement id>, <item requiremnt amount>{,...});  Add(1, 7227,1, 1000000000, 501,1);  Add(2, 7227,2, 1500000000, 502,2,503,3);  Add(3, 7227,3, 2000000000, 503,3,504,4,505,5);  end;  function Chk {  if (getarg(0) < getarg(1)) {    @qe = 1;    return "^FF0000";  } else    return "^00FF00";}function Add {  if (getitemname(getarg(1)) == "null") {    debugmes "Item Trader: invalid item id in index #"+getarg(0)+" (skipped).";    return;  }  setarray .@j[0],getarg(0), getarg(1), getarg(2),getarg(3);  for(.@i = 4; .@i < getargcount(); .@i += 2) {    if (getitemname(getarg(.@i)) == "null") {      debugmes "Item Trader: index #"+getarg(0)+" have invalid requirement item id #"+getarg(.@i)+" (skipped).";      return;    } else      setarray .@j[.@i], getarg(.@i), getarg(.@i+1);  }  copyarray getd(".q_"+getarg(0)+"[0]"), .@j[0],getarraysize(.@j);  .menu$ += getarg(2)+"x "+getitemname(getarg(1))+":";  return;}}
  20. Upvote
    MikZ reacted to AnnieRuru in QUEST SHOP NPC   
    Hello ? KISS ... ok ?
    Keep It Short & Simple ...
     
    http://upaste.me/6890217783a73aa17
     
     
     
     
  21. Upvote
    MikZ reacted to Dastgir in Bloody branch   
    Change bloody branch script(from item_db) to

    if (getgmlevel()==0 || getgmlevel()==99) monster "this",-1,-1,"--ja--",-3,1,""; This will make bloody branch only usable by players/admins
  22. Upvote
    MikZ reacted to Litro in RK RUNESTONE   
    Upper: Equippable upper-types. Uses the following bitmasks: Normal jobs: 0x01 (1) Upper jobs: 0x02 (2) Baby jobs: 0x04 (4) Third jobs: 0x08 (8) Upper Third jobs: 0x10 (16) Baby Third jobs: 0x20 (32) Under pre-re mode third classes are considered upper, making use of the 8 and above masks is therefore not necessary unless in renewal mode. When no value is specified, all classes (mask 0x3f) are able to equip the item. change
    Upper: 8 to
    Upper: 56 that will be Third + Upper Third + Baby Third jobs who can use the runes
  23. Upvote
    MikZ reacted to iCORE in [Re-Release] Paradox Vote For Points   
    Re-release of paradox VOTE addon.
     
    credits to the maker of this addon
     
    This addon is working on the latest flux CP
     
    see ./config/access.php to edit
     
    CASHPOINTS and COINS voting.
    vote_for_credits.rar
  24. Upvote
    MikZ reacted to Litro in NO ranger UNLIMIT SKILL   
    Server git revision: c35b94d
    - Server mode pre-renewal
     
    Client Files:
    - 2014.ini is Data.ini, Folder data & System is the latest pull from here

     
    SS:

  25. Upvote
    MikZ reacted to officialronode in Unknown folder error   
    I think you should check your mapflag config.
×
×
  • Create New...

Important Information

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