Ir para conteúdo

ViitinG

Membro
  • Registro em

  • Última visita

Solutions

  1. ViitinG's post in (Resolvido)[PEDIDO]Área em que o mob pode se mecher was marked as the answer   
    Não sei se entendi bem,se for oque entendi é só fazer o seguinte :
    Vá em Creature Palette e Others :

    Selecione o monstro e clique Place Spawn depois em Place Creature :

    Após clicar em Place Spawn,coloque o spawn no local que deseja e depois clique em Place Creature e coloque a criatura(no meu caso Dragon) dentro do spawn :

  2. ViitinG's post in (Resolvido)[Position] ModernAcc was marked as the answer   
    A posição do templo pode ser alterada com o RME,aperte "Ctrl + T" e mude a town que desejar.
  3. ViitinG's post in (Resolvido)NPC (Teleport por Item) was marked as the answer   
    Não testei :
    local lugar = {x=102, y=1027, z=7} local item = 2160 local quantidade = 10 local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) 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 santaNPC(cid, message, keywords, parameters, node) if(not npcHandler:isFocused(cid)) then return false end if (parameters.present == true) then if(doPlayerRemoveItem(cid,item,quantidade) == true) then doTeleportThing(cid, lugar) npcHandler:say('Voce foi teleportado.',cid) else npcHandler:say('Voce não tem o item para ser teleportado',cid) end npcHandler:resetNpc() return true end end npcHandler:setMessage(MESSAGE_GREET, "Ola|PLAYERNAME|. Eu posso te levar para alguns lugares,fale {lugar}.") local noNode = KeywordNode:new({'no'}, santaNPC, {present = false}) local yesNode = KeywordNode:new({'yes'}, santaNPC, {present = true}) local node = keywordHandler:addKeyword({'lugar'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = 'Vou te levar para um lugar,digite {yes}'}) node:addChildKeywordNode(yesNode) node:addChildKeywordNode(noNode) npcHandler:addModule(FocusModule:new())
  4. ViitinG's post in (Resolvido)Como tirar as runas infinitas? was marked as the answer   
    O tópico foi movido para a área correta, preste mais atenção da próxima vez!
    Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680

    Este tópico foi movido:
    De: "OTServ → Suporte OTServ → Suporte de OTServ Geral"
    Para: "OTServ → Suporte OTServ → Suporte de Scripts"
  5. ViitinG's post in (Resolvido)[Ajuda] trocar nome dos itens was marked as the answer   
    Aqui :
  6. ViitinG's post in (Resolvido)Como faço pros players começarem Sem exura, exiva.. sem spell was marked as the answer   
    O tópico foi movido para a área correta, preste mais atenção da próxima vez!
    Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680

    Este tópico foi movido:
    De: "OTServ → Suporte OTServ → Suporte de OTServ Geral"
    Para: "OTServ → Suporte OTServ → Suporte de Scripts"
  7. ViitinG's post in (Resolvido)arquivo login (erro no console) was marked as the answer   
    Troca :
    function onLogin(cid) local player = Player(cid) local loginStr = "Welcome to " .. configManager.getString(configKeys.SERVER_NAME) .. "!" if player:getLastLoginSaved() <= 1 then loginStr = loginStr .. " Please choose your outfit." player:sendOutfitWindow() else if loginStr ~= "" then player:sendTextMessage(MESSAGE_STATUS_DEFAULT, loginStr) end loginStr = string.format("Your last visit was on %s.", os.date("%a %b %d %X %Y", player:getLastLoginSaved())) end player:sendTextMessage(MESSAGE_STATUS_DEFAULT, loginStr) player:registerEvent("PlayerDeath") player:registerEvent("Tirecz") player:registerEvent("inquisitionPortals") player:registerEvent("fury") player:registerEvent("wrath") player:registerEvent("scorn") player:registerEvent("spite") player:registerEvent("snake") player:registerEvent("Azerus") player:registerEvent("Vesperoth") player:registerEvent("demonOakLogout") player:registerEvent("demonOakDeath") player:registerEvent("bosseswarzone") player:registerEvent("tasks") player:registevent(EddyHavoc, 3*1000, cid) end return true
  8. ViitinG's post in (Resolvido)[PEDIDO] Protection zone - battle was marked as the answer   
    Testa ae,eu não testei :
    "data/creaturescripts/scripts/tirabattle.lua" :
    function onThink(cid, interval) if(getTilePzInfo(getCreaturePosition(cid))) then doRemoveCondition(cid, CONDITION_INFIGHT) end end "data/creaturescripts/creaturescripts.xml" :
    <event type="think" name="TiraBattle" event="script" value="tirabattle.lua"/> "data/creaturescripts/scripts/login.lua" :
    registerCreatureEvent(cid, "TiraBattle")
  9. ViitinG's post in (Resolvido)Help!, Otserv, NAO quer entrar! was marked as the answer   
    Tenta conectar com o IP 200.223.66.144/192.168.1.2/127.0.0.1.
    Caso nenhum dos três você obtenha sucesso,tente trocar o IP do config.lua para 200.223.66.144 e mantenha o DUC aberto.
    Se mesmo assim não funcionar,vá até o DUC,clique em File>Preferences e clique na opção Use the IP of my local network adapter,ficando assim :

  10. ViitinG's post in Servidores. was marked as the answer   
    O tópico foi movido para a área correta, preste mais atenção da próxima vez!
    Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680

    Este tópico foi movido:
    De: "OTServ → Suporte OTServ → Suporte de OTServ Geral"
    Para: "Tibia King → Atendimento Geral"
     
    Se você tem servidores que acha que estão proporcionalmente melhor do que os demais servidores que você encontra nas áreas de download,basta criar um tópico e explicar oque foi alterado no servidor,bugs arrumados,etc.Cite as diferenças que contém no servidor que fazem o mesmo ser diferente dos demais.
    Todas as áreas sempre precisam de coisas novas,qualquer conteúdo bom é sempre bem vindo.Abraço !
  11. ViitinG's post in (Resolvido)resetar os palyers was marked as the answer   
    Executa os seguintes querys no SQLite Studio :
    Primeiro :
    UPDATE `players` SET `level` = '8', `health` = '180', `healthmax` = '180', `experience` = '4200', `mana` = '35', `manamax` = '35', `cap` = '40 Segundo :
    UPDATE players SET posx = X, posy = Y, posz = Z;  
    Para executar os querys(abra o spoiler) :



  12. ViitinG's post in (Resolvido)COMO AJEITAR O BUG DO RME was marked as the answer   
    Talvez sua maquina não esteja aguentando abrir 2 mapas simultaneamente,se esse não for o caso tente baixar outro RME. (de outra versão)
  13. ViitinG's post in (Resolvido)[AJUDA] Staff por script was marked as the answer   
    Não testei :
    local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true) setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, 30) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SMALLHOLY) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -7, -9, -5.5,-6) local condition = createConditionObject(CONDITION_CURSED) setConditionParam(condition, CONDITION_PARAM_DELAYED, 1) addDamageCondition(condition, 5, 2000, -0) setCombatCondition(combat, condition) function onUseWeapon(cid, var) return doCombat(cid, combat, var) end
  14. ViitinG's post in (Resolvido)Mensagens que Aparecem no lugar errado was marked as the answer   
    Amigo você enviou uma denuncia citando que o problema/dúvida ja foi resolvido(a),se possível deixe um comentário de como foi resolvido(a) para outros membros que estiverem com o mesmo problema/dúvida saberem como resolver.
  15. ViitinG's post in (Resolvido)[AJUDA] Itens não da atribultos was marked as the answer   
    Você tem que colocar o item no movements.xml brother.Exemplo :
        <movevent type="DeEquip" itemid="8820" slot="head" event="function" value="onDeEquipItem"/>     <movevent type="Equip" itemid="8820" slot="head" event="function" value="onEquipItem">         <vocation id="1"/>         <vocation id="5" showInDescription="0"/>         <vocation id="2"/>         <vocation id="6" showInDescription="0"/>     </movevent> Explicando :
  16. ViitinG's post in (Resolvido)Dúvida [Legs para Mage] was marked as the answer   
    obs: Absolute ficou triste então os créditos vai pra ele.(fica felix seu lindu)
     
    Para adicionar magic level faça o seguinte,abra o item.xml e procure pelo seu item.Exemplo uma plate armor normal :
    <item id="2463" article="a" name="plate armor"> <attribute key="weight" value="12000" /> <attribute key="armor" value="10" /> <attribute key="slotType" value="body" /> </item> É só adicionar a tag :
    <attribute key="magiclevelpoints" value="10" /> Ficando assím :
    <item id="2463" article="a" name="plate armor"> <attribute key="weight" value="12000" /> <attribute key="armor" value="10" /> <attribute key="slotType" value="body" /> <attribute key="magiclevelpoints" value="10" /> </item>  
     
    E para botar somente para X vocation usar é só adicionar ela em movements.xml :
    <movevent type="DeEquip" itemid="8820" slot="head" event="function" value="onDeEquipItem"/> <movevent type="Equip" itemid="8820" slot="head" event="function" value="onEquipItem"> <vocation id="1"/> <vocation id="5" showInDescription="0"/> <vocation id="2"/> <vocation id="6" showInDescription="0"/> </movevent> Explicando :
  17. ViitinG's post in (Resolvido)Dúvida [Texto Mensagem em SQM] was marked as the answer   
    Tenta agora :
    local config = { positions = { ["Wpr War"] = { x = 1002, y = 1002, z = 10 }, ["ROOK WAR"] = { x = 1002, y = 1008, z = 10 }, ["Evento DiceBp"] = { x = 1002, y = 995, z = 10 }, ["Evento War"] = { x = 1009, y = 1008, z = 10 }, ["Trainers"] = { x = 1006, y = 1008, z = 10 }, ["Mage Set"] = { x = 999, y = 1002, z = 10 }, ["PallyKina Set"] = { x = 1005, y = 1002, z = 10 }, ["Edited By ADM"] = { x = 1000, y = 1000, z = 7 }, ["Depot"] = { x = 997, y = 1002, z = 7 }, ["Quest 100K"] = { x = 998, y = 1008, z = 10 } } } function onThink(cid, interval, lastExecution) for text, pos in pairs(config.positions) do doSendAnimatedText(pos, text, math.random(1, 255)) end return TRUE end
  18. ViitinG's post in (Resolvido)Dúvida [Quest RME] was marked as the answer   
    Você tem que adicionar o script no servidor né amigo..
    "data/actions/scripts/quest1.lua" :
    function onUse(cid, item, frompos, item2, topos) if item.uid == 5999 then queststatus = getPlayerStorageValue(cid,8749) if queststatus == -1 then doPlayerSendTextMessage(cid,22,"Quest completa!") (0, 255, 255)"]doPlayerAddItem(cid,2149,10) setPlayerStorageValue(cid,99530,1) else doPlayerSendTextMessage(cid,22,"Voce ja completou a quest.") end end end "data/actions/actions.xml" :
    <action uniqueid="5999" script="quest1.lua"/>
  19. ViitinG's post in (Resolvido)Protection Zone was marked as the answer   
    Eu entendi certo,é só retirar a tool de NO PVP da "zona" que você quer e colocar a tool PVP.
    Clica com o botão direito na tool NO PVP segura o CTRL e vai passando por toda a área que está com a tool de NO PVP depois é só adicionar a tool PVP ou se seu servidor ja for PVP é só deixar sem nada,no caso se a área estiver protection zone é só clicar na tool PZ Tool e fazer o mesmo processo.
  20. ViitinG's post in (Resolvido)[Pedido] tile was marked as the answer   
    Caso não esteja conseguindo com o meu eu vou explicar como configurar :
    function onStepIn(cid, item, pos) if isPlayer(cid) == TRUE then if (item.actionid == 4036) then doPlayerSendTextMessage(cid,24,"Now you are citizen of CITY.") doPlayerSetTown(cid,13) elseif (item.actionid == 4037) then doPlayerSendTextMessage(cid,24,"Now you are citizen of CITY.") doPlayerSetTown(cid,4) elseif (item.actionid == 4038) then doPlayerSendTextMessage(cid,24,"Now you are citizen of CITY.") doPlayerSetTown(cid,5) end end end
  21. ViitinG's post in (Resolvido)Como Crio Vip Area? was marked as the answer   
    Procure antes de criar um tópico amigo : http://www.tibiaking.com/forum/topic/7507-perfect-vip-system-20/
  22. ViitinG's post in (Resolvido)ajuda: Equipamentos para todas as vocações e levellevel was marked as the answer   
    Para colocar pra aceitar todas as vocações é no movements.xml,exemplo :
    <movevent type="DeEquip" itemid="2492" slot="armor" event="function" value="onDeEquipItem"/> <movevent type="Equip" itemid="2492" slot="armor" event="function" value="onEquipItem"> <vocation id="4"/> <vocation id="8" showInDescription="0"/> <vocation id="3"/> <vocation id="7" showInDescription="0"/> </movevent> Para colocar protection contra all é só adicionar a tag no item.xml :
    <attribute key="absorbPercentall" value="100" />
  23. ViitinG's post in (Resolvido)[duvida] item que teleporta was marked as the answer   
    Tenta :
    function onUse(cid, item, frompos, item2, topos) pos = {x=265, y=265, z=8} if (isPlayerPzLocked(cid)) then         return doPlayerSendCancel(cid, "Você não pode usar teleport agora!")     end doTeleportThing(cid, pos) doPlayerSendTextMessage(cid,22,"Bem vindo a Danger vip.") end return TRUE
  24. ViitinG's post in (Resolvido)Dúvida Simples was marked as the answer   
    function onSay(cid, words, param, channel) if doPlayerRemoveItem(cid, 2145, 1) then doPlayerAddItem(cid,748,1) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MORTAREA) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Parabéns! você comprou uma addon") else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Desculpe mas você não tem Diamonds suficientes para compra essa addon.") doSendMagicEffect(getPlayerPosition(cid), CONST_ME_FLAMEAREA) end return true end
  25. ViitinG's post in (Resolvido)Ajuda MAX Level was marked as the answer   
    Tenta esse então amigo :
    function onAdvance(cid) if getPlayerVocation(cid) == 6 or getPlayerVocation(cid) == 5 or getPlayerVocation(cid) == 4 or getPlayerVocation(cid) == 3 or getPlayerVocation(cid) == 2 then if getPlayerLevel(cid) >= 80 then doPlayerAddExperience(cid, (getExperienceForLevel(80) - getPlayerExperience(cid))) end return true end end

Informação Importante

Confirmação de Termo