Jump to content

Dreter

Members
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Dreter

  • Rank
    Cabin Boy

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello Guys, I was searching on the forum how to add the phyllis crusader, carsise crusader, but I didn't find a guide or some how to explain what to do. Hope some can give a guide or some help thanks! In advance
  2. I have edited that, but when they level mjr gives mores exp than Angela Junior or the dragon pet that's the problem I know that the script of : function State_JLFT_Add ( role , sklv ) it was only for the stat's of the poss but not for the exp and drop
  3. Hi guys can some tell me or help me to modificated the pets exp,drop when they make poss? Thnak's In advance
  4. hi guys i have put this function in my server ----------- if (DoubleExp == true) then EXP_RAID = 20 -- Rates x2 MF_RAID = 30 TeamExp_RAID = 30 else EXP_RAID = 10 -- Real rates MF_RAID = 15 TeamExp_RAID = 15 end ----------- add it at end of variable.lua : DoubleExp = false And it works good but i want to put it with that only weekends x2 is on and i have found this function local Now_Week = GetNowWeek () if Now_Week == 6 or Now_Week == 7 then EXP_RAID = 6 MF_RAID = 20 Resource_RAID_ADJUST = 20 TeamExp_RAID = 10 ELEEXP_GETRAD = 500 else EXP_RAID = 3 MF_RAID = 10 Resource_RAID_ADJUST = 10 TeamExp_RAID = 5 ELEEXP_GETRAD = 250 end it's the same? i need to put it in functions.lua -> cha_timer? And how to add that system tell to players that x2 exp and drop it's on? and the duration is the satudary and sunday? it will be like this? if math.mod(now_tick,120) == 0 and now_tick >0 then BickerNotice(role,"Double Exp and Drop it's on duration saturday and sunday at 00:00 of sunday double exp off! ENJOY :)!!") but where tu put all this? Hope some can help me thank's In advance
  5. yea this is the funciont in my skileff ---------------------------Arrest Warrant----------- function SkillCooldown_Daibuzheng4( sklv ) local Cooldown = 5000 return Cooldown end function Skill_Daibuzheng4_End ( ATKER , DEFER , sklv ) local atker_name = GetChaDefaultName ( ATKER ) local defer_name = GetChaDefaultName ( DEFER ) local NocLock = KitbagLock( ATKER, 0 ) local re_type = IsPlayer ( DEFER ) local State_baitan = GetChaStateLv ( DEFER, STATE_BAT ) local State_jiaoyi = GetChaStateLv ( DEFER, STATE_JY ) if re_type == 0 then SystemNotice ( ATKER, "Can Not Arrest Monters") return end --[[if State_baitan >= 1 then SystemNotice ( ATKER, "Can Not Arrest Players While he is Stalling") return end if State_jiaoyi >= 1 then SystemNotice ( ATKER, "Can Not Arrest While he is Trading") return end--]] if atker_name == defer_name then -------------------kokora080328 SystemNotice ( ATKER, "Can Not Arrest Self") return end if NocLock == LUA_FALSE then SystemNotice( ATKER , "Inventory is Locked") return 0 end local item_count = CheckBagItem ( ATKER , 5720 ) --´þ²¶Ö¤ if item_count <= 0 then return SystemNotice ( ATKER , "Does not possess required item to use skill" ) end local statelv_bkdb = GetChaStateLv ( DEFER , STATE_BKDB ) --È¡²»¿É´þ²¶×´Ì¬µÈ¼¶ if statelv_bkdb >=1 then return SystemNotice ( ATKER, "Unable to send to Prison") end --[[local Lv_defer = Lv ( DEFER ) if Lv_defer > 150 then return SystemNotice ( ATKER, "Can Not Arrest Player is Too Strong") end --]] local a = DelBagItem ( ATKER , 5720 , 1 ) --ɾ³ý´þ²¶Ö¤ local Num_Haorenzheng = CheckBagItem( DEFER , 5721 ) --ºÃÈËÖ¤ local Num_Liangminzheng = CheckBagItem( DEFER , 5722 ) --Á¼ÃñÖ¤ if Num_Haorenzheng >= 1 then DelBagItem ( DEFER, 5721, 1) --ɾ³ýºÃÈËÖ¤ SystemNotice( DEFER, " player "..atker_name.." for you to use a warrant card protects you by the good guys, an arrest warrant is invalid!") Notice ( defer_name.." By the good cards protects been able to escape the prison is really gratifying!") else if Num_Liangminzheng >= 1 then DelBagItem ( DEFER, 5722, 1) --ɾ³ýÁ¼ÃñÖ¤ SystemNotice( ATKER, "You're trying to frame-up good guy ".. defer_name ..", found guilty and sentenced to imprisonment for 3 Moths!") Notice ( atker_name.." Is trying to frame-up " .. defer_name .. " a good man, and found guilty and sentenced to imprisonment for 3 Months!") SetSpawnPos ( ATKER , "Prison Island" ) --prison MoveCity( ATKER , "Prison Island") --Prison check else local Notice_all = ""..defer_name.." was arrested by " .. atker_name .. " and brought to justice! Sentenced to imprisonment!" RLOG('PrisonSent',''..defer_name..' was arrested by '.. atker_name ..' and brought to justice! Sentenced to imprisonment!') SetSpawnPos ( DEFER , "Prison Island" ) --Prison SetChaAttr(DEFER, ATTR_LV,1 ) SetChaAttr(DEFER, ATTR_CEXP,1 ) Notice ( Notice_all ) MoveCity( DEFER , "Prison Island") --Prison end end end i don't know if i need to put something in functions.lua or in another folder
  6. In my server the max level is 120 that's why i put 150, but i put 151 and still dosent work
  7. Hi guys i have a problem with the arrest warrent when i use it dosen't teleport the player to the prision island 5720 Lv4 Arrest Warrant n2116 10130005 0 0 0 0 0 0 71 0 0 0 0 0 0 1 0 1 99 0 4000 -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 0471 3 0 0 0,0 0 0 Its owners can arrest any player below level 150. 0 This is the skillefect function that is in my server ---------------------------Arrest Warrant----------- function SkillCooldown_Daibuzheng4( sklv ) local Cooldown = 5000 return Cooldown end function Skill_Daibuzheng4_End ( ATKER , DEFER , sklv ) local atker_name = GetChaDefaultName ( ATKER ) local defer_name = GetChaDefaultName ( DEFER ) local NocLock = KitbagLock( ATKER, 0 ) local re_type = IsPlayer ( DEFER ) local State_baitan = GetChaStateLv ( DEFER, STATE_BAT ) local State_jiaoyi = GetChaStateLv ( DEFER, STATE_JY ) if re_type == 0 then SystemNotice ( ATKER, "Can Not Arrest Monters") return end --[[if State_baitan >= 1 then SystemNotice ( ATKER, "Can Not Arrest Players While he is Stalling") return end if State_jiaoyi >= 1 then SystemNotice ( ATKER, "Can Not Arrest While he is Trading") return end--]] if atker_name == defer_name then -------------------kokora080328 SystemNotice ( ATKER, "Can Not Arrest Self") return end if NocLock == LUA_FALSE then SystemNotice( ATKER , "Inventory is Locked") return 0 end local item_count = CheckBagItem ( ATKER , 5720 ) --´þ²¶Ö¤ if item_count <= 0 then return SystemNotice ( ATKER , "Does not possess required item to use skill" ) end local statelv_bkdb = GetChaStateLv ( DEFER , STATE_BKDB ) --È¡²»¿É´þ²¶×´Ì¬µÈ¼¶ if statelv_bkdb >=1 then return SystemNotice ( ATKER, "Unable to send to Prison") end --[[local Lv_defer = Lv ( DEFER ) if Lv_defer > 150 then return SystemNotice ( ATKER, "Can Not Arrest Player is Too Strong") end --]] local a = DelBagItem ( ATKER , 5720 , 1 ) --ɾ³ý´þ²¶Ö¤ local Num_Haorenzheng = CheckBagItem( DEFER , 5721 ) --ºÃÈËÖ¤ local Num_Liangminzheng = CheckBagItem( DEFER , 5722 ) --Á¼ÃñÖ¤ if Num_Haorenzheng >= 1 then DelBagItem ( DEFER, 5721, 1) --ɾ³ýºÃÈËÖ¤ SystemNotice( DEFER, " player "..atker_name.." for you to use a warrant card protects you by the good guys, an arrest warrant is invalid!") Notice ( defer_name.." By the good cards protects been able to escape the prison is really gratifying!") else if Num_Liangminzheng >= 1 then DelBagItem ( DEFER, 5722, 1) --ɾ³ýÁ¼ÃñÖ¤ SystemNotice( ATKER, "You're trying to frame-up good guy ".. defer_name ..", found guilty and sentenced to imprisonment for 3 Moths!") Notice ( atker_name.." Is trying to frame-up " .. defer_name .. " a good man, and found guilty and sentenced to imprisonment for 3 Months!") SetSpawnPos ( ATKER , "Prison Island" ) --prison MoveCity( ATKER , "Prison Island") --Prison check else local Notice_all = ""..defer_name.." was arrested by " .. atker_name .. " and brought to justice! Sentenced to imprisonment!" RLOG('PrisonSent',''..defer_name..' was arrested by '.. atker_name ..' and brought to justice! Sentenced to imprisonment!') SetSpawnPos ( DEFER , "Prison Island" ) --Prison SetChaAttr(DEFER, ATTR_LV,1 ) SetChaAttr(DEFER, ATTR_CEXP,1 ) Notice ( Notice_all ) MoveCity( DEFER , "Prison Island") --Prison end end end Hope some one can help Thank's in advance
×
×
  • Create New...