Ir para conteúdo

jNo

Membro
  • Registro em

  • Última visita

Tudo que jNo postou

  1. Deu certo, só uma dúvida a parte, para impedir o anti exit, eu ja coloquei non pvp nos treiner, para não pegarem pk, tirei o afk system, ja puis pra não atacar se exitar, só que o char demora muito pra logar quando exitado, deveria ser 1 min
  2. Em baiak 8.60, tfs 4.0, eu ja tentei por script, porém nenhum funciounou, alguém sabe como eu edito nas sources, e qual?
  3. Script do Liquid. local config = { removeOnUse = "no", usableOnTarget = "yes", -- can be used on target? (fe. healing friend) splashable = "no", range = -1, realAnimation = "no", -- make text effect visible only for players in range 1x1 multiplier = { health = 1.0, mana = 1.0 } } config.removeOnUse = getBooleanFromString(config.removeOnUse) config.usableOnTarget = getBooleanFromString(config.usableOnTarget) config.splashable = getBooleanFromString(config.splashable) config.realAnimation = getBooleanFromString(config.realAnimation) local POTIONS = { [8704] = {empty = 7636, splash = 42, health = {50, 100}}, -- small health potion [7618] = {empty = 7636, splash = 42, health = {100, 200}}, -- health potion [7588] = {empty = 7634, splash = 42, health = {200, 400}, level = 50, vocations = {3, 4, 7, 8}, vocStr = "knights and paladins"}, -- strong health potion [7591] = {empty = 7635, splash = 42, health = {500, 700}, level = 80, vocations = {4, 8}, vocStr = "knights"}, -- great health potion [8473] = {empty = 7635, splash = 42, health = {800, 1000}, level = 130, vocations = {4, 8}, vocStr = "knights"}, -- ultimate health potion [7620] = {empty = 7636, splash = 47, mana = {70, 130}}, -- mana potion [7589] = {empty = 7634, splash = 47, mana = {110, 190}, level = 50, vocations = {1, 2, 3, 5, 6, 7}, vocStr = "sorcerers, druids and paladins"}, -- strong mana potion [7590] = {empty = 7635, splash = 47, mana = {200, 300}, level = 80, vocations = {1, 2, 5, 6}, vocStr = "sorcerers and druids"}, -- great mana potion [8472] = {empty = 7635, splash = 43, health = {200, 400}, mana = {110, 190}, level = 80, vocations = {3, 7}, vocStr = "paladins"} -- great spirit potion } local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100)) function onUse(cid, item, fromPosition, itemEx, toPosition) local potion = POTIONS[item.itemid] if(not potion) then return false end if(not isPlayer(itemEx.uid) or (not config.usableOnTarget and cid ~= itemEx.uid)) then if(not config.splashable) then return false end if(toPosition.x == CONTAINER_POSITION) then toPosition = getThingPosition(item.uid) end doDecayItem(doCreateItem(POOL, potion.splash, toPosition)) doRemoveItem(item.uid, 1) if(not potion.empty or config.removeOnUse) then return true end if(fromPosition.x ~= CONTAINER_POSITION) then doCreateItem(potion.empty, fromPosition) else doPlayerAddItem(cid, potion.empty, 1) end return true end if(hasCondition(cid, CONDITION_EXHAUST)) then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return true end if(((potion.level and getPlayerLevel(itemEx.uid) < potion.level) or (potion.vocations and not isInArray(potion.vocations, getPlayerVocation(itemEx.uid)))) and not getPlayerCustomFlagValue(cid, PLAYERCUSTOMFLAG_GAMEMASTERPRIVILEGES)) then doCreatureSay(itemEx.uid, "Only " .. potion.vocStr .. (potion.level and (" of level " .. potion.level) or "") .. " or above may drink this fluid.", TALKTYPE_ORANGE_1) return true end if(config.range > 0 and cid ~= itemEx.uid and getDistanceBetween(getThingPosition(cid), getThingPosition(itemEx.uid)) > config.range) then return false end local health = potion.health if(health and not doCreatureAddHealth(itemEx.uid, math.ceil(math.random(health[1], health[2]) * config.multiplier.health))) then return false end local mana = potion.mana if(mana and not doPlayerAddMana(itemEx.uid, math.ceil(math.random(mana[1], mana[2]) * config.multiplier.mana))) then return false end doSendMagicEffect(getThingPosition(itemEx.uid), CONST_ME_MAGIC_BLUE) if(not config.realAnimation) then doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1) else for i, tid in ipairs(getSpectators(getThingPosition(itemEx.uid), 1, 1)) do if(isPlayer(tid)) then doCreatureSay(itemEx.uid, "Aaaah...", TALKTYPE_ORANGE_1, false, tid) end end end doAddCondition(cid, exhaust) doRemoveItem(item.uid, 1) if(not potion.empty or config.removeOnUse) then return true end if(fromPosition.x ~= CONTAINER_POSITION) then doCreateItem(potion.empty, fromPosition) else doPlayerAddItem(cid, potion.empty, 1) end return true end E no config.lua removeWeaponAmmunition = false removeWeaponCharges = false removeRuneCharges = false
  4. O primeiro funciou, porém esta mostrando o rate xp errado, é 999x esta mostrando 6x, o restante esta certo Aqui a parte do meu config. lua experienceStages = false rateExperience = 999 rateExperienceFromPlayers = 1.5 rateSkill = 120.0 rateMagic = 110.0 rateLoot = 25 rateSpawnMin = 1 rateSpawnMax = 1
  5. Alguém tem 1 ai que funcione? TFS 0.4 8.60
  6. Valeu MarscoFraga, deu certo, +rep e +rep pro Dani pela ajuda
  7. Essa talk esta fazendo 5 aol de uma vez, era pra sair 1 e blessed local bless = {1, 2, 3, 4, 5} local cost = 20000 function onSay(cid, words, param) for i = 1, table.maxn(bless) do if(getPlayerBlessing(cid, bless[i])) then doPlayerPopupFYI(cid, "Você ja tem seu aol protegido com bless.") doSendMagicEffect(getPlayerPosition(cid), 31) return TRUE end end if(doPlayerRemoveMoney(cid, cost) == TRUE) then for i = 1, table.maxn(bless) do doPlayerAddBlessing(cid, bless[i]) doPlayerAddItem(cid, 2173, 1) end doCreatureSay(cid, "Aol Protected!!!" ,19) doSendMagicEffect(getPlayerPosition(cid), 49) doSendMagicEffect(getPlayerPosition(cid), 48) else doPlayerPopupFYI(cid, "Você precisa de 20k para comprar aol protegido.") end return TRUE end
  8. Ja esta, o problema é que não segura o loot
  9. Qual o problema esse script aqui, era pra ter duração de 100 cargas e não deixar cair o loot estando red skull, suporte please itemid = 10218 (id do amulet) doCreatureSetStorage(cid, 111011, 100) o 100 é a quantia de duração tfs 4.0 , 8.60 function onDeath(cid, corpse, deathlist) if(getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).itemid == 10218 and getCreatureSkullType(cid) > 4) then doCreatureSetStorage(cid, 111011, getCreatureStorage(cid, 111011) - 1) if getCreatureStorage(cid, 111011) == 0 then doRemoveItem(getPlayerSlotItem(cid, CONST_SLOT_NECKLACE).uid, 1) elseif getCreatureStorage(cid, 111011) < 0 then doCreatureSetStorage(cid, 111011, 100) end doCreatureSetDropLoot(cid, false) end return true end
  10. Copilei um distro aqui com as sources do link abaixo, porém quando eu abro o database no sql, coloco por exemplo o char como god, coloco 6 no group id, e relogo... volta group id 1, como arrumo? http://www.tibiaking.com/forum/topic/9350-86x-tfs-04-dev-rev3884/
  11. Uma database zeradinha, sem query etc? Pra sql em windows theforgottenserver.s3db
  12. Erro, SQL, ot não salva http://www.tibiaking.com/forum/topic/33395-tfs-04-cast-atualiza%C3%A7%C3%A3o-github-acompanhe-e-ajude/ http://www.tibiaking.com/forum/topic/9350-86x-tfs-04-dev-rev3884/
  13. Matheus, sera que a partir dessa distro, eu posso criar um OT do 0? Eu tenho tempo pra isso... pra estruturar algo a partir disso, por que os ot que eu tenho, tem muitos erros, melhor fazer um mesmo
  14. jNo postou uma resposta no tópico em Suporte Bots
    Estou com uma hotkey fulera aqui, não funciona de jeito nenhum, alguém tem alguma? if drop == true then moveitems("Chain Armor",ground(posx,posy,posz),200) end
  15. jNo postou uma resposta no tópico em Suporte Bots
    Ele ainda procura a corda na mochila, não chega e usa sacas? E também quando pega gp forma a bola no mouse, isso que eu queria mudar, pra fica mais rapido
  16. jNo postou uma resposta no tópico em Suporte Bots
    Então, quando eu parei de jogar era NeoBot ainda, to com uma key aqui de ibot to usando dele, bom tentando, até que me adaptei facil, porém to com uma duvida no Input, por exemplo, o boneco na hora de subir a cave ele procura a rope na bp, e tb puxa o gold pra bp, se nao me falha na memoria tinha uma opção no Neobot, que dava pra mudar ai não utilizava o mouse, no ibot tem? Sera que estão entendendo?
  17. jNo postou uma resposta no tópico em iBot
    Aqui nem funciono, estranho
  18. Ainda continua, refazendo ele
  19. Só ai que tem esse bug então
  20. Pelo o que eu vi, eu não entendo muito é LUA
  21. Então, tem um jogo ai que eu andei brincando, e baseado no Tibia, se chama Pixel Champions, quero saber que tipos de linguagem eu devo ir aprendendo, um tutorial, alguma coisa pra eu começar desenvolver um bot simples, andar, subir e descer, matar o bixo, abre o corpo e move o dinheiro na mochila, treina mana e usa heal. (Acho que essas são funções simples de um bot). Alguém da uma dica?
  22. Muito bom, acho que eu vou atualizar os links da foto. Host lixo

Informação Importante

Confirmação de Termo