Ir para conteúdo

robi123

Membro
  • Registro em

  • Última visita

Tudo que robi123 postou

  1. robi123 postou uma resposta no tópico em Ferramentas OpenTibia
    qual eu uso pra fazer TFS 0.3.7 Minha Source -- <<
  2. robi123 postou uma resposta no tópico em Suporte Tibia OTServer
    Eae Galera alguém pode compilar esta source pra mim, 64bits? -- >> Meu ot e Src 0.3.7 - 10.10 TFS 0.3.7 - Cliente tibia 10.10
  3. @greed01 eae arruma este link e libraryes:http://www.mediafire.com/?ckn6ha9zs9en4za
  4. passa a source ai :D
  5. qual programa eu uso pra compilar ele?
  6. robi123 postou uma resposta no tópico em Suporte Tibia OTServer
    aonde eu coloco este open ssl ? @Fir3element
  7. Aonde que eu baixo isso e coloca para poder compilar? @Comedinha eu consegui resolver este problema baixando este arquivo... meu sistema é 64bits.. https://sourceforge.net/projects/openssl/?source=typ_redirect Ai coloquei ele dentro da pasta do DEV c++
  8. Eu tentei copilar a Source mais deu um erro qual DEV vc usou? o erro é este: consegue da uma forcinha ? :D @EddyHavoc
  9. robi123 postou uma resposta no tópico em Monsters, NPC, Raids & Mounts
    @xWhiteWolf vlww
  10. robi123 postou uma resposta no tópico em Monsters, NPC, Raids & Mounts
    @xWhiteWolf faz esse pra mim bem de parceria, eu não entendo nada disso, aquilo ali eu fiz chutando :S eu sou um zero a frente eheheh Eu nao consegui fazer do seu jeito mais fiz uma ganbiara pra ficar assim... if getPlayerVocation(cid) == 1 then if (type == 1) or (doPlayerRemoveItem(cid, getPlayerStorageValue(cid, storages.name), getPlayerStorageValue(cid, storages.maxcount)) and type == 2) then -- a divisao por 3000 foi porque cada ponto de skill try equivale a 30 tries de skill e nos naturalmente dividimos por 100. 1/30 * 1/100 = 1/3000 local qnt = math.ceil(getPlayerRequiredSkillTries(cid, SKILL_SWORD, getPlayerSkillLevel(cid, SKILL_SWORD) / 2) +70/1000) * ((getPlayerStorageValue(cid, storages.length)) * (getPlayerStorageValue(cid, storages.difficult)) * config.multiplicator) local qnt = math.ceil(getPlayerRequiredSkillTries(cid, SKILL_SHIELD, getPlayerSkillLevel(cid, SKILL_SHIELD) / 2) +70/1000) * ((getPlayerStorageValue(cid, storages.length)) * (getPlayerStorageValue(cid, storages.difficult)) * config.multiplicator) for k, v in pairs(storages) do setPlayerStorageValue(cid, v, 0) end doPlayerAddSkillTry(cid, SKILL_SWORD, qnt) doPlayerAddSkillTry(cid, SKILL_SHIELD, qnt) doSendMagicEffect(getCreaturePosition(cid), 39) talkState[talkUser] = 0 selfSay('Thanks for your help, here is your prize..', cid) end elseif getPlayerVocation(cid) == 2 then if (type == 1) or (doPlayerRemoveItem(cid, getPlayerStorageValue(cid, storages.name), getPlayerStorageValue(cid, storages.maxcount)) and type == 2) then -- a divisao por 3000 foi porque cada ponto de skill try equivale a 30 tries de skill e nos naturalmente dividimos por 100. 1/30 * 1/100 = 1/3000 local qnt = math.ceil(getPlayerRequiredSkillTries(cid, SKILL_SWORD, getPlayerSkillLevel(cid, SKILL_SWORD) / 2) +70/1000) * ((getPlayerStorageValue(cid, storages.length)) * (getPlayerStorageValue(cid, storages.difficult)) * config.multiplicator) local qnt = math.ceil(getPlayerRequiredSkillTries(cid, SKILL_SHIELD, getPlayerSkillLevel(cid, SKILL_SHIELD) / 2) +70/1000) * ((getPlayerStorageValue(cid, storages.length)) * (getPlayerStorageValue(cid, storages.difficult)) * config.multiplicator) for k, v in pairs(storages) do setPlayerStorageValue(cid, v, 0) end doPlayerAddSkillTry(cid, SKILL_SWORD, qnt) doPlayerAddSkillTry(cid, SKILL_SHIELD, qnt) doSendMagicEffect(getCreaturePosition(cid), 39) talkState[talkUser] = 0 selfSay('Thanks for your help, here is your prize..', cid) end elseif getPlayerVocation(cid) == 4 then if (type == 1) or (doPlayerRemoveItem(cid, getPlayerStorageValue(cid, storages.name), getPlayerStorageValue(cid, storages.maxcount)) and type == 2) then -- a divisao por 3000 foi porque cada ponto de skill try equivale a 30 tries de skill e nos naturalmente dividimos por 100. 1/30 * 1/100 = 1/3000 local qnt = math.ceil(getPlayerRequiredSkillTries(cid, SKILL_SWORD, getPlayerSkillLevel(cid, SKILL_SWORD) / 2) +70/1000) * ((getPlayerStorageValue(cid, storages.length)) * (getPlayerStorageValue(cid, storages.difficult)) * config.multiplicator) local qnt = math.ceil(getPlayerRequiredSkillTries(cid, SKILL_SHIELD, getPlayerSkillLevel(cid, SKILL_SHIELD) / 2) +70/1000) * ((getPlayerStorageValue(cid, storages.length)) * (getPlayerStorageValue(cid, storages.difficult)) * config.multiplicator) for k, v in pairs(storages) do setPlayerStorageValue(cid, v, 0) end doPlayerAddSkillTry(cid, SKILL_SWORD, qnt) doPlayerAddSkillTry(cid, SKILL_SHIELD, qnt) doSendMagicEffect(getCreaturePosition(cid), 39) talkState[talkUser] = 0 selfSay('Thanks for your help, here is your prize..', cid) end elseif getPlayerVocation(cid) == 5 then if (type == 1) or (doPlayerRemoveItem(cid, getPlayerStorageValue(cid, storages.name), getPlayerStorageValue(cid, storages.maxcount)) and type == 2) then -- a divisao por 3000 foi porque cada ponto de skill try equivale a 30 tries de skill e nos naturalmente dividimos por 100. 1/30 * 1/100 = 1/3000 local qnt = math.ceil(getPlayerRequiredSkillTries(cid, SKILL_SWORD, getPlayerSkillLevel(cid, SKILL_SWORD) / 2) +70/1000) * ((getPlayerStorageValue(cid, storages.length)) * (getPlayerStorageValue(cid, storages.difficult)) * config.multiplicator) local qnt = math.ceil(getPlayerRequiredSkillTries(cid, SKILL_SHIELD, getPlayerSkillLevel(cid, SKILL_SHIELD) / 2) +70/1000) * ((getPlayerStorageValue(cid, storages.length)) * (getPlayerStorageValue(cid, storages.difficult)) * config.multiplicator) for k, v in pairs(storages) do setPlayerStorageValue(cid, v, 0) end doPlayerAddSkillTry(cid, SKILL_SWORD, qnt) doPlayerAddSkillTry(cid, SKILL_SHIELD, qnt) doSendMagicEffect(getCreaturePosition(cid), 39) talkState[talkUser] = 0 selfSay('Thanks for your help, here is your prize..', cid) end elseif getPlayerVocation(cid) == 6 then if (type == 1) or (doPlayerRemoveItem(cid, getPlayerStorageValue(cid, storages.name), getPlayerStorageValue(cid, storages.maxcount)) and type == 2) then -- a divisao por 3000 foi porque cada ponto de skill try equivale a 30 tries de skill e nos naturalmente dividimos por 100. 1/30 * 1/100 = 1/3000 local qnt = math.ceil(getPlayerRequiredSkillTries(cid, SKILL_SWORD, getPlayerSkillLevel(cid, SKILL_SWORD) / 2) +70/1000) * ((getPlayerStorageValue(cid, storages.length)) * (getPlayerStorageValue(cid, storages.difficult)) * config.multiplicator) local qnt = math.ceil(getPlayerRequiredSkillTries(cid, SKILL_SHIELD, getPlayerSkillLevel(cid, SKILL_SHIELD) / 2) +70/1000) * ((getPlayerStorageValue(cid, storages.length)) * (getPlayerStorageValue(cid, storages.difficult)) * config.multiplicator) for k, v in pairs(storages) do setPlayerStorageValue(cid, v, 0) end doPlayerAddSkillTry(cid, SKILL_SWORD, qnt) doPlayerAddSkillTry(cid, SKILL_SHIELD, qnt) doSendMagicEffect(getCreaturePosition(cid), 39) talkState[talkUser] = 0 selfSay('Thanks for your help, here is your prize..', cid) end elseif getPlayerVocation(cid) == 7 then if (type == 1) or (doPlayerRemoveItem(cid, getPlayerStorageValue(cid, storages.name), getPlayerStorageValue(cid, storages.maxcount)) and type == 2) then -- a divisao por 3000 foi porque cada ponto de skill try equivale a 30 tries de skill e nos naturalmente dividimos por 100. 1/30 * 1/100 = 1/3000 local qnt = math.ceil(getPlayerRequiredSkillTries(cid, SKILL_SWORD, getPlayerSkillLevel(cid, SKILL_SWORD) / 2) +70/1000) * ((getPlayerStorageValue(cid, storages.length)) * (getPlayerStorageValue(cid, storages.difficult)) * config.multiplicator) local qnt = math.ceil(getPlayerRequiredSkillTries(cid, SKILL_SHIELD, getPlayerSkillLevel(cid, SKILL_SHIELD) / 2) +70/1000) * ((getPlayerStorageValue(cid, storages.length)) * (getPlayerStorageValue(cid, storages.difficult)) * config.multiplicator) for k, v in pairs(storages) do setPlayerStorageValue(cid, v, 0) end doPlayerAddSkillTry(cid, SKILL_SWORD, qnt) doPlayerAddSkillTry(cid, SKILL_SHIELD, qnt) doSendMagicEffect(getCreaturePosition(cid), 39) talkState[talkUser] = 0 selfSay('Thanks for your help, here is your prize..', cid) end elseif getPlayerVocation(cid) == 8 then if (type == 1) or (doPlayerRemoveItem(cid, getPlayerStorageValue(cid, storages.name), getPlayerStorageValue(cid, storages.maxcount)) and type == 2) then -- a divisao por 3000 foi porque cada ponto de skill try equivale a 30 tries de skill e nos naturalmente dividimos por 100. 1/30 * 1/100 = 1/3000 local qnt = math.ceil(getPlayerRequiredSkillTries(cid, SKILL_SWORD, getPlayerSkillLevel(cid, SKILL_SWORD) / 2) +70/1000) * ((getPlayerStorageValue(cid, storages.length)) * (getPlayerStorageValue(cid, storages.difficult)) * config.multiplicator) local qnt = math.ceil(getPlayerRequiredSkillTries(cid, SKILL_SHIELD, getPlayerSkillLevel(cid, SKILL_SHIELD) / 2) +70/1000) * ((getPlayerStorageValue(cid, storages.length)) * (getPlayerStorageValue(cid, storages.difficult)) * config.multiplicator) for k, v in pairs(storages) do setPlayerStorageValue(cid, v, 0) end doPlayerAddSkillTry(cid, SKILL_SWORD, qnt) doPlayerAddSkillTry(cid, SKILL_SHIELD, qnt) doSendMagicEffect(getCreaturePosition(cid), 39) talkState[talkUser] = 0 selfSay('Thanks for your help, here is your prize..', cid) end elseif getPlayerVocation(cid) == 9 then if (type == 1) or (doPlayerRemoveItem(cid, getPlayerStorageValue(cid, storages.name), getPlayerStorageValue(cid, storages.maxcount)) and type == 2) then -- a divisao por 3000 foi porque cada ponto de skill try equivale a 30 tries de skill e nos naturalmente dividimos por 100. 1/30 * 1/100 = 1/3000 local qnt = math.ceil(getPlayerRequiredSkillTries(cid, SKILL_DISTANCE, getPlayerSkillLevel(cid, SKILL_DISTANCE) / 2) +70/1000) * ((getPlayerStorageValue(cid, storages.length)) * (getPlayerStorageValue(cid, storages.difficult)) * config.multiplicator) local qnt = math.ceil(getPlayerRequiredSkillTries(cid, SKILL_SHIELD, getPlayerSkillLevel(cid, SKILL_SHIELD) / 2) +70/1000) * ((getPlayerStorageValue(cid, storages.length)) * (getPlayerStorageValue(cid, storages.difficult)) * config.multiplicator) for k, v in pairs(storages) do setPlayerStorageValue(cid, v, 0) end doPlayerAddSkillTry(cid, SKILL_DISTANCE, qnt) doPlayerAddSkillTry(cid, SKILL_SHIELD, qnt) doSendMagicEffect(getCreaturePosition(cid), 39) talkState[talkUser] = 0 selfSay('Thanks for your help, here is your prize..', cid) else selfSay('Something went wrong..', cid) end elseif getPlayerVocation(cid) == 10 then if (type == 1) or (doPlayerRemoveItem(cid, getPlayerStorageValue(cid, storages.name), getPlayerStorageValue(cid, storages.maxcount)) and type == 2) then -- a divisao por 3000 foi porque cada ponto de skill try equivale a 30 tries de skill e nos naturalmente dividimos por 100. 1/30 * 1/100 = 1/3000 local qnt = math.ceil(getPlayerRequiredSkillTries(cid, SKILL_DISTANCE, getPlayerSkillLevel(cid, SKILL_DISTANCE) / 2) +70/1000) * ((getPlayerStorageValue(cid, storages.length)) * (getPlayerStorageValue(cid, storages.difficult)) * config.multiplicator) local qnt = math.ceil(getPlayerRequiredSkillTries(cid, SKILL_SHIELD, getPlayerSkillLevel(cid, SKILL_SHIELD) / 2) +70/1000) * ((getPlayerStorageValue(cid, storages.length)) * (getPlayerStorageValue(cid, storages.difficult)) * config.multiplicator) for k, v in pairs(storages) do setPlayerStorageValue(cid, v, 0) end doPlayerAddSkillTry(cid, SKILL_DISTANCE, qnt) doPlayerAddSkillTry(cid, SKILL_SHIELD, qnt) doSendMagicEffect(getCreaturePosition(cid), 39) talkState[talkUser] = 0 selfSay('Thanks for your help, here is your prize..', cid) else selfSay('Something went wrong..', cid) end
  11. @EddyHavoc oi pra que serve a sorcer? vai no site? ou no ot
  12. robi123 postou uma resposta no tópico em Monsters, NPC, Raids & Mounts
    @xWhiteWolf Amigo eu fiz esse modelo aqui... mais ta dando aquele erro ali embaixo.. da uma luz pra mim ???? vlww if doPlayerSetVocation(cid,1 ,2 ,4 ,5 ,6 ,7 ,8) then if (type == 1) or (doPlayerRemoveItem(cid, getPlayerStorageValue(cid, storages.name), getPlayerStorageValue(cid, storages.maxcount)) and type == 2) then -- a divisao por 3000 foi porque cada ponto de skill try equivale a 30 tries de skill e nos naturalmente dividimos por 100. 1/30 * 1/100 = 1/3000 local qnt = math.ceil(getPlayerRequiredSkillTries(cid, SKILL_SWORD, getPlayerSkillLevel(cid, SKILL_SWORD) / 2) +70/1000) * ((getPlayerStorageValue(cid, storages.length)) * (getPlayerStorageValue(cid, storages.difficult)) * config.multiplicator) local qnt = math.ceil(getPlayerRequiredSkillTries(cid, SKILL_SHIELD, getPlayerSkillLevel(cid, SKILL_SHIELD) / 2) +70/1000) * ((getPlayerStorageValue(cid, storages.length)) * (getPlayerStorageValue(cid, storages.difficult)) * config.multiplicator) for k, v in pairs(storages) do setPlayerStorageValue(cid, v, 0) end doPlayerAddSkillTry(cid, SKILL_SWORD, qnt) doPlayerAddSkillTry(cid, SKILL_SHIELD, qnt) doSendMagicEffect(getCreaturePosition(cid), 39) talkState[talkUser] = 0 selfSay('Thanks for your help, here is your prize..', cid) end if doPlayerSetVocation(cid,3 ,9 ,10) then if (type == 1) or (doPlayerRemoveItem(cid, getPlayerStorageValue(cid, storages.name), getPlayerStorageValue(cid, storages.maxcount)) and type == 2) then -- a divisao por 3000 foi porque cada ponto de skill try equivale a 30 tries de skill e nos naturalmente dividimos por 100. 1/30 * 1/100 = 1/3000 local qnt = math.ceil(getPlayerRequiredSkillTries(cid, SKILL_DISTANCE, getPlayerSkillLevel(cid, SKILL_DISTANCE) / 2) +70/1000) * ((getPlayerStorageValue(cid, storages.length)) * (getPlayerStorageValue(cid, storages.difficult)) * config.multiplicator) local qnt = math.ceil(getPlayerRequiredSkillTries(cid, SKILL_SHIELD, getPlayerSkillLevel(cid, SKILL_SHIELD) / 2) +70/1000) * ((getPlayerStorageValue(cid, storages.length)) * (getPlayerStorageValue(cid, storages.difficult)) * config.multiplicator) for k, v in pairs(storages) do setPlayerStorageValue(cid, v, 0) end doPlayerAddSkillTry(cid, SKILL_DISTANCE, qnt) doPlayerAddSkillTry(cid, SKILL_SHIELD, qnt) doSendMagicEffect(getCreaturePosition(cid), 39) talkState[talkUser] = 0 selfSay('Thanks for your help, here is your prize..', cid) else selfSay('Something went wrong..', cid) end end
  13. robi123 postou uma resposta no tópico em Suporte Tibia OTServer
    Gelera eu consegui criar esta magia, só que quando to de frente de uma escada e talz ela nao fica em cima da escada... eu quero q ela fique igual na foto abaixo... eu consegui fazer isso alterando o seguinte... Mudando em item.xml isso: <item id="410-411" name="stairs"> <attribute key="floorchange" value="down" /> </item> para: <item id="410-411" name="stairs"> </item> Porem o boneco nao desce porque eu tirei a função: DOWN Da pra alterar a magia pra ela pega na função: Down, north ter alguma maneira de funcionar :D local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, 152) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY) setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 43367) local arr = { { 0, 0, 0, 0, 0, 0, 0,}, { 0, 0, 1, 1, 1, 0, 0, }, { 0, 1, 1, 0, 1, 1, 0, }, { 0, 1, 0, 2, 0, 1, 0, }, { 0, 1, 1, 0, 1, 1, 0, }, { 0, 0, 1, 1, 1, 0, 0, }, { 0, 0, 0, 0, 0, 0, 0, }, } local area = createCombatArea(arr) setCombatArea(combat, area) function removeItem(arr) addEvent(removeItem, remove_time*1000, arr) return end function onCastSpell(cid, var) return doCombat(cid, combat, var) end @xWhiteWolf @Vodkart
  14. robi123 postou uma resposta no tópico em Suporte Tibia OTServer
    Galera alguem me ajuda a fazer esta magia de trap.. o player direciona onde vai nascer as arvores id: 2707 depois de 5 segundos as arvores são removidas.. na outra as arvores nascem em self em volta vlww
  15. robi123 postou uma resposta no tópico em Scripts tfs 0.4 (OLD)
    @Douglas Ver Valen eu sei esta magia porem o item nao sai mais... altera a magia para o item se remover depois de um X tempo
  16. @roriscrave este arquivo protocolgame.cpp fica na pasta do Otclient ? ou fica no www. do site?
  17. eae Pessoal Alguem sabe onde eu configuro os danos de player.. Por Exemplo. Eu hito 400 em dragon.. ai quando ataco um player eu hito no maximo 200 eu quero alterar para que os danos sejam iguais.. isso testei sem nenhum equipe no char se eu colocar equipe eles hita menos de 200.. onde eu posso verificar isso? vlww
  18. @pablobion eae Pablo obrigado pela Spell, mais se consegue só mudar pra ele aparece na frente em vez do mesmo SQM, mais caso tenha uma parede na frete do target ele pula atras ou não pula. vlwss
  19. @Huziwara eu coloquei este script no meu ot... tem como me da uma força? o problema é o seguinte... Mesmo que eu aumente meu skill o attack não muda... só muda se eu aumentar de level... tem como adicionar uma função para o skill interferir? <melee id="8601" level="20" event="script" value="axe/steelaxe.lua"> <vocation id="2"/> <vocation id="7"/> <vocation id="8"/> </melee> local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatFormula(combat, COMBAT_FORMULA_SKILL, 1.0, 0.5, 1.0, 0) function onGetFormulaValues(cid, level) local danoporlevel = 1 local min = -((level*danoporlevel)-1) local max = -((level*danoporlevel)+2) return min, max end setCombatCallback(combat, CALLBACK_PARAM_SKILLVALUE, "onGetFormulaValues") function onUseWeapon(cid, var) return doCombat(cid, combat, var) end
  20. @tgar conseguiu resolver
  21. robi123 postou uma resposta no tópico em Suporte OTServer Derivados
    @Nildson tambem me ajudou vlww
  22. posta o config ai
  23. @Wise Consegue mudar para pucha somente player e puchar na frente não no mesmo sqm que vc esta ??? function onCastSpell(cid, var) local pos = getClosestFreeTile(cid, getCreaturePosition(cid), false) if not pos then doPlayerSendCancel(cid, "There's no room to pull the target.") end doTeleportThing(variantToNumber(var), pos) doSendMagicEffect(variantToNumber(var), CONST_ME_TELEPORT) return true end @xWhiteWolf pra mim ta dando este errinho
  24. Eae Galera alguém tem uma magia que faz o player Pula na frete do Target ? @xWhiteWolf

Informação Importante

Confirmação de Termo