Ir para conteúdo

Pedro.

Membro
  • Registro em

  • Última visita

Tudo que Pedro. postou

  1. tem que verificar se está corretamente configurado, isso acontece quando o sha1 não tá setado, da uma conferida na database, em accounts se as passwords estão criptografas ou algo do tipo. E quando entram no ot tomam de bug, tem que ver, a N coisas que podem ocasionar isso.
  2. adiciona essa tabela em phpmyadmin > vai em SQL CREATE TABLE IF NOT EXISTS `PagSeguroTransacoes` ( `TransacaoID` VARCHAR(36) NOT NULL, `VendedorEmail` VARCHAR(200) NOT NULL, `Referencia` VARCHAR(200) DEFAULT NULL, `TipoFrete` CHAR(2) DEFAULT NULL, `ValorFrete` DECIMAL(10,2) DEFAULT NULL, `Extras` DECIMAL(10,2) DEFAULT NULL, `Anotacao` text, `TipoPagamento` VARCHAR(50) NOT NULL, `StatusTransacao` VARCHAR(50) NOT NULL, `CliNome` VARCHAR(200) NOT NULL, `CliEmail` VARCHAR(200) NOT NULL, `CliEndereco` VARCHAR(200) NOT NULL, `CliNumero` VARCHAR(10) DEFAULT NULL, `CliComplemento` VARCHAR(100) DEFAULT NULL, `CliBairro` VARCHAR(100) NOT NULL, `CliCidade` VARCHAR(100) NOT NULL, `CliEstado` CHAR(2) NOT NULL, `CliCEP` VARCHAR(9) NOT NULL, `CliTelefone` VARCHAR(14) DEFAULT NULL, `ProdDescricao` VARCHAR(200) DEFAULT NULL, `ProdValor` VARCHAR(200) DEFAULT NULL, `ProdID` VARCHAR(200) DEFAULT NULL, `ProdQuantidade` VARCHAR(200) DEFAULT NULL, `NumItens` INT(11) NOT NULL, `Data` datetime NOT NULL, `status` tinyint(1) UNSIGNED NOT NULL DEFAULT '0', `servidor` VARCHAR(20) NOT NULL, `DataEntregue` INT(3) NOT NULL, UNIQUE KEY `TransacaoID` (`TransacaoID`,`StatusTransacao`), KEY `Referencia` (`Referencia`), KEY `status` (`status`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; me manda teu record.lua e start.lua que ta em globalevents.
  3. Pedro. postou uma resposta no tópico em Suporte Tibia OTServer
    Te aconselho baixar um global desses, pegar as posições no script ou então manualmente, copiar as áreas e colar no teu mapa, depois pegar os scripts seguindo os storages etc.
  4. Pedro. postou uma resposta no tópico em Suporte Tibia OTServer
    dificuldade em adicionar no mapa? ou as scritps? é basicamente paciência ctrl c + ctrl v Inquisition a parte chata é os teleports.
  5. Pedro. postou uma resposta no tópico em Suporte & Pedidos
    Entendo, mas até então o "mercado" que no caso já existe é meio banal, desculpa, mas as empresas vendem um otserv que aqui no forum é totalmente grátis, não dão suporte, a unica coisa que disponibilizam é um software pra instalar as coisas automaticamente. Eu até concordo um pouco sobre o mercado, SE não fosse tudo girando em torno disso, eu comecei mexer com otservs há 6 anos atrás, e eu via sistemas, scripts, pessoas fazendo/agindo/ajudando pelo que hoje nego cobra 50$, 100$. Tá faltando boa vontade dá pessoa ajudar.
  6. só adicionar ué <item id="2357" article="a" name="VIP Ring (faster regeneration)">
  7. tem que adicionar em movements tb
  8. Pedro. postou uma resposta no tópico em Suporte & Pedidos
    Tenho visto muito aqui no fórum "quanto você cobra? eu pago" seja para arrumar um script de shop até ajeitar um globalevents, as pessoas se quer procuram pelo erro. Eu vi aqui, um tópico que o cara tava com erro, comprava um item no shopping e não para de chegar, chegou pro fulano e disse, resolve que eu pago. Ele se quer tentou resolver? eu mesmo já tive esse erro e não sou scripter, webmaster, nem nada e consegui resolver com ajuda de outras pessoas no forum que também já tiveram, e as vezes é só tu colocar o erro que tem no distro/o que ta pegando e colocar no google que sempre aparece uma pessoa que já teve o mesmo problema que você e lá no tópico ja tem a solução. Será que hoje tudo volta para o "mercado" de open tibia, por causa dos próprios membros que não correm mais atrás? ando me perguntando isso.
  9. Testa com player.
  10. em view tu deve ser desativado o spawn, só por de novo, mas não influencia em nada, é só visualização
  11. na pasta Monk, em Monsters tem um Monk.xml só copiar o looktype dele.
  12. aperta shift e seleciona a parte que tu quer, da ctrl + c e cola no ctrl + v no teu mapa ué, tem que fazer por partes, não da pra tu escolher ah quero três andares e colar lá, tu tem que copiar parte por parte, adicionar no mesmo sqm, as escadas, não pode ser feito aos caralhos, se não vai ficar bugado.
  13. adiciona isso em monsters.xml <monster name="Training Monk" file="Training Monk.xml" /> agora cria um xml com o nome de Training Monk.xml <?xml version="1.0" encoding="UTF-8"?> <monster name="Training Monk" nameDescription="a training monk" race="blood" experience="0" speed="0" manacost="0"> <health now="200000" max="200000"/> <look type="57" corpse="22567"/> <targetchange interval="60000" chance="0"/> <flags> <flag summonable="0"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="0"/> <flag convinceable="0"/> <flag pushable="0"/> <flag canpushitems="0"/> <flag canpushcreatures="0"/> <flag targetdistance="1"/> <flag staticattack="50"/> <flag runonhealth="0"/> </flags> <attacks> <attack name="melee" interval="2000" skill="0" attack="-1"/> </attacks> <defenses armor="0" defense="0"> <defense name="healing" interval="2000" chance="80" min="10000" max="20000"> <attribute key="areaEffect" value="blueshimmer"/> </defense> </defenses> <immunities> <immunity invisible="1"/> </immunities> </monster>
  14. retire os sinais que não estão sendo reconhecidos, ou desative o broadcast.
  15. <globalevent name="RaidSystem" interval="10000" script="raids.lua"/> local raids = { -- Weekly ['Monday'] = { ['08:00'] = {raidName = 'RatsThais'}, ['15:00'] = {raidName = 'Arachir the Ancient One'} }, ['Wednesday'] = { ['12:00'] = {raidName = 'OrcsThais'} }, -- By date (Day/Month) ['31/10'] = { ['16:00'] = {raidName = 'Halloween Hare'} } } function onThink(interval, lastExecution, thinkInterval) local day, date = os.date('%A'), getRealDate() local raidDays = {} if raids[day] then raidDays[#raidDays + 1] = raids[day] end if raids[date] then raidDays[#raidDays + 1] = raids[date] end if #raidDays == 0 then return true end for i = 1, #raidDays do local settings = raidDays[i][getRealTime()] if settings and not settings.alreadyExecuted then Game.startRaid(settings.raidName) settings.alreadyExecuted = true end end return true end local function getRealTime() local hours = tonumber(os.date("%H", os.time())) local minutes = tonumber(os.date("%M", os.time())) if hours < 10 then hours = '0' .. hours end if minutes < 10 then minutes = '0' .. minutes end return hours .. ':' .. minutes end local function getRealDate() local month = tonumber(os.date("%m", os.time())) local day = tonumber(os.date("%d", os.time())) if month < 10 then month = '0' .. month end if day < 10 then day = '0' .. day end return day .. '/' .. month end
  16. Pedro. postou uma resposta no tópico em Suporte Tibia OTServer
    local table = { -- [level] = type = "item", id = {ITEM_ID, QUANTIDADE}, msg = "MENSAGEM"}, -- [level] = type = "bank", id = {QUANTIDADE, 0}, msg = "MENSAGEM"}, -- [level] = type = "addon", id = {ID_ADDON_FEMALE, ID_ADDON_MALE}, msg = "MENSAGEM"}, -- [level] = type = "mount", id = {ID_MOUNT, 0}, msg = "MENSAGEM"}, [20] = {type = "item", id = {2160, 2}, msg = "Voce ganhou 2 crystal coins por alcancar o level 20!"}, [30] = {type = "bank", id = {20000, 0}, msg = "Foi depositado em seu bank 20000 gold coints!"}, [40] = {type = "addon", id = {136, 128}, msg = "Voce ganhou o addon citizen full por alcancar o level 40!"}, [60] = {type = "mount", id = {2, 0}, msg = "Voce ganhou a montaria x!"}, } local storage = 15000 function onAdvance(player, skill, oldLevel, newLevel) if skill ~= SKILL_LEVEL or newLevel <= oldLevel then return true end for level, _ in pairs(table) do if newLevel >= level and player:getStorageValue(storage) < level then if table[level].type == "item" then player:addItem(table[level].id[1], table[level].id[2]) elseif table[level].type == "bank" then player:setBankBalance(player:getBankBalance() + table[level].id[1]) elseif table[level].type == "addon" then player:addOutfitAddon(table[level].id[1], 3) player:addOutfitAddon(table[level].id[2], 3) elseif table[level].type == "mount" then player:addMount(table[level].id[1]) else return false end player:sendTextMessage(MESSAGE_EVENT_ADVANCE, table[level].msg) player:setStorageValue(storage, level) end end player:save() return true end <event type="advance" name="Recompensa" script="recompensa.lua"/> créditos ao luanzito.
  17. só você ler um pouco amigo, no codigo que te falei ele bloqueia varias coisas, a parte de selecionar o texto onselectstart="return false" Coloca dessa forma. <body oncontextmenu="return false" ondragstart="return false" onbeforeunload="SaveMenu();" onunload="SaveMenu();" onload="SetFormFocus()">
  18. acabei de adicionar no meu site, ta funciondo normalmente.
  19. Então, só adicionar a tag que te mandei, manda teu layout.php
  20. perdão, eu até vi, porém não entendo lua, vê se os amigos podem te ajudar. @Sttorm @KotZletY
  21. Pedro. postou uma resposta no tópico em Portal
    saudades concursos, eventos, de mapper, estilo do spriter que ta tendo ultimamente, quem vencer fica. sdds @Wakon
  22. adiciona isso em layout.php <body onselectstart="return false" oncontextmenu="return false" ondragstart="return false" onbeforeunload="SaveMenu();" onunload="SaveMenu();" onload="SetFormFocus()">
  23. To adicionando uns scripts no me servidor, sistemas e to achando super dahora e vejo que não tem por aqui, vim disponibilizar pra vocês. actions.xml <action itemid="2580" script="monsterFishing.lua" allowfaruse="1"/> scripts/monsterFishing.lua local waterIds = {493, 4608, 4609, 4610, 4611, 4612, 4613, 4614, 4615, 4616, 4617, 4618, 4619, 4620, 4621, 4622, 4623, 4624, 4625, 7236, 10499, 15401, 15402} local lootTrash = {2234, 2238, 2376, 2509, 2667} local lootCommon = {2152, 2167, 2168, 2669, 7588, 7589} local lootRare = {2143, 2146, 2149, 7158, 7159} local lootVeryRare = {7632, 7633, 10220} local useWorms = true -- Config for monster fishing local config = { enabled = true, -- ativar ou desativar a pesca monstro debug = false, -- ativar mensagens de depuração no console verifyMonsters = false, -- desabilite isso se você estiver tendo problemas com o Monster fishing :: Warning - Invalid monster name chance = 50, -- chance de pegar um monstro em% - 50 significa que você tem 50/50 de chance de pegar um monstro ou um peixe bossLevel = 300, -- nível mínimo para pegar um "boss" bossSkill = 90, -- min habilidade de pesca para pegar um "boss" monsters = { -- [minLevel] = {"monster", "names", "for", "level"} [100] = {"Quara Hydromancer", "Quara Constrictor", "Quara Mantassin", "Idontexist"}, [150] = {"Quara Pincher", "Quara Predator"}, [200] = {"Serpent Spawn", "Wyrm"}, [300] = {"Sea Serpent"}, }, bosses = { -- Monsters that can only be caught with atleast "bossLevel" and "bossSkill" "Titan Goddess of Water", } } -- Validate monsters configuration if config.verifyMonsters then local m = {} for minLevel, monsters in pairs(config.monsters) do m[minLevel] = {} if config.debug then print("#monsters", #monsters) end for i = 1, #monsters do if MonsterType(monsters[i]) then table.insert(m[minLevel], monsters[i]) else print("Monster fishing::Warning - Invalid monster name:", monsters[i]) end end if config.debug then print("Monster fishing::Debug - #monsters added", #m[minLevel]) end end config.monsters = m end function onUse(player, item, fromPosition, itemEx, toPosition, isHotkey) local targetId = itemEx.itemid if not isInArray(waterIds, itemEx.itemid) then return false end if targetId == 10499 then local targetItem = Item(itemEx.uid) local owner = targetItem:getAttribute(ITEM_ATTRIBUTE_CORPSEOWNER) if owner ~= 0 and owner ~= player:getId() then player:sendTextMessage(MESSAGE_STATUS_SMALL, "You are not the owner.") return true end toPosition:sendMagicEffect(CONST_ME_WATERSPLASH) targetItem:remove() local rareChance = math.random(1, 100) if rareChance == 1 then player:addItem(lootVeryRare[math.random(#lootVeryRare)], 1) elseif rareChance <= 3 then player:addItem(lootRare[math.random(#lootRare)], 1) elseif rareChance <= 10 then player:addItem(lootCommon[math.random(#lootCommon)], 1) else player:addItem(lootTrash[math.random(#lootTrash)], 1) end return true end if targetId ~= 7236 then toPosition:sendMagicEffect(CONST_ME_LOSEENERGY) end if targetId == 493 or targetId == 15402 then return true end player:addSkillTries(SKILL_FISHING, 1) if math.random(1, 100) <= math.min(math.max(10 + (player:getEffectiveSkillLevel(SKILL_FISHING) - 10) * 0.597, 10), 50) then if useWorms and not player:removeItem("worm", 1) then return true end if targetId == 15401 then local targetItem = Item(itemEx.uid) targetItem:transform(targetId + 1) targetItem:decay() if math.random(1, 100) >= 97 then player:addItem(15405, 1) return true end elseif targetId == 7236 then local targetItem = Item(itemEx.uid) targetItem:transform(targetId + 1) targetItem:decay() local rareChance = math.random(1, 100) if rareChance == 1 then player:addItem(7158, 1) return true elseif rareChance <= 4 then player:addItem(2669, 1) return true elseif rareChance <= 10 then player:addItem(7159, 1) return true end end if config.enabled and math.random(100) <= config.chance then local level = player:getLevel() local skill = player:getSkillLevel(SKILL_FISHING) local tmpMonsters = {} for minLevel, monsters in pairs(config.monsters) do if config.debug then print("Monster fishing::Debug - Level check:", level, ">=", minLevel) end if level >= minLevel then if config.debug then print("Monster fishing::Debug - Level check passed - #monsters:", #monsters) end for i = 1, #monsters do if config.debug then print("Monster fishing::Debug - Found monster:", monsters[i]) end table.insert(tmpMonsters, monsters[i]) end end end if level >= config.bossLevel and skill >= config.bossSkill then for i = 1, #config.bosses do table.insert(tmpMonsters, config.bosses[i]) end end if config.debug then print("Monster fishing::Debug - #tmpMonsters: "..#tmpMonsters) end if #tmpMonsters > 0 then local pos = player:getPosition() Game.createMonster(tmpMonsters[math.random(1, #tmpMonsters)], pos) return true end end player:addItem("fish", 1) end return true end Caso na hora de pescar venha esse item ao invés do fish, é por causa dos items.xml, dai é só você mudar player:addItem("2667", 1) e adicionar o ID do fish.

Informação Importante

Confirmação de Termo