Ir para conteúdo

vankk

Membro
  • Registro em

  • Última visita

Tudo que vankk postou

  1. vankk postou uma resposta no tópico em Suporte Tibia OTServer
    Voce tem que colocar as coisas como está em vermelho. Simplificando, a parte da direita que voce precisa tirar, e tem que deixar igual a parte da esquerda. Não sei qual a melhor explicacao, HAHAHA.
  2. vankk postou uma resposta no tópico em Suporte Tibia OTServer
    Para voce arrumar esse problema voce precisa reverter os codigos: https://github.com/otland/forgottenserver/commit/7e06dafad640deb06c1c5290d25eff46fb1b77a3 ou instalar VS 2015.
  3. vankk postou uma resposta no tópico em Suporte Tibia OTServer
    Que "error" de compilar?
  4. vankk postou uma resposta no tópico em Suporte Tibia OTServer
    é pelo config.lua 10 é para a formula antiga, mais experiencia, tenta dar uma olhada na sua sources. -- NOTE: Leave deathLosePercent as -1 if you want to use the default -- death penalty formula. For the old formula, set it to 10. For -- no skill/experience loss, set it to 0.
  5. vankk postou uma resposta no tópico em Suporte Tibia OTServer
    Edita na pasta da versão do mapa os items.xml: <item id="8058" article="a" name="mystic flame"> <attribute key="description" value="You feel drawn to the mesmerizing light." /> <attribute key="type" value="teleport" /> <attribute key="effect" value="teleport" /> </item>
  6. 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 local pos = {x=1, y=2, z=3} local ppos = getCreaturePosition(cid) if isPremium(cid) then if getPlayerLevel(cid) > 7 then if msgcontains(msg, 'edron') then selfSay('Do you want to Travel to Edron for 110 gold coins?', cid) talkState[talkUser] = 1 elseif(msgcontains(msg, 'yes') and talkState[talkUser] == 1) then if not isPlayerPzLocked(cid) then if (doPlayerRemoveMoney(cid, 110)) then selfSay('Set the sails!', cid) doSendMagicEffect(ppos, CONST_ME_TELEPORT) doTeleportThing(cid, pos) doSendMagicEffect(ppos, CONST_ME_TELEPORT) talkState[talkUser] = 0 else selfSay('Sorry, you don\'t have enough gold.', cid) end else selfSay('First get rid of those blood stains! You are not going to ruin my vehicle!', cid) talkState[talkUser] = 0 end elseif(msgcontains(msg, 'no') and isInArray({1}, talkState[talkUser])) then talkState[talkUser] = 0 selfSay('Ok then.', cid) end else selfSay('You need to be level 8 up to travel in this boat.', cid) talkState[talkUser] = 0 end else selfSay('You need be premium account to travel with me.', cid) talkState[talkUser] = 0 end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
  7. vankk postou uma resposta no tópico em Suporte Tibia OTServer
    https://otland.net/threads/no-damage-to-guildmates-and-no-damage-to-party-members.139041/ Tenta ai, se não funcionar não sei o problema. PS: Reinicia o servidor para ter certeza!
  8. vankk postou uma resposta no tópico em Suporte Tibia OTServer
    voce usa TFS 0.4, ne? Se sim.. Troca <event type="combat" name="attackguild" script="attackguild.lua"/> por<event type="combat" name="attackguild" event="script" value="attackguild.lua"/>
  9. vankk postou uma resposta no tópico em Suporte Tibia OTServer
    Manda a linha 269 do latestnews.php
  10. vankk postou uma resposta no tópico em Suporte Tibia OTServer
    Algum erro no console ou simplesmente não funciona?
  11. O script está com problema para fechar a função, manda o vipAccount.lua que está na lib.
  12. vankk postou uma resposta no tópico em Suporte Tibia OTServer
    Como está registrado no seu creaturescripts.xml e no login.lua?
  13. vankk postou uma resposta no tópico em Suporte Tibia OTServer
    Qual TFS voce esta usando? Voce registrou em creaturescripts, e no login.lua?
  14. Se não funcionar, eu não tenho ideia: function onStatsChange(cid, attacker, type, combat, value) if (getCreatureStorage(cid, 21500) == 1) then local speed = 30 -- speed doChangeSpeed(cid, speed) if math.random(2) == 1 then -- 50% if isPlayer(attacker) or isMonster(attacker) then if type == STATSCHANGE_HEALTHLOSS then local value = math.ceil(value * 0.2) doTargetCombatHealth(attacker, cid, COMBAT_UNDEFINEDDAMAGE, -value, -value, CONST_ME_DRAWBLOOD) --doPlayerSendTextMessage(attacker,MESSAGE_DAMAGE_DEALT,"Player "..getCreatureName(cid).." loses "..value.." hitpoints due to an attack by you.") --doPlayerSendTextMessage(cid,MESSAGE_DAMAGE_DEALT,"You loose "..value.." hitpoints due to an attack by " .. getCreatureName(attacker)) doSendAnimatedText(getCreaturePosition(cid), value,TEXTCOLOR_RED) return false end end end end return true end
  15. vankk postou uma resposta no tópico em Suporte Tibia OTServer
    Achei esse script no google, então não tenho ideia de como está: Lembresse de editar os monster, na linha 21. local target = 0 local prevTarget = 0 local maxChaseDistance = 7 local origPos = 0 local lastAttack = 0 local followTimeout = 10 local function goToOrigPos() target = 0 lastAttack = 0 selfFollow(0) doSteerCreature(getNpcCid(), origPos) end local function updateTarget() if(target == 0) then local list = getSpectators(origPos, 7, 7, false) for i = 1, table.getn(list) do local _target = list if(_target ~= 0) then local monster = {"Wolf", "Snake", "Troll", "Bug"} if(isInArray(monster, getCreatureName(_target))) then if(not getTilePzInfo(getCreaturePosition(_target))) then if(selfFollow(_target)) then target = _target if(target ~= prevTarget) then selfSay("Everyone get to safety! I'll take care of this "..getCreatureName(_target).."!") end prevTarget = target break end end end end end end end function onCreatureAppear(cid) if(cid == getNpcCid()) then origPos = getNpcPos() end end function onCreatureDisappear(cid) if(cid == target) then goToOrigPos() end end function onCreatureMove(creature, oldPos, newPos) -- end function onThink() updateTarget() if(target == 0) then return end local playerPos = getCreaturePosition(target) local myPos = getNpcPos() if(myPos.z ~= playerPos.z) then goToOrigPos() return end if(math.abs(myPos.x - origPos.x) > maxChaseDistance or math.abs(myPos.y - origPos.y) > maxChaseDistance) then selfSay("I'll get it next time...") goToOrigPos() return end if(lastAttack == 0) then lastAttack = os.clock() end if(os.clock() - lastAttack > followTimeout) then selfSay("I'll get you next time.") goToOrigPos() return end if((math.abs(playerPos.x - myPos.x) <= 1) and (math.abs(playerPos.y - myPos.y) <= 1)) then doTargetCombatHealth(getNpcCid(), target, COMBAT_LIFEDRAIN, -5, -25, CONST_ME_BLOCKHIT) lastAttack = os.clock() end end
  16. Eu não entendi direito, voce quer que reflete o dano apenas de jogadores ou para monstros? Ou para ambos? E os monstros estão healando quando está com o script esta ativado?
  17. Voce nao entendeu, isso é o que voce precisa para colocar o rank no site. Leia os scripts com mais atencão
  18. Bota para quando o jogador ganha o evento inserir uma query. Boa sorte: query db.query("INSERT INTO `games` (`id`, `player`, `score`) VALUES (NULL, '" .. getPlayerGUID(cid) .. "', 'STORAGE EVENT +1');") mysql CREATE TABLE IF NOT EXISTS `games` ( `id` int(11) NOT NULL AUTO_INCREMENT, `player` int(11) DEFAULT NULL, `score` int(11) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=6 ; select no website $record = $SQL->query('SELECT `p`.`name` AS `name`, `p`.`id` AS `id`, `player`,`score` FROM `games` LEFT JOIN `players` p ON `games`.`player` = `p`.`id` ORDER BY `score` DESC LIMIT 4')->fetch();
  19. vankk postou uma resposta no tópico em Suporte Tibia OTServer
    function onCombat(cid, target) if(isPlayer(cid) and isPlayer(target)) then if(getPlayerGuildId(cid) == getPlayerGuildId(target)) then return false end end return true end
  20. vankk postou uma resposta no tópico em Suporte Tibia OTServer
    local target = 0 local prevTarget = 0 local maxChaseDistance = 20 local origPos = 0 local origDir = NORTH local lastAttack = 0 local followTimeout = 10 local function isSkulled(cid) local idType = isPlayer(cid) if (idType ~= 1) then return true end return false end local function goToOrigPos() target = 0 lastAttack = 0 selfFollow(0) doTeleportThing(getNpcCid(), origPos) end local function updateTarget() if(isPlayer(target) == FALSE) then goToOrigPos() elseif(not isSkulled(target)) then target = 0 selfSay("Now, behave in the future.") end if isMonster(target) then if(target == 0) then local list = getSpectators(getNpcPos(), 8, 8, false) for i=1, table.getn(list) do local _target = list[i] if(_target ~= 0) then if(isPlayer(_target) == TRUE and isSkulled(_target)) then if(selfFollow(_target)) then target = _target if(target ~= prevTarget) then selfSay("We do not tolerate people like you here!") end prevTarget = target break end end end end end end end function onCreatureAppear(cid) if(cid == getNpcCid()) then --Wake up call origPos = getNpcPos() --origLook = getCreatureDir(cid) end end function onCreatureDisappear(cid) if(target == cid) then goToOrigPos() end end function onCreatureMove(creature, oldPos, newPos) -- end function onThink() updateTarget() if(target == 0) then return end local playerPos = getCreaturePosition(target) local myPos = getNpcPos() if(myPos.z ~= playerPos.z) then goToOrigPos() return end if(math.abs(myPos.x - origPos.x) > maxChaseDistance or math.abs(myPos.y - origPos.y) > maxChaseDistance) then selfSay("I'll catch you next time.") goToOrigPos() return end if(lastAttack == 0) then lastAttack = os.clock() end if(os.clock() - lastAttack > followTimeout) then --To prevent bugging the npc by going to a place where he can't reach selfSay("You got me this time, but just wait.") goToOrigPos() return end if( (math.abs(playerPos.x - myPos.x) <= 1) and (math.abs(playerPos.y - myPos.y) <= 1)) then doTargetCombatHealth(getNpcCid(), target, COMBAT_LIFEDRAIN, -200, -300, CONST_ME_BLOCKHIT) lastAttack = os.clock() end endTenta ve como que vai ficar..
  21. vankk postou uma resposta no tópico em Suporte & Pedidos
    Com muito orgulho que venho anunciar meu projeto.. Esse projeto vai ao ar em Dezembro!! Sobre AuraOT AuraOT é um servidor que utiliza open sources tanto o servidor e o website, contendo basicamente todas as quests do Tibia RL, com modificações adaptadas para o RPG e também estamos focando o projeto para WAR SYSTEM. AuraOT foi criado para oferecer o máximo do Open Tibia, é um grande diferenciado na questão de RL Map server, pois todos estão acostumadas com os servidores RL Map da atualidade, com runas infinitas e stages muitos fáceis, e um PvP não balanceado. Dedicated Server ???? Short Links Thais Sistema de War System Thais pt. 2 Rain Items (Event) Donation por PayPal Recive itens do shop Stages 1-50 = 300x 51-80 = 200x 81-120 = 100x 121-150 = 60x 151-180 = 30x 181-200 = 15x 201-230 =10x 231-270 = 5x 271+ = 3x Distro AuraOT será lançado na versão 10.77-10.82 utilizando o TFS 1.2 como base, por ser o mais atualizado. Diferenciado AuraOT é um servidor diferenciado pois queremos ser diferente de todos os servidores atual de RL Map, que possuem runas infinitas, stages que chegam muito rápido ao level 300, e perdem totalmente o PvP, não possuem nem um pingo de RPG, e são servidores chatos de serem jogados, com muito items VIP. Em Aura todos os respawn estão sendo reaproveitados, o RL Map é EXTREMAMENTE GRANDE então decidimos que respawns que geralmente as pessoas não vão em OTServer, tais como, Treasure Island, Fibula foram modificados com monstros que incentivam as pessoas irem lá, e das uma olhada no respawn, em Treasure Island por exemplo possui cave de Dragon Lord, Serpent Spawn & Medusa, e em Fibula possui hunts de Hydra ao invés de Rotworm.. Com isso voltamos a ter um pouco de RPG , de pessoas querendo explorar o mapa atrás de novas hunts. Queremos ser tão diferenciados que o PvP de Aura foi TOTALMENTE REAJUSTADO. Alguns exemplos: Stone skin amulet, might ring foram reformulados completamente, runas/spells em área foi reformulada. Quando o seu time está em war system, você não pode usar runas/spells em área(queremos que as wars seja baseada em Sudden Death Rune, e não avalanche/runas em área). Sistema de Quests Todo o servidor é FREE ACCESS, isso significa que não precisa fazer Quests de acesso, como In Service of Yalahar, Goroma, North Zao, Goroma. Porém, porém, fizemos um DIFERENCIADO deixamos A MAIORIA das quests funcionando para aqueles que desejam fazer e ganhar experiência e gold encima de quests. Removemos as partes chatas das quests, é deixamos as coisas mais interessantes para deixar mais dinâmico o servidor. Você pode ver as quests: E muitas outras estão por virem.. O que estou querendo Gostaria das opiniões de todos sobre o que acham dos servidores atuais de RL Map, como que poderia ser, ideais para sistemas,o que acham do projeto AuraOT. Colocar sistema VIP ou não, simplificando, opiniões sobre tudo, e sejam bem CRÍTICOS, porque a crítica faz vir o melhor, e é para isso que estou trabalhando nesse projeto. Yours VANKK;
  22. vankk postou uma resposta no tópico em Ferramentas OpenTibia
    Algumas queriam, entao esta ai: Precisa do Microsoft Visual C++ 2013 - 32/64Bits - http://www.microsoft.com/en-us/download/details.aspx?id=40784 Download do Remere: http://www.mediafire.com/download/m6wn6uk83v57u7l/Remere-s-Map-Editor-10.80-master.zip Scan: https://www.virustotal.com/pt/file/d0df10a9be87cd8d1bab44ffd29c11769d89278076972585bbf0487b4d366edb/analysis/ Yours VANKK;
  23. vankk postou uma resposta no tópico em Mapas de Tibia
    function onUse(cid, item, fromPosition, itemEx, toPosition) if(item.itemid == 10309) then doPlayerAddPremiumDays(cid, 30) doSendMagicEffect(getPlayerPosition(cid), math.random(CONST_ME_FIREWORK_YELLOW, CONST_ME_FIREWORK_BLUE)) doRemoveItem(item.uid) doPlayerSay(cid, "Foi adicionado 30 dias de premium account.", TALKTYPE_MONSTER) end end function onUse(cid, item, fromPosition, itemEx, toPosition) if(item.itemid == 10310) then doPlayerAddPremiumDays(cid, 15) doSendMagicEffect(getPlayerPosition(cid), math.random(CONST_ME_FIREWORK_YELLOW, CONST_ME_FIREWORK_BLUE)) doRemoveItem(item.uid) doPlayerSay(cid, "Foi adicionado 15 dias de premium account.", TALKTYPE_MONSTER) end endNao esquece de adiconar no actions.xml<action itemid="10309" event="script" value="xxx.lua"/> <action itemid="10310" event="script" value="xxx1.lua"/>

Informação Importante

Confirmação de Termo