
Tudo que Rusherzin postou
-
(Resolvido)UPDATE 'table' SET 'old_name'
Se é quando tu loga com o novo char, manda os arquivos onLogin do teu servidor para podermos ver onde está a query com erro.
-
(Resolvido)UPDATE 'table' SET 'old_name'
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.
-
[XAMPP] Template não atualiza
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.
-
(Resolvido)UPDATE 'table' SET 'old_name'
Isso acontece quando tu tenta trocar de nome? Isso é dentro do jogo ou é no gesior?
-
[Script] Item ao matar um player
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
-
[Script] Item ao matar um player
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")
-
[Script] Item ao matar um player
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.
-
Teleporte por level (Ajuda)
Acho que seria algo assim: Obs: também chequei se o player está em zonde PZ para poder teleportar.
-
Teleporte por level (Ajuda)
Ah, okay. Qual a versão do TFS?
-
Teleporte por level (Ajuda)
Posta o script do comando.
-
[Script] Item ao matar um player
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.
-
[Script] Item ao matar um player
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
-
[Script] Item ao matar um player
Qual item? Qual TFS está usando?
-
[RESOLVIDO] Gesior 2012 Erro
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;
-
[RESOLVIDO] Gesior 2012 Erro
Então não sei o que fazer. Ajudar remotamente assim fica bem difícil, mas deve ser algo simples.
-
[RESOLVIDO] Gesior 2012 Erro
O estranho é o host estar com nome de 'bh-c58295013b3c', não botou isso em algum lugar?
-
[RESOLVIDO] Gesior 2012 Erro
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;
-
[RESOLVIDO] Gesior 2012 Erro
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"
-
[RESOLVIDO] Gesior 2012 Erro
Isso é windows ou linux?
-
(Resolvido)Level Por Tabela
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, olha na distro se tem alguma mensagem com 1, 2 ou 3 nela.
-
Mana Rune [AJUDA]
A única coisa que estou vendo de diferente agora é o allowfaruse que está 0 ao invés de 1.
-
Mana Rune [AJUDA]
Estranho, parece tudo certo. Tenta tirar aquele event="script" das tags.
-
Mana Rune [AJUDA]
<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> <rune name="Knight Rune" id="2280" allowfaruse="0" charges="1" lvl="250" maglv="2" exhaustion="900" aggressive="0" needtarget="1" blocktype="solid" event="script" value="custom spells/knight rune.lua"> <vocation id="Knight"/> <vocation id="Elite Knight"/> </rune> <rune name="Paladin Rune" id="2312" allowfaruse="0" charges="1" lvl="250" maglv="2" exhaustion="900" aggressive="0" needtarget="1" blocktype="solid" event="script" value="custom spells/paladin rune.lua"> <vocation id="Paladin"/> <vocation id="Royal Paladin"/> </rune>
-
Mana Rune [AJUDA]
Tu não estás fechando as tags do XML, posta essa parte que tu sublinhou que eu te mostro como arrumar.
-
Mana Rune [AJUDA]
Aquele era um action, tu tinha que clicar no item. Esse que eu mandei é uma spell. Só no spells.