Jump to content

PedroSTT

Banned
  • Content Count

    348
  • Joined

  • Last visited

  • Days Won

    13

PedroSTT last won the day on February 1 2018

PedroSTT had the most liked content!

4 Followers

About PedroSTT

  • Rank
    Aqui vai a moral da historia ...

Profile Information

  • Localization
    Minha casa , Brasil
  • I am
    Scripter
  • My character
    Sttorm
  • Favorite OTServ
    OtPokemon.com
  • Bot preferred
    Elfbot NG

Recent Profile Visitors

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

  1. Isso acontece pq seu servidor tem limite de 255 effects
  2. Source além de ser uma gambiarra , contém traps e foi jogada em cima de um servidor com mais erros ainda ... tópico denunciado.
  3. Olá galera , do TibiaKing , venho trazer pra vocês um bike sistem por movements. QUAL A DIFERENÇA DESSE SISTEMA PARA O ANTIGO ? ( POR ACTIONS) Esse sistema evita aquele famoso bug do player dar use na bike e jogar pra outro amigo dar use , fazendo os dois terem bike. COMO ESSE SISTEMA FUNCIONA ?? Funciona por movements , ao equipar( no slot do ring[configurável]) ganha a outfit e a speed ( configuráveis) XML <movevent type="Equip" itemid="2195" slot="ring" event="script" value="bike.lua"/> <movevent type="DeEquip" itemid="2195" slot=
  4. function onUse(cid, item, frompos, itemEx, topos) local bike = {lookType = 738, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0} --- Esse vai ser Homen local bike1 = {lookType = 737, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0} --- Esse vai ser mulher local speed = 20 --- Velocidade que a bike terá. if isPlayer(cid) and not isPremium(cid) and premium == true then doTeleportThing(cid, fromPosition, false) doPlayerSendCancel(cid, "Only premium accounts can mount.") return true end if item.uid ~= getPlayerSlotItem(cid, CONST_SLOT_RING).uid then doPlayerSendCancel(cid, "
  5. local storage = 3234 local horas = 24 -- tempo para pegar dnv em horas local tabela = {2160, 2152, 2148} -- ID dos itens. function onUse(cid, item, frompos, item2, topos) if getPlayerStorageValue(cid, config.storage) >= os.time() then doPlayerSendTextMessage(cid,25, "voce so pode pegar a cada 24 horas") return true end setPlayerStorageValue(cid, config.storage, os.time() + horas * 3600000 ) doPlayerAddItem(cid, tabela[math.random(#tabela)], 1) doSendMagicEffect(getCreaturePosition(cid), 2) doPlayerSendTextMessage(cid,25, "voce recebeu seu premio") return true end
  6. Já testei em meu próprio otserver , a ultima script que postei aqui está funcionando 100%.
  7. function Normal(cid) local vel = 200 -- velocidade que o player ganhou ao usar a Spell doChangeSpeed(cid, -vel) end function onCastSpell(cid, var) local mninja = {lookType = 377, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 3} local fninja = {lookType = 368, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 3} local second = 10000 local speed = 200 local sex = getPlayerSex(cid) local tempo = 10 -- segundos para voltar a speed normal if sex == 0 then doSetCreatureOutfit(cid, fninja, second) doChangeSpeed(cid,
  8. function Normal(cid) doRegainSpeedLevel(cid) end function onCastSpell(cid, var) local mninja = {lookType = 377, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 3} local fninja = {lookType = 368, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 3} local second = 10000 local speed = 200 local sex = getPlayerSex(cid) local tempo = 10 -- segundos para voltar a speed normal if sex == 0 then doSetCreatureOutfit(cid, fninja, second) doChangeSpeed(cid, speed) addEvent(Normal, tempo * 1000, cid) else doSetCreat
  9. local storage = 243656 -- Coloque a Storage Que Controla o Sistema de Bike function onDeEquip(cid, item, slot) if getPlayerStorageValue(cid, storage) = 1 then doPlayerSendCancel(cid, "Voce nao pode remover a bike enquanto esta montado.") return false end end
  10. function Normal(cid) local base = getCreatureBaseSpeed(cid) doChangeSpeed(cid, base) end function onCastSpell(cid, var) local mninja = {lookType = 377, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 3} local fninja = {lookType = 368, lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookTypeEx = 0, lookAddons = 3} local second = 10000 local speed = 200 local sex = getPlayerSex(cid) local tempo = 10 -- segundos para voltar a speed normal if sex == 0 then doSetCreatureOutfit(cid, fninja, second) doChangeSpeed(cid, speed) addEvent(Normal,
  11. Yes, it is action, but it is not for 5 players and nor does it summon any monster, each player to be teleported has to pull the lever once every 24 hours
  12. local config = { storage = 9844, -- storage days = 1 -- days to use a lever } function onUse(cid, item, frompos, item2, topos) local teleport = {x=986, y=926, z=7} -- Coordinates to where the player will be teleported. if getPlayerStorageValue(cid, config.storage) >= os.time() then doPlayerSendTextMessage(cid,25, string.format('You can teleport after %d day%s', config.days, config.days ~= 1 and "s" or "")) return true end doPlayerSendTextMessage(cid, 25, string.format('Congratulations! You you are teleported, you can get your item after %d day%s', config.days, config.days ~=
  13. Como a script não é da TFS 1.3 , não ia funcionar mesmo. Tentei adaptar , teste a script function onLogin(cid) creature:registerEvent(cid, "EffectOutLogin") creature:registerEventt(cid, "OutfitEffects") return creature:setOutfit(cid,{lookType = creature:getOutfit(cid).lookType, lookHead = creature:getOutfit(cid).lookHead, lookBody = creature:getOutfit(cid).lookBody, lookLegs = creature:getOutfit(cid).lookLegs, lookFeet = creature:getOutfit(cid).lookFeet, lookAddons = creature:getOutfitt(cid).lookAddons}) end local events = {} function onOutfit(cid, old, current) local effect = { [136]
  14. XML <event type="think" name="Slot" event="script" value="slot.lua"/> Script local config = { tempo = 5, --tempo em segundos texto = "[TOP]", --não use mais de 9 caracteres efeito = TEXTCOLOR_LIGHTBLUE --efeito para a função doSendAnimatedText } function Effect(cid) doSendAnimatedText(getCreaturePosition(cid), config.texto, config.efeito) end function onThink(cid, interval) local slot = { head = 2474, -- ID do item que ficara no Slot Head armor = 2503, -- ID do item que ficara no Slot Armor legs = 2504, -- ID do item que ficara no Slot Legs boots = 2195, -- ID do i
  15. 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:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or ci
×
×
  • Create New...

Important Information

Confirmação de Termo