Ir para conteúdo

xWhiteWolf

Héroi
  • Registro em

  • Última visita

Tudo que xWhiteWolf postou

  1. <globalevent name="fogos" time="00:00" event="script" value="fogos.lua"/>
  2. xWhiteWolf postou uma resposta no tópico em Mapping Show Off
    agora entendi as coluna em formato de pinto
  3. that's odd, sorry but I don't know anything else that could fix this.. only if you give me your server so I can run tests, but I can only do it after february, 3 cause i'm on vacation right now and i'm not in my computer :~
  4. xWhiteWolf postou uma resposta no tópico em Suporte Tibia OTServer
    REV = versão do seu server... se não souber fala a versão do tibia que vc usa pra entrar no seu OT
  5. the problem is with doMoveCreature, are u sure doTeleportThing doesn't exist in your server?
  6. crash in server or in tibia? any errors in console? dunno how to replace doTileQueryAdd but you can change getThingPosition for getCreaturePosition
  7. Se a dúvida foi respondida clica em "Melhor Resposta" embaixo do comentário que a resolveu.
  8. rapaz, vc tem que setar vocation 12 pro player, pelo erro que tá dando ai vc setou vocation 4294967295
  9. só fazer igual no movements.xml e colocar hands no slottype, fazer assim do jeito que vc quer só com statschange mesmo e só iria funcionar em players porque não dá pra dizer precisamente qual seria o dano que iria sair contando as defesas e resistencias do monstro/player.. em todo caso dá pra vc tentar aproximar isso da forma que eu falei. Coloca 50 de dano físico e 25 de dano fire e vc vai hitar e se vc hitar + ou - 200 de físico vai sair + ou - 100 de fire
  10. Você tá corretíssimo em tudo que falou... e pra piorar ainda tem OT's que são melhores que o global huahuaha
  11. /\ esse não é o jeito de se fazer isso. Seguinte, se vc quiser adicionar esses atributos numa tag do items.xml vc precisará fazer alterações na source, todas elas são conditions que vc vai ter que adicionar ao equipar um item. Como vc pode ver nesse tópico, nenhum desses atributos existe realmente no tibia http://www.tibiaking.com/forum/topic/31450-pedido-editar-items/ local condition = createConditionObject(CONDITION_ATTRIBUTES) setConditionParam(condition, CONDITION_PARAM_TICKS, -1) setConditionParam(condition, CONDITION_PARAM_SKILL_CLUB, 50) setConditionParam(condition, CONDITION_PARAM_SKILL_SWORD, 50) setConditionParam(condition, CONDITION_PARAM_SKILL_AXE, 50) setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCE, 50) function onEquip(cid, item, slot) doAddCondition(cid, condition) doSendMagicEffect(getCreaturePos(cid), 10) return true end function onDeEquip(cid, item, slot) doRemoveCondition(cid, CONDITION_ATTRIBUTES) return true end <movevent type="Equip" itemid="11234" slot="feet" event="script" value="set.lua"/> <movevent type="DeEquip" itemid="11234" slot="feet" event="script" value="set.lua"/> Dessa maneira vc pode editar os atributos que serão adicionados com todas as conditions existentes no seu servidor: Agora sobre a espada que tira dano em % é só vc editar ela pelo items.xml igual a fire sword por exemplo, se ela tiver 80 de ataque físico e 20 de ataque de fire/ice serão 20% certinho. Qualquer outro valor vc faz regra de 3 e chega.. o outro modo de fazer isso é por 2 combats num script de weapons mas não é tão eficaz como a maneira citada acima.
  12. tem bastante coisa que o tibia podia melhorar e não fazem... não sei se é a questão de deixar o server mais "pesado" por conta de agora em diante todo ataque que houver no jogo vai fazer uma checagem, que pode pesar tendo, seilá, 20 mil players online, mas essas coisa básicas acho que eles podiam tirar um tempo pra pensar e fazer pois todas as atualizações recentes são mounts e quests novas e o Tibia tá perdendo o roleplaying
  13. try without the , true in the teleportThing then try replacing with this: doMoveCreature(target, getDirectionTo(getCreaturePosition(target), toPosition))
  14. @blackz, testa assim então: function getDistance(fromPos, toPos) local pos = { x = fromPos.x - toPos.x, y = fromPos.y - toPos.y, z = fromPos.z } return pos end function onAttack(cid, target) if isCreature(cid) and isCreature(target) then local pos = getDistance(getCreaturePosition(cid), getCreaturePosition(target)) dir = getDirectionTo(getCreaturePosition(cid), getCreaturePosition(target)) if isInArray({0,1,2,3}, dir) then doCreatureSetLookDirection(cid, dir) else if pos.y > 0 then doCreatureSetLookDirection(cid, 0) else doCreatureSetLookDirection(cid, 2) end end end return true end
  15. do jeito que vc pediu: <instant name="TK" words="shyv" lvl="8" mana="35" prem="0" exhaustion="1500" needlearn="0" event="script" value="especiais/shyv.lua"> </instant>
  16. try changing it to number, in your constant.lua in the lib folder you'll see something like this: CALLBACK_PARAM_TARGETCREATURE = 4 then just switch: setCombatCallback(combat, 4, "onTargetCreature") sometimes it works..
  17. http://www.tibiaking.com/forum/topic/39707-pedido-exp-ring-que-aumenta-20-de-exp/ http://www.tibiaking.com/forum/topic/11339-anel-de-experiencia-exp-ring/
  18. http://www.tibiaking.com/forum/topic/8223-mod-reflect-system-01/
  19. it's a problem within this lines function onTargetCreature(cid, target) doPushCreature(target, cid) end setCombatCallback(combat, CALLBACK_PARAM_TARGETCREATURE, "onTargetCreature") somehow your server doesn't have this CALLBACK_PARAM_TARGETCREATURE but I thought all revs come with that, dunno how to fix it w/o source editing
  20. xWhiteWolf postou uma resposta no tópico em Suporte Tibia OTServer
    dá algum erro no console do server ou só não aparece a msg? que versão é seu server?
  21. xWhiteWolf postou uma resposta no tópico em Suporte Tibia OTServer
    primeiro tem que ver se a função que vc quer é source made ou lua made.. se for source made é pela source e se for lua made deve estar em data/lib a função pronta, dai vc só coloca na lib do server atual e já era.
  22. tem que adicionar em items.xml e em weapoms.xml ein...
  23. xWhiteWolf postou uma resposta no tópico em Playground (Off-topic)
    eu ia comentar mas nukaram minha net aqui.... não, pera

Informação Importante

Confirmação de Termo