Jump to content

iZae

Members
  • Content count

    78
  • Joined

  • Last visited

  • Days Won

    6

iZae last won the day on January 2

iZae had the most liked content!

Community Reputation

40 Neutral

2 Followers

About iZae

  • Rank
    Pirate

Recent Profile Visitors

346 profile views
  1. Nice Job: Btw (Off topic): Who is calling his server SCROTOS, when this in spanish and portuguese means scrotum lol.
  2. iZae

    Problem with daily prize

    You sure you did everything you need to? Dofile the extension Add SDK Change IDs of Prizes?
  3. iZae

    Quest require x hours online

    Cool, that's what I ment. If you want players to stay X time since they took the quest, you need to store the total_live_time (at the moment they begin the quest) into a file trough serialize, and then check: current total_live_time - stored total_live_time = time elapsed since you took the quest. if time elapsed == mission requirement then give reward.
  4. iZae

    Quest require x hours online

    I'm not sure at all, and I can't check it but I think the online time was stored somewhere on the database. (I'm guessing this 'cause I remember seeing some sites that display the online time for every character on your account). Try to search inside DBs. In case you find it stored somewhere, you should use LuaSql extension and play with it. That may be not so helpful, but it is only a hint.
  5. iZae

    Character bodies are missing

    You're missing textures and models. Just download the full client from the server's site and it'll be done.
  6. iZae

    Official Pkodev discord?

    https://discord.gg/U9r2ND
  7. You need the .map and .obj on client side, you need .atr, .blk on server side plus: entry.lua ctrl.lua add the map on mapinfo.txt add the birth point on birth_conf.lua add the map on gameserver.cfg Make sure you had everything done
  8. iZae

    Looking any website developer

    Indeed, i consider it even more professional. Noone donate their hardest work to charity.
  9. iZae

    New Mobs or Npcs help

    Quiere saber como importar modelos de otros juegos y convertirlos al lgo que permita el ToP. Le sugerí que hable con vos porque sos el más capito.
  10. iZae

    New Mobs or Npcs help

    Maybe you could ask Wolfen. But yes, you can, you need the model and texture, and use the lgo converter. I think is complicated for beginers
  11. iZae

    Hexa "The Sixth Task"

    so you have 1 function named CheckTeam and 2 sdks? CheckTeam and CheckTeam1? if so, CheckTeam should work. If you have only one sdk, be sure it matches with the function name (CheckTeam instead CheckTeam1), so you should change atleast the line local ret = CheckTeam1( character, conditions.p1, conditions.p2 ) local ret = CheckTeam1( character, conditions[i].p1, conditions[i].p2 ) but my suggestion is to change "elseif conditions.func == CheckTeam1 then" aswell
  12. iZae

    NPC check pet Lv

    untested and not sure if every step is correct, but as a starting hint will be really good. Inside functions.lua add function CheckPetLv (role) local Pet_Slot = GetChaItem ( role , 2 , 1 ) local Pet_ID = GetItemID ( Pet_Slot ) local item_type = GetItemType ( Pet_Slot ) local str = GetItemAttr( Pet_Slot ,ITEMATTR_VAL_STR ) local con = GetItemAttr( Pet_Slot ,ITEMATTR_VAL_CON ) local agi = GetItemAttr( Pet_Slot ,ITEMATTR_VAL_AGI ) local dex = GetItemAttr( Pet_Slot ,ITEMATTR_VAL_DEX ) local sta = GetItemAttr( Pet_Slot ,ITEMATTR_VAL_STA ) local Lv = str + agi + dex + con + sta if item_type == 59 then return Lv else return 0 end end function GiveIfHasPet(role) local petLv = CheckPetLv (role) local done = HasRecord( role, RecordID) if petLv ~= 0 then if done == 0 then GiveItem( role, 0, ItemID, Qt, Ql ) SetRecord( role, RecordID) else SystemNotice(role, 0. "You took your prize already") end else SystemNotice(role, 0, "You don't have a fairy on the Pet Slot") end end and edit: petLv condition (set "if petLv ~= 0 then" to "if petLv < 40 then", in case you set the condition to have a lv 41 or higher pet) edit ItemID to the item you're willing to give players, Qt to its quantity, Ql to its quality, RecordID to an unused record (just to avoid players re-take the items more than once) then go to npcsdk and under if item.func == JumpPage then return JumpPage( character, npc, page, item.p1 ) add elseif item.func == GiveIfHasPet then return GiveIfHasPet( character) and now you can use the following line on a npc script Text(1, "Redeem your item", GiveIfHasPet)
  13. iZae

    Monster Item

    you have to use "OR". it is physically impossible to get more than 1 id every time you kill a mob, so "if id=... and id= ..." would be senseless.
  14. iZae

    Monster Item

    go into exp_and_level.lua and find the function GetExp_PKM somewhere inside of it add local dead_id = GetChaID(dead) if dead_id == XXXX then local rand = math.random(1,100) if rand < 60 then GiveItem ( atk , 0 , ItemID , Qt , Ql ) else BickerNotice ( atk, "You weren't lucky enough. Keep trying!") end end changin XXXX for the boss/monster Id, ItemID item's id, Qt for the quantity, Ql for the quality and 60 for the desired % of success rate.
  15. iZae

    Simple VIP

    inside Vip.lua are the following instructions. Installation: 1) Change VIP.SavePath to your desired save path. 2) Change VIP.State to the state you wish to add to a VIP player 3) Add lines to iteminfo eg: 8967 VIP 10 Seconds n1216 10130016 0 0 0 0 0 0 31 0 0 0 0 0 1 1 1 1 1 0 200 -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 AddVIP 0 0 0 0,0 0 0 Use to get VIP 8968 VIP 1 Day n1216 10130016 0 0 0 0 0 0 31 0 0 0 0 0 1 1 1 1 1 0 200 -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 AddVIP 0 0 0 0,0 0 0 Use to get VIP 8969 VIP 7 Days n1216 10130016 0 0 0 0 0 0 31 0 0 0 0 0 1 1 1 1 1 0 200 -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 AddVIP 0 0 0 0,0 0 0 Use to get VIP 4) Adjust VIP.Items to have the ID of the item as the index, and the time in seconds that the item will add upon use as the value eg : [8967] = 10, Means item 8967 will add 10 seconds to VIP. 5) Load this file with DoFile()
×