Jump to content

Brothers

Members
  • Content count

    65
  • Joined

  • Last visited

  • Days Won

    1

Brothers last won the day on February 23 2019

Brothers had the most liked content!

Community Reputation

10 Neutral

1 Follower

About Brothers

  • Rank
    Pirate

Recent Profile Visitors

500 profile views
  1. Brothers

    Entry check

    Hi guys, small question. I want to make a map, where only rebirth can entry. I know the code what checks inventory, but not like class. Does anyone know? - Ivy
  2. Brothers

    adding shaitan and icicle

    Yess, imma try soon again, first have to feed my kid
  3. Brothers

    adding shaitan and icicle

    Didnt work @Graf i might copy garner2 files and change names.
  4. Brothers

    adding shaitan and icicle

    @Graf, Hey brother, Hope you can help me too! Added Kyjj maps fully in client, and just added Kyjj maps inside resources. Editted Birth + Mapinfo.. Still i have also the following error when starting up GameServer: SubMap::LoadNpc obtain [kyjj 1] ID Failed Can you help me? - Ivy
  5. Brothers

    Relog delete account Error !

    What did you edit before this error?
  6. Brothers

    How i can make a server ?

    First of all, start learning to read a forum! There are many people who have added some points on how to make server.. You can use this one to make your SQL server: The best thing to start with, are clean server files. Those you can find here: Goodluck!
  7. Brothers

    Creating New Set Glow Effect

    Is there a code, to keep effect when fused armor?
  8. Brothers

    Adding improved pet fruits

    Thanks! It works now! I've found a line i didnt used... local ret = CheckJingLingLv2( role , Item_Traget ) so added in function: ---Improved Fruits function CheckJingLingLv2 ( role , Item_Traget) local ItemID = GetItemID ( Item_Traget ) local str_Traget = GetItemAttr( Item_Traget ,ITEMATTR_VAL_STR ) --Strenght local con_Traget = GetItemAttr( Item_Traget ,ITEMATTR_VAL_CON ) --Constitution local agi_Traget = GetItemAttr( Item_Traget ,ITEMATTR_VAL_AGI ) --Agility local dex_Traget = GetItemAttr( Item_Traget ,ITEMATTR_VAL_DEX ) --Accuracy local sta_Traget = GetItemAttr( Item_Traget ,ITEMATTR_VAL_STA ) --Spirit local lv_Traget = str_Traget + con_Traget + agi_Traget + dex_Traget + sta_Traget --Stat To Add For A Level if lv_Traget < 42 then return 0 else return 1 end if lv_Traget > 52 then return 0 else return 1 end end
  9. Brothers

    Adding improved pet fruits

    Hello guys, I just tried to add improved pet fruits. It all looked good, until i tried to lvl my pet, the fruit just disappeared and pet stayed level 42.. Here is what i did: First added them into Iteminfo: (imma show simply one line, otherwise too much spam) 7027 Improved Strength Fruit n0153 10130005 0 0 0 0 0 0 58 0 0 0 0 0 1 1 1 1 99 0 360 -1,-2,-2,-2 0 -1,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2 0 0 -1,-2,-2,-2,-2,-2,-2,-2,-2,-2 -1,-2,-2,-2,-2,-2,-2,-2,-2,-2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0,0 0 0,0 0,0 0 0 0 0 0 0 0 0 0 ItemUse_Great_Strup 0 0 0 0,0 0 0 Double click to use when a fairy reaches Level 42 and its EXP bar is full. It will increase a Fairy's Level by 1 and Strength by 1 point. Then put ItemUse_Great_Strup in ItemEffect: --Improved Fruits function ItemUse_Great_Strup ( role , Item , Item_Traget ) local ret = CheckJingLingLv2( role , Item_Traget ) if ret == 0 then SystemNotice ( role , "Fairy Lv lower than 42. Unable to use Improved Strenght Fruit") UseItemFailed ( role ) return end local Cha_Boat = 0 Cha_Boat = GetCtrlBoat ( role ) if Cha_Boat ~= nil then SystemNotice( role , "Cannot use while sailing" ) UseItemFailed ( role ) return end local Item_type = GetItemType ( Item ) local Item_Traget_Type = GetItemType ( Item_Traget ) local Item_Num = GetItemID ( Item ) local Check_Exp = 0 local Elf_MaxEXP = GetItemAttr(Item_Traget,ITEMATTR_MAXENERGY) if Item_type == 58 and Item_Traget_Type == 59 then Item_Traget_ID = GetItemID ( Item_Traget ) Item_bg = GetChaItem ( role , 2 , 1 ) Check_Exp = CheckElf_EXP ( role , Item_Traget ) if Check_Exp == 0 then SystemNotice(role , "Growth rate is not full. Unable to feed pet with Improved Strenght Fruit" ) UseItemFailed ( role ) elseif Item_bg ~= Item_Traget then SystemNotice(role , "Pet must be in the Pet Slot. Feeding Failed." ) UseItemFailed ( role ) else Lvup_Str_4 ( role , Item_Num , Item_Traget ) end end end Then put Lvup_Str_4 into function function Lvup_Str_4 ( role , Item_Num ,Item_Traget ) local attr_type = ITEMATTR_VAL_STR Elf_LvUp_4 ( role , Item_Num , Item_Traget , attr_type ) end Then at the end: --Improved Fruit function Elf_LvUp_4 ( role , Item_Num , Item_Traget , attr_type ) local str = GetItemAttr( Item_Traget ,ITEMATTR_VAL_STR ) local con = GetItemAttr( Item_Traget ,ITEMATTR_VAL_CON ) local agi = GetItemAttr( Item_Traget ,ITEMATTR_VAL_AGI ) local dex = GetItemAttr( Item_Traget ,ITEMATTR_VAL_DEX ) local sta = GetItemAttr( Item_Traget ,ITEMATTR_VAL_STA ) local Elf_MaxEXP = GetItemAttr(Item_Traget,ITEMATTR_MAXENERGY) local Elf_MaxURE = GetItemAttr(Item_Traget,ITEMATTR_MAXURE) local Lv = str + agi + dex + con + sta local attr_type_num = GetItemAttr( Item_Traget ,attr_type ) local a = 1 / ( math.floor ( ( 1 + ( math.pow ( ( Lv / 10 ) , 3 ) ) ) * 10 ) / 10 * math.max ( 0.01 ,( 1 - attr_type_num * 0.05 ) ) ) if Lv >= 52 then a = 1 / ( math.floor ( ( 1 + ( math.pow ( ( Lv / 10 ) , 3 ) ) ) * 10 ) / 10 ) * math.max ( 0.01 ,( 1 - attr_type_num * 0.05 ) ) end local b = Percentage_Random ( a ) local item_energe = GetItemAttr( Item_Traget ,ITEMATTR_ENERGY ) if b == 1 then AddItemEffect(role , Item_Traget , 0 ) item_energe = 0 SystemNotice (role , "Pet level up successfully! Growth rate is depleted") attr_type_num = attr_type_num + 1 SetItemAttr ( Item_Traget , attr_type , attr_type_num ) local Item_MAXENERGY = 240 * ( Lv + 1 ) if Item_MAXENERGY > 6480 then Item_MAXENERGY = 6480 end local Item_MAXURE_NUM = Elf_MaxURE + 2000 if Item_MAXURE_NUM > 32000 then Item_MAXURE_NUM = 32000 end SetItemAttr ( Item_Traget , ITEMATTR_MAXENERGY , Item_MAXENERGY ) SetItemAttr ( Item_Traget , ITEMATTR_MAXURE , Item_MAXURE_NUM ) ResetItemFinalAttr(Item_Traget) AddItemEffect(role , Item_Traget , 1 ) else item_energe = 0.5 * item_energe SystemNotice (role , "Pet level up failed! Growth rate reduced by half") end SetItemAttr ( Item_Traget , ITEMATTR_ENERGY , item_energe ) end I dont see what i miss.... Is it a line into Iteminfo?? It does work tho.... even copied working line of Snow Dragon Fruit, and just simply changed itemeffect...
  10. Brothers

    Phyllis crusader gear

    Hi @mkhzaleh, I see, so the model is fault. But where do i find the solution? Do i need to find (in this case) 03010072, and edit? - Ivy
  11. Brothers

    Phyllis crusader gear

    Hello guys, When i try gear on phyllis crusader, i get this problem. Is there an easy fix for this? - Ivy
  12. Brothers

    Dungeon Pirates Online Official

    You guys know theres allready an other server advertise of this server? One server, one topic..
  13. Brothers

    PKO 1.38 Addons

    I find a little problem. I try to change iteminfo. When changing azreal gems from //7700 to 7700, and put the changed iteminfo to client, there will be an error, and iteminfo wont work when starting game.. Is there anything i can do to make it change?
  14. Brothers

    Happy 2020!

    Hello all! I hope you all had a great night! I just got a baby (7.5 months now) so this was my 1st night not going out with friends. Wonder if some of you had a crazy night I hope you all will have a great and special year! - Ivy
  15. Brothers

    Kill mobs and earn money

    Will the items be in the temporary bag?
×