Jump to content

J0k3r

Members
  • Content count

    125
  • Joined

  • Last visited

  • Days Won

    5

J0k3r last won the day on December 29 2017

J0k3r had the most liked content!

Community Reputation

34 Neutral

1 Follower

About J0k3r

  • Rank
    Boatswain

Recent Profile Visitors

1,805 profile views
  1. J0k3r

    HP/SP recovery bugged & teampk map

    scripts related to hp/sp recovery are cha_timer / resume. while cha_timer inside functions.lua & resume inside AttrCalculate.lua you may have messed up with cha_timer. and for pvp invitations, you have to define invitations areas with yammi tool. check out this guide: function cha_timer(role, freq, time) local resume_freq = 5 local now_tick = GetChaParam(role, 1) local is_role_living = -1 SetChaParam(role, 1, now_tick + freq * time) if math.mod(now_tick, resume_freq) == 0 and now_tick > 0 then JianYuKa(role ,now_tick) ZhongShenTaoZhuang(role,now_tick) if is_role_living == -1 then is_role_living = IsChaLiving(role) end if is_role_living == 1 then Resume(role) end end function Resume ( role ) local role_type = ChaIsBoat ( role ) local srec = GetChaAttr ( role , ATTR_SREC ) local sp = GetChaAttr ( role , ATTR_SP ) local mxsp = GetChaAttr ( role , ATTR_MXSP ) local hrec = GetChaAttr ( role , ATTR_HREC ) if hrec < 0 then LG ( "resume_err" , "role = " , GetChaName (role) , "HP recovery rate lower than 0" ) LG ( "resume_err" , "role_hrec_statec = " , GetChaAttr ( role , ATTR_STATEC_HREC) , "role_hrec_statev = ", GetChaAttr ( role , ATTR_STATEV_HREC) ) LG ( "luascript_err" , "function Resume: character HP recovery rate less than 0" ) return end local hp = GetChaAttr ( role , ATTR_HP ) local mxhp = GetChaAttr ( role , ATTR_MXHP ) if role_type == 1 then --船只resume --Rem_State_NOSEA ( role ) -- SystemNotice (role,"enter ship recover") if hp <= 0 then LG ( "luascript_err" , "function Resume: Character in dead status" ) return end cha_role = GetMainCha ( role ) if sp <= 0 then BickerNotice ( role , "No more fuel! The ship is being damaged every moment! Get to the nearest Harbor now!" ) hrec = hrec - 0.025 * mxhp srec = 0 end sp = math.max ( 0 , sp - srec ) hp = math.min ( mxhp , hp + hrec ) local ship_lv = GetChaAttr ( role , ATTR_LV ) local ship_exp = GetChaAttr ( role , ATTR_CEXP ) local boatexpup_count = GetBoatCtrlTick ( role ) if ( boatexpup_count - math.floor ( boatexpup_count / 5 ) * 5 ) == 4 then a = 1 else a = 0 end boatexpup_count = boatexpup_count + 1 if boatexpup_count >= 500 then boatexpup_count = 0 end SetBoatCtrlTick ( role , boatexpup_count ) -- SetAttrChangeFlag( role) if ship_lv <= 30 and ship_exp <= 1000 then -- if ship_lv <= 50 and ship_exp <= 1000 then -- SystemNotice (role,"enter ship expup") if a == 1 then -- SystemNotice (role,"ship_expadd = " ..ship_expadd) -- SystemNotice (role,"ship_exp = " ..ship_exp) local ship_expadd = math.floor ( math.random ( 1, 3 ) + math.max ( 0 , ( 2 - ship_lv /10 ) ) ) -- local ship_expadd = math.floor ( math.random ( 50, 150 ) ) ship_exp = ship_exp + ship_expadd -- SystemNotice (role,"after resume ship_exp = " ..ship_exp) SystemNotice (role,"Ship EXP gained:" ..ship_expadd) SetCharaAttr (ship_exp ,role , ATTR_CEXP ) -- ship_exp = GetChaAttr ( role , ATTR_CEXP ) -- SystemNotice (role,"1 after resume ship_exp = " ..ship_exp) end end -- cha_hp = math.min ( Mxhp ( cha_role ) , Hp ( cha_role ) + Hrec ( cha_role ) ) cha_sp = math.min ( Mxsp ( cha_role ) , Sp ( cha_role ) + Srec ( cha_role ) ) SetCharaAttr ( sp , role , ATTR_SP ) SetCharaAttr ( hp , role , ATTR_HP ) -- SetCharaAttr ( cha_hp , cha_role , ATTR_HP ) SetCharaAttr ( cha_sp , cha_role , ATTR_SP ) -- SyncBoat ( role, 4 ) else if hp <= 0 then LG ( "luascript_err" , "function Resume: Character in dead status" ) return end local Elf_SkillHpResume = 0 local Elf_SkillSpResume = 0 if mxhp ~= hp then Elf_SkillHpResume = ElfSkill_HpResume ( role ) end if mxsp ~= sp then Elf_SkillSpResume = ElfSkill_SpResume ( role ) end hrec = hrec + Elf_SkillHpResume srec = srec + Elf_SkillSpResume sp = math.min ( mxsp , sp + srec ) hp = math.min ( mxhp , hp + hrec ) SetCharaAttr ( hp , role , ATTR_HP ) SetCharaAttr ( sp , role , ATTR_SP ) end end
  2. J0k3r

    [ChatHandler] GameServer

    ItemInfo = 0x00098523 SkillInfo = 0x000985CC SkillEff = 0x00098841
  3. Hello Joker, I need one service, you help me?

    I pay for service.

     

    I need change the limit apparel fusion.

     

    Actually: 4999-6999

    To: 4999-7999

     

    Thanks!

    1. Edilson

      Edilson

      My Game Version is 1.36

  4. J0k3r

    increase skilleff limit

    you need to hex game.exe which in client side
  5. J0k3r

    GM message when player reach max level

    for gmnotice you need vector exes, and here is how to add gmnotice & track lvl find script/calculate/AttrCalculate.lua find:- function BsAttrUpgrade( role ) add this if lv == NEW_LV_LIMIT then GMNotice('Congratulations to '..GetChaDefaultName(role)..' for reaching the max level.'); end below local lv = GetChaAttr ( role , ATTR_LV ) where NEW_LV_LIMIT is the variable that equal to the lv you want to track/maxlv. we will say your server's maxlv is lv100 so NEW_LV_LIMIT will be:- NEW_LV_LIMIT = 100 NEW_LV_LIMIT = 100 add it wherever you want. or you can add it into Variable.lua
  6. J0k3r

    Fairy Poss Problem

    @Billy solution ALL STATES that are to be added must NOT have the ALLExAttrSet(role) or AttrRecheck(role) lines, as this would cause an overflow error.
  7. J0k3r

    problem with npc exchanger.

    how do you expect being helped without posting scripts?
  8. J0k3r

    How to find monster/mobs

    he wants to create tweaks
  9. J0k3r

    Pko - regards mob's models tweak

    there are visible/invisible tweaked models and two ways for this, first method replacing models 2nd method decompiling character info and replacing lines which is bad.
  10. we are here talking about security not about pk
  11. im sorry, but even if Epo or @Andy has stolen @Cryteks's or Blizzard's checksum or anti tweak whatever you call it, but if you think its safe or its an "anti tweak" as you say.. then you are wrong, already tweaked it for my friend.. removed all buildings and replaced models... i can edit anything i want and enter "bypass the anti tweak"
  12. J0k3r

    Looking any website developer

    @Home you just asking about "how much?" all you care about is money? it depends on what you gonna do/develop for him not about "how much?".
  13. J0k3r

    Demonic Fruits

    @Phoenix u should post ur scripts here, so we can define your problem
  14. J0k3r

    Server/Website

    well these are my answers... 1- not necessary as @wolfenx said. 2- dedicated server or at least 8gb ++ ram windows server host. 3- cloud flare for site( hiding ip address), kiwi (detecting packets and auto block high packets sender) but its not blocking it forever so if you are sure that an ip is dosing you create a firewall rule to block it(google it). 4- hmm there are many companies, i 've tested google/ovh both of them are good. 5- yup there are but as @wolfenx said they maybe have a backdoor, so you can buy one or edit your pko site template (its totally up to you). 6- hiding site, hiding site ip with cloudflare so no one could reach to site's real ip to launch a dos or something..
×