Ir para conteúdo

Pesquisar na Comunidade

Mostrando resultados para as tags ''bug''.

  • Pesquisar por Tags

    Digite tags separadas por vírgulas
  • Pesquisar por Autor

Tipo de Conteúdo


Fóruns

  • xTibia - Notícias e Suporte
    • Regras
    • Noticias
    • Soluções
    • Projetos Patrocinados
    • Tutoriais para Iniciantes
    • Imprensa
  • OTServ
    • Notícias e Debates
    • OTServlist
    • Downloads
    • Recursos
    • Suporte
    • Pedidos
    • Show-Off
    • Tutoriais
  • OFF-Topic
    • Barzinho do Éks
    • Design
    • Informática

Encontrar resultados em...

Encontrar resultados que contenham...


Data de Criação

  • Início

    FIM


Data de Atualização

  • Início

    FIM


Filtrar pelo número de...

Data de Registro

  • Início

    FIM


Grupo


Sou

  1. Bom, meu servidor tem a magia Utamo Tempo(até aí tudo bem), mas, a mesma está com dois problemas, um é que ela diz o seguinte efeito: Aumenta o poder de shielding dos Knights em 220% por 10 segundos. Concentrado em sua proteção, um knight não poderá atacar seu oponente por este período de tempo e nem usar magias. Certo, diz-se que não pode usar magias, mas potions são liberadas. No meu servidor, esta parte está inversa, onde com a magia em funcionamento, dá para soltar magias, mas usar potion não. Poderiam me ajudar a corrigir?
  2. Não sei se esse foi um bug que passou despercebido por todos que usam OTC, mas como vocês podem ver, no OTC os monstros não tem sua luz que é dada no Tibia.DAT, já no client da Cipsoft ela funciona e no OTC a iluminação do monstro (Outfit ou Looktype) não aparece, queria saber como resolver isso, agradeço a todos pela atenção, muito obrigado e fico no aguardo <3 :biggrin: . Versão: 8.6
  3. Estou tentando uso frasco de sangue na lápide e vai trabalhar e não receber qualquer erro no console http://4.1m.yt/ahVEPtqMS.png<<<<aqui eu imagem aqui o script gravestone.lua function onAddItem(moveitem, tileitem, pos, cid) print(moveitem.itemid, moveitem.type) if moveitem.itemid == 2025 and moveitem.type == 2 then local pid = getTopCreature({x=32791,y=32334,z=9}).uid if not isPlayer(pid) then return false end doSendMagicEffect(getThingPos(pid), CONST_ME_DRAWBLOOD) doTeleportThing(pid, {x=32791, y=32334, z=10}) doSendMagicEffect({x=32791, y=32334, z=10}, 10) doCreatureSay(pid, "Muahahahaha...", 1) end return false end btw usar otserver 7,60 repp ++ ajudar!
  4. Boa noite, fui tentar usar o ITEM EDITOR e me deparei com um erro bem chato, o editor não estava reconhecendo meu cliente, "tibia 8.60", eu selecionava o "items,otb" e depois pedia para selecionar o cliente, no caso o tibia 8.60, após isso dava uma menssagem que o cliente, "tibia 8.60" não era compatível, alguem sabe me dizer algo a respeito w
  5. Fala galera gostaria de ajuda com o seguinte problema. Após mudar a distro do servidor pela do PDA 2015 Open Source, o dano de todas as magias do servidor esta de acordo com a % de hp do target. Assim dificultando pois quando menos HP menor o hit chegando ao ultimo hit de -1 deis de ja agradeço, caso precise de algum script das spells etc. VALEU encontrei onde esta o erro. ele vai dividindo o valor do dano -> valor = valor / getDefense(cid) até que chega em um numero como 1 que nao da pra dividir e assim acaba o dano. Alguem ajuda?
  6. Ola, galera do XTibia, estou com um problema no meu WEBSITE ocorre um erro em que quando eu estou na pagina do meu OTserv o site redireciona para outro site que não é do meu servidor mais eu retirei a Lastnews do servidor e ficou normal alguém poderia me ajudar com esse erro ? Qual o problema ? Como resolve-lo pois a lastnews é a base de tudo para uma boa primeira impressão sobre o servidor.
  7. Bom galera, dias atrás joguei um server em que tinha um bug: você usa seu set la de boas, mas tipo, você coloca mais um armor no lugar do shield, e uma legs no lugar da flecha, sua defesa AUMENTA MUITO, tipo, vc fica praticamente imortal no server. Eu gostaria de tirar esse bug do meu server, e eu acho que seja algo nas sources... poderiam me ajudar? Se souberem do que eu falo, me falem o que fazer! Por favor! up
  8. Pessoal meu script não está muito certo só funciona a função de baixo. function onUse(cid, item, fromPosition, itemEx, toPosition) if itemEx.itemid == 2782 then doTransformItem(itemEx.uid, 2781) doDecayItem(itemEx.uid) return TRUE end return destroyItem(cid, itemEx, toPosition) end function onUse(cid, item, fromPosition, itemEx, toPosition) local id = 1499 -- ida da runa if(itemEx.itemid == id) then doSendMagicEffect(toPosition, CONST_ME_POFF) doRemoveItem(itemEx.uid) return true end return destroyItem(cid, itemEx, toPosition) end Que pode ser? :v.v: um amigo meu resolveu o credito é dele! function onUse(cid, item, fromPosition, itemEx, toPosition) local id = 1499 -- ida da runa if itemEx.itemid == 2782 then doTransformItem(itemEx.uid, 2781) doDecayItem(itemEx.uid) return TRUE end if(itemEx.itemid == id) then doSendMagicEffect(toPosition, CONST_ME_POFF) doRemoveItem(itemEx.uid) return true end return destroyItem(cid, itemEx, toPosition) end Tiago Oliveira ( Vulgo nerd dos script)
  9. o problema é que quando o player aceita a war os escudos aparecem normal, mas quando ele desloga os escudos somem e não voltam mais. a war fica ativa e não da nenhum erro. os escudos simplesmente somem ao dar logout... E Um erro no source mais nao consegui arruma alguém me ajuda?
  10. Olá galera tudo bem? Estou procurando uma forma de fazer, ou até mesmo inventar, tenho um sistema de reset muito bom meu servidor! Ele não usa storage segue-se abaixo o modelo do que estou usando. --[[ <(Advanced Reset System 2.0)> Autor: MarcelloMkez. Contato: (marcello_dirt@[member=Hotmail].com) Versão: 2.0 Testado em: 8.50 e 8.60 TFS: 0.3.6 and 0.4.0 Fórum: http://www.xtibia.com/forum/topic/142463-advanced-reset-system-20/ -=[Características]=- ~( Versão 2.0 )~ - Resets agora Armazenados na DataBase; (Sem Valor de Storage) - Instala o System e cria a Tabela de Resets com o comando "/installreset"; - Resets no Look do jogador ex: 22:10 You see Marcello [Reset 2] (Level 8). He is an elder druid.; - [sTAGES] para "Premium Account" e "Free Account"; ]] --=[Functions]=-- -- installReset()' [instala o Sistema.] -- tableResetInstall()' [Verifica Se o Sistema ja foi instaladao.] -- nowReseting()' [Verifica, retorna o erro ou reseta.] -- getPlayerReset(cid)' [Pega numero de resets do player.] -- checLevelStageReset(cid)' [Verifica o Level para Resetar.] -- newReset(cid)' [Verifica todas as Condições de Reset.] -- addValue(value)' [Adiciona numero de resets.] --=[Comandos de Jogadores]=-- -- "/installreset" -- Só será usado uma vez, para instalar o sistema. -- "!resetar" -- Para Resetar. function onSay(cid, words, param) if words =="!resetar" then --[ Condições de Reset ] -- local coNdConf = { needPz = true, -- Precisa estar em Pz pra resetar? [true, false] needPa = false, -- Precisa ser Premium Account Pra resetar? [true, false] withe = false, -- Players com Pk Withe podem resetar? [true, false] red = false, -- Players com Pk Red pode resetar? [true, false] battle = false, -- Players precisão estar sem battle pra resetar? [true, false] teleport = true, -- Teleportar Player para o templo após resetar? [true, false] look = true, -- Aparecer Resets no Look do Player? [true, false] pid = getPlayerGUID(cid), -- Não Mexer. --[ Configurações do Reset ] -- resetConf = { Level = 350, -- Level Necessário para Resetar. [Valor] backLvl = 8, -- Level que voltará após o Reset. [Valor] time = 5, -- Tempo para o Player deslogar ao resetar, em segundos. [Valor] }, } --[[>> STAGES <<]]-- x=true;X=true -- Não Mexer. local stage = {Abilitar = {x}, Desabilitar = {}, --<< Abilitar Stages?? >>-- [{x};{}] -- [RESETS] | [PREMMY] | [FREE] stage1= {resets= 4, premmy= 330, free= 350}, stage2= {resets= 9, premmy= 340, free= 355}, -- EXPLICANDO e Configurando stages. (Se estiver Abilitado [Abilitar = {x}]) stage3= {resets= 14, premmy= 355, free= 360}, -- resets = Número de resets para o Stage; stage4= {resets= 19, premmy= 360, free= 365}, -- premmy = Level necessário para Premium Accounts; stage5= {resets= 24, premmy= 370, free= 380}, -- free = Level necessário para Free Accounts; stage6= {resets= 29, premmy= 380, free= 390}, -- Coloque em Ordem... stage7= {resets= 35, premmy= 400, free= 410}, -- [OBS: MARQUE UM "X" PARA ABILITAR OU DESABILITAR OS STAGES] stage8= {resets= 40, premmy= 410, free= 440}, -- EX: para desabilitar mude: Abilitar = {}, Desabilitar = {x} stage9= {resets= 45, premmy= 450, free= 450}, stage10={resets= 50, premmy= 465, free= 465}, } --[[>> FIM STAGES <<]]-- --=[Pega Valor de Resets]=-- function getPlayerReset(cid) local qr = db.getResult("SELECT `reset` FROM `players` WHERE `id`= "..coNdConf.pid..";") rss = qr:getDataInt("reset", coNdConf.pid) if rss < 0 then rss = 0 end return rss end local success = " ~~ Sucesso! ~~ \nVocê tem agora "..(getPlayerReset(cid)+1).." resets. \nVocê será deslogado em "..coNdConf.resetConf.time.." segundos." ;err = doPlayerSendTextMessage local qrt = db.getResult("SELECT `reset` FROM `players` WHERE `id`= "..coNdConf.pid..";");rss_db = qrt:getDataInt("reset", coNdConf.pid) local lvl_query = "UPDATE `players` SET `level` = "..(coNdConf.resetConf.backLvl)..", `experience` = 0 WHERE `id`= " .. coNdConf.pid .. ";" local reset_query = "UPDATE `players` SET `reset` = "..(getPlayerReset(cid)+(1)).." WHERE `id`= " .. coNdConf.pid .. ";" local nolook_query = "UPDATE `players` SET `description` = '' WHERE `players`.`id`= " .. coNdConf.pid .. ";" local look_query = "UPDATE `players` SET `description` = ' [Reset "..(getPlayerReset(cid)+(1)).."]' WHERE `players`.`id`= " .. coNdConf.pid .. ";" --=[Reseta]=-- function addValue(value) if coNdConf.look == false then doRemoveCreature(cid) db.executeQuery(lvl_query);db.executeQuery(reset_query);db.executeQuery(nolook_query) else doRemoveCreature(cid) db.executeQuery(lvl_query);db.executeQuery(reset_query);db.executeQuery(look_query) return LUA_NO_ERROR end end function nowReseting() if (getPlayerLevel(cid) < coNdConf.resetConf.Level) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "- Level Necessário Para o Reset ["..coNdConf.resetConf.Level.."]. Faltam "..coNdConf.resetConf.Level-getPlayerLevel(cid).." level's para você Resetar. -") return true end if getPlayerLevel(cid) >= coNdConf.resetConf.Level and (coNdConf.teleport == false) then doPlayerPopupFYI(cid, success) addEvent(addValue, coNdConf.resetConf.time*1000, value) else doPlayerPopupFYI(cid, success) addEvent(doTeleportThing, coNdConf.resetConf.time*900, cid, getTownTemplePosition(getPlayerTown(cid))) addEvent(addValue, coNdConf.resetConf.time*1000, value) return true end end --[sTAGES Nao mexer em nada.]-- function checkLevelStageReset(cid) local stages = { {resets= stage.stage1.resets, premmy= stage.stage1.premmy, free= stage.stage1.free}, {resets= stage.stage2.resets, premmy= stage.stage2.premmy, free= stage.stage2.free}, {resets= stage.stage3.resets, premmy= stage.stage3.premmy, free= stage.stage3.free}, {resets= stage.stage4.resets, premmy= stage.stage4.premmy, free= stage.stage4.free}, {resets= stage.stage5.resets, premmy= stage.stage5.premmy, free= stage.stage5.free}, {resets= stage.stage6.resets, premmy= stage.stage6.premmy, free= stage.stage6.free}, {resets= stage.stage7.resets, premmy= stage.stage7.premmy, free= stage.stage7.free}, {resets= stage.stage8.resets, premmy= stage.stage8.premmy, free= stage.stage8.free}, {resets= stage.stage9.resets, premmy= stage.stage9.premmy, free= stage.stage9.free}, {resets=stage.stage10.resets, premmy=stage.stage10.premmy, free=stage.stage10.free}, } local resets = getPlayerReset(cid) for i, tab in ipairs(stages) do if resets <= tab.resets then coNdConf.resetConf.Level = isPremium(cid) and tab.premmy or tab.free break end end if (getPlayerLevel(cid) < coNdConf.resetConf.Level) then err(cid, MESSAGE_STATUS_CONSOLE_BLUE, "- Level Necessário Para o Reset ["..coNdConf.resetConf.Level.."]. Faltam "..coNdConf.resetConf.Level-getPlayerLevel(cid).." level's para você Resetar. -") return TRUE end if getPlayerLevel(cid) >= coNdConf.resetConf.Level and (coNdConf.teleport == false) then doPlayerPopupFYI(cid, success) addEvent(addValue, coNdConf.resetConf.time*1000, value) else doPlayerPopupFYI(cid, success) addEvent(addValue, coNdConf.resetConf.time*1000, value) addEvent(doTeleportThing, coNdConf.resetConf.time*900, cid, getTownTemplePosition(getPlayerTown(cid))) return true end end function newReset(cid) if(coNdConf.needPz == true) and (getTilePzInfo(getCreaturePosition(cid)) == LUA_ERROR) then err(cid,MESSAGE_STATUS_CONSOLE_BLUE,"- Você Precisa estar em Protection Zone Para Resetar. -") return TRUE end if(coNdConf.needPa == true) and not isPremium(cid) then err(cid,MESSAGE_STATUS_CONSOLE_BLUE,"- Você Precisa ser Premium Account para Resetar. -") return TRUE end if(coNdConf.withe == false) and (getCreatureSkullType(cid) == 3) then err(cid,MESSAGE_STATUS_CONSOLE_BLUE,"- Você não pode resetar em condições de PK Withe. -") return TRUE end if(coNdConf.red == false) and (getCreatureSkullType(cid) == 4) then err(cid,MESSAGE_STATUS_CONSOLE_BLUE,"- Você não pode resetar em condições de PK Red. -") return TRUE end if(coNdConf.battle == true) and (getCreatureCondition(cid, CONDITION_INFIGHT) == TRUE) then err(cid,MESSAGE_STATUS_CONSOLE_BLUE,"- Você Precisa estar sem Battle para Resetar. -") return TRUE end local xy = {true,false} table.insert(stage.Abilitar, false) table.insert(stage.Desabilitar, false) if stage.Abilitar[1] == xy[1] and stage.Desabilitar[1] == xy[2] then checkLevelStageReset(cid) elseif stage.Abilitar[1] == xy[2] and stage.Desabilitar[1] == xy[1] then nowReseting() else doPlayerPopupFYI(cid, "LUA_ERROR; Configure corretamente o Sistema de STAGES!") end return true end function tableResetInstall() print(not rss_db and LUA_ERROR or "Tabela de Resets: Instalada ... [success] ") addEvent(newReset, 1000, cid) return false end if tableResetInstall() then end end --=[install System]=-- function installReset() if db.executeQuery("ALTER TABLE `players` ADD reset INT(11) NOT NULL DEFAULT 0;") then print("[MarcelloMkez] -= Advanced Reset System 2.0 por DataBase =- Instalado com sucesso!") return TRUE end print('[Advanced Reset System/MarcelloMkez] Não foi possível instalar o Sistema.') return FALSE end local tt = { "Preparando Instalação...", "Instalando: TableReset Db...", "Instalando: getPlayerReset()...", "Instalando: addValue()...", "Instalando: checkLevelStageReset()...", "Instalando: newReset() and nowReseting()...", "Finalizando Instalação...", "...", success = { "Iniciando...", "function: TableReset Db... [success]", "function: getPlayerReset()... [success]", "function: addValue(value)... [success]", "function: checkLevelStageReset()... [success]", "function: newReset() and nowReseting()... [success]", "Fim da Instalação. ", "by: ~~ MarcelloMkez ~~ \nContato: marcello_dirt@[member=Hotmail].com", inst = {"MarcelloMkez","Advanced Reset System 2.0 por DataBase" }, }, } if words == "/installreset" and getPlayerAccess(cid) >= 3 then function install() if installReset() then print(""..tt.success[7].."") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,""..tt.success[8].."") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "["..tt.success.inst[1].."] -="..tt.success.inst[2].."=- Instalado com sucesso!") else print("["..tt.success.inst[1].."] FALHA NA INSTALAÇÃO! [O sistema ja foi instalado].") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "["..tt.success.inst[1].."] FALHA NA INSTALAÇÃO! [O sistema ja foi instalado].") end return 1 end function concl(cid) local typetx = MESSAGE_STATUS_CONSOLE_BLUE print(""..tt.success[7].."") print(""..tt[8].."") doPlayerSendTextMessage(cid, typetx,""..tt.success[7].."") doPlayerSendTextMessage(cid, typetx,""..tt[8].."") addEvent(install, 1000,cid) end function finall(cid) local typetx = MESSAGE_STATUS_CONSOLE_BLUE print(""..tt.success[6].."") print(""..tt[7].."") doPlayerSendTextMessage(cid, typetx,""..tt.success[6].."") doPlayerSendTextMessage(cid, typetx,""..tt[7].."") addEvent(concl, 3000,cid) end function installDd(cid) local typetx = MESSAGE_STATUS_CONSOLE_BLUE print(""..tt.success[5].."") print(""..tt[6].."") doPlayerSendTextMessage(cid, typetx,""..tt.success[5].."") doPlayerSendTextMessage(cid, typetx,""..tt[6].."") addEvent(finall, 1000,cid) end function installCc(cid) local typetx = MESSAGE_STATUS_CONSOLE_BLUE print(""..tt.success[4].."") print(""..tt[5].."") doPlayerSendTextMessage(cid, typetx,""..tt.success[4].."") doPlayerSendTextMessage(cid, typetx,""..tt[5].."") addEvent(installDd, 1000,cid) end function installBb(cid) local typetx = MESSAGE_STATUS_CONSOLE_BLUE print(""..tt.success[3].."") print(""..tt[4].."") doPlayerSendTextMessage(cid, typetx,""..tt.success[3].."") doPlayerSendTextMessage(cid, typetx,""..tt[4].."") addEvent(installCc, 1000,cid) end function installAa(cid) local typetx = MESSAGE_STATUS_CONSOLE_BLUE print(""..tt.success[2].."") print(""..tt[3].."") doPlayerSendTextMessage(cid, typetx,""..tt.success[2].."") doPlayerSendTextMessage(cid, typetx,""..tt[3].."") addEvent(installBb, 1000,cid) end function toInstall() local typetx = MESSAGE_STATUS_CONSOLE_BLUE print(""..tt.success[1].."") print(""..tt[2].."") doPlayerSendTextMessage(cid, typetx,""..tt.success[1].."") doPlayerSendTextMessage(cid, typetx,""..tt[2].."") addEvent(installAa, 1000,cid) end function preparation() local typetx = MESSAGE_STATUS_CONSOLE_BLUE print(""..tt[1].."") doPlayerSendTextMessage(cid, typetx,""..tt[1].."") addEvent(toInstall, 3000,cid) end if preparation() then end end return 1 end --=[by: MarcelloMkez]=-- Nesse caso queria sabe se é possível fazer para que player. Use apenas uma Spell se caso ele tenha 1 reset ou mais. Pois meus conhecimentos não são amplos para inventar algo assim ( Já testei alguns outros comandos mais não deram certo.)
  11. Então como todos sabem aquele clássico erro do pally não atacar enquanto pota.. consegui resolver de todas (eu acho) com aquele "swing=true", menos da "spear 2389".. da royal pra cima ta normal alguém sabe arrumar a porcaria da spear kkkk porque é desanimador o cara querer jogar de pally criar e ter esse bug no servidor, broxante! kkk alguem sabe?
  12. Boa noite galera, a um tempo atrás comecei a editar as extensions do meu RME, e depois de mecher, mecher e mecher, acabou acontecendo isso: Não sei o que está fazendo isso acontecer, já olhei grounds.xml e borders.xml, está tudo certo. Se alguém puder ajudar, ficarei grato.
  13. Olá pessoal, gostaria que alguém me ajudasse em uns scripts de frag, um é o de rank frags, que já usei 2 diferentes e nenhum deu certo. Um deles abre a janelinha do rank mas não aparece ninguém nela, e o outro script faz cair o server quando eu executo a talkaction pra abrir o rank. O outro é que eu tenho um script que aparece os frags do player quando dá look nele, o problema é como eu tenho um ot de war, eu gostaria que contabilizasse todas as mortes nesse contador de frags. Por exemplo, se eu pego pz em um player e eu mato ele, o frag conta. Só que se esse mesmo cara abrir PZ em mim ou se ele já tiver pego pz em outra pessoa e eu abrir "yellow" no cara e matar ele, o frag não conta. Obrigado amigos e aguardo ajuda.
  14. Como fasso pra arrumar isso trokei minha distro por outra e os item fico assim! tem alguma maneira de fica normal! como tava Help!
  15. Olá meus amigos eu uso um certo script de aol infinito porem andei vendo, tudo é 100% so que existe um grande erro, quando o player morre ele está perdendo level tudo certinho, porem o mesmo não registra a morte no site ( Site Geisor, já procurei vários script semelhantes o mesmo não funcionam devidamente, gostaria de sabe se alguém poderia me ajuda.) Script usado: function onPrepareDeath(cid, lastHitKiller, mostDamageKiller) if isPlayer(cid) == true then if (getPlayerSlotItem(cid, 2).itemid == 2196) then doCreatureSetDropLoot(cid, false) doSendMagicEffect(getCreaturePosition(cid), CONST_ME_HOLYAREA) return TRUE end end return TRUE end Tag que usa no login.lua, como podem ver está certinho so esse pequeno erro mesmo quando morre ele não fica com o corpinho de morte ele aparentemente se teleporta pro templo, mas perde level e talz, como falado ele não registra a morte para bixos ou players. registerCreatureEvent(cid, "onPrepareDeathinifi")
  16. Entao Galera o meu Gesior Bugou deste Geito Nao sei aonde mechi que fez isso Alguem poderia me ajudar? Ficaria muito Grato !! Valendo sempre +REP
  17. Damgrath

    Locked doors

    Olá, galera dos scripts. Bom, como não sou nem 1% scripter, estou com um probleminha que talvez possa ser um tanto bobo, mas mesmo assim não tenho ideia de como resolver. Para explicar corretamente o meu problema, vou mostra-lo com prints: 1- A porta está trancada normalmente. 2- Após usar a chave, a porta também se destranca, normal como deve ser. 3- Porém, após entrar e fechar a porta, a mesma deveria permanecer destrancada, até que a chave seja usada novamente para trancá-la. Mas o que está acontecendo, é que quando a porta é simplesmente fechada, ela se tranca: Então, galera, como puderam ver, a porta se tranca ao ser fechada, e isso está fazendo com que os players fiquem presos dentro desse tipo de sala, pois nem todos entram com chave. O que eu queria é saber como posso reparar isso, para que a porta se abra e feche normalmente após ser destrancada, e só seja trancada novamente, caso alguém use a chave na mesma. Obrigado, galera!
  18. Daao

    [Encerrado] Look

    Boa tarde Galera. Estou com um problema em meu ot,n consigo dar look em nenhum char em inclusive no meu tbm n,gostaria de uma ajudar fazendo favor,posso dar look em tudo,menos em chars,n aparece nada,qm poder me ajudar ficarei grato!E esse bug so apareceu quando eu coloquei site no ot,quando n tinha ot,o look em player funcionava normal. OBS:da esse error aqui quando dar look [07/12/2015 13:42:10] mysql_real_query(): SELECT `rep` FROM `players` WHERE `id` = 9 LIMIT 1 - MYSQL ERROR: Unknown column 'rep' in 'field list' (1054) [07/12/2015 13:42:10] [Error - CreatureScript Interface] [07/12/2015 13:42:10] data/creaturescripts/scripts/rep/repLook.lua:onLook [07/12/2015 13:42:10] Description: [07/12/2015 13:42:11] data/lib/004-database.lua:60: [Result:getDataInt] Result not set! [07/12/2015 13:42:11] stack traceback: [07/12/2015 13:42:11] [C]: in function 'error' [07/12/2015 13:42:11] data/lib/004-database.lua:60: in function 'getDataInt' [07/12/2015 13:42:11] data/lib/050-function.lua:667: in function 'getRepPoints' [07/12/2015 13:42:11] data/creaturescripts/scripts/rep/repLook.lua:8: in function <data/creaturescripts/scripts/rep/repLook.lua:5>
  19. Olá pessoal, hoje estou aqui para pedir uma ajuda sobre o Account Manager pois em meu servidor de alguma forma alguns player conseguiram cria ele e tentaram fazer clone de itens, na verdade fizeram mas já resolvi como o ot é pequeno não teve problemas. Então a solução que encontrei foi pixa o Account Manager para minha acc de ADM, porem ficam esperando os cara novamente criaram um Account Manager kkk ( entao puxei esse Account Manager e reloguei ele num lugar inacessível para player comuns sendo assim ele fica preso lá, mas o que eu gostaria mesmo era ver se é possível deixa ele parado em apenas 1 lugar? Pois aparentemente ele pode fica caminhando no mapa, não sei como fazer ele fica fixo em 1 lugar apenas.
  20. Eai, eu recentemente estou no processo de criação de um server com base kpdo, e me deparei com um erro no na criação de personagens dele, pois ele não "lê" partes que estão no meu config.lua, e além disso ele tambem nao lê meu firstitems.xml (que é os itens iniciais). Assim sendo, quando cria-se uma conta nova, e entra-se no jogo, o personagem "deixa" tudo no chão. Gostaria de uma solução para isso, pois já tentei de tudo e não sou muito com php. *Já criei char novo quando estava em mysql e deu completamente certo. aqui vai meu config.lua (parte necessaria): Config.lua: Citar accountManager = false namelockManager = true newPlayerChooseVoc = false newPlayerSpawnPosX = 1059 newPlayerSpawnPosY = 1047 newPlayerSpawnPosZ = 7 newPlayerTownId = 1 newPlayerLevel = 15 newPlayerMagicLevel = 0 generateAccountNumber = false Ele de fato nasce nas posições certas, mas nasce com o nivel errado e itens errados. firstitems.xml: Citar <?xml version="1.0" encoding="UTF-8"?> <mod name="First Items" version="1.0" author="The Forgotten Server" contact="otland.net" enabled="yes"> <config name="firstitems_config"> <![CDATA[ config = { storage = 30001, items = { 2376, 2580, 2564, 2529,526}, containers = {2307, 2308, 2309, 2310, 2311, 2314, 2313,2312,10045,10047,10053,10055,10057,10059} } ]]> </config> <event type="login" name="FirstItems" event="script"> <![CDATA[ domodlib('firstitems_config') function onLogin(cid) setCreatureMaxMana(cid, 0) if(getPlayerStorageValue(cid, 30002) <= 0) and (getPlayerStorageValue(cid, 30001) >= 1) then local new_container = getPlayerSlotItem(cid, 5).uid doAddContainerItem(new_container,10045) doAddContainerItem(new_container,10047) doAddContainerItem(new_container,10049) doAddContainerItem(new_container,10051) doAddContainerItem(new_container,10053) doAddContainerItem(new_container,10055) doAddContainerItem(new_container,10057) doAddContainerItem(new_container,10059) setPlayerStorageValue(cid,30002,1) return true end if(getPlayerStorageValue(cid, config.storage) > 0) then return true end setPlayerStorageValue(cid,30002,1) local new_container = doCreateItemEx(1988, 1) doAddContainerItem(new_container,2307) doAddContainerItem(new_container,2308) doAddContainerItem(new_container,2309) doAddContainerItem(new_container,2310) doAddContainerItem(new_container,2311) doAddContainerItem(new_container,2314) doAddContainerItem(new_container,2313) doAddContainerItem(new_container,2312) doAddContainerItem(new_container,10045) doAddContainerItem(new_container,10047) doAddContainerItem(new_container,10049) doAddContainerItem(new_container,10051) doAddContainerItem(new_container,10053) doAddContainerItem(new_container,10055) doAddContainerItem(new_container,10057) doAddContainerItem(new_container,10059) doPlayerAddItemEx(cid, new_container) doPlayerAddItem(cid, 2120, 1) doPlayerAddItem(cid, 1987, 1) for _, id in ipairs(config.items) do doPlayerAddItem(cid, id, 1) end if(getPlayerSex(cid) == PLAYERSEX_FEMALE) then doPlayerAddItem(cid, 2550, 1) else doPlayerAddItem(cid, 2550, 1) end if getPlayerVocation(cid) == 18 then if isPremium(cid) then doPlayerSetVocation(cid,2) else doPlayerSetVocation(cid,1) end addStatics(1013) item = doCreateItemEx(2219) nomedaclonagem = getCreatureName(cid) description = "Contains a Weedle." doItemSetAttribute(item, "exp2", "0") doItemSetAttribute(item, "fine", 100) doItemSetAttribute(item, "nome", "Weedle") --doItemSetAttribute(item, "apelido", "Weedle") doItemSetAttribute(item, "description", description) doItemSetAttribute(item, "boost", "0") doItemSetAttribute(item, "exp", "0") doItemSetAttribute(item, "catchby", nomedaclonagem) doItemSetAttribute(item, "m1", "0") doItemSetAttribute(item, "m2", "0") doItemSetAttribute(item, "m3", "0") doItemSetAttribute(item, "m4", "0") doItemSetAttribute(item, "m5", "0") doItemSetAttribute(item, "m6", "0") doItemSetAttribute(item, "m7", "0") doItemSetAttribute(item, "m8", "0") doItemSetAttribute(item, "m9", "0") doItemSetAttribute(item, "m10", "0") doItemSetAttribute(item, "m11", "0") doItemSetAttribute(item, "m12", "0") doItemSetAttribute(item, "cold","0") doPlayerAddItemEx(cid, item) doTransformItem(item, 189) elseif getPlayerVocation(cid) == 19 then if isPremium(cid) then doPlayerSetVocation(cid,2) else doPlayerSetVocation(cid,1) end addStatics(1010) item = doCreateItemEx(2219) nomedaclonagem = getCreatureName(cid) description = "Contains a Caterpie." doItemSetAttribute(item, "exp2", "0") doItemSetAttribute(item, "fine", 100) doItemSetAttribute(item, "nome", "Caterpie") --doItemSetAttribute(item, "apelido", "Caterpie") doItemSetAttribute(item, "description", description) doItemSetAttribute(item, "boost", "0") doItemSetAttribute(item, "exp", "0") doItemSetAttribute(item, "catchby", nomedaclonagem) doItemSetAttribute(item, "m1", "0") doItemSetAttribute(item, "m2", "0") doItemSetAttribute(item, "m3", "0") doItemSetAttribute(item, "m4", "0") doItemSetAttribute(item, "m5", "0") doItemSetAttribute(item, "m6", "0") doItemSetAttribute(item, "m7", "0") doItemSetAttribute(item, "m8", "0") doItemSetAttribute(item, "m9", "0") doItemSetAttribute(item, "m10", "0") doItemSetAttribute(item, "m11", "0") doItemSetAttribute(item, "m12", "0") doItemSetAttribute(item, "cold","0") doPlayerAddItemEx(cid, item) doTransformItem(item, 189) elseif getPlayerVocation(cid) == 20 then if isPremium(cid) then doPlayerSetVocation(cid,2) else doPlayerSetVocation(cid,1) end addStatics(1019) item = doCreateItemEx(2219) nomedaclonagem = getCreatureName(cid) description = "Contains a Rattata." doItemSetAttribute(item, "exp2", "0") doItemSetAttribute(item, "fine", 100) doItemSetAttribute(item, "nome", "Rattata") --doItemSetAttribute(item, "apelido", "Rattata") doItemSetAttribute(item, "description", description) doItemSetAttribute(item, "boost", "0") doItemSetAttribute(item, "exp", "0") doItemSetAttribute(item, "catchby", nomedaclonagem) doItemSetAttribute(item, "m1", "0") doItemSetAttribute(item, "m2", "0") doItemSetAttribute(item, "m3", "0") doItemSetAttribute(item, "m4", "0") doItemSetAttribute(item, "m5", "0") doItemSetAttribute(item, "m6", "0") doItemSetAttribute(item, "m7", "0") doItemSetAttribute(item, "m8", "0") doItemSetAttribute(item, "m9", "0") doItemSetAttribute(item, "m10", "0") doItemSetAttribute(item, "m11", "0") doItemSetAttribute(item, "m12", "0") doItemSetAttribute(item, "cold","0") doPlayerAddItemEx(cid, item) doTransformItem(item, 189) elseif getPlayerVocation(cid) == 21 then if isPremium(cid) then doPlayerSetVocation(cid,2) else doPlayerSetVocation(cid,1) end addStatics(1069) item = doCreateItemEx(2219) nomedaclonagem = getCreatureName(cid) description = "Contains a Bellsprout." doItemSetAttribute(item, "exp2", "0") doItemSetAttribute(item, "fine", 100) doItemSetAttribute(item, "nome", "Bellsprout") --doItemSetAttribute(item, "apelido", "Bellsprout") doItemSetAttribute(item, "description", description) doItemSetAttribute(item, "boost", "0") doItemSetAttribute(item, "exp", "0") doItemSetAttribute(item, "catchby", nomedaclonagem) doItemSetAttribute(item, "m1", "0") doItemSetAttribute(item, "m2", "0") doItemSetAttribute(item, "m3", "0") doItemSetAttribute(item, "m4", "0") doItemSetAttribute(item, "m5", "0") doItemSetAttribute(item, "m6", "0") doItemSetAttribute(item, "m7", "0") doItemSetAttribute(item, "m8", "0") doItemSetAttribute(item, "m9", "0") doItemSetAttribute(item, "m10", "0") doItemSetAttribute(item, "m11", "0") doItemSetAttribute(item, "m12", "0") doItemSetAttribute(item, "cold","0") doPlayerAddItemEx(cid, item) doTransformItem(item, 189) elseif getPlayerVocation(cid) == 22 then if isPremium(cid) then doPlayerSetVocation(cid,2) else doPlayerSetVocation(cid,1) end addStatics(1021) item = doCreateItemEx(2219) nomedaclonagem = getCreatureName(cid) description = "Contains a Spearow." doItemSetAttribute(item, "exp2", "0") doItemSetAttribute(item, "fine", 100) doItemSetAttribute(item, "nome", "Spearow") --doItemSetAttribute(item, "apelido", "Spearow") doItemSetAttribute(item, "description", description) doItemSetAttribute(item, "boost", "0") doItemSetAttribute(item, "exp", "0") doItemSetAttribute(item, "catchby", nomedaclonagem) doItemSetAttribute(item, "m1", "0") doItemSetAttribute(item, "m2", "0") doItemSetAttribute(item, "m3", "0") doItemSetAttribute(item, "m4", "0") doItemSetAttribute(item, "m5", "0") doItemSetAttribute(item, "m6", "0") doItemSetAttribute(item, "m7", "0") doItemSetAttribute(item, "m8", "0") doItemSetAttribute(item, "m9", "0") doItemSetAttribute(item, "m10", "0") doItemSetAttribute(item, "m11", "0") doItemSetAttribute(item, "m12", "0") doItemSetAttribute(item, "cold","0") doPlayerAddItemEx(cid, item) doTransformItem(item, 189) elseif getPlayerVocation(cid) == 23 then if isPremium(cid) then doPlayerSetVocation(cid,2) else doPlayerSetVocation(cid,1) end addStatics(1041) item = doCreateItemEx(2219) nomedaclonagem = getCreatureName(cid) description = "Contains a Zubat." doItemSetAttribute(item, "exp2", "0") doItemSetAttribute(item, "fine", 100) doItemSetAttribute(item, "nome", "Zubat") --doItemSetAttribute(item, "apelido", "Zubat") doItemSetAttribute(item, "description", description) doItemSetAttribute(item, "boost", "0") doItemSetAttribute(item, "exp", "0") doItemSetAttribute(item, "catchby", nomedaclonagem) doItemSetAttribute(item, "m1", "0") doItemSetAttribute(item, "m2", "0") doItemSetAttribute(item, "m3", "0") doItemSetAttribute(item, "m4", "0") doItemSetAttribute(item, "m5", "0") doItemSetAttribute(item, "m6", "0") doItemSetAttribute(item, "m7", "0") doItemSetAttribute(item, "m8", "0") doItemSetAttribute(item, "m9", "0") doItemSetAttribute(item, "m10", "0") doItemSetAttribute(item, "m11", "0") doItemSetAttribute(item, "m12", "0") doItemSetAttribute(item, "cold","0") doPlayerAddItemEx(cid, item) doTransformItem(item, 189) elseif getPlayerVocation(cid) == 24 then if isPremium(cid) then doPlayerSetVocation(cid,2) else doPlayerSetVocation(cid,1) end addStatics(1046) item = doCreateItemEx(2219) nomedaclonagem = getCreatureName(cid) description = "Contains a Paras." doItemSetAttribute(item, "exp2", "0") doItemSetAttribute(item, "fine", 100) doItemSetAttribute(item, "nome", "Paras") --doItemSetAttribute(item, "apelido", "Paras") doItemSetAttribute(item, "description", description) doItemSetAttribute(item, "boost", "0") doItemSetAttribute(item, "exp", "0") doItemSetAttribute(item, "catchby", nomedaclonagem) doItemSetAttribute(item, "m1", "0") doItemSetAttribute(item, "m2", "0") doItemSetAttribute(item, "m3", "0") doItemSetAttribute(item, "m4", "0") doItemSetAttribute(item, "m5", "0") doItemSetAttribute(item, "m6", "0") doItemSetAttribute(item, "m7", "0") doItemSetAttribute(item, "m8", "0") doItemSetAttribute(item, "m9", "0") doItemSetAttribute(item, "m10", "0") doItemSetAttribute(item, "m11", "0") doItemSetAttribute(item, "m12", "0") doItemSetAttribute(item, "cold","0") doPlayerAddItemEx(cid, item) doTransformItem(item, 189) elseif getPlayerVocation(cid) == 25 then if isPremium(cid) then doPlayerSetVocation(cid,2) else doPlayerSetVocation(cid,1) end addStatics(1043) item = doCreateItemEx(2219) nomedaclonagem = getCreatureName(cid) description = "Contains a Oddish." doItemSetAttribute(item, "exp2", "0") doItemSetAttribute(item, "fine", 100) doItemSetAttribute(item, "nome", "Oddish") --doItemSetAttribute(item, "apelido", "Oddish") doItemSetAttribute(item, "description", description) doItemSetAttribute(item, "boost", "0") doItemSetAttribute(item, "exp", "0") doItemSetAttribute(item, "catchby", nomedaclonagem) doItemSetAttribute(item, "m1", "0") doItemSetAttribute(item, "m2", "0") doItemSetAttribute(item, "m3", "0") doItemSetAttribute(item, "m4", "0") doItemSetAttribute(item, "m5", "0") doItemSetAttribute(item, "m6", "0") doItemSetAttribute(item, "m7", "0") doItemSetAttribute(item, "m8", "0") doItemSetAttribute(item, "m9", "0") doItemSetAttribute(item, "m10", "0") doItemSetAttribute(item, "m11", "0") doItemSetAttribute(item, "m12", "0") doItemSetAttribute(item, "cold","0") doPlayerAddItemEx(cid, item) doTransformItem(item, 189) elseif getPlayerVocation(cid) == 26 then if isPremium(cid) then doPlayerSetVocation(cid,2) else doPlayerSetVocation(cid,1) end addStatics(1060) item = doCreateItemEx(2219) nomedaclonagem = getCreatureName(cid) description = "Contains a Poliwag." doItemSetAttribute(item, "exp2", "0") doItemSetAttribute(item, "fine", 100) doItemSetAttribute(item, "nome", "Poliwag") --doItemSetAttribute(item, "apelido", "Poliwag") doItemSetAttribute(item, "description", description) doItemSetAttribute(item, "boost", "0") doItemSetAttribute(item, "exp", "0") doItemSetAttribute(item, "catchby", nomedaclonagem) doItemSetAttribute(item, "m1", "0") doItemSetAttribute(item, "m2", "0") doItemSetAttribute(item, "m3", "0") doItemSetAttribute(item, "m4", "0") doItemSetAttribute(item, "m5", "0") doItemSetAttribute(item, "m6", "0") doItemSetAttribute(item, "m7", "0") doItemSetAttribute(item, "m8", "0") doItemSetAttribute(item, "m9", "0") doItemSetAttribute(item, "m10", "0") doItemSetAttribute(item, "m11", "0") doItemSetAttribute(item, "m12", "0") doItemSetAttribute(item, "cold","0") doPlayerAddItemEx(cid, item) doTransformItem(item, 189) elseif getPlayerVocation(cid) == 27 then if isPremium(cid) then doPlayerSetVocation(cid,2) else doPlayerSetVocation(cid,1) end addStatics(1098) item = doCreateItemEx(2219) nomedaclonagem = getCreatureName(cid) description = "Contains a Krabby." doItemSetAttribute(item, "exp2", "0") doItemSetAttribute(item, "fine", 100) doItemSetAttribute(item, "nome", "Krabby") --doItemSetAttribute(item, "apelido", "Krabby") doItemSetAttribute(item, "description", description) doItemSetAttribute(item, "boost", "0") doItemSetAttribute(item, "exp", "0") doItemSetAttribute(item, "catchby", nomedaclonagem) doItemSetAttribute(item, "m1", "0") doItemSetAttribute(item, "m2", "0") doItemSetAttribute(item, "m3", "0") doItemSetAttribute(item, "m4", "0") doItemSetAttribute(item, "m5", "0") doItemSetAttribute(item, "m6", "0") doItemSetAttribute(item, "m7", "0") doItemSetAttribute(item, "m8", "0") doItemSetAttribute(item, "m9", "0") doItemSetAttribute(item, "m10", "0") doItemSetAttribute(item, "m11", "0") doItemSetAttribute(item, "m12", "0") doItemSetAttribute(item, "cold","0") doPlayerAddItemEx(cid, item) doTransformItem(item, 189) elseif getPlayerVocation(cid) == 28 then if isPremium(cid) then doPlayerSetVocation(cid,2) else doPlayerSetVocation(cid,1) end addStatics(1118) item = doCreateItemEx(2219) nomedaclonagem = getCreatureName(cid) description = "Contains a Goldeen." doItemSetAttribute(item, "exp2", "0") doItemSetAttribute(item, "fine", 100) doItemSetAttribute(item, "nome", "Goldeen") --doItemSetAttribute(item, "apelido", "Goldeen") doItemSetAttribute(item, "description", description) doItemSetAttribute(item, "boost", "0") doItemSetAttribute(item, "exp", "0") doItemSetAttribute(item, "catchby", nomedaclonagem) doItemSetAttribute(item, "m1", "0") doItemSetAttribute(item, "m2", "0") doItemSetAttribute(item, "m3", "0") doItemSetAttribute(item, "m4", "0") doItemSetAttribute(item, "m5", "0") doItemSetAttribute(item, "m6", "0") doItemSetAttribute(item, "m7", "0") doItemSetAttribute(item, "m8", "0") doItemSetAttribute(item, "m9", "0") doItemSetAttribute(item, "m10", "0") doItemSetAttribute(item, "m11", "0") doItemSetAttribute(item, "m12", "0") doItemSetAttribute(item, "cold","0") doPlayerAddItemEx(cid, item) doTransformItem(item, 189) elseif getPlayerVocation(cid) == 29 then if isPremium(cid) then doPlayerSetVocation(cid,2) else doPlayerSetVocation(cid,1) end addStatics(1129) item = doCreateItemEx(2219) nomedaclonagem = getCreatureName(cid) description = "Contains a Magikarp." doItemSetAttribute(item, "exp2", "0") doItemSetAttribute(item, "fine", 100) doItemSetAttribute(item, "nome", "Magikarp") --doItemSetAttribute(item, "apelido", "Magikarp") doItemSetAttribute(item, "description", description) doItemSetAttribute(item, "boost", "0") doItemSetAttribute(item, "exp", "0") doItemSetAttribute(item, "catchby", nomedaclonagem) doItemSetAttribute(item, "m1", "0") doItemSetAttribute(item, "m2", "0") doItemSetAttribute(item, "m3", "0") doItemSetAttribute(item, "m4", "0") doItemSetAttribute(item, "m5", "0") doItemSetAttribute(item, "m6", "0") doItemSetAttribute(item, "m7", "0") doItemSetAttribute(item, "m8", "0") doItemSetAttribute(item, "m9", "0") doItemSetAttribute(item, "m10", "0") doItemSetAttribute(item, "m11", "0") doItemSetAttribute(item, "m12", "0") doItemSetAttribute(item, "cold","0") doPlayerAddItemEx(cid, item) doTransformItem(item, 189) end setPlayerStorageValue(cid, 111, 1) setPlayerStorageValue(cid,111111,1) setPlayerStorageValue(cid, 999, 0) doPlayerAddItem(cid, 2272, 10) doPlayerAddItem(cid, 2149, 50) doPlayerAddItem(cid, 2270, 1) doPlayerAddItem(cid, 2271, 10) doPlayerAddItem(cid, 2274, 2) doPlayerAddItem(cid, 2275, 1) doPlayerAddItem(cid, 7884, 1) doPlayerAddSoul(cid, -getPlayerSoul(cid)) setPlayerStorageValue(cid, config.storage, 1) return true end ]]></event> </mod> Aqui vai uma imagem de o que que ocorre:
  21. Olá, estava finalizando meu Map, e percebi um suposto bug, tentei resolve-lo mas não consegui. Bom, espero que vocês tenham capacidade para me ajudar. É o seguinte, quando abre um mapa novo, fica as sprites antigas, que são antes do remake(está correto pois está referente a minha spr.) Porém, quando abro um mapa qualquer, a Spr atualiza ficando com os remakes, porém não tem onde o remere's pegar essa spr, pois tal não está selecionada. Logo abaixo mostrarei print's: 1 - Mapa novo, spr velha(correta): 2 - Spr selecionada(referente ao mapa velho, já conferi 4 vezes): 3 - Mapa aberto, spr nova(errado): Preciso da Spr velha atuando, mas não está acontecendo com êxito tal necessidade. Espero que me ajudem! BUG RESOLVIDO - TÓPICO FECHADO
  22. Galera pode me ajuda pfv com esse bug ai pfv eu nem sei como isso foi apara ai
  23. Gokussj5

    HELP PLEASE!

    Galera ajuda com esse bug do pagseguro aqui
  24. Ola, Tenho um ot 8.60, ele abre PERFEITAMENTE, não da 1 erro, mas quando eu tento abrir um server 8.70 ele simplesmente não loga, faço tudo como no 8.6 todo os procedimentos. Bom, eu baixei varios ots, nenhum funcionou, abro ele com o ip 127.0.0.1, como faço no 8.6 para testar as modificações que eu faço mas NÃO ACONTECE NADA fica "connecting" no tibia. n sai disso. ali aparece como online. enfim se tiver como ajudar dou like
  25. meu servidor é 8.6 peguei itens de 8.54 e o ficheiro items.otb e substitui pelos do 8.6 axo da erro no item otb mais preciso de utilizar os 8.54 alguém me ajude .
×
×
  • Criar Novo...