Tudo que ciroc postou
-
(Resolvido)[ERRO] Distro ao Conectar-se
- Bolão do Jogo [NOVO] - Ganhe um Vps Grátis! - [LNetworks/4Youstart]
Brasil 4 x 1 Peru- Bolão do Jogo - Ganhe um Vps Grátis! - [LNetworks/4Youstart]
- GLOBAL {TIBIAFACE} v.23 10.82
- Configurar Trainner Offline
é so olhar no fórum ja respondi uns 30 posts seu e você nem falou nada esse script de treiner off ai mesmo fui eu que passei e você nem se quer respondeu o post você é um inutil mlk qr passa ot 1.0 pra 1.2 e não entende nada nem de baiak seu nojento escroto vai aprende a fazer algo invés de fica criando 400 post em fórum pq não sabe nada.- Configurar Trainner Offline
Ajudem esse mlk não ele fica fazendo 50 posts ai voce ajuda ele nunca da rep nem agradece e faz 50 post por segundo.- Executável fechando sozinho
está certo a db? está usando xampp?- [v32] GlobalFull 11/12 - New Asuras, Falcons, Warzones 4,5,6 . (Updates Frequentes)
- TREINER OFFLINE NÃO FUNCIONA
em actions você poem isso: local statues = { [18488] = SKILL_SWORD, [18489] = SKILL_AXE, [18490] = SKILL_CLUB, [18491] = SKILL_DISTANCE, [18492] = SKILL_MAGLEVEL } function onUse(player, item, fromPosition, target, toPosition, isHotkey) local skill = statues[item:getId()] if not player:isPremium() then player:sendTextMessage(MESSAGE_STATUS_SMALL, Game.getReturnMessage(RETURNVALUE_YOUNEEDPREMIUMACCOUNT)) return true end if player:isPzLocked() then return false end player:setOfflineTrainingSkill(skill) player:remove() return true end em creaturescripts.xml: <event type="login" name="OfflineTraining" script="others/offlinetraining.lua" /> em offlinetraining.lua: function onLogin(player) local lastLogout = player:getLastLogout() local offlineTime = lastLogout ~= 0 and math.min(os.time() - lastLogout, 86400 * 21) or 0 local offlineTrainingSkill = player:getOfflineTrainingSkill() if offlineTrainingSkill == -1 then player:addOfflineTrainingTime(offlineTime * 1000) return true end player:setOfflineTrainingSkill(-1) if offlineTime < 600 then player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You must be logged out for more than 10 minutes to start offline training.") return true end local trainingTime = math.max(0, math.min(offlineTime, math.min(43200, player:getOfflineTrainingTime() / 1000))) player:removeOfflineTrainingTime(trainingTime * 1000) local remainder = offlineTime - trainingTime if remainder > 0 then player:addOfflineTrainingTime(remainder * 1000) end if trainingTime < 60 then return true end local text = "During your absence you trained for" local hours = math.floor(trainingTime / 3600) if hours > 1 then text = string.format("%s %d hours", text, hours) elseif hours == 1 then text = string.format("%s 1 hour", text) end local minutes = math.floor((trainingTime % 3600) / 60) if minutes ~= 0 then if hours ~= 0 then text = string.format("%s and", text) end if minutes > 1 then text = string.format("%s %d minutes", text, minutes) else text = string.format("%s 1 minute", text) end end text = string.format("%s.", text) player:sendTextMessage(MESSAGE_EVENT_ADVANCE, text) local vocation = player:getVocation() local promotion = vocation:getPromotion() local topVocation = not promotion and vocation or promotion local updateSkills = false if isInArray({SKILL_CLUB, SKILL_SWORD, SKILL_AXE, SKILL_DISTANCE}, offlineTrainingSkill) then local modifier = topVocation:getAttackSpeed() / 1000 updateSkills = player:addOfflineTrainingTries(offlineTrainingSkill, (trainingTime / modifier) / (offlineTrainingSkill == SKILL_DISTANCE and 4 or 2)) elseif offlineTrainingSkill == SKILL_MAGLEVEL then local gainTicks = topVocation:getManaGainTicks() * 2 if gainTicks == 0 then gainTicks = 1 end updateSkills = player:addOfflineTrainingTries(SKILL_MAGLEVEL, trainingTime * (vocation:getManaGainAmount() / gainTicks)) end if updateSkills then player:addOfflineTrainingTries(SKILL_SHIELD, trainingTime / 4) end return true end se ajudei, rep+- Cast p/ 10.81
qual seu tfs? ele possui o cast se não possuir não adianta criar só o comando hahahah- Dark Rodo
- Executável fechando sozinho
Você botou para mysql e configurou tudo certo a db e etc? pois algo deve estar configurado errado, mande a parte da db do seu config.lua.- Bug quando morre
Posição do templo está errada confere a posição do templo no remers nas towns se estão certa e arruma no config.php do site a mesma posição - Bolão do Jogo [NOVO] - Ganhe um Vps Grátis! - [LNetworks/4Youstart]
Informação Importante
Confirmação de Termo