Jump to content

mkhzaleh

Members
  • Content count

    193
  • Joined

  • Last visited

  • Days Won

    15

mkhzaleh last won the day on March 8

mkhzaleh had the most liked content!

Community Reputation

51 Good

5 Followers

About mkhzaleh

  • Rank
    Boatswain

Recent Profile Visitors

6,082 profile views
  1. you can find it inside shared "chines src" in this forum but need vs 2003 to can build
  2. i would say to use effect editor much better to edit size /animation etc https://i.gyazo.com/12c634d2d5f05e3d1ff2390d11005a22.gif
  3. mkhzaleh

    Mobs Reapwn Raondom place

    local PosX = math.random(556,469) local PosY = math.random(413,352) local Monster = CreateChaEx(1, PosX * 100, PosY * 100, 145, 50, MapCopy) SetChaLifeTime(Monster, 3600)
  4. mkhzaleh

    Color change

    inside source code it's called insde void CItemCommand::AddHint( int x, int y ){ UIItemCommand.cpp then inside it if(_ItemData.sEndure[1] == 25000 && _ItemData.sEnergy[1] == 0){ PushHint( _pItem->szName, COLOR_WHITE, 5, 1 ); _ShowBody(); return; } and in co they use this line of code if( isWeapon || isDefenceType || isJewelery ||isEquip ){ if ( _ItemData.GetItemLevel() > 0 ){ sprintf( buf, "Lv%d %s",_ItemData.GetItemLevel(), GetName()); }else{ sprintf( buf, "%s", GetName() ); } PushHint( buf, COLOR_WHITE, 5, 1 ); // //item name color > note i just made it as white was black before lol <
  5. Top Game Launcher/Updater with Game Setting and Auto Login Options The updater works with FTP for more info Inbox me or hit me in my Discord:- .✰MoτђaŇŇa✰.#5016
  6. mkhzaleh

    Entry check

    you don't need all of this i guess can be in this simple way if GetSkillLv (role,459) < 1 then --systemnotice here bla bla return end
  7. mkhzaleh

    Fairy exp, and mob drop question

    you can't just copy past without read the code lol its random chance and the example i gave above work for monster id " 66 " you can edit it to what is fine for your files/server etc
  8. mkhzaleh

    Fairy exp, and mob drop question

    Give_ElfEXP ( role , Item_bg , 1 , 0 ) --这里有问题
  9. mkhzaleh

    Phyllis crusader gear

    yes, you can use pko model viewer to checkout models
  10. mkhzaleh

    Fairy exp, and mob drop question

    cha_timer
  11. mkhzaleh

    Fairy exp, and mob drop question

    you can't killl npc but if you mean kill a monster use this small lua function function fairyexp(Player, Fairy) local FairyEXP = GetItemAttr(Fairy, ITEMATTR_ENERGY) local FairyMaxEXP = GetItemAttr(Fairy, ITEMATTR_MAXENERGY) FairyEXP = FairyEXP + 1 if GetItemAttr(Fairy, ITEMATTR_URE) > 49 then if FairyEXP >= FairyMaxEXP then FairyEXP = FairyMaxEXP end SetItemAttr(Fairy, ITEMATTR_ENERGY, FairyEXP) end end function GetExp_New(dead , atk ) local DeadMonster = GetChaID(dead) if DeadMonster == 66 then local Fairy = GetChaItem(atk, 2, 1) if Fairy == nil then return end local FairyType = GetItemType(Fairy) local chance = math.random(1, 100) if FairyType == 59 then if chance >= 50 then fairyexp(atk, Fairy) BickerNotice(atk, "Fairy EXP: Fairy Received x [1] EXP ") end end end end
  12. mkhzaleh

    Fairy exp, and mob drop question

    not sure what do you want but you can try like this local dead_id = GetChaID(dead) local mob = {} mob[715] = {ItemDrop = 3457, Quantity = 1, Quality = 4, Rate = .5} --50% drop mob[716] = {ItemDrop = 3457, Quantity = 1, Quality = 4, Rate = .5} --50% drop mob[717] = {ItemDrop = 3457, Quantity = 1, Quality = 4, Rate = .5} --50% drop if mob[dead_id] ~= nil then if Percentage_Random(mob[dead_id].Rate) == 1 then mob[dead_id].Quantity = math.random(1,10) -- 1 to 10 GiveItemX ( atk, 0, mob[dead_id].ItemDrop, mob[dead_id].Quantity , mob[dead_id].Quality) BickerNotice ( atk, "Received a Kal Runestone! Check your Temp Bag.") end end or you can use like this mob[715] = {ItemDrop = 3457, Quantity = 10, Quality = 4, Rate = .5} mob[dead_id].Quantity = math.random(1,Quantity) --
  13. mkhzaleh

    Phyllis crusader gear

    the model inside iteminfo example 3 Fencing Sword w0003 10100001 01010003 02010003 03010072 //ID Name Icon Name Model (Ground) Model (Lance) Model (Carsise) Model (Phyllis) Model (Ami)
  14. mkhzaleh

    glow bug

    change the yellow mark from 0 to 1 for that effect if effect not following you
  15. mkhzaleh

    Kill mobs and earn money

    can't use Visual Studio Code
×