Ir para conteúdo
  • Cadastre-se

Muvuka

Membro
  • Total de itens

    281
  • Registro em

  • Última visita

  • Dias Ganhos

    3

Tudo que Muvuka postou

  1. ta funcionando porem quando pego level 22500 e morro volto pro 22400 nao pega O QUE PODE SER?
  2. function onLogin(cid)
        local vipStorage = getPlayerStorageValue(cid, 13545)
        
        if vipStorage > 0 then
            if vipStorage - os.time() <= 0 then
                setPlayerStorageValue(cid, 13545, -1)
                doPlayerPopupFYI(cid, "Sua [VIP] Acabou.")
                if string.find(tostring(getCreatureName(cid)), "%[VIP%]") then
                    addEvent(EddyHavoc, 3 * 1000, cid)
                end
            else
                local daysLeft = math.ceil((vipStorage - currentTime) / (24 * 60 * 60))
                local pos = {x = 154, y = 51, z = 7}
                doTeleportThing(cid, pos)
                doPlayerPopupFYI(cid, "Sua [VIP] Acabou.")
                setPlayerStorageValue(cid, 13545, -1)
                if string.find(tostring(getCreatureName(cid)), "%[VIP%]") then
                    addEvent(EddyHavoc, 3 * 1000, cid)
                doPlayerPopupFYI(cid, "Voce ainda tem " .. daysLeft .. " dias de VIP.")
                end
            end
        end
        return true
    end
  3. POREM DA DEBUG QUANDO EU LOGO ACCOUNT MANAGER E LOGO CHAR VIP NO MESMO CLIENT 1 SÓ SEM MC EU APERTO CTRL + G LOGO ACCOUNT MANAGER DEPOIS ESCOLHO E LOGO CHAR VIP E DA DEBUG NESSE 1 - SCRIPT: FUNCIONA MAIS DA DEBUG function onLogin(cid) local vipStorage = getPlayerStorageValue(cid, 13545) if vipStorage > 0 then local currentTime = os.time() if vipStorage <= currentTime then setPlayerStorageValue(cid, 13545, -1) doPlayerPopupFYI(cid, "Sua [VIP] Acabou.") if string.find(tostring(getCreatureName(cid)), "%[VIP%]") then
  4. É Assim que  ta certo endvip.lua %[VIP%] ou assim %[VIP]%"

    1. Muvuka

      Muvuka

      function onLogin(cid)
          local vipStorage = getPlayerStorageValue(cid, 13545)
          
          if vipStorage > 0 then
              local currentTime = os.time()
              if vipStorage <= currentTime then
                  setPlayerStorageValue(cid, 13545, -1)
                  doPlayerPopupFYI(cid, "Sua [VIP] Acabou.")
                  if string.find(tostring(getCreatureName(cid)), "%[VIP%]") then
                      addEvent(EddyHavoc, 3 * 1000, cid)
                  end
              else
                  local daysLeft = math.ceil((vipStorage - currentTime) / (24 * 60 * 60)) -- Calcula os dias restantes
                  local pos = {x = 154, y = 51, z = 7}
                  doTeleportThing(cid, pos)
                  doPlayerPopupFYI(cid, "Voce ainda tem " .. daysLeft .. " dias de VIP restantes.")
              end
          end
          return true
      end

  5. Porem quando eu deslogo e escolho character na lista escolho o char [VIP] as vezes da debug Talkaction: Systemvip.lua function onSay(cid, words, param) if words == "!buyvip" then local price = 20000 if doPlayerRemoveItem(cid, 2159, 20000) == TRUE then local days = 31 local daysvalue = days * 24 * 60 * 60 local storageplayer = getPlayerStorageValue(cid, 13545) local timenow = os.time() local time if getPlayerStorageValue(cid, 13545) - os.time() <= 0 then
  6.  se pode da um suporte por favor

  7. local FOODS, MAX_FOOD = { [11130] = {18, "~|Delicia|~"} }, 1200 function onUse(cid, item, fromPosition, itemEx, toPosition) if(item.itemid == 6280) then if(fromPosition.x == CONTAINER_POSITION) then fromPosition = getThingPosition(cid) end doCreatureSay(cid, getPlayerName(cid) .. " blew out the candle.", TALKTYPE_MONSTER) doTransformItem(item.uid, item.itemid - 1) doSendMagicEffect(fromPosition, CONST_ME_POFF) return true end local food = FOODS[item.itemid] if(food == nil) then return false end
  8. [SQLite] -=[TFS]=- 0.4 8.60 Tem como faze script /checkpa player name checa quantos premium player tem
  9. --[[ by EddyHavoc Tibiaking.com ]]-- function onLogin(cid) if getPlayerStorageValue(cid, 13545) - os.time() > 0 then setPlayerStorageValue(cid, 9898, 1) end local pos = {x = 157, y = 51, z = 7} -- posiçao do templo. function EddyHavoc(cid) if isPlayer(cid) then db.executeQuery("UPDATE `players` SET `name` = '"..string.sub(getCreatureName(cid), 7).."' WHERE `id` = "..getPlayerGUID(cid)..";") doRemoveCreature(cid) end end if getPlayerStorageValue(cid, 9898) == 1 and getPlayerStorageValue(cid, 13545) - os.time() < 1 or getPlayerStorageValue(cid, 13545) - os.time() == 0 th
  10. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function creatureSayCallback(cid, type, msg) if(not npcHandler:isFo
  11. Erro só nesta parte do systemvip perfect vip system 2.0 elseif(words == "/checkvip") then if getPlayerAccess(cid) == 5 then if not param then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Invalid param specified.") end local player = getPlayerByName(param) if not isPlayer(player) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player "..player.." not found.") end local timenow = os.time() local quantity = math.floor((getPlayerStorageValue(player, 13545) - timenow)/(24 * 60 * 60)) doPlayerPopupFYI(cid, "O jogador tem ".. (quantity < 0 and 0 or quant
  12. Erro só nesta parte do systemvip perfect vip system 2.0 elseif(words == "/checkvip") then if getPlayerAccess(cid) == 5 then if not param then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Invalid param specified.") end local player = getPlayerByName(param) if not isPlayer(player) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player "..player.." not found.") end local timenow = os.time() local quantity = math.floor((getPlayerStorageValue(player, 13545) - timenow)/(24 * 60 * 60)) doPlayerPopupFYI(cid, "O jogador tem ".. (quantity < 0 and 0 or quant
  13. Não funciona /delvip /addvip alguem pode arruma elseif(words == "/addvip") then if getPlayerAccess(cid) == 5 then local t = string.explode(param, ",") if not t[2] then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Invalid param specified.") end local player = getPlayerByName(t[1]) local name = getCreatureName(player) local days = t[2] local pid = getPlayerByNameWildcard(t[1]) if(not pid or (isPlayerGhost(pid) and getPlayerGhostAccess(pid) > getPlayerGhostAccess(cid))) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Player with this name doesn\'t exi
  14.  se pode meda um suporte

  15. [SQLite] -=[TFS]=- 0.4 8.60 COMO EU TIRO [VIP] NO PREFIXO DO SQLITE STUDIO DO PLAYERS?
  16. [SQLite] -=[TFS]=- 0.4 8.60 Cria um Script Creaturescript Share Experience Baseado no Script Abaixo experienceShareRadiusX = 65000 experienceShareRadiusY = 65000 experienceShareRadiusZ = 15 experienceShareLevelDifference = 2 / 3 extraPartyExperienceLimit = 99999 extraPartyExperiencePercent = 100 experienceShareActivity = 2 * 60 * 1000
  17. Não Desce a Stamina: rateStaminaLoss = 1 rateStaminaGain = 3 rateStaminaThresholdGain = 12 staminaRatingLimitTop = 40 * 60 staminaRatingLimitBottom = 14 * 60 rateStaminaAboveNormal = 1.5 rateStaminaUnderNormal = 0.5 staminaThresholdOnlyPremium = true Abri canal automatico somente 2 sem meche na source usando somente creaturescript <channel id="9" name="HELP" logged="yes"/> <channel id="15" name="Death Channel"/>
  18.  

    a source ta ai

  19. Não tem como cria um creaturescript 100% funcional que abri os canais citados no topico tirando base da source e usa creaturescript como plataforma e usa o creaturescript como emulador?
  20. Abri canal a força creaturescript acho que funcione no creaturescript cria script creaturescript <channel id="9" name="HELP" logged="yes"/> <channel id="12" name="Report Bugs" logged="yes"/> <channel id="13" name="Loot" logged="yes"/> <channel id="14" name="Report Character Rules Tibia Rules" logged="yes"/> <channel id="15" name="Death Channel"/> <channel id="6548" name="DexSoft" level="1"/> <channel id="7" name="Reports" logged="yes"/> antes de if(lastLogin > 0) then adicione isso:
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo