Ir para conteúdo

Tricoder

Héroi
  • Registro em

  • Última visita

Tudo que Tricoder postou

  1. Veja se isso lhe ajuda: http://www.tibiaking.com/forum/topic/32699-ajudastarlua/#entry184136
  2. Tente executando isso na database: UPDATE `accounts` SET password=SHA1(password) WHERE `id` = (MAX) >= 1; DROP TABLE IF EXISTS `z_ots_comunication`; CREATE TABLE IF NOT EXISTS `z_ots_comunication` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `type` varchar(255) NOT NULL, `action` varchar(255) NOT NULL, `param1` varchar(255) NOT NULL, `param2` varchar(255) NOT NULL, `param3` varchar(255) NOT NULL, `param4` varchar(255) NOT NULL, `param5` varchar(255) NOT NULL, `param6` varchar(255) NOT NULL, `param7` varchar(255) NOT NULL, `delete_it` int(2) NOT NULL DEFAULT '1', PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; E não esqueça de alterar no config.lua pra encryptionType = "sha1" passwordType = "sha1"
  3. Primeira pessoa que conheço que mora aqui. Só uma dúvida, como você resolveu o problema do ban? Pra caso surgir alguém com a mesma dúvida que você...
  4. Leia atentamente o tópico e as respostas dele, veja se é isso que deseja: http://www.tibiaking.com/forum/topic/55507-pedido-hp-mp-por-porcentagem/
  5. Espera, agora que vi, você mora em Santos-SP também? Estranho, você verificou se é compatível com seu TFS esse script? Qual versão do seu TFS?
  6. Vou arriscar. \data\zombie_system.lua, tente trocar: zeJoinedCountGlobalStorage = 200 --Player joined event count por: zeZombieCountGlobalStorage = 200 --Player joined event count
  7. data/talkactions/scripts/ban.lua local comment = "" local length = 1 -- ban time in hours function onSay(cid, words, param) local param = string.explode(param, ",") if param[1] then local accId = getAccountIdByName(param[1]) if accId > 0 then if param[2] and tonumber(param[2]) and tonumber(param[2]) > 0 then length = tonumber(param[2]) end if param[3] then comment = param[3] end doAddAccountBanishment(accId, getPlayerGUIDByName(param[1]), length * 3600, 23, ACTION_BANISHMENT, comment, getPlayerGUID(cid)) local player = getPlayerByNameWildcard(param[1]) if isPlayer(player) then doRemoveCreature(player) end else doPlayerSendCancel(cid, "Player with name " .. param[1] .. " doesn't exist.") end else doPlayerSendCancel(cid, "You must enter a player name.") end return true end Se não funcionar, posta seu arquivo, por favor...
  8. Você fez alguma alteração nesses arquivos que apresenta erro?
  9. Oi de novo! kk Não sei se vai resolver, mas tente executando em Sqlitestudio > Open SQL query editor: DROP TABLE IF EXISTS player_statements; CREATE TABLE player_statements ( id INTEGER PRIMARY KEY, player_id INTEGER NOT NULL, channel_id INTEGER NOT NULL DEFAULT '0', text VARCHAR( 255 ) NOT NULL, date INTEGER NOT NULL DEFAULT '0', FOREIGN KEY ( player_id ) REFERENCES players ( id ) );
  10. Tente executar isso em Sqlitestudio > Open SQL query editor DROP TABLE IF EXISTS guild_wars; CREATE TABLE guild_wars ( id INTEGER NOT NULL, guild_id INT NOT NULL, enemy_id INT NOT NULL, begin BIGINT NOT NULL DEFAULT '0', end BIGINT NOT NULL DEFAULT '0', frags INT NOT NULL DEFAULT '0', payment BIGINT NOT NULL DEFAULT '0', guild_kills INT NOT NULL DEFAULT '0', enemy_kills INT NOT NULL DEFAULT '0', status TINYINT( 1 ) NOT NULL DEFAULT '0', PRIMARY KEY ( id ), FOREIGN KEY ( guild_id ) REFERENCES guilds ( id ), FOREIGN KEY ( enemy_id ) REFERENCES guilds ( id ) );
  11. O servidor ter site faz uma enorme diferença, na minha opinião. Acho feio servidor Global que utiliza apenas Account Manager. Sem falar que site oferece tudo o que um player gostaria de saber sobre o servidor, inclusive o ranking e pesquisar sobre determinado player.
  12. Tricoder postou uma resposta no tópico em Suporte Tibia OTServer
    Você editou errado então, tente voltar pra outra
  13. Quando você posta eu não entendo se você está postando uma dúvida ou um tutorial, porque você coloca esse "solução". Já tentou mexer nessa parte? UNREMOVABLE_FIELDS = retire o id do fire
  14. Não sei se já resolveu ou não, porém... config.lua ingameGuildManagement = false
  15. http://www.tibiaking.com/forum/topic/48397-administrando-as-borders/
  16. Faça isso: http://www.tibiaking.com/forum/topic/9232-resolvendo-temple-position-is-wrong-contact-the-administrator/ PORÉM, utilize a versão mais recente do Sqlitestudio se não vai bugar. Se seu problema foi resolvido, favor marcar como melhor resposta. Se não foi, avise.
  17. Então provavelmente o problema está na configuração da sua VIP. Onde você obteve esse sistema de VIP?
  18. Vai no config.lua do TFS e edita as configurações da database. Coloque sqlType = "mysql" Se seu problema foi resolvido, favor marcar como melhor resposta. Se não foi, avise.
  19. Tem o de adicionar item ao DP do player, mesmo estando online ou não. Creio que funcione só com versões 0.x talkactions/scripts/additemdepot.lua function doPlayerAddDepotItems(pid, item, count) -- BY MAGUS AND EDITED BY VODKART local item,count = {item},{(count or 1)} for k,v in ipairs(item) do local ls = db.getResult("SELECT `sid` FROM `player_depotitems` WHERE `player_id` = "..pid.." ORDER BY `sid` DESC LIMIT 1") return db.executeQuery("INSERT INTO `player_depotitems` (`player_id`, `sid`, `pid`, `itemtype`, `count`, `attributes`) VALUES ("..pid..", "..(ls:getDataInt("sid")+1)..", 101, "..v..", "..count[k]..", '')") or false end end function onSay(cid, words, param) local t = string.explode(param:lower(),",") if not t[1] then doPlayerSendCancel(cid, "digite Nome, Item ID, quantidade.") return true elseif not getPlayerByNameWildcard(t[1]) and not getPlayerGUIDByName(t[1]) then doPlayerSendCancel(cid, "Você deve digitar um Nome Válido.") return true elseif not tonumber(t[2]) or not tonumber(t[3]) or tonumber(t[3]) < 1 or tonumber(t[3]) > 999 or not isItemStackable(t[2]) and tonumber(t[3]) > 10 then doPlayerSendCancel(cid, "você deve digitar NOME,ID,QUANTIDADE(maior que 0"..(not isItemStackable(t[2]) and " até 10 se não for empilhavel." or " até 1000 se for empilhavel.")..").") return true elseif not isItemMovable(t[2]) or not getItemNameById(tonumber(t[2])) then doPlayerSendCancel(cid, "Este item não existe ou não pode ser adicionado ao jogador.") return true end local player = getPlayerByNameWildcard(t[1]) if player then parcel = doCreateItemEx(ITEM_PARCEL) if isItemStackable(t[2]) or tonumber(t[3]) == 1 then doAddContainerItem(parcel, t[2], t[3]) else for i = 1, t[3] do doAddContainerItem(parcel, t[2], 1) end end doPlayerSendMailByName(getPlayerNameByGUID(getPlayerGUIDByName(t[1])), parcel, 1) else local getPlayer = getPlayerGUIDByName(t[1]) if isItemStackable(t[2]) or tonumber(t[3]) == 1 then doPlayerAddDepotItems(getPlayer, t[2], t[3]) else for i = 1, t[3] do doPlayerAddDepotItems(getPlayer, t[2], 1) end end end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,"você adicionou "..t[3].." "..getItemNameById(t[2]).." ao depot do jogador "..t[1]) return true end
  20. Reseta. Se abusaram do bug foi porque quiseram.
  21. Quando executa o código na SQL, que erro aparece? Poderia postar print?
  22. Você tem certeza que colocou as imagens na pasta do gesior?
  23. Você gerou o token do pagseguro?
  24. Ué, mas aparenta estar normal ou você diz sobre aquele popup que aparece ao abrir o site?
  25. Mas também aparece nas informações do player que ele não é VIP mesmo tendo comprado?

Informação Importante

Confirmação de Termo