Ir para conteúdo

Fir3element

Héroi
  • Registro em

  • Última visita

Tudo que Fir3element postou

  1. executa no mysql: CREATE TABLE IF NOT EXISTS `PagSeguroTransacoes` ( `TransacaoID` VARCHAR(36) NOT NULL, `VendedorEmail` VARCHAR(200) NOT NULL, `Referencia` VARCHAR(200) DEFAULT NULL, `TipoFrete` CHAR(2) DEFAULT NULL, `ValorFrete` DECIMAL(10,2) DEFAULT NULL, `Extras` DECIMAL(10,2) DEFAULT NULL, `Anotacao` text, `TipoPagamento` VARCHAR(50) NOT NULL, `StatusTransacao` VARCHAR(50) NOT NULL, `CliNome` VARCHAR(200) NOT NULL, `CliEmail` VARCHAR(200) NOT NULL, `CliEndereco` VARCHAR(200) NOT NULL, `CliNumero` VARCHAR(10) DEFAULT NULL, `CliComplemento` VARCHAR(100) DEFAULT NULL, `CliBairro` VARCHAR(100) NOT NULL, `CliCidade` VARCHAR(100) NOT NULL, `CliEstado` CHAR(2) NOT NULL, `CliCEP` VARCHAR(9) NOT NULL, `CliTelefone` VARCHAR(14) DEFAULT NULL, `ProdDescricao` VARCHAR(200) DEFAULT NULL, `ProdValor` VARCHAR(200) DEFAULT NULL, `ProdID` VARCHAR(200) DEFAULT NULL, `ProdQuantidade` VARCHAR(200) DEFAULT NULL, `NumItens` INT(11) NOT NULL, `Data` datetime NOT NULL, `status` tinyint(1) UNSIGNED NOT NULL DEFAULT '0', `servidor` VARCHAR(20) NOT NULL, `DataEntregue` INT(3) NOT NULL, UNIQUE KEY `TransacaoID` (`TransacaoID`,`StatusTransacao`), KEY `Referencia` (`Referencia`), KEY `status` (`status`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  2. vocations.xml eu acho
  3. deleta ele e tenta entrar
  4. da uma olhada no .htaccess, talvez ta bloqueando
  5. não vi erro nenhum ai, só quer dizer que não tem nenhum arquivo na pasta
  6. alguém reportou vc...
  7. Lucas Nogueira é o absolute?
  8. ALTER TABLE `players` ADD `castViewers` INT( 11 ) NOT NULL DEFAULT '0' dps: ALTER TABLE `players` ADD `castDescription` VARCHAR( 255 ) NOT NULL usa mysql...
  9. Qual o tamanho do mapa? Se for muito grande não é viável fazer isso, vai travar de vez em quando...
  10. pode usar storage no xml <outfit id="1" storageId="9999" storageValue="1"> <list gender="0" lookType="136" name="Citizen"/> <list gender="1" lookType="128" name="Citizen"/> </outfit>
  11. Esse aqui já vem sem: https://github.com/gesior/Gesior2012/archive/TFS-0.3.6_and_0.4_to_rev_3703.zip Se quiser tentar remover do seu: Search "salt" (8 hits in 2 files) \classes\account.php (7 hits) Line 11: public $data = array('name' => null, 'password' => null, 'salt' => null, 'premdays' => null, 'lastday' => null, 'email' => null, 'key' => null, 'group_id' => null, 'create_ip' => null, 'create_date' => null, 'premium_points' => null, 'page_access' => null, 'location' => null, 'rlname' => null, 'email_new' => null, 'email_new_time' => null, 'email_code' => null, 'next_email' => null, 'last_post' => null, 'flag' => null); Line 12: public static $fields = array('id', 'name', 'password', 'salt', 'premdays', 'lastday', 'email', 'key', 'group_id', 'create_ip', 'create_date', 'premium_points', 'page_access', 'location', 'rlname', 'email_new', 'email_new_time', 'email_code', 'next_email', 'last_post', 'flag'); Line 202: $this->data['salt'] = md5(microtime(true)); Line 206: public function setSalt($value){$this->data['salt'] = $value;} Line 206: public function setSalt($value){$this->data['salt'] = $value;} Line 207: public function getSalt(){return $this->data['salt'];} Line 207: public function getSalt(){return $this->data['salt'];} \classes\website.php (1 hit) Line 151: return hash(self::$passwordsEncryption, $account->getSalt() . $password);
  12. posta o script
  13. Fir3element postou uma resposta no tópico em Suporte Tibia OTServer
    linha 11 é: local id = tonumber(itemr:getDataInt("item")) deve ter algo faltando ai na database, bug sla
  14. usa o notepad++ ou faz o q o summ falou
  15. local config = { item = { Id = 1984, count = 1, }, maxTextLenght = 15, blacklistParam = {"account manager", "god", "cm", "gm", "tutor", "tester"}, minWordLenght = 3, delay = 2 } function onSay(cid, words, param, channel) local textCancel, t = config.text, string.explode(param, ",") if(param == '') then return doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") elseif((getPlayerGUIDByName(t[1]) ~= nil) and (not getBooleanFromString(t[2]))) then textCancel = "That name is already in use." elseif(getPlayerItemCount(cid, config.item.Id) < config.item.count) then textCancel = "You do not fulfill the requirements." elseif(not getTilePzInfo(getCreaturePosition(cid))) then textCancel = "You must be inside a protection zone to use this command." elseif(string.len(tostring(t[1])) >= config.maxTextLenght) then textCancel = "You can only use a maximum of " .. config.maxTextLenght .. " characters." elseif(string.find(t[1]:lower(), "[^%l%s]") ~= nil) then textCancel = "You cannot use symbols." else for blacklist = 1, table.maxn(config.blacklistParam) do if(string.find(t[1]:lower(), config.blacklistParam[blacklist]) ~= nil) then textCancel = "Invalid name entry." break end end end if(config.text ~= textCancel) then doPlayerSendCancel(cid, textCancel) return true end local paramTemp, space, oldName = '', '', getCreatureName(cid) for word in string.gmatch(t[1], "%a+") do if(string.len(word) < config.minWordLenght) then doPlayerSendCancel(cid, "Each word must have a minimum of " .. config.minWordLenght .. " characters.") return true end paramTemp = "" .. paramTemp .. "" .. space .. "" .. word .. "" if(space == '') then space = " " end end local guid = getPlayerGUID(cid) t[1] = paramTemp doPlayerRemoveItem(cid, config.item.Id, config.item.count) if(pcall(doPlayerChangeName, guid, oldName, t[1]) == false) then doRemoveCreature(cid, true) db.executeQuery("INSERT INTO `player_namelocks` (`player_id`, `name`, `new_name`, `date`) VALUES (" .. guid .. ", " .. db.escapeString(oldName) .. ", " .. db.escapeString(t[1]) .. ", " .. os.time() .. ");") db.executeQuery("UPDATE `players` SET `name` = " .. db.escapeString(t[1]) .. " WHERE `id` = " .. guid .. " LIMIT 1;") end -- doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your name has been changed successfully. You will be kicked in " .. config.delay .. " seconds.") return true end
  16. executa ai: ALTER TABLE `players` ADD `cast` TINYINT NOT NULL DEFAULT '0', ADD `castViewers` INT( 11 ) NOT NULL DEFAULT '0', ADD `castDescription` VARCHAR( 255 ) NOT NULL
  17. Fir3element postou uma resposta no tópico em Suporte & Pedidos
    Pena que nem todos fazem isso =/ Bom tópico...
  18. Pensei que seu auto stack fosse outro... bom, testa ai xD
  19. vai bugar o doPlayerAddItem (e talvez doPlayerAddItemEx) @fix
  20. dat e não sei, mas spr tem que aumentar o limite do client eu acho
  21. Não sei cara, o único custom ai é esse ThankYou que nunca vi no TFS, o resto ta td normal =/
  22. posta o login.lua ai q doido aehuae
  23. <event type="advance" name="AdvanceSave" event="script" value="advancesave.lua"/> deleta isso ai <event type="thankyou" name="ThankYou" script="thankyou.lua"/> isso aq tbm
  24. Fir3element postou uma resposta no tópico em Suporte Tibia OTServer
    tenta colocar "pushCreatureDelay = 1" e ve se muda algo

Informação Importante

Confirmação de Termo