Ir para conteúdo
  • Cadastre-se

Rusherzin

Membro
  • Total de itens

    1067
  • Registro em

  • Última visita

  • Dias Ganhos

    14

Tudo que Rusherzin postou

  1. Se é quando tu loga com o novo char, manda os arquivos onLogin do teu servidor para podermos ver onde está a query com erro.
  2. Então, cara, tem que encontrar onde que ele está executando esse código, afinal, ele está tentando mudar a tabela table, duvido que ela exista. Acho que foi um erro de quem fez. Se achar o arquivo que executa esses comandos, poste-os aqui.
  3. Cara, geralmente esse problema é com o cache do navegador. Tenta entrar pelo navegador x, depois mudar a imagem e checar com o navegador y. Se aparecem imagens diferentes, deve ser o cache mesmo. Não acho que tenha o que fazer nesse caso.
  4. Isso acontece quando tu tenta trocar de nome? Isso é dentro do jogo ou é no gesior?
  5. Pois é, tenta botar uns prints para ver se aparecem no console, aí podemos saber se ele pelo menos está executando o arquivo. function onKill(cid, target) print(1) if isPlayer(cid) and isPlayer(target) then print(2) local itemid = 2160 doPlayerAddItem(cid, itemid, 1) end return true end
  6. Isso é estranho, costumava usar um script quase idêntico a esse e ele funcionava. Não lembro se precisa registrar no login.lua. Mas tenta. registerCreatureEvent(cid, "Reward")
  7. Sim, é um creaturescript. Deu algum erro? Não sei se as funções são compatíveis com a versão que tu me indicou.
  8. Acho que seria algo assim: Obs: também chequei se o player está em zonde PZ para poder teleportar.
  9. Não testei, mas creio que esteja funcional. Só que na hora de testar, ele não vai dar a recompensa se o ip for igual, aconselho a tirar aquela condição antes de testar.
  10. Seria algo mais ou menos assim: <event type="kill" name="Reward" event="script" value="reward.lua"/> function onKill(cid, target) if isPlayer(cid) and isPlayer(target) then if getPlayerIp(cid) ~= getPlayerIp(target) then local itemid = 2160 doPlayerAddItem(cid, itemid, 1) end end return true end
  11. Sim. anderson.altstaff Resolução: GRANT ALL PRIVILEGES ON *.* TO 'root'@'IP-DA-VPS' IDENTIFIED BY 'SENHA-DO-TEU-PHPMYADMIN' WITH GRANT OPTION; FLUSH PRIVILEGES;
  12. Então não sei o que fazer. Ajudar remotamente assim fica bem difícil, mas deve ser algo simples.
  13. O estranho é o host estar com nome de 'bh-c58295013b3c', não botou isso em algum lugar?
  14. Entendi. Tenta executar esse código no PhpMyAdmin, só coloca ali a senha que está usando no config.lua: GRANT ALL PRIVILEGES ON *.* TO 'root'@'127.0.0.1' IDENTIFIED BY 'SENHADOTEUMYSQL' WITH GRANT OPTION; FLUSH PRIVILEGES;
  15. Está tentando acessar remotamente? Digo, seu banco de dados está em um servidor e o ot em outro? Se estiver tudo na mesma máquina, tente mudar: sqlHost = "baiak-keltera.servegame.com" Para: sqlHost = "localhost"
  16. Estranho não ter funcionado. Configurou a tabela direitinho? Se sim, usa o script assim para tentarmos diagnosticar o problema: function onDeath(cid, corpse, killer) local lvltable = { -- min, max, perda {1000, 1099, 50}, {1100, 1199, 60} } local level = getPlayerLevel(cid) print(1) if isPlayer(cid) then print(2) for k, v in pairs(lvltable) do if level >= v[1] and level <= v[2] then print(3) doPlayerAddExp(cid, getExperienceForLevel(level - v[3]) - getPlayerExperience(cid)) end end end return true end Depois que morrer,
  17. A única coisa que estou vendo de diferente agora é o allowfaruse que está 0 ao invés de 1.
  18. Estranho, parece tudo certo. Tenta tirar aquele event="script" das tags.
  19. <rune name="Mana Rune" id="2296" allowfaruse="0" charges="1" lvl="250" maglv="2" exhaustion="900" aggressive="0" needtarget="1" blocktype="solid" event="script" value="custom spells/mage rune.lua"> <vocation id="Sorcerer"/> <vocation id="Master Sorcerer"/> </rune> <rune name="Druid Rune" id="2300" allowfaruse="0" charges="1" lvl="250" maglv="2" exhaustion="900" aggressive="0" needtarget="1" blocktype="solid" event="script" value="custom spells/druid rune.lua"> <vocation id="Druid"/> <vocation id="Elder Druid"/> </rune> <
  20. Tu não estás fechando as tags do XML, posta essa parte que tu sublinhou que eu te mostro como arrumar.
  21. Aquele era um action, tu tinha que clicar no item. Esse que eu mandei é uma spell. Só no spells.
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo