Histórico de Curtidas
-
grillo1995 deu reputação a Fir3element em Erro TFS 0.4 rev3777 ERRO GRAVISSIMOCostuma ser falta de memória ram, ou uma configuração no mysql: max_allowed_packet
Fica no arquivo my.ini, tenta encontrar ai e vê qual valor tá usando.
-
grillo1995 deu reputação a Fir3element em Erro TFS 0.4 rev3777 ERRO GRAVISSIMOmuda para 64M e reinicia o mysql
-
grillo1995 deu reputação a Fir3element em Erro TFS 0.4 rev3777 ERRO GRAVISSIMOplayer.cpp, função Player::getAttackSpeed()
você teria que colocar o valor da skill fist no meio dessa fórmula, pra pegar o valor usa essa função: getSkill(SKILL_FIST, SKILL_LEVEL)
-
grillo1995 deu reputação a Fir3element em Erro TFS 0.4 rev3777 ERRO GRAVISSIMOstamina regen no treiner (coloca actionid no tile):
STAMINA_MESSAGE = "You won 5 minutes of stamina." STAMINA_TIME = 60 * 1000 STAMINA_EFFECT = 12 STAMINA_ADD = 5 function event(cid) if isPlayer(cid) then doPlayerAddStamina(cid, STAMINA_ADD) doPlayerSendTextMessage(cid, 27, STAMINA_MESSAGE) eventCheck = addEvent(event, STAMINA_TIME, cid) end end function onStepIn(cid, item, position, fromPosition, pos) if isPlayer(cid) then doPlayerSendTextMessage(cid, 27, "Every 1 minute of training you gain 5 minutes of stamina.") eventCheck = addEvent(event, STAMINA_TIME, cid) end return true end function onStepOut(cid, item, position, fromPosition) if isPlayer(cid) then doPlayerSendTextMessage(cid, 27, "You left the training area.") stopEvent(eventCheck) end return true end
em pz: https://gist.github.com/vankk/ebd1377d52b3b92028ecad632e949d0c
-
grillo1995 deu reputação a Vodkart em Script para Boss Room - ACTIONID para Tileposta o codigo ai pra mim ver como ficou.
eu ja tinha terminado o codigo de tarde no escritorio onde eu trabalho, mas dá nada.
-
grillo1995 deu reputação a Vodkart em Pedido/bug comando /guildbcfunction getGuildMembers(GuildId) local players,query = {},db.getResult("SELECT `name` FROM `players` WHERE `rank_id` IN (SELECT `id` FROM `guild_ranks` WHERE `guild_id` = " .. GuildId .. ");") if (query:getID() ~= -1) then repeat table.insert(players,query:getDataString("name")) until not query:next() query:free() end return #players > 0 and players or false end function onSay(cid, words, param, channel) local time, storage = 10,786974 local min_player = 20 local level_min = 250 if getPlayerGuildId(cid) <= 0 or getPlayerGuildLevel(cid) < GUILDLEVEL_LEADER then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "você precisa ser lider de uma guild") return true elseif #getGuildMembers(getPlayerGuildId(cid)) < min_player then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Sua guild precisa ter no min "..min_player.." players") return true elseif getPlayerLevel(cid) < level_min then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Voce precisa ser level "..min_player.."ou mais para mandars mensagens") return true elseif getPlayerStorageValue(cid, storage) - os.time() > 0 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You need to wait " .. os.time() - getPlayerStorageValue(cid, storage) .. " seconds.") return true end for _, pid in ipairs(getPlayersOnline()) do if(getPlayerGuildLevel(pid) == GUILDLEVEL_LEADER) then doPlayerSendTextMessage(pid, MESSAGE_EVENT_ADVANCE, getCreatureName(cid) .. ": " .. param) end end doPlayerSendTextMessage(cid, MESSAGE_EVENT_ADVANCE, "Mensagem enviada com sucesso") setPlayerStorageValue(cid, storage, os.time()+time*60) return true end
-
grillo1995 deu reputação a Vodkart em Pedido/bug comando /guildbc@grillo1995 é que tem um bug no forum nessas code box.
copia daqui o código:
https://pastebin.com/raw/YJkD17pD