Jump to content

mkhzaleh

Community
  • Content Count

    304
  • Joined

  • Last visited

  • Days Won

    29

Everything posted by mkhzaleh

  1. function can_open_entry_garner2( map ) local now_hour= os.date("%H") --- hour--- -- now_week= tonumber(now_week) now_hour= tonumber(now_hour) if now_hour == 18 then return 1 else return 0 end end
  2. its done in lua long time ago i did one for give /take items from player too works like this /senditem playername,itemid,qty /takeitem playername,itemid,qty or can use item name as well like this https://cdn.discordapp.com/attachments/344232854294626305/589166325822128129/Untitled_Project.mp4
  3. well its would not get at lua controls , but in PopupNotice case i guess this will work since players can't use these packets
  4. i still don't think players can crash it from this overflow but what ever this for popnotice PopupNotice = PopupNotice or function(role, text) ------------ if string.len(text) > 150 then BickerNotice(role,"<PopupNotice> Message too long!") return 0 end ------------- local packet = GetPacket() WriteCmd(packet, 503) WriteString(packet, text) SendPacket(role, packet) end
  5. no probably. i just use it in case
  6. for systemnotice / BickerNotice Players don't have access to it this limit local chat "length " to 100 letters only
  7. if string.len(message) > 100 then BickerNotice(role,"<Loca Chat> Message too long!") return 0 end use this in your handlechat
  8. mkhzaleh

    map time

    local chaosargent = Centertext("Chaos.Argent-Icicle City (1371,532)") chaosargent = chaosargent..Centertext("---------- Time of opening ----------") chaosargent = chaosargent.. Centertext("02:00, 14:00, Server time.") HelpInfo(role, 0, chaosargent) you can using something like this take a look to your maps time do some math with servertime and map time and do it
  9. mkhzaleh

    map time

    he can done it by lua too, just need to write few lines.
  10. or try this https://ufile.io/a6kc7cds
  11. its working fine :) just find the right client
  12. you have to use EffectEditor its inside src files
  13. @wizel1 helo take a look there https://docs.microsoft.com/en-us/iis/get-started/whats-new-in-iis-8/iis-80-dynamic-ip-address-restrictions
  14. why .txt? you can find this function inside your skilleffect.lua and don't forget to add it inside this function as well "State_JLFT_Add and State_JLFT_Rem"
  15. 0280 Fairy body 2 -1,10 1,-1 1,-1 1,-1 -1 -1 1 1 -1 -1 0 1 1 0 1 1 0 0 0 0 0 SkillSp_JLFT 0 0 0 Skill_JLFT_BEGIN Skill_JLFT_End 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SkillCooldown_JLFT 1 1 12 0 46 2 117 0 -1 0,0 0,0 -1 -1 -1 0 0 -1 -1 0 -2 236 0 s0234.tga 0 0 Character Skill Attribute bonus from new generation of pet fairies Stamina consumption is determined by pet level and skill level. Fixed consumption of 20 SP. 0 function Skill_JLFT_End ( ATKER , DEFER , sklv ) local statelv = sklv local statetime = 190 - sklv * 10 local item_elf = GetChaItem(ATKER , 2, 1) -- Pet Handle local item_elf_type = GetItemType ( item_elf ) -- Pet Type local Item_ID = GetItemID ( item_elf ) -- Pet ID if Item_ID==231 then AddState( ATKER , ATKER , STATE_JLFT1, statelv , statetime ) elseif Item_ID==232 then AddState( ATKER , ATKER , STATE_JLFT2, statelv , statetime ) elseif Item_ID==233 then AddState( ATKER , ATKER , STATE_JLFT3, statelv , statetime ) elseif Item_ID==235 then AddState( ATKER , ATKER , STATE_JLFT4, statelv , statetime ) elseif Item_ID==234 then AddState( ATKER , ATKER , STATE_JLFT5, statelv , statetime ) elseif Item_ID==236 then AddState( ATKER , ATKER , STATE_JLFT6, statelv , statetime ) elseif Item_ID==237 then AddState( ATKER , ATKER , STATE_JLFT7, statelv , statetime ) elseif Item_ID==681 then AddState( ATKER , ATKER , STATE_JLFT8, statelv , statetime ) elseif Item_ID==500 then AddState( ATKER , ATKER , STATE_JLFT8, statelv , statetime ) end end so just add your pets id
  16. I just translated this Guide from Russian section to English all Copyright goes to @V3ct0r and @Knight the original guide You will Need to do this Guide : any Hex-editor Game.exe MindPower3D_D8R.dll actually there is 2 ways to enable this mod first one is full remove from game.exe so open your Hex-editor Search for 74 6C 8B 86 replace to 90 90 8B 86 save done. Second way to Enable/disable it from Scroll Lock open MindPower3D_D8R.dll in your Hex-Editor again Search for 55 8B EC 83 EC 44 53 56 57 89 4D FC 6A 10 FF 15 80 6B 7F 10 0F BF C0 25 00 FF 00 00 5F 5E 5B 8B E5 5D C3 CC CC CC CC CC CC CC CC CC CC CC CC CC replace to 55 8B EC 83 EC 44 53 56 57 89 4D FC EB 15 FF 15 80 6B 7F 10 0F BF C0 A9 01 00 00 00 5F 5E 5B 8B E5 5D C3 68 91 00 00 00 EB E4 CC CC CC CC CC CC Save it , Done :)
  17. for maps issue take a look here how to use YAMMI use YAMMI to mark the area of pvp inside bar , open your dream map folder and edit your ctrl.lua and edit your maptype MapType ( map , 3 ) -- 0 = PvP Off // 1 = PvP Off // 2 = PvP On ( Not allowed to kill Guild and Party Mates ) // 3 = PvP On ( Allowed to kill any player but not Party Mates ) // 4 = PvP On ( Not allowed to kill Guild and Party Mates ) and make sure to use YAMMI to remove safe zone from dreamcity if you want make it a pk zone
  18. mkhzaleh

    LuaSQL

    not really , wasn't missing as this one, and your issue to connect your sql , one more question is your db have mall_point table?
  19. mkhzaleh

    LuaSQL

    you are not using those variables anywhere in your function, and since you want to make it add 100 imps only so remove those unused things could looks like this ImpsPointCard = function(Player, Item) AddImpsPoints(Player,100) HelpInfo(Player, 0, "bla bla") end
×
×
  • Create New...