Ir para conteúdo

ViitinG

Membro
  • Registro em

  • Última visita

Tudo que ViitinG postou

  1. ViitinG postou uma resposta no tópico em Ouvidoria
    [spoiler#] SCRIPT [/spoiler#] Basta retirar o #.
  2. @Wolf Admin não funciona em 8.54 brother.
  3. @rodolfoaugusto esse sou comentário é considerado flood e é proibído no fórum amigo ! Leia as regras do fórum : http://www.tibiaking.com/forum/forum/23-regras-do-forum/
  4. ViitinG postou uma resposta no tópico em Suporte Tibia OTServer
    Para criar teleport : Selecione Doodad Palette>Exterior/magic forcefield : Coloque o magic forcefield em algum lugar,clique duas vezes com o botão esquerdo do mouse em cima do magic forcefield e mude as coordenadas para onde o teleport levará :
  5. O título do tópico for alterado de : "Erros" para "Erro ao instalar o apache". Leia as regras do fórum : www.tibiaking.com/forum/forum/23-regras-do-forum/
  6. @Wolf Admin Aparece algum erro no distro ? Qual versão do seu servidor ?
  7. Provavelmente na pasta world do seu servidor não tem o xml das houses e dos spawns..
  8. 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 → Downloads → Servidores Derivados" Para: "OTServ → Suporte OTServ → Suporte de Servidores Derivados"
  9. ViitinG postou uma resposta no tópico em Suporte Tibia OTServer
    Script do gold nugget : "data/actions/scripts/crystalchange.lua" : function onUse(cid, item, frompos, item2, topos) if item.itemid == 2160 and item.type == 100 then doRemoveItem(item.uid,item.type) doPlayerAddItem(cid,2157,1) doPlayerSendTextMessage(cid,22,"Voce trocou 100 crystal por 1 gold nugget") elseif item.itemid == 2152 and item.type < 100 then doRemoveItem(item.uid,1) doPlayerAddItem(cid,2152,100) doPlayerSendTextMessage(cid,22,"Voce trocou 1 crystal por 100 platinum coin") end end "data/actions/actions.xml" : <action itemid="2157" event="script" value="crystalchange.lua" "data/items/items.xml" : Procure por gold nugget(2157),mude isso : <item id="2157" article="a" name="gold nugget" plural="gold nuggets"> <attribute key="weight" value="10"/> Por isso : <item id="2157" article="a" name="gold nugget" plural="gold nuggets"> <attribute key="weight" value="10"/> <attribute key="worth" value="1000000" /> "data/actions/scripts/other/changegold.lua" : local coins = { [ITEM_GOLD_COIN] = { to = ITEM_PLATINUM_COIN, effect = TEXTCOLOR_YELLOW }, [ITEM_PLATINUM_COIN] = { from = ITEM_GOLD_COIN, to = ITEM_CRYSTAL_COIN, effect = TEXTCOLOR_LIGHTBLUE }, [ITEM_CRYSTAL_COIN] = { from = ITEM_PLATINUM_COIN, to = 2157, effect = TEXTCOLOR_LIGHTBLUE }, [2157] = { from = ITEM_CRYSTAL_COIN, effect = TEXTCOLOR_TEAL } } function onUse(cid, item, fromPosition, itemEx, toPosition) if(getPlayerFlagValue(cid, PLAYERFLAG_CANNOTPICKUPITEM)) then return false end local coin = coins[item.itemid] if(not coin) then return false end if(coin.to ~= nil and item.type == ITEMCOUNT_MAX) then doChangeTypeItem(item.uid, item.type - item.type) doPlayerAddItem(cid, coin.to, 1) doSendAnimatedText(fromPosition, "$$$", coins[coin.to].effect) elseif(coin.from ~= nil) then doChangeTypeItem(item.uid, item.type - 1) doPlayerAddItem(cid, coin.from, ITEMCOUNT_MAX) doSendAnimatedText(fromPosition, "$$$", coins[coin.from].effect) end return true end "data/actions/actions.xml" : <action itemid="2157" event="script" value="other/changegold.lua"/> O título do tópico for alterado de : "Urgente" para "Ajuda anti-magebomb". Leia as regras do fórum : www.tibiaking.com/forum/forum/23-regras-do-forum/
  10. 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 → Scripting → Actions e TalkActions" Para: "OTServ → Suporte OTServ → Suporte de Scripts"
  11. 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 → Scripting → CreatureScripts, GlobalEvents e MoveMents" Para: "OTServ → Suporte OTServ → Suporte de Scripts"
  12. 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 → Programação Open Tibia → Tutoriais de Programação" Para: "OTServ → Suporte OTServ → Suporte de Scripts"
  13. 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 → Scripting → Monsters e NPCs" Para: "OTServ → Suporte OTServ → Suporte de Scripts"
  14. ViitinG postou uma resposta no tópico em Mapas de Tibia
    @BlinkRox obrigado por usar brother,fico feliz que tenha gostado ! <3
  15. ViitinG postou uma resposta no tópico em Mapas de Tibia
    Link atualizado e imagem adicionada das propriedades do mapa para garantir que o mapa está em versão 8.60,qualquer dúvida é só deixar um comentário.Abraço !
  16. @larafaz ter como tem,mas teria que mudar muitas funções do script amigo..
  17. ViitinG postou uma resposta no tópico em Playground (Off-topic)
    eu limpo plantando bananeira !
  18. 2 script : "data/creaturescripts/scripts/deathbroadcast.lua" : local config = { affected = 10, -- how many players (deathAssits) from table deathList should this script be executed for? killStorageValue = 3943, deathStorageValue = 3944, -- commands for the texts (those inside of ||, example: |KILLS| to show skills): KILLS, KILLERNAME, TARGETNAME rewardItem = { use = true, itemid = 2160, minLevel = false, -- false if you don't want any level req minLevelDiff = false, -- false if you don't want any level diff req (negative numbers allowed). }, killMessage = { use = true, text = "You owned |TARGETNAME|! You have now |KILLERKILLS| kills!", messageClass = MESSAGE_STATUS_CONSOLE_BLUE }, broadcastMessage = { use = false, minLevel = false, -- false if you don't want any level req minLevelDiff = false, -- false if you don't want any level diff req (negative numbers allowed). text = "|KILLERNAME| [|KILLERLEVEL|] just killed |TARGETNAME| [|TARGETLEVEL|]!", messageClass = MESSAGE_STATUS_WARNING }, killerAnimation = { use = true, text = "Frag!", -- Only 9 letters! No "commands" here. color = 144 }, targetAnimation = { use = true, text = "OWNED!!", -- Only 9 letters! No "commands" here. color = 180 } } function onDeath(cid, corpse, deathList) for i = 1, math.min(config.affected, getConfigInfo('deathAssistCount')) do local killer = deathList[i] if(isPlayer(killer) == TRUE) then local targetKills = math.max(0, getPlayerStorageValue(cid, config.killStorageValue)) + 1 local targetDeaths = math.max(0, getPlayerStorageValue(cid, config.deathStorageValue)) + 1 local killerKills = math.max(0, getPlayerStorageValue(killer, config.killStorageValue)) + 1 local killerDeaths = math.max(0, getPlayerStorageValue(killer, config.deathStorageValue)) + 1 setPlayerStorageValue(killer, config.killStorageValue, targetKills) setPlayerStorageValue(cid, config.deathStorageValue, targetDeaths) local killerLevel = getPlayerLevel(killer) local targetLevel = getPlayerLevel(cid) local levelDiff = targetLevel - killerLevel local values = { ["KILLERKILLS"] = killerKills, ["KILLERDEATHS"] = killerDeaths, ["KILLERNAME"] = getCreatureName(killer), ["KILLERLEVEL"] = killerLevel, ["TARGETKILLS"] = targetKills, ["TARGETDEATHS"] = targetDeaths, ["TARGETNAME"] = getCreatureName(cid), ["TARGETLEVEL"] = targetLevel } function formateString(str) return(str:gsub("|([A-Z]+)|", (function(a) return values[a] end))) end if(config.rewardItem.use and (not config.rewardItem.minLevel or targetLevel >= config.rewardItem.minLevel) and (not config.rewardItem.minLevelDiff or levelDiff >= config.rewardItem.minLevelDiff)) then if getPlayerIp(cid) == getPlayerIp(killer) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você não ganha nada matando MC") return False end local uid = doPlayerAddItem(killer, config.rewardItem.itemid, 1) end if(config.killMessage.use) then doPlayerSendTextMessage(killer, config.killMessage.messageClass, formateString(config.killMessage.text)) end if(config.broadcastMessage.use and (not config.broadcastMessage.minLevel or getPlayerLevel(cid) >= config.broadcastMessage.minLevel) and (not config.broadcastMessage.minLevelDiff or levelDiff >= config.broadcastMessage.minLevelDiff)) then broadcastMessage(formateString(config.broadcastMessage.text), config.broadcastMessage.messageClass) end if(config.killerAnimation.use) then doSendAnimatedText(getCreaturePosition(killer), config.killerAnimation.text, config.killerAnimation.color) end if(config.targetAnimation.use) then doSendAnimatedText(getCreaturePosition(cid), config.targetAnimation.text, config.targetAnimation.color) end end end return true end function onKill(cid, target, lastHit) local str = "O player %s acaba de ser morto no nível %d por %s" if isPlayer(cid) and isPlayer(target) then doBroadcastMessage(str:format(getCreatureName(target), getPlayerLevel(target), getCreatureName(cid)), 27) end return true end "data/creaturescripts/creaturescripts.xml" : <event type="death" name="DeathBroadcast" event="script" value="deathBroadcast.lua"/> <event type="kill" name="DeathBroadCast" event="script" value="deathbroadcast.lua"/>
  19. ViitinG postou uma resposta no tópico em Playground (Off-topic)
    Olá Jonny,seja bem vindo ao fórum brother. Já deu uma pesquisada na área de Download Servidores Derivados ou Download OTServs 8.0 - 8.5x ? Tem varios servidores derivados nessas áreas é só pesquisar com calma que tenho certeza que vai conseguir encontrar um que te agrade ! Download Servidores Derivados : http://www.tibiaking.com/forum/forum/186-servidores-derivados/ Download OTServs 8.0 - 8.5x : http://www.tibiaking.com/forum/forum/119-otservs-80-85x/
  20. 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 → Downloads → Servidores Derivados" Para: "OTServ → Suporte OTServ → Suporte de Servidores Derivados"
  21. 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 → Downloads → Servidores Derivados" Para: "OTServ → Suporte OTServ → Suporte de Servidores Derivados"
  22. ViitinG postou uma resposta no tópico em Suporte Tibia OTServer
    Item para todos os players online : http://www.tibiaking.com/forum/topic/33793-talkactions-adicionar-item-para-todos-players-online/
  23. ViitinG postou uma resposta no tópico em Formação de Equipe
    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 Infraestrutura" Para: "OTServ → Projetos / Formação de Equipes → Formação de Equipes"
  24. ViitinG postou uma resposta no tópico em Playground (Off-topic)
  25. 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 → OTServ Geral" Para: "OTServ → Projetos / Formação de Equipes → Formação de Equipes"

Informação Importante

Confirmação de Termo