Ir para conteúdo

Tricoder

Héroi
  • Registro em

  • Última visita

Solutions

  1. Tricoder's post in (Resolvido)Erro algumas paginas do site was marked as the answer   
    @firete
    Abre config-and-functions.php e procura por:
    // ###################### CONFIG ######################## Abaixo coloque:
    date_default_timezone_set('America/Sao_Paulo'); Veja se o erro some agora. SE não sumir, abra o arquivo system/load.init, procure por:
    session_start() Abaixo coloque:
    date_default_timezone_set('America/Sao_Paulo'); Veja agora.
  2. Tricoder's post in (Resolvido)Erros em Criar Conta was marked as the answer   
    A posição está incorreta, corrija no phpmyadmin.
  3. Tricoder's post in (Resolvido)latestnews erro announcements was marked as the answer   
    @woiciechovski
    Boa noite amigo, tente executar isso em seu phpmyadmin e veja se seu problema é corrigido:
    DROP TABLE IF EXISTS `announcements`; CREATE TABLE IF NOT EXISTS `announcements` ( `id` int(10) NOT NULL AUTO_INCREMENT, `title` varchar(50) NOT NULL, `text` varchar(255) NOT NULL, `date` varchar(20) NOT NULL, `author` varchar(50) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;  
  4. Tricoder's post in (Resolvido)Erro WAR.PHP was marked as the answer   
    @flyblade
    Salve backup desse e tenta esse wars.php:
    https://github.com/gesior/Gesior2012/blob/TFS-0.4_rev_3703%2B/pages/wars.php
  5. Tricoder's post in Elogio was marked as the answer   
    Obrigada, tudo em dobro pra ti! 
  6. Tricoder's post in (Resolvido)[ERRO] erro item novo narutibia!! was marked as the answer   
    @Xurumela
    Você não registrou no movements.xml, né?
    <movevent event="DeEquip" itemid="11394" slot="body" function="onDeEquipItem"/> <movevent event="Equip" itemid="11394" slot="body" function="onEquipItem"/>  
  7. Tricoder's post in (Resolvido)ERRO OT SERVER foto bugada (resolvido) was marked as the answer   
    Você tem o item 2395? Tem a sprite do pokemon que está faltando?
  8. Tricoder's post in (Resolvido)Erro de login no mapa was marked as the answer   
    @whodson
    Vai na sua database no sqlitestudio, depois vai em Open SQL query editor:

     
    Execute isso dando F9:
    DROP TABLE IF EXISTS z_ots_comunication; CREATE TABLE z_ots_comunication ( id INT( 11 ) NOT NULL, 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 ) ); Poste se resolveu, por favor.
  9. Tricoder's post in (Resolvido)[ERRO] Source? was marked as the answer   
    1. Não é erro, isso é um bug do 8.60 mesmo.
     
    2. Porque nessa versão de TFS só é possível alterando as sources. Faça o seguinte:
     
  10. Tricoder's post in (Resolvido)The event is already running? was marked as the answer   
    @axeltuxen97
    Execute isso:
    DELETE FROM `player_storage` WHERE `key` = 100; Troque o 100 pelo número da storage.
  11. Tricoder's post in (Resolvido)Adicionando mapas was marked as the answer   
    RME > Map > Properties > Client version > selecione a versão que deseja transformar > Ok.
    Se aparecer algo como Yes/No, clique em Yes.
  12. Tricoder's post in CONTRIBUIÇÃO E DESABAFO was marked as the answer   
    Pois é, eu entendo sua opinião. As pessoas entram aqui apenas para suporte, quando alguém não as ajudam, simplesmente jogam a culpa em cima de nós como se tivessemos a obrigação de saber resolver aquele tipo de problema. Muitas vezes quando tentamos ajudar, simplesmente são arrogantes ou nos xingam, dizendo que somos incompetentes. Mesmo quando conseguimos ajudá-los, não agradecem, não comentam, não dão reputação, fazem nada. Outras pessoas simplesmente pedem suporte em algum script e quando ajudamos, eles editam o post e retiram o script. Mas fazer o que, né? 
  13. Tricoder's post in (Resolvido)Como remover addons dos players? was marked as the answer   
    Magina! É só você abrir seu sqlitestudio, clica em   e cola em SQL query:
    DELETE FROM `player_storage` WHERE `key` >= 10000000; Depois executa apertando F9 (icone em cima de "SQL query").
     
    Se não der certo aquele, tente esse:
    UPDATE `players` SET `lookaddons` = '0';  
  14. Tricoder's post in (Resolvido)Outfit Unico Por Vocação was marked as the answer   
    Seria isso o que ta procurando? http://www.tibiaking.com/forum/topic/41424-creaturescripts-outfit-por-voca%C3%A7%C3%A3o/
  15. Tricoder's post in (Resolvido)[AJUDA] Erro ou iniciar TFS was marked as the answer   
    Se seu computador for 64 bits, tente usar o TFS 32bits. E assim vice-versa. Veja se resolve, uma vez aconteceu comigo e eu fiz isso...
  16. Tricoder's post in (Resolvido)Erro na Distro! was marked as the answer   
    Troca seu war.lua por esse:
    function onSay(cid, words, param, channel) local guild = getPlayerGuildId(cid) if(not guild or getPlayerGuildLevel(cid) < GUILDLEVEL_LEADER) then doPlayerSendChannelMessage(cid, "", "You cannot execute this talkaction.", TALKTYPE_CHANNEL_W, 0) return true end local t = string.explode(param, ",") if(not t[2]) then doPlayerSendChannelMessage(cid, "", "Not enough param(s).", TALKTYPE_CHANNEL_W, 0) return true end local enemy = getGuildId(t[2]) if(not enemy) then doPlayerSendChannelMessage(cid, "", "Guild \"" .. t[2] .. "\" does not exists.", TALKTYPE_CHANNEL_W, 0) return true end if(enemy == guild) then doPlayerSendChannelMessage(cid, "", "You cannot perform war action on your own guild.", TALKTYPE_CHANNEL_W, 0) return true end local enemyName, tmp = "", db.getResult("SELECT `name` FROM `guilds` WHERE `id` = " .. enemy) if(tmp:getID() ~= -1) then enemyName = tmp:getDataString("name") tmp:free() end if(isInArray({"accept", "reject", "cancel"}, t[1])) then local query = "`guild_id` = " .. enemy .. " AND `enemy_id` = " .. guild if(t[1] == "cancel") then query = "`guild_id` = " .. guild .. " AND `enemy_id` = " .. enemy end tmp = db.getResult("SELECT `id`, `begin`, `end`, `payment` FROM `guild_wars` WHERE " .. query .. " AND `status` = 0") if(tmp:getID() == -1) then doPlayerSendChannelMessage(cid, "", "Currently there's no pending invitation for a war with " .. enemyName .. ".", TALKTYPE_CHANNEL_W, 0) return true end if(t[1] == "accept") then local _tmp = db.getResult("SELECT `balance` FROM `guilds` WHERE `id` = " .. guild) local state = _tmp:getID() < 0 or _tmp:getDataInt("balance") < tmp:getDataInt("payment") _tmp:free() if(state) then doPlayerSendChannelMessage(cid, "", "Your guild balance is too low to accept this invitation.", TALKTYPE_CHANNEL_W, 0) return true end db.query("UPDATE `guilds` SET `balance` = `balance` - " .. tmp:getDataInt("payment") .. " WHERE `id` = " .. guild) end query = "UPDATE `guild_wars` SET " local msg = "accepted " .. enemyName .. " invitation to war." if(t[1] == "reject") then query = query .. "`end` = " .. os.time() .. ", `status` = 2" msg = "rejected " .. enemyName .. " invitation to war." elseif(t[1] == "cancel") then query = query .. "`end` = " .. os.time() .. ", `status` = 3" msg = "canceled invitation to a war with " .. enemyName .. "." else query = query .. "`begin` = " .. os.time() .. ", `end` = " .. (tmp:getDataInt("end") > 0 and (os.time() + ((tmp:getDataInt("begin") - tmp:getDataInt("end")) / 86400)) or 0) .. ", `status` = 1" end query = query .. " WHERE `id` = " .. tmp:getDataInt("id") if(t[1] == "accept") then doGuildAddEnemy(guild, enemy, tmp:getDataInt("id"), WAR_GUILD) doGuildAddEnemy(enemy, guild, tmp:getDataInt("id"), WAR_ENEMY) end tmp:free() db.query(query) doBroadcastMessage(getPlayerGuildName(cid) .. " has " .. msg, MESSAGE_EVENT_ADVANCE) return true end if(t[1] == "invite") then local str = "" tmp = db.getResult("SELECT `guild_id`, `status` FROM `guild_wars` WHERE `guild_id` IN (" .. guild .. "," .. enemy .. ") AND `enemy_id` IN (" .. enemy .. "," .. guild .. ") AND `status` IN (0, 1)") if(tmp:getID() ~= -1) then if(tmp:getDataInt("status") == 0) then if(tmp:getDataInt("guild_id") == guild) then str = "You have already invited " .. enemyName .. " to war." else str = enemyName .. " have already invited you to war." end else str = "You are already on a war with " .. enemyName .. "." end tmp:free() end if(str ~= "") then doPlayerSendChannelMessage(cid, "", str, TALKTYPE_CHANNEL_W, 0) return true end local frags = tonumber(t[3]) if(frags ~= nil) then frags = math.max(10, math.min(1000, frags)) else frags = 100 end local payment = tonumber(t[4]) if(payment ~= nil) then payment = math.max(100000, math.min(1000000000, payment)) tmp = db.getResult("SELECT `balance` FROM `guilds` WHERE `id` = " .. guild) local state = tmp:getID() < 0 or tmp:getDataInt("balance") < payment tmp:free() if(state) then doPlayerSendChannelMessage(cid, "", "Your guild balance is too low for such payment.", TALKTYPE_CHANNEL_W, 0) return true end db.query("UPDATE `guilds` SET `balance` = `balance` - " .. payment .. " WHERE `id` = " .. guild) else payment = 0 end local begining, ending = os.time(), tonumber(t[5]) if(ending ~= nil and ending ~= 0) then ending = begining + (ending * 86400) else ending = 0 end db.query("INSERT INTO `guild_wars` (`guild_id`, `enemy_id`, `begin`, `end`, `frags`, `payment`) VALUES (" .. guild .. ", " .. enemy .. ", " .. begining .. ", " .. ending .. ", " .. frags .. ", " .. payment .. ");") doBroadcastMessage(getPlayerGuildName(cid) .. " has invited " .. enemyName .. " to war till " .. frags .. " frags.", MESSAGE_EVENT_ADVANCE) return true end if(not isInArray({"end", "finish"}, t[1])) then return false end local status = (t[1] == "end" and 1 or 4) tmp = db.getResult("SELECT `id` FROM `guild_wars` WHERE `guild_id` = " .. guild .. " AND `enemy_id` = " .. enemy .. " AND `status` = " .. status) if(tmp:getID() ~= -1) then local query = "UPDATE `guild_wars` SET `end` = " .. os.time() .. ", `status` = 5 WHERE `id` = " .. tmp:getDataInt("id") tmp:free() doGuildRemoveEnemy(guild, enemy) doGuildRemoveEnemy(enemy, guild) db.query(query) doBroadcastMessage(getPlayerGuildName(cid) .. " has " .. (status == 4 and "mend fences" or "ended up a war") .. " with " .. enemyName .. ".", MESSAGE_EVENT_ADVANCE) return true end if(status == 4) then doPlayerSendChannelMessage(cid, "", "Currently there's no pending war truce from " .. enemyName .. ".", TALKTYPE_CHANNEL_W, 0) return true end tmp = db.getResult("SELECT `id`, `end` FROM `guild_wars` WHERE `guild_id` = " .. enemy .. " AND `enemy_id` = " .. guild .. " AND `status` = 1") if(tmp:getID() ~= -1) then if(tmp:getDataInt("end") > 0) then tmp:free() doPlayerSendChannelMessage(cid, "", "You cannot request ending for war with " .. enemyName .. ".", TALKTYPE_CHANNEL_W, 0) return true end local query = "UPDATE `guild_wars` SET `status` = 4, `end` = " .. os.time() .. " WHERE `id` = " .. tmp:getDataInt("id") tmp:free() db.query(query) doBroadcastMessage(getPlayerGuildName(cid) .. " has signed an armstice declaration on a war with " .. enemyName .. ".", MESSAGE_EVENT_ADVANCE) return true end doPlayerSendChannelMessage(cid, "", "Currently there's no active war with " .. enemyName .. ".", TALKTYPE_CHANNEL_W, 0) return true end  
    Depois poste se resolveu, por favor.
  17. Tricoder's post in (Resolvido)ajuda: nao consigo criar conta no Gesior was marked as the answer   
    Tente trocar seu createaccount.php por esse:
     
     
    Poste depois avisando se seu problema foi resolvido ou não, por favor.
  18. Tricoder's post in (Resolvido)Erro no Executável was marked as the answer   
    Teu servidor só roda com site.
  19. Tricoder's post in (Resolvido)Alavanca com potions was marked as the answer   
    Veja em data/actions/scripts se há algo relacionado a alavanca e posta o script aqui...
  20. Tricoder's post in (Resolvido)Ajuda com Mappear was marked as the answer   
    @Claudio Marcelo
    Só toma cuidado com o double post, porque é proibido no fórum.
     
    Sobre seu problema, é 32bits ou 64bits? Baixe de acordo com seu sistema e coloque na pasta de seu Servidor substituindo os arquivos: 
    opentibia-dllpack-2.0-64bit.7z
    opentibia-dllpack-2.0-32bit.7z
  21. Tricoder's post in (Resolvido)Problema em Pagseguro automatico was marked as the answer   
    Tente ativar pagamentos via HTML no painel do pagseguro, deve corrigir esse erro.
  22. Tricoder's post in (Resolvido)[DUVIDA] Script do Utito Tempo San was marked as the answer   
    Tente:
    local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, false) local condition = createConditionObject(CONDITION_ATTRIBUTES) setConditionParam(condition, CONDITION_PARAM_TICKS, 10000) setConditionParam(condition, CONDITION_PARAM_SKILL_DISTANCEPERCENT, 150) setConditionParam(condition, CONDITION_PARAM_BUFF, true) setCombatCondition(combat, condition) local speed = createConditionObject(CONDITION_PARALYZE) setConditionParam(speed, CONDITION_PARAM_TICKS, 10000) setConditionFormula(speed, -0.7, 56, -0.7, 56) setCombatCondition(combat, speed) function onCastSpell(cid, var) return doCombat(cid, combat, var) end
  23. Tricoder's post in (Resolvido)Bug House :/ was marked as the answer   
    Você tem algum arquivo de cleanhouses? Delete-o.
  24. Tente:
    Abra htdocs > createaccount.lua e procure por "plain_world_box".
    Substitua plain por sha1
  25. Tricoder's post in (Resolvido)Como configurar o (Server Info) was marked as the answer   
    Vá na pasta do seu website e procure por serverinfo.php, depois só abrir, dar CTRL+F e procurar o que você quer.
    Pra alterar os downloads é só você abrir o arquivo downloads.php.

Informação Importante

Confirmação de Termo