Ir para conteúdo

Summ

Membro
  • Registro em

  • Última visita

Tudo que Summ postou

  1. Summ postou uma resposta no tópico em Suporte & Pedidos
    Versão: Tibia 8.6 com TFS 1.1 ia ficar perfect.... Motivo: Nem eu sei dizer ao certo, acho que foi porque eu só jogava 8.6 ai acabei gostando. Oque um servidor precisaria pra me conquistar: é ser inovador, trazer algo que me traga novos desafios.
  2. function onUse(cid, item, fromPosition, itemEx, toPosition) local cost = 20000 -- Preço... if doPlayerRemoveMoney(cid, cost) then doRemoveItem(item.uid, 1) doPlayerAddItem(cid, 2343, 1) doSendMagicEffect(getThingPos(cid), 12) else doPlayerSendTextMessage(cid, 20, "Sorry, but you need ".. cost .." gold coins to get a new helmet of the ancients.") end return true end <action itemid="2342" script="ARQUIVO.lua"/>
  3. function onSay(cid, words, param) local pos = {x=32369, y=32241, z=7} local level = 8 if not getCreatureCondition(cid, CONDITION_INFIGHT) then if getTileInfo(getPlayerPosition(cid)).protection then if getPlayerLevel(cid) <= level then doSendMagicEffect(getPlayerPosition(cid),53) doPlayerSendTextMessage(cid, "Boa Sorte!") doTeleportThing(cid,pos) else doPlayerSendCancel(cid,"You dont have level.") end else doPlayerSendCancel(cid,"You need stay in a pz zone.") end else doPlayerSendCancel(cid, "You can not be in battle") end return true end
  4. local tab = { [9] = 35, -- [vocationID] = número da cor do texto animado [10] = 10, [11] = 18, [12] = 180 } function ariseText(cid) local texts = {"´ . ,", ". ´ ,", "` . ,", ", ´ ."} if tab[getPlayerVocation(cid)] then doSendAnimatedText(getThingPos(cid), texts[math.random(1, #texts)], tab[getPlayerVocation(cid)]) addEvent(function() if isPlayer(cid) then ariseText(cid) end end, 1000) end return true end function onLogin(cid) ariseText(cid) return true end
  5. infodonates.lua local info = [[As informações de deposito : Banco do Brasil Nome : Flavio Agência : 6576-5 Conta : 9.751-9 ]] 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 cid if msgcontains(msg:lower(), "deposito") or msgcontains(msg:lower(), "deposit") then selfSay(cid, info) elseif msgcontains(msg:lower(), "bye") or msgcontains(msg:lower(), "tchau") then selfSay(cid, "Volte sempre!!") end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) npc.XML <?xml version="1.0" encoding="UTF-8"?> <npc name="QUALQUERNAME" script="data/npc/scripts/infodonates.lua" walkinterval="2000" floorchange="0"> <health now="100" max="100"/> <look type="152" head="95" body="95" legs="29" feet="56" addons="2" corpse="6080"/> <parameters> <parameter key="message_greet" value="Ola senhor gostaria de comprar items donate? diga {deposito} para saber os dados bancarios para o {deposito}." /> </parameters> </npc>
  6. Summ postou uma resposta no tópico em Playground (Off-topic)
    vender drogas pra arrumar dinheiro + estudos na net(só pedir no skype) = fucking god
  7. Summ postou uma resposta no tópico em Playground (Off-topic)
  8. Summ postou uma resposta no tópico em Suporte Tibia OTServer
    posta esse script : <data/creaturescripts/scripts/firstitems.lua:53>
  9. Summ postou uma resposta no tópico em Suporte Tibia OTServer
    CREATE TABLE `tile_store` ( `house_id` INT UNSIGNED NOT NULL, `world_id` TINYINT(4) UNSIGNED NOT NULL DEFAULT 0, `data` LONGBLOB NOT NULL, FOREIGN KEY (`house_id`) REFERENCES `houses` (`id`) ON DELETE CASCADE ) ENGINE = InnoDB; CREATE TABLE IF NOT EXISTS `player_inboxitems` ( `player_id` int(11) NOT NULL, `sid` int(11) NOT NULL, `pid` int(11) NOT NULL DEFAULT '0', `itemtype` smallint(6) NOT NULL, `count` smallint(5) NOT NULL DEFAULT '0', `attributes` blob NOT NULL, UNIQUE KEY `player_id_2` (`player_id`,`sid`), KEY `player_id` (`player_id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  10. Exato se tu comprar por apenas 1 mês, ai tu escolhe se compra plano de 1 mês, 3, 6, 12 ...
  11. Summ postou uma resposta no tópico em Playground (Off-topic)
    eu não sou otaku rsrsrs, se for seguir o real sentido da palavra todos nós somos ... eu vejo muitos animes, mas não me intitulo otaku, como outros, apenas sou um mero apreciador da arte japonesa hu3dur
  12. Summ postou uma resposta no tópico em Playground (Off-topic)
    /\ errar é humano AKPSOAKPOSKPAOOPKSK
  13. Summ postou uma resposta no tópico em Playground (Off-topic)
    Scripting/Programação
  14. Summ postou uma resposta no tópico em Playground (Off-topic)
    :foreverhappy: agora posso ser preso
  15. Summ postou uma resposta no tópico em Suporte Tibia OTServer
    function onStepIn(cid, item, position, lastPosition) if(item.uid == 3087) then if getPlayerLevel(cid) > 79 and getPlayerStorageValue(cid, 30) < 1 then setPlayerStorageValue(cid, 30, 52) Player(cid):setStorageValue(12021, 3) -- StorageValue for Questlog "Mission 10: The Final Battle" doCreatureSay(cid, "It seems by defeating Azerus you have stopped this army from entering your world! Better leave this ghastly place forever.", TALKTYPE_ORANGE_1) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MAGIC_BLUE) end end return true end
  16. eu troquei apenas a callback : function onDeath(cid, corpse, deathList) Essa callback como no próprio nome já diz "Death", ela é ativada quando uma criatura morre. ai troquei por essa, pois se da melhor com o script em questão : function onLogin(cid)
  17. Summ postou uma resposta no tópico em Ouvidoria
    illuminatis are back
  18. Summ postou uma resposta no tópico em Ouvidoria
  19. blessedplayer.lua (data/creaturescripts/scripts): function onLogin(cid) for b = 1, 5 do if isPlayer(cid) and getPlayerBlessing(cid, b) and getCreatureSkullType < 4 then doCreatureSetDropLoot(cid, false) end end return true end <event type="login" name="BlessedPlayer" script="blessedplayer.lua"/> Não precisa registrar por ser callback onLogin.
  20. Summ postou uma resposta no tópico em Eventos de Mapping
    Tipo é fácil distinguir qual é qual, quando tu participa, você tem um estilo de mapear uníco que está presente em todos os mapas, mas mesmo sabendo eu voto no que está melhor
  21. Se sua dúvida/pedido foi sanada ou respondido, marque o post que te ajudou como melhor resposta pro tópico ficar como resolvido. abrçs
  22. o correto era ir aumentando por si só, a life = maxlife, mana = maxmana, tenta fazer o que o daniel postou acima.
  23. Testado e funcionando ambos agora : EffectPos.lua level = 300; -- LEVEL function effectPos(cid) local config = { effect = 2; -- EFFEITO } local tidpos = getCreaturePos(cid); local tableeffect = { [1] = {x=tidpos.x-1, y=tidpos.y-1, z=tidpos.z}; [2] = {x=tidpos.x, y=tidpos.y-1, z=tidpos.z}; [3] = {x=tidpos.x+1, y=tidpos.y-1, z=tidpos.z}; [4] = {x=tidpos.x+1, y=tidpos.y, z=tidpos.z}; [5] = {x=tidpos.x+1, y=tidpos.y+1, z=tidpos.z}; [6] = {x=tidpos.x, y=tidpos.y+1, z=tidpos.z}; [7] = {x=tidpos.x-1, y=tidpos.y+1, z=tidpos.z}; [8] = {x=tidpos.x-1, y=tidpos.y, z=tidpos.z}; } for x = 1, 8 do if not isPlayerPzLocked(cid) then addEvent(doSendMagicEffect, x * 2000, tableeffect[x], config.effect); addEvent(function () if isPlayer(cid) then effectPos(cid); end end , 1000); end end return 1; end function onAdvance(cid, skill, oldLevel, newLevel) skill = SKILL_LEVEL; if skill == level then effectPos(cid); doPlayerSendTextMessage(cid, 19, "Congratulations !!"); doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FIREWORK_YELLOW); end return 1; end function onLogin(cid) if getPlayerLevel(cid) >= level then effectPos(cid); end return 1; end EffectText.lua local config = { ["1-5"] = 120; -- [VOCATION] = CORES; ["2-6"] = 130; ["3-7"] = 140; ["4-8"] = 150; } function effectText(cid) local texts = "´ . ,"; for vocations, color in pairs(config) do local v = vocations:explode("-"); if getPlayerVocation(cid) == (tonumber(v[1]) or tonumber(v[2])) then eff = color break end end if eff then doSendAnimatedText(getThingPos(cid), texts, eff); addEvent(function() if isPlayer(cid) then effectText(cid) end end, 800); end return 1; end function onLogin(cid) effectText(cid) return 1; end
  24. Summ postou uma resposta no tópico em Eventos de Mapping
    voto no mapa 2, sem duvidas, esta lindo e com muitos detalhes²
  25. Eu já to de saída mas amanhã quando eu entrar eu dou uma olhada e corrijo

Informação Importante

Confirmação de Termo