Ir para conteúdo

ztalkerr

Membro
  • Registro em

  • Última visita

Tudo que ztalkerr postou

  1. Ae eu tenho script de bike tbm funcionou legal. só que eu queria saber se tem como fazer o seguinte. quando o player for morrer ele desmontase automaticamente da bike. pq ta dando um bug :|
  2. galera meu fishing esta subindo de 5 em 5% ja mechi em tudo e nao acho o problema :| nao importa o lvl se é lvl 10 ou 100 vai subir de 5 em 5% rateSkill = 1.0 rateMagic = 1.0 e o script.
  3. Pessoal quem poder me explicar como faço isso fico grato. Por exemplo quando o player anda na Shallow water que é em baixo da agua ele fica muito devagar. ai tipo com o barato la para mergulhar ele fica rapido blz. mais o player pode usar em qualquer lugar :| como faço para deixar ele usar somente na shallow water ("em baixo da agua") tipo um bloqueio para nao poder usar nas ruas ou mato etc.. tipo um only: shallow water. ou tipo na area da shallow water vai por exemplo 1050 150 15 etc.. alguem sabe?? ngm ?
  4. Fala galera alguem pode me dizer o que eu mudo aqui nesse script para ele nao conseguir usar o surf montadado na bike?? quando ele usa o surf (no meu ot eh so ir em direção a aguacom pokemon com surf que ele começa surfar..) só que se o player vai la com a bike ele muda pra surf mais quando sai buga elefica parado e tem que relogar. Ate tem o proibir surfar montadado na bike mais nao esta funcionando. Obrigado pela ajuda. local function doSendMagicEffecte(pos, effect) addEvent(doSendMagicEffect, 50, pos, effect) end local waters = {11756, 4614, 4615, 4616, 4617, 4618, 4619, 4608, 4609, 4610, 4611, 4612, 4613, 7236, 4614, 4615, 4616, 4617, 4618, 4619, 4620, 4621, 4622, 4623, 4624, 4625, 4665, 4666, 4820, 4821, 4822, 4823, 4824, 4825} local flie = {'4820', '4821', '4822', '4823', '4824', '4825'} --alterado v1.6 tabelas agora em configuration.lua! local premium = false function onStepIn(cid, item, position, fromPosition) if not isPlayer(cid) or isInArray({5, 6}, getPlayerGroupId(cid)) then --alterado v1.9 return true end if getPlayerStorageValue(cid, 75846) >= 1 then return true end --alterado v1.9 if isPlayer(cid) and getCreatureOutfit(cid).lookType == 814 then return false end -- TV if isPlayer(cid) and not isPremium(cid) and premium == true then doTeleportThing(cid, fromPosition, false) doPlayerSendCancel(cid, "so membros premium podem usar o surf.") return true end if getCreatureOutfit(cid).lookType == 316 or getCreatureOutfit(cid).lookType == 648 then doSendMagicEffect(fromPosition, 136) end if (getPlayerStorageValue(cid, 63215) >= 1 or getPlayerStorageValue(cid, 17000) >= 1) then return true end if #getCreatureSummons(cid) == 0 then doPlayerSendCancel(cid, "Voce precisa de um pokemon com surf.") doTeleportThing(cid, fromPosition, false) return true end --alterado v1.6 if (not isInArray(specialabilities["surf"], getPokemonName(getCreatureSummons(cid)[1]))) then doPlayerSendCancel(cid, "Esse pokemon nao pode usar o surf.") doTeleportThing(cid, fromPosition, false) return true end if getPlayerStorageValue(cid, 5700) == 1 then doPlayerSendCancel(cid, "voce nao pode usar em cima de uma bike!") doTeleportThing(cid, fromPosition, false) return true end if getPlayerStorageValue(cid, 212124) >= 1 then --alterado v1.6 doPlayerSendCancel(cid, "Voce nao pode seu pokemon esta sendo controlado") doTeleportThing(cid, fromPosition, false) return true end if getPlayerStorageValue(cid, 52480) >= 1 then doPlayerSendCancel(cid, "Voce nao pode usar surf em um duelo!") --alterado v1.6 doTeleportThing(cid, fromPosition, false) return true end if getPlayerStorageValue(cid, 6598754) == 1 or getPlayerStorageValue(cid, 6598755) == 1 then doPlayerSendCancel(cid, "Voce nao pode usar surf no pvp!") --alterado v1.7 doTeleportThing(cid, fromPosition, false) return true end --alterado v1.6 doSetCreatureOutfit(cid, {lookType = surfs[getPokemonName(getCreatureSummons(cid)[1])].lookType + 351}, -1) doCreatureSay(cid, ""..getPokeName(getCreatureSummons(cid)[1])..", lets surf!", 1) doChangeSpeed(cid, -(getCreatureSpeed(cid))) local speed = 1 + PlayerSpeed + getSpeed(getCreatureSummons(cid)[1]) * 2 * speedRate setPlayerStorageValue(cid, 54844, speed) doChangeSpeed(cid, speed) local pct = getCreatureHealth(getCreatureSummons(cid)[1]) / getCreatureMaxHealth(getCreatureSummons(cid)[1]) doItemSetAttribute(getPlayerSlotItem(cid, 8).uid, "hp", pct) doRemoveCreature(getCreatureSummons(cid)[1]) addEvent(setPlayerStorageValue, 100, cid, 63215, 1) local item = getPlayerSlotItem(cid, 8) if getItemAttribute(item.uid, "boost") and getItemAttribute(item.uid, "boost") >= 50 and getPlayerStorageValue(cid, 42368) <= 0 then addEvent(sendAuraEffect, 120, cid, auraSyst[getItemAttribute(item.uid, "aura")]) --alterado v1.8 end if useOTClient then doPlayerSendCancel(cid, '12//,hide') --alterado v1.8 end return true end local direffects = {30, 49, 9, 51} function onStepOut(cid, item, position, fromPosition) if isPlayer(cid) and getCreatureOutfit(cid).lookType == 814 then return false end local checkpos = fromPosition checkpos.stackpos = 0 if isInArray(waters, getTileInfo(checkpos).itemid) then if getPlayerStorageValue(cid, 63215) >= 1 or getPlayerStorageValue(cid, 17000) >= 1 then doSendMagicEffecte(fromPosition, direffects[getCreatureLookDir(cid) + 1]) end end if not isInArray(waters, getTileInfo(getThingPos(cid)).itemid) then if getPlayerStorageValue(cid, 17000) >= 1 then return true end if getPlayerStorageValue(cid, 63215) <= 0 then return true end doRemoveCondition(cid, CONDITION_OUTFIT) setPlayerStorageValue(cid, 63215, -1) local item = getPlayerSlotItem(cid, 8) local pokemon = getItemAttribute(item.uid, "poke") local x = pokes[pokemon] if not x then return true end if getItemAttribute(item.uid, "nick") then doCreatureSay(cid, getItemAttribute(item.uid, "nick")..", I'm tired of surfing!", 1) else doCreatureSay(cid, getItemAttribute(item.uid, "poke")..", I'm tired of surfing!", 1) end doSummonMonster(cid, pokemon) local pk = getCreatureSummons(cid)[1] if not isCreature(pk) then pk = doCreateMonster(pokemon, backupPos) if not isCreature(pk) then doPlayerSendCancel(cid, "You can't stop surfing here.") doTeleportThing(cid, fromPosition, false) return true end doConvinceCreature(cid, pk) end doChangeSpeed(pk, getCreatureSpeed(cid)) doChangeSpeed(cid, -getCreatureSpeed(cid)) doRegainSpeed(cid) --alterado v1.6 doTeleportThing(pk, fromPosition, false) doTeleportThing(pk, getThingPos(cid), true) doCreatureSetLookDir(pk, getCreatureLookDir(cid)) adjustStatus(pk, item.uid, true, false, true) if useOTClient then doPlayerSendCancel(cid, '12//,show') --alterado v1.8 end end return true end
  5. Bom dia galera.. esse é meu script de autoloot porem comecei a perceber que estava dando 1 erro doido e travando o ot e ninguem conseguia conectar.. Esse erro ai. Desativei o autoloot e por enquanto esta normalizado. Alguem por favor me diga oque tem de errado nesse script. abaixo. local stor, limit = 7575, 25 --storage, limit to add. local allow_container = false --empty! not looted with items, atleast for now. function onSay(cid, words, param) local expl = param:explode(':') local action, rst = expl[1], expl[2] if (action:lower() == 'check') then local infos, list = getPlayerStorageValue(cid, stor), {} if (infos ~= -1) then list = tostring(infos):explode(',') end local txt = 'Autoloot List:\n' if (#list > 0) then for k, id in ipairs(list) do id = id:gsub('_', '') if tonumber(id) then txt = txt .. getItemNameById(tonumber(id)) .. ((k < #list) and '\n' or '') end end else txt = 'Empty' end doPlayerPopupFYI(cid, txt) elseif (action:lower() == 'add') then local infos, list = getPlayerStorageValue(cid, stor), {} if (infos ~= -1) then list = tostring(infos):gsub('_', ''):explode(',') end if (#list >= limit) then return doPlayerSendCancel(cid, 'You already have ' .. limit .. ' autolooting items.') end local item = tonumber(rst) if not item then item = getItemIdByName(rst, false) if not item then return doPlayerSendCancel(cid, 'not valid item.') end end if not allow_container and isItemContainer(item) then return doPlayerSendCancel(cid, 'this item can not be autolooted.') end local attrs = getItemInfo(item) if not attrs then return doPlayerSendCancel(cid, 'not valid item.') elseif not attrs.movable or not attrs.pickupable then return doPlayerSendCancel(cid, 'this item can not be autolooted.') end if isInArray(list, item) then return doPlayerSendCancel(cid, 'already added.') end table.insert(list, tostring(item)) local new = '' for v, id in ipairs(list) do new = new .. '_' .. id:gsub('_' ,'') .. ((v < #list) and ',' or '') end doPlayerSetStorageValue(cid, stor, tostring(new)) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, 'Item >>' .. getItemNameById(item) .. '<< has been added to the autoloot list.') elseif (action:lower() == 'remove') then local infos, list = getPlayerStorageValue(cid, stor), {} if (infos ~= -1) then list = tostring(infos):gsub('_', ''):explode(',') end if (#list == 0) then return doPlayerSendCancel(cid, 'You dont have any item added.') end if (#list >= limit) then return doPlayerSendCancel(cid, 'You already have ' .. limit .. ' autolooting items.') end local item = tonumber(rst) if not item then item = getItemIdByName(rst, false) if not item then return doPlayerSendCancel(cid, 'not valid item.') end end if not isInArray(list, item) then return doPlayerSendCancel(cid, 'This item is not in the list.') end local new = '' for v, id in ipairs(list) do if (tonumber(id) ~= item) then new = new .. '_' .. id:gsub('_' ,'') .. ((v < #list) and ',' or '') end end doPlayerSetStorageValue(cid, stor, tostring(new)) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, 'Item >>' .. getItemNameById(item) .. '<< removed from the autoloot list.') end return true end Obrigado.
  6. ai que ta eu peguei pronta ja. mais acho que é por causa do autoloot isso ai. semrpe que tem player usando ele ta travando e dando esse erro... desativei o autoloot vamo ve se vai continuar.. por enquanto nada. Alguem pode me dizerse a algo de errado nesse autoloot?? SEGUE AUTOLOOT. local stor, limit = 7575, 25 --storage, limit to add. local allow_container = false --empty! not looted with items, atleast for now. function onSay(cid, words, param) local expl = param:explode(':') local action, rst = expl[1], expl[2] if (action:lower() == 'check') then local infos, list = getPlayerStorageValue(cid, stor), {} if (infos ~= -1) then list = tostring(infos):explode(',') end local txt = 'Autoloot List:\n' if (#list > 0) then for k, id in ipairs(list) do id = id:gsub('_', '') if tonumber(id) then txt = txt .. getItemNameById(tonumber(id)) .. ((k < #list) and '\n' or '') end end else txt = 'Empty' end doPlayerPopupFYI(cid, txt) elseif (action:lower() == 'add') then local infos, list = getPlayerStorageValue(cid, stor), {} if (infos ~= -1) then list = tostring(infos):gsub('_', ''):explode(',') end if (#list >= limit) then return doPlayerSendCancel(cid, 'You already have ' .. limit .. ' autolooting items.') end local item = tonumber(rst) if not item then item = getItemIdByName(rst, false) if not item then return doPlayerSendCancel(cid, 'not valid item.') end end if not allow_container and isItemContainer(item) then return doPlayerSendCancel(cid, 'this item can not be autolooted.') end local attrs = getItemInfo(item) if not attrs then return doPlayerSendCancel(cid, 'not valid item.') elseif not attrs.movable or not attrs.pickupable then return doPlayerSendCancel(cid, 'this item can not be autolooted.') end if isInArray(list, item) then return doPlayerSendCancel(cid, 'already added.') end table.insert(list, tostring(item)) local new = '' for v, id in ipairs(list) do new = new .. '_' .. id:gsub('_' ,'') .. ((v < #list) and ',' or '') end doPlayerSetStorageValue(cid, stor, tostring(new)) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, 'Item >>' .. getItemNameById(item) .. '<< has been added to the autoloot list.') elseif (action:lower() == 'remove') then local infos, list = getPlayerStorageValue(cid, stor), {} if (infos ~= -1) then list = tostring(infos):gsub('_', ''):explode(',') end if (#list == 0) then return doPlayerSendCancel(cid, 'You dont have any item added.') end if (#list >= limit) then return doPlayerSendCancel(cid, 'You already have ' .. limit .. ' autolooting items.') end local item = tonumber(rst) if not item then item = getItemIdByName(rst, false) if not item then return doPlayerSendCancel(cid, 'not valid item.') end end if not isInArray(list, item) then return doPlayerSendCancel(cid, 'This item is not in the list.') end local new = '' for v, id in ipairs(list) do if (tonumber(id) ~= item) then new = new .. '_' .. id:gsub('_' ,'') .. ((v < #list) and ',' or '') end end doPlayerSetStorageValue(cid, stor, tostring(new)) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, 'Item >>' .. getItemNameById(item) .. '<< removed from the autoloot list.') end return true end
  7. Por favor galera alguem ai me ajuda esse erro de vez enqdo aparece e trava tudo. se eu der ignore ele continua on mais o erro volta mais pra frente. se eu anular ele fecha o ot. :|
  8. Pokemons da Box. Level para abrir a Box. ID da Box. Agora vai em Actions.xml e cola essa tag: Agora vai em Actions/scripts copia qualquer scripts e renomeie para questbox4.lua e cole isso dentro: Agora vai em actions.xml e cola essa tag: Qualquer duvida posta ae. Fiz meio com pressa pq não to em ksa '-' Cara fiz tudo que esta ai mais nao funcionou :| nada acontece quando tento abrir a box e nada acontece no bau da quest. Na verdade a parte da quest eu arrumei. só falta fazer a box da o pokemons ela simplesmente n faz nada.
  9. Boa tarde, Pessoal nao sei se ta na area certa se nao estiver por favor mude. Preciso de ajuda Ja liberei portas 7171 7172 80 na rede local conecto de boa, Players de fora conseguem acessar o site criar conta porem quando vão se logar no jogo param no character list. não entra e da Error 10060 de vez em quando da erro 10061 etc.. Ja liberei tudo no firewall.. ja cheguei até desativar o firewall do windows e continua do mesmo jeito. Por favor se alguem souber o que possa ser obrigado.
  10. Manu vou ver aqui se for isso voce é o cara. achei muleke é isso ae xD
  11. Bom dia estou tentando arrumar um bug onde pokemons de raio nao hitam absolutamente nada em pokemons de pedra... quero deixar pelos menos 50%. se alguém souber me dizer aonde fica essa parte de alterar os pokemons agradeço. Obrigado pela atenção.
  12. ztalkerr postou uma resposta no tópico em Scripts tfs 0.4 (OLD)
    Ajuda ae o torneio vai pra sala de espera mais la fica... e n acontece nada.
  13. Bom galera quero uma ajuda de voces eu tenho conhecimentos em joomla que usa o PHP entao eu sei fazer os templates de boa. ou seja eu uso um site de pokemon aqui só que ele é muito simples e eu nao gostei entao eu fiz um novo porem não sei como colocar tipo o Link "Cadastro" no novo template e cadastrar no banco de dados as novas contas... assim como rank e players online 0/500 por exemplo. por favor alguem me ajude. :|
  14. Entao eu tenho conhecimento em joomla ele é em php. ja tenho um site atualmente funcionando só que quero fazer tipo rank cadastro e server online com total de playersn o novo template queria saber como fazer isso. obrigado
  15. Fui criar em website mais nao deixava ai me redirecionou para k.
  16. Bom dia, EU ja tenho um domino e hospedagem, porem nao gostei do site que veio com meu otpokemon entao criei um template novo e queria saber como faço pra redirecionar o "Cadastro" ,"Rank" "e players online" para meu novo template. se alguem poder me ajudar obrigado.
  17. como assim nao entendi ? antes funcionava.. tipo eu uso uma versão extended.
  18. Galera preciso de ajuda. Meu mapa estava parado a um tempo mais estava funcionando tudo. ai arrumei novamente o editor de mapa extended. ai abriu e editei fiz varias mudanças porem qdo vou iniciar no servidor da o erro abaixo. http://prntscr.com/7it53m Se uso a versao antiga "Backup" funciona normal. alguem me ajude . Obrigado.
  19. ztalkerr postou uma resposta no tópico em Suporte Tibia OTServer
    To do mesmo jeito :|
  20. Cara o meu da erro de client o que eu faço ?
  21. cara meu rme nao funciona nem fodendo :| só da erro de aplicativo tem alguma alternativa para editar esse mapa ??
  22. ztalkerr postou uma resposta no tópico em Suporte Tibia OTServer
    Vlw.
  23. ztalkerr postou uma resposta no tópico em Suporte Tibia OTServer
    OI galera estou montando um ot porem quero colocar o site em uma hospedagem que ja tenho como faço isso ? nao da? obrigado pela ajuda.
  24. galera preciso de uma ajuda urgente. DO NADA COMEÇOU ESSE ERRO. (luaGetThingFromPos) Tile not found o que acontece é. em todo segundo andar pra cima onde são usadas skils spells que sao maiores que os tiles por exemplo: Meu ot é otpokemon entao se o pokemon dar uma skill enorme e pegar na parede(eu acho que seja isso) da esse erro. vou postar as fotos só que como tem varios pokemon eles dao varias skills e da erro no ot isso acaba travando tudo e dando muito lag a´te chegar a dar erro e o ot fechar. FOTOS. Foto do local e spells do tipo.( spell thunderwave.) http://prntscr.com/5huz2e Foto do erro que causa. (mostrando o erro da thunder wave). http://prntscr.com/5huz8r AJuda por favor. Preciso de ajuda meu ot ta fechado tava ficando legal e ja da essa merda =/

Informação Importante

Confirmação de Termo