Tudo que vine96 postou
- Baiak-PvP [8.60] - Watch System + Cast Look
- Baiak-PvP [8.60] - Watch System + Cast Look
- Baiak-PvP [8.60] - Watch System + Cast Look
- Gesior - Baiak-PvP 2020
-
Gesior - Classic-Yurots 2019
para testar no win7 x64 qual versão do xampp posso usar para rodar sem erros?
-
Exercise Weapons 1.2
não funcional =/
- Animated Outfits 12.31
- [10.a+] Casino Script v3.0
-
[Problema] Critical / Dodge System
Não existe a função: function onStatsChange no tfs 1.3 nem no 1.2
-
[Problema] Critical / Dodge System
também estou querendo saber kkk HEEELPP
-
Ajuda Script item com descrição do dono
@Vodkart testei aqui e agora ele não remove o dinheiro e não dá a descrição =/ Tá dando esse erro aqui no distro: Lua Script Error: [Action Interface] data/actions/scripts/newscripts/attribute.lua:onUse data/actions/scripts/newscripts/attribute.lua:23: attempt to call method 'setAttribute' (a nil value) stack traceback: [C]: in function 'setAttribute' data/actions/scripts/newscripts/attribute.lua:23: in function <data/actions/scripts/newscripts/attribute.lua:6> Parece que essa linha ele não tá reconhecendo: var:setAttribute(ITEM_ATTRIBUTE_DESCRIPTION, "Este item pertence ao jogador "..player:getName())
- (Resolvido)Numero de items em um sqm
-
Ajuda Script item com descrição do dono
Eaí pessoal beleza? então, como meu servidor é tfs 1.3 e as funções é bem diferente das antigas. Estou estudando bastante a linguagem lua em tfs 1.3. Já fiz vários scripts simples porém esse não estou conseguindo fazer.. alguém pode me ajudar? e se conseguir arrumar me diga o que faltou... O script consiste no seguinte: o player tem um item, e ao colocar ele em uma determinada posição e puxar a alavanca ele vai dizer na descrição do item assim: esse item pertence a:(nome do player). Bom vamos ao script. O que eu já fiz nele? 1º - Checagem para o player usar somente a cada 10secs evitando assim spam -100% 2º - Preço cobrado pelo serviço: o player só pode puxar a alavanca se tiver tanto de dinheiro - 100% 3º - Transform os ids para ter a animação da alavanca - 100% 4º - Animações e mensagens de erro caso não tenha os itens necessários ou precise esperar o tempo - 100% O que não estou conseguindo fazer funcionar: Checar se o item está na posição desejada Dar a descrição no item Base: TFS 1.3 OTX 3.10 Aqui vai o código: local money = 2160 local quantmoney = 100 local sto = 13456 local time = 10 function onUse(player, item, fromPosition, target, toPosition, isHotkey, param, cid) if player:getStorageValue(sto) > os.time() then player:sendCancelMessage("You need to wait "..player:getStorageValue(sto) - os.time().." seconds to use this lever again.") player:getPosition():sendMagicEffect(3) return true end if player:getItemCount(money) < quantmoney then player:sendCancelMessage("You dont have "..quantmoney.." pieces of "..getItemName(money)..".") player:getPosition():sendMagicEffect(3) return true end if item.itemid == 1945 then item:transform(1946) elseif item.itemid == 1946 then item:transform(1945) end local itemdesc = item:getPosition({x= 32632, y= 32476, z= 7, stackpos= 1}) if itemdesc.itemid == false then player:sendCancelMessage("You need take the item in correct position.") player:getPosition():sendMagicEffect(3) return true end item:setAttribute(itemdesc.uid, ITEM_ATTRIBUTE_DESCRIPTION, "Este item pertence ao jogador "..player:getName()) player:removeItem(money, quantmoney) player:getPosition():sendMagicEffect(30) player:setStorageValue(sto, os.time()+time) return true end Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
-
[Utilitário] OTScript Live TFS 1.0
seria bom um com os do tfs 1.3 xD
-
[TFS 1.x] Talkactions: !aol / !bless
alguém sabe como por para somente se o player estiver em area pz poder usar o comando? já fucei em tudo nas funções do tfs 1.3 e não acho kk
-
Char não desloga quando da exit no treiner!! TFS 1.3
@Sir Andrey Não é isso
-
Char não desloga quando da exit no treiner!! TFS 1.3
Olá pessoal, tenho um global full OTX 10.75. Base: Tfs 1.3 O Erro que está acontecendo é o seguinte, o char não desloga nem por um raio no trainer! O sistema de kick está funcionando, se você estiver em uma hunt e ficar sem se mecher por 15 min ele te desloga e dentro do pz também. Porém no trainer ele não desloga por nada. Tem o Idle no creaturescripts.xml: <event type="think" name="Idle" event="script" value="idle.lua"/> tem o arquivo idle.lua: local config = { idleWarning = getConfigValue('idleWarningTime'), idleKick = getConfigValue('idleKickTime') } function onThink(cid, interval) if(getTileInfo(getCreaturePosition(cid)).nologout or getCreatureNoMove(cid) or getPlayerCustomFlagValue(cid, PlayerCustomFlag_AllowIdle)) then return true end local idleTime = getPlayerIdleTime(cid) + interval doPlayerSetIdleTime(cid, idleTime) if(config.idleKick > 0 and idleTime > config.idleKick) then doRemoveCreature(cid) elseif(config.idleWarning > 0 and idleTime == config.idleWarning) then local message = "You have been idle for " .. math.ceil(config.idleWarning / 60000) .. " minutes" if(config.idleKick > 0) then message = message .. ", you will be disconnected in " local diff = math.ceil((config.idleWarning - config.idleKick) / 60000) if(diff > 1) then message = message .. diff .. " minutes" else message = message .. "one minute" end message = message .. " if you are still idle" end doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, message .. ".") end return true end Tem no login.lua do creaturescripts: local events = { 'ElementalSpheresOverlords', 'BigfootBurdenVersperoth', 'Razzagorn', 'Shatterer', 'Zamulosh', 'The Hunger', 'The Rage', 'Eradicator', 'Eradicator1', 'Rupture', 'World Devourer', 'Tarbaz', 'Shulgrax', 'Ragiaz', 'Plagirath', 'Mazoran', 'Destabilized', 'BigfootBurdenWiggler', 'SvargrondArenaKill', 'NewFrontierShardOfCorruption', 'NewFrontierTirecz', 'ServiceOfYalaharDiseasedTrio', 'ServiceOfYalaharAzerus', 'ServiceOfYalaharQuaraLeaders', 'InquisitionBosses', 'InquisitionUngreez', 'KillingInTheNameOfKills', 'KillingInTheNameOfKillss', 'KillingInTheNameOfKillsss', 'MastersVoiceServants', 'SecretServiceBlackKnight', 'ThievesGuildNomad', 'WotELizardMagistratus', 'WotELizardNoble', 'WotEKeeper', 'Maxxed', 'WotEBosses', 'WotEZalamon', 'WarzoneThree', 'PlayerDeath', 'AdvanceSave', 'bossesWarzone', 'AdvanceRookgaard', 'PythiusTheRotten', 'DropLoot', 'Yielothax', 'BossParticipation', 'Energized Raging Mage', 'Raging Mage', 'modalMD1', 'VibrantEgg', 'DeathCounter', 'KillCounter', 'bless1', 'lowerRoshamuul', 'SpikeTaskQuestCrystal', 'SpikeTaskQuestDrillworm', 'petlogin', 'Idle', 'petthink', 'UpperSpikeKill', 'MiddleSpikeKill', 'LowerSpikeKill' } Tem no config.lua: kickIdlePlayerAfterMinutes = 15 idleWarningTime = 10 * 60 * 1000 idleKickTime = 15 * 60 * 1000 E mesmo assim o char não desloga do trainer se der exit só fora do treiner! Não tem tile no logout, não tem movements de no logout '-' tem esse script de movements no tile dos trainers que é de encher a stamina:] function onStepIn(creature, item, position, fromPosition) if creature:isPlayer() then creature:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'Attack the Monk and you will win 1 of stamina every 2 minutes training here.') creature:stopLiveCast() end return true end Porém eu já tirei ele para testar e continuou a mesma coisa, sem deslogar!
- [Link Quebrado]Pokémon Mythology
- [TFS 1.x] TK Vip System
- [Sistema de Ticket] Atendimento - Gesior Acc
-
[TFS 1.x] TK Vip System
como faço para usar o comando !checkvip ? tentei de tudo que é maneira e não dá kk segue o script que estou utilizando: function onSay(cid, words, param) local player = Player(cid) local days = player:getVipDays() if days == 0 then player:sendCancelMessage('You do not have any vip days.') else player:sendCancelMessage(string.format('You have %s vip day%s left.', (days == 0xFFFF and 'infinite amount of' or days), (days == 1 and '' or 's'))) end return false end Assim não funciona =/
- Mining System
- [Link Quebrado]Pokémon Mythology
-
Double XP TFS 1.2
para funcionar vocês precisam adicionar esse código no arquivo "player.lua" (fica na pasta events/scripts) if self:getStorageValue(1234) >= os.time() then exp = exp * 2 end logo abaixo de: function Player:onGainExperience(source, exp, rawExp)
-
(Resolvido)Double Exp Item para tfs 1.x
totalmente funcional, que delicia cara hahah, testado em tfs 1.3 OTX 3.10