Ir para conteúdo

Tricoder

Héroi
  • Registro em

  • Última visita

Tudo que Tricoder postou

  1. if (paralyzed == true) and maround(5) == 0 and hppc >= 50 then cast("exura ico") wait(1000,1500) end Créditos: tibiascripts
  2. Tricoder postou uma resposta no tópico em iBot
    if currentLevel == nil then currentLevel = level end if level > currentLevel then screenshot() wait(500,1000) currentLevel = currentLevel+1 end Créditos: tibiascripts
  3. Tricoder postou uma resposta no tópico em iBot
    local printscreen = true if hppc == 0 then if (printscreen == true) then screenshot() end printscreen = false else printscreen = true end Créditos: tibiascripts
  4. Tricoder postou uma resposta no tópico em iBot
    local LootBP = "Orange Backpack" -- BP to loot Dead Human Body -- BP para pegar os items do Corpo. local itemstocheck = {3031} -- ID of items to check - ID dos items a ser checados. local n = 1 -- Number of items to check - Quantidade de Items a ser checados. -------------------- Do not Change Below - Não Editar abaixo -------------------- local coordx = {...} local coordy = {...} local coordz = {...} local check = {...} local qtditem = {...} local m = 0 or nill local totalitems = 0 or nill for i = -7, 7 do for u = -7, 7 do m = m + 1 coordx[m] = posx + i coordy[m] = posy + u coordz[m] = posz for k = 1, n do if toptileitem(coordx[m], coordy[m], coordz[m]) == itemstocheck[k] then totalitems = totalitems + 1 if qtditem[k] ~= nill then qtditem[k] = qtditem[k] + 1 else Créditos: tibiascripts
  5. Tricoder postou uma resposta no tópico em iBot
    local itemstocheck = {4240} -- ID of items to check - ID dos items a ser checados. local n = 1 -- Number of items to check - Quantidade de Items a ser checados. -------------------- Do not Change Below - Não Editar abaixo -------------------- local coordx = {...} local coordy = {...} local coordz = {...} local check = {...} local qtditem = {...} local m = 0 or nill local totalitems = 0 or nill for i = -7, 7 do for u = -7, 7 do m = m + 1 coordx[m] = posx + i coordy[m] = posy + u coordz[m] = posz for k = 1, n do if toptileitem(coordx[m], coordy[m], coordz[m]) == itemstocheck[k] then totalitems = totalitems + 1 if qtditem[k] ~= nill then qtditem[k] = qtditem[k] + 1 else Créditos: tibiascripts
  6. if maround(7, "Minotaur Mage") >= 1 then moveitems("stealth ring", "all", "ring", 1) elseif maround(7, "Minotaur Mage") == 0 then moveitems("stealth ring", "ring", "all", 1) end Créditos: tibiascripts
  7. Tricoder postou uma resposta no tópico em iBot
    local itemdrop = 'gold coin' -- first antipush item local itemdrop2 = 'worm' -- second antipush item local itemdrop2id = 3492 -- id of your itemdrop2 item local container = 'bag' -- name of your container with antipush ----- DON'T CHANGE BELOW! ----- if toptileitem(posx, posy, posz) ~= itemdrop2id then moveitems(itemdrop, container, 'ground', 2) wait(200,400) moveitems(itemdrop2, container, 'ground', 2) wait(200,400) end Créditos: tibiascripts
  8. --[[ Name: Change Loots Style if loot X item Version: v1.0.0 Status: Working Author: Sayild ]]-- -- [[ Items Configuration ]] -- -- // below you need set the items for change the style mode. local item1 = 'gold coin' local item2 = 'knight legs' local item3 = 'crown armor' local item4 = 'zaoan helmet' local item5 = 'zaoan legs' local item6 = 'zaoan armor' local item7 = 'royal helmet' local item8 = 'dragon scale mail' local item9 = 'dragon slayer' local item10 = 'boots of haste' --// end of items configuration local index = 0 local msgs = getmessages("Server Log") local qtd = msgs.count-1 for i=0,qtd do if msgs[qtd-i].type == 19 and msgs[qtd-i].text:find(item1) then setsettings("Settings\\Looting\\Style", "After melee kill") else setsettings("Settings\\Looting\\Style", "After all death") end end Créditos: tibiascripts
  9. if not hasted and not pzone and maround(7) == 0 then cast("utani hur") wait(1000) end Créditos: tibiascripts
  10. Tricoder postou uma resposta no tópico em iBot
    local ItemDropped = 'parcel' --Nome do item q ta no chão local ItemToDrop = 'label' --Nome do item pra dropar reachgrounditem(ItemDropped) wait(500,1000) dropitems(itemid(ItemToDrop)) Atenção: so funciona se o primeiro item ja estiver no chão. Créditos: tibiascripts
  11. local ListTempleNpcs = {"Alia", "Tyrias", "Brewster", "Rahkem", "Kasmir", "Amanda", "Isimov", "Yberius", "Maealil", "Quentin", "Lynda", "Lorietta", "Prezil", "Kjesse", "Asralius"} if ((pzone) and (maround(7, unpack(ListTempleNpcs)) >= 1)) then wait(500) closetibia() end Créditos: tibiascripts
  12. local lastid = 0 local lasthp = 0 if target.id ~= lastid then lastid = target.id lasthp = target.hppc elseif target.hppc-lasthp <= 15 then lasthp = target.hppc else playsound("monster.wav") end Créditos: tibiascripts
  13. Tricoder postou uma resposta no tópico em iBot
    local Creatures = {"eu", "tu", "ele"} -- Criaturas a considerar para usar Exori local QtdExori = 3 -- Quantidade para usar Exori local PVP = false -- true ou false -- Engine if maround(1, unpack(Creatures)) >= QtdExori and mp > 115 and cancast("Exori") and PVP == false then cast("Exori") elseif maround(1, unpack(Creatures)) >= QtdExori and mp > 115 and cancast("Exori") and PVP == true and paround(2) == 0 then cast("Exori") end Créditos: tibiascripts
  14. Tricoder postou uma resposta no tópico em iBot
    local CONFIG = { DEFAULT_BOOTS = "boots of haste", CONSIDER_TYPE = mppc, CONSIDER_EQUIP = {48, 52}, CONSIDER_UNEQUIP = {88, 92}, } -- ENGINE -- DON'T CHANGE NOTHING BELOW THIS LINE local SCRIPT = SCRIPT or { NAME = "Soft Boots Changer", VERSION = "1.0", } CONFIG.DEFAULT_BOOTS = Item.GetID(CONFIG.DEFAULT_BOOTS, 1) local RANDOM_EQUIP = math.random(CONFIG.CONSIDER_EQUIP[1], CONFIG.CONSIDER_EQUIP[2]) local RANDOM_UNEQUIP = math.random(CONFIG.CONSIDER_UNEQUIP[1], CONFIG.CONSIDER_UNEQUIP[2]) if Boots.ID() == 3549 and (Self.isInProtectionZone() or CONFIG.CONSIDER_TYPE >= RANDOM_UNEQUIP) then if itemcount(CONFIG.DEFAULT_BOOTS) > 0 then Self.EquipBoots(CONFIG.DEFAULT_BOOTS) wait(1100, 1200) else Self.UnequipItem("boots") wait(1100, 1200) end elseif Boots.ID() == 6530 or Boots.ID() == 0 then if CONFIG.CONSIDER_TYPE <= RANDOM_EQUIP and itemcount(6529) > 0 and (not Self.isInProtectionZone()) then Self.EquipBoots(6529) wait(1100, 1200) elseif itemcount(CONFIG.DEFAULT_BOOTS) > 0 then Self.EquipBoots(CONFIG.DEFAULT_BOOTS) wait(1100, 1200) elseif Boots.ID() > 0 then Self.UnequipItem("boots") wait(1100, 1200) end elseif Boots.ID() == CONFIG.DEFAULT_BOOTS and CONFIG.CONSIDER_TYPE <= RANDOM_EQUIP and itemcount(6529) > 0 and (not Self.isInProtectionZone()) then Self.EquipBoots(6529) wait(1100, 1200) end Créditos: tibiascripts
  15. Tricoder postou uma resposta no tópico em iBot
    local ArmaPraUsar = "serpent sword" local ArmaDePally = "spear" if weapon ~= ArmaDePally and itemcount(ArmaDePally) >= 2 and maround(0) == 0 then moveitems(ArmaDePally, "all", "weapon", 100) wait(1000) elseif weaponamount <= 1 and maround(0) == 0 then moveitems(ArmaPraUsar, "all", "weapon", 100) end Créditos: tibiascripts
  16. Tricoder postou uma resposta no tópico em iBot
    if not islocation() then gotolabel("FalandoComBuddel") end Créditos: tibiascripts
  17. Tricoder postou uma resposta no tópico em iBot
    if Drophalberds == true then moveitems("halberd",ground(posx,posy,posz),100) end Créditos: tibiascripts
  18. Tricoder postou uma resposta no tópico em iBot
    INFORMAÇÕES Vocation: Paladin Level: 300+ Dificuldade: Normal Exp/hour: 300k para 450k Loot/hour: 10k para 100k ________________________________________________ LOCALIZAÇÃO Começo do Script: Farmine Depot________________________________________________ HOTKEYS Potions: Strong Mana Potion Magias de Cura: Exura Gran Exura Exura San Exura Gran San Exana Mort Magias de Ataque: Exori San Exori Con Exevo Mas San Download: [RP 300+] Zao Ghastly Dragon Palace v1.0+.xml
  19. Tricoder postou uma resposta no tópico em iBot
    INFORMAÇÕES Vocation: Paladin Level: 170+ Dificuldade: Normal Exp/hour: 200k para 350k Loot/hour: 20k para 50k ________________________________________________ LOCALIZAÇÃO Começo do Script: Edron Depot ou perto da entrada do spawn________________________________________________ HOTKEYS Potions: Strong Mana Potion Magias de Cura: Exura Gran Exura Exura San Exura Gran San Magias de Ataque: Exori San Exori Con Exevo Mas San CARACTERISTICAS Download: [RP 180+] Kazordoon Drunken Fellow Mine v1.0+.xml
  20. Vou lhe dar três alternativas para tentar resolver isso, veja se pelo menos uma delas funciona e caso funcionar, por favor, avise qual foi para ajudar alguém que tenha a mesma dúvida. #1 JEITO Exporte sua database para .sql Abra com o notepad++ Vá em search and replace Coloque mb4 em search e em replace coloque nothing Veja se é substituido; utf8mb4_unicode_ci por utf8_unicode_ciAgora vá no seu phpmyadmin e em Operation > Collation, deixe como utf8_unicode_ci__________________________________________ #2 JEITO Salve o php script abaixo como db-convert.php e mude os dados para o nome da sua database, senha e user. Rode no seu phpmyadmin. <!DOCTYPE html> <html> <head> <title>DB-Convert</title> <style> body { font-family:"Courier New", Courier, monospace;" } </style> </head> <body> <h1>Convert your Database to utf8_general_ci!</h1> <form action="db-convert.php" method="post"> dbname: <input type="text" name="dbname"><br> dbuser: <input type="text" name="dbuser"><br> dbpass: <input type="text" name="dbpassword"><br> <input type="submit"> </form> </body> </html> <?php if ($_POST) { $dbname = $_POST['dbname']; $dbuser = $_POST['dbuser']; $dbpassword = $_POST['dbpassword']; $con = mysql_connect('localhost',$dbuser,$dbpassword); if(!$con) { echo "Cannot connect to the database ";die();} mysql_select_db($dbname); $result=mysql_query('show tables'); while($tables = mysql_fetch_array($result)) { foreach ($tables as $key => $value) { mysql_query("ALTER TABLE $value CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci"); }} echo "<script>alert('The collation of your database has been successfully changed!');</script>"; } ?>Isso irá mudar utf8mb4/utf8mb4_unicode_ci para utf8/utf8_general_ci.__________________________________________ #3 JEITO Clique em "Export" Click the "Custom" radio button Vá para a seção chamada "Format-specific options" e terá um dropdown, coloque em algo como "Database system or older MySQL server to maximize output compatibility with:" Mude NONE para MYSQL40. Clique agora em "GO".
  21. Aparentemente símbolos não são permitidos em nomes, fazendo com que dê o erro na distro.
  22. config.lua do seu forgottenserverpasswordType = "sha1" ________________________________ Em install.php, procure por:Website::setPasswordsEncryption(Website::getServerConfig()->getValue('passwordType'));mude para:Website::setPasswordsEncryption(Website::getServerConfig()->getValue('passwordtype'));
  23. Você fez que alteração no config.lua?
  24. Tricoder postou uma resposta no tópico em Suporte Tibia OTServer
    Você pode determinar o level de skill modificando as sources.
  25. Verifique se o port está 7171 e tente alterando: statusTimeout = 5 * 60 * 1000para: statusTimeout = 0

Informação Importante

Confirmação de Termo