Ir para conteúdo

psychonaut

Membro
  • Registro em

  • Última visita

Tudo que psychonaut postou

  1. pastadogesior/layouts/pastadouseulayout/initialize.js: Aperta CTRL + F e procura por function LoadMenu() { Vai ter essa linha: self.name = "news=1&library=0&community=0&forum=0&account=0&team=0&shops=0&"; O 1 é as que estão abertas, o 0 é as que aparecem fechadas.
  2. Vê se a group/rank id de GOD tá certa no xml e no banco
  3. A coluna que tá lá na tabela é a que ta aparecendo no erro? Tenta deixar INT, eu não sei pra que serve ela, se você souber coloca no tipo que vem na scheme ou algo do tipo se quiser.
  4. Tenta assim ALTER TABLE `players` ADD COLUMN `skill_critical_hit_chance` INT(10) UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE `players` ADD COLUMN `skill_critical_hit_chance_tries` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE `players` ADD COLUMN `skill_critical_hit_damage` INT(10) UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE `players` ADD COLUMN `skill_critical_hit_damage_tries` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE `players` ADD COLUMN `skill_life_leech_chance` INT(10) UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE `players` ADD COLUMN `skill_life_leech_chance_tries` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE `players` ADD COLUMN `skill_life_leech_amount` INT(10) UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE `players` ADD COLUMN `skill_life_leech_amount_tries` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE `players` ADD COLUMN `skill_mana_leech_chance` INT(10) UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE `players` ADD COLUMN `skill_mana_leech_chance_tries` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE `players` ADD COLUMN `skill_mana_leech_amount` INT(10) UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE `players` ADD COLUMN `skill_mana_leech_amount_tries` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0;
  5. ALTER TABLE players ADD skill_critical_hit_chance INT NOT NULL DEFAULT(0) Seleciona o banco antes. Aí faz com os outros, só muda o nome Faltou a ; aí pra separar as queries Aqui se tu quiser tentar esse: ALTER TABLE `players` ADD COLUMN `skill_critical_hit_chance` INT(10) UNSIGNED NOT NULL DEFAULT(0); ALTER TABLE `players` ADD COLUMN `skill_critical_hit_chance_tries` BIGINT(20) UNSIGNED NOT NULL DEFAULT(0); ALTER TABLE `players` ADD COLUMN `skill_critical_hit_damage` INT(10) UNSIGNED NOT NULL DEFAULT(0); ALTER TABLE `players` ADD COLUMN `skill_critical_hit_damage_tries` BIGINT(20) UNSIGNED NOT NULL DEFAULT(0); ALTER TABLE `players` ADD COLUMN `skill_life_leech_chance` INT(10) UNSIGNED NOT NULL DEFAULT(0); ALTER TABLE `players` ADD COLUMN `skill_life_leech_chance_tries` BIGINT(20) UNSIGNED NOT NULL DEFAULT(0); ALTER TABLE `players` ADD COLUMN `skill_life_leech_amount` INT(10) UNSIGNED NOT NULL DEFAULT(0); ALTER TABLE `players` ADD COLUMN `skill_life_leech_amount_tries` BIGINT(20) UNSIGNED NOT NULL DEFAULT(0); ALTER TABLE `players` ADD COLUMN `skill_mana_leech_chance` INT(10) UNSIGNED NOT NULL DEFAULT(0); ALTER TABLE `players` ADD COLUMN `skill_mana_leech_chance_tries` BIGINT(20) UNSIGNED NOT NULL DEFAULT(0); ALTER TABLE `players` ADD COLUMN `skill_mana_leech_amount` INT(10) UNSIGNED NOT NULL DEFAULT(0); ALTER TABLE `players` ADD COLUMN `skill_mana_leech_amount_tries` BIGINT(20) UNSIGNED NOT NULL DEFAULT(0);
  6. Cria essa coluna aí na tabela players 1. Acessa http://localhost/phpmyadmin/ localhost você coloca o ip do servidor. 2. Abre o banco e clica em guilds ou a tabela que tá dando erro. A sua é players. 3. Clica em estrutura e Executar aonde diz criar nova coluna. 4. Aí vai adicionando como pedir A sua é pra adicionar a skill_critical_hit_change, tenta por INT e sem Tamanho/Valores e se não der certo põe VARCHAR no tipo e 255 no tamanho
  7. psychonaut postou uma resposta no tópico em Playground (Off-topic)
    vamo para de brinca e ajuda na minha votação seria lá, vcs parece q soh brincam
  8. psychonaut postou uma resposta no tópico em Playground (Off-topic)
    vamos descobrir?
  9. function onStepIn(cid, item, position, fromPosition) local s = 19001 -- storage, n mexa local t = 1 * 24 * 60 * 60 * 1000 -- tempo em horas pra entrar no tp dnv local blabla = 1 / 24 / 60 / 60 / 100 local o = os.time() local h = 'essa porra' -- escreve aqui o nome do local pra mandar a mensagem de boas vindas ao player local pos = getCreaturePosition(cid) local timelast = getPlayerStorageValue(cid, s) + blabla if getPlayerStorageValue(cid, s) > os.time() then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You can enter again in "..timelast.." hours.") doTeleportThing(cid, fromPosition) doSendMagicEffect(pos, CONST_ME_POFF) else setPlayerStorageValue(cid, s, o + t) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Welcome to "..h.."!") doSendMagicEffect(pos, CONST_ME_MAGIC_BLUE) end return true end
  10. psychonaut postou uma resposta no tópico em Playground (Off-topic)
    nao pode falar palavrao nesse caralho, nao pode por pornografia na foto de perfil, não pode fazer nada esse forum parece q to na cadeia
  11. psychonaut postou uma resposta no tópico em Suporte Tibia OTServer
    kkkkkkkkkkk nem sei se isso aí funciona porque não tem o y
  12. psychonaut postou uma resposta no tópico em Suporte Tibia OTServer
    ta aí, só demorou 5 anos REVERSE_DOORS, CHILD_DOORS = {}, {} for k, v in pairs(DOORS) do REVERSE_DOORS[v] = k local tmp = getItemInfo(v) if(tmp.transformUseTo ~= 0) then CHILD_DOORS[tmp.transformUseTo] = k end end function onUse(cid, item, fromPosition, itemEx, toPosition) if(item.aid > 0 and itemEx.aid > 0) then if(isPlayerPzLocked(cid) and getTileInfo(toPosition).protection) then doPlayerSendDefaultCancel(cid, RETURNVALUE_ACTIONNOTPERMITTEDINPROTECTIONZONE) return true end local doors = DOORS[itemEx.itemid] if(not doors) then doors = REVERSE_DOORS[itemEx.itemid] end if(not doors) then doors = CHILD_DOORS[itemEx.itemid] end if(doors) then if(item.actionid ~= itemEx.actionid) then doPlayerSendCancel(cid, "The key does not match.") else if (getCreaturePosition(cid).x < getThingPos(item.uid).x) then doTeleportThing(cid, {x=getThingPos(item.uid).x+1, y=getThingPos(item.uid).y, z=getThingPos(item.uid).z}) doSendMagicEffect({x=getThingPos(item.uid).x+1, y=getThingPos(item.uid).y, z=getThingPos(item.uid).z}, CONST_ME_MAGIC_BLUE) else doTeleportThing(cid, {x=getThingPos(item.uid).x-1, y=getThingPos(item.uid).y, z=getThingPos(item.uid).z}) doSendMagicEffect({x=getThingPos(item.uid).x-1, y=getThingPos(item.uid).y, z=getThingPos(item.uid).z}, CONST_ME_MAGIC_BLUE) end end return true end end return false end
  13. function onStepIn(cid, item, position, fromPosition) local s = 19001 -- storage, n mexa local t = 1 * 24 * 60 * 60 * 1000 -- tempo em horas pra entrar no tp dnv local o = os.time() local h = 'essa porra' -- escreve aqui o nome do local pra mandar a mensagem de boas vindas ao player local pos = getCreaturePosition(cid) if getPlayerStorageValue(cid, s) > os.time() then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You can enter again in "..s.." hours.") doTeleportThing(cid, fromPosition) doSendMagicEffect(pos, CONST_ME_POFF) else setPlayerStorageValue(cid, s, o + t) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Welcome to "..h.."!") doSendMagicEffect(pos, CONST_ME_MAGIC_BLUE) end return true end Dá pra colocar uns negocio pra não aceitar valor nil alí e usar 1 se não tiver etc mas não é obrigatório
  14. Se estiver usando wamp, vai na pasta do wamp e abre a pasta do mysql e a pasta com a versão, a minha é: C:\wamp64\bin\mysql\mysql5.7.14 C:\wamp64\bin\mysql\mysql5.7.14 Se estiver usando xampp ou algo do tipo o local deve ser parecido. Abra o arquivo my.ini e adicione a seguinde linha: skip-name-resolve Se quiser colocar no local certo, é debaixo disso: [mysqld] port = 3306
  15. function onStepIn(cid, item, position, fromPosition) local s = 19001 -- storage, n mexa local t = 1 * 24 * 60 * 60 * 1000 -- tempo em horas pra entrar no tp dnv local o = os.time() local h = 'essa porra' -- escreve aqui o nome do local pra mandar a mensagem de boas vindas ao player local pos = getCreaturePosition(cid) if getPlayerStorageValue(cid, s) > 0 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You can enter again in "..s.." hours.") doTeleportThing(cid, fromPosition) doSendMagicEffect(pos, CONST_ME_POFF) else setPlayerStorageValue(cid, s, o + t) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Welcome to "..h.."!") doSendMagicEffect(pos, CONST_ME_MAGIC_BLUE) end return true end Mano tu tem que por o h ali onde tá escrito sem tira as aspa igual o cara comento pra ti kkkkkkkkk
  16. psychonaut postou uma resposta no tópico em Playground (Off-topic)
    pode zua kkkkk (não da ban ressuscita tópico de musica né, ta fixado o bagulho)
  17. psychonaut postou uma resposta no tópico em Playground (Off-topic)
    ow vo muda minha foto de perfil aki c for mt putaria ja pode me banir Até tirei Não pode fazer nada nesse forum tb em
  18. psychonaut postou uma resposta no tópico em Playground (Off-topic)
    ah nem eh tao bonita assim
  19. psychonaut postou uma resposta no tópico em Playground (Off-topic)
    @Saymon Kopolsky qm eh a guria na sua assinatura vey
  20. psychonaut postou uma resposta no tópico em Suporte & Pedidos
    Se teu servidor não sei como são os addons mas tu podia fazer o do warrior feminino aí
  21. Até dá mas é grande aí da mt trampo, aí nem faço. Tenta usar o original mas vem com limite por vocação

Informação Importante

Confirmação de Termo