Tudo que Magalhaes92 postou
-
Problema com npc e decay
Sim, Esta registrado em Movements !!!
-
Problema com npc e decay
Então galera, tenho um item no meu ot de tempo... ele some quando o tempo acaba (decay) O grande problema e que quando se compra o item com decay por NPC o tempo nao acaba o decay nao funciona. Alguem tem um soluçao pra isso ? pra mecher no script... nas sourcs seila... Tfs 0.4 ----------------------------------- Acabei de perceber que so decay quando o personagem reloga. O que deve ser em ?
-
TFS 0.4 3777
O packetsPerSecond Tava 1000 huashuahusa
-
Dash tfs 0.4
Tbm to querendo !!!
-
Emblema Dourado (Escudinho)
Galera, como e nome do Emblema (Escudinho) dourado que tem na tfs ? Tem o do war system que e vermelho, verde e azul. Porem tem um dourado. Como e nome mesmo ? Eu tinha botar em em um Npc, porem esqueci e Deletei o Npc e esqueci o nome kkkk. E se alguém sabe, como faço pra puxar a função dele. Agradeço desde de já.
-
Spells em pz
Nao deixar usar essa spells em pz local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, 10) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY) setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1497) local arr = { { 1, 1, 1, 1, 1, 1, 1, }, { 1, 0, 0, 0, 0, 0, 1, }, { 1, 0, 0, 0, 0, 0, 1, }, { 1, 0, 0, 2, 0, 0, 1, }, { 1, 0, 0, 0, 0, 0, 1, }, { 1, 0, 0, 0, 0, 0, 1, }, { 1, 1, 1, 1, 1, 1, 1, }, } local area = createCombatArea(arr) setCombatArea(combat, area) function onCastSpell(cid, var) return doCombat(cid, combat, var) end
-
ERRO AO COMPILAR
-
Visual S. Qual dessa opções marcar ?
-
TFS 0.4 3777
Eitaa, foi oq eu imaginava. O jeito e tentar usar o OTX 2. Estou ate com uma Source aqui. Porem ta dando erro ao compilar no Dev. O jeito vai ser ter q me virar no Visual S.
-
TFS 0.4 3777
Huuu. Entendi man ! Estou usando Web Lara. A galera sempre fala dessa vps que comecei a usar. Mas do nada batendo uns travamentos que pensei q era a TFS (SRC) Que estava com algum bug. Mas vllw pela dica.
-
TFS 0.4 3777
Galera alguém sabe de a TFS 0.4 3777 tem algum de ''lag'' ''crash'' ''travamentos'' ou algo parecido ?? Pq ja troquei de vps 4 vezes e fica no lag do carambaaaaaaaaaa. As vezes fica suave, as vezes bate um ''lagzinho'' chato da poxa. das 4, 2 vps foram BR e nao era pra ta assim, Fica em um ''trava trava'' do caramba velho. Alguem sabe se tem algum bug nessa tfs 3777, e q se tem se da pra resolver. Pois editei umas coisas nela e nao queria abandona-la Obs: Estou usando as libs certa dela, e o ot ta quase sem scripts ''editáveis'' (Retirei para nao da erros''
-
STORAGE NO SCRIPT
-
STORAGE NO SCRIPT
Nao Rolou nao amigo =[
-
STORAGE NO SCRIPT
TFS 0.4 Galera teria como alguem adicionar storages no comando /cast on e /cast off. Para que eu possa complementar com um bonus de exp ao ativar e o cast. No meu ot so tem um unico script do cast que é em talk... Script: function onSay(cid, words, param, channel) local tmp = param:explode(" ") if not(tmp[1]) then return doPlayerSendCancel(cid, "Parameters needed") end if tmp[1] == "on" then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Cast has started.") doPlayerSetCastState(cid, true) doPlayerSave(cid) elseif getPlayerCast(cid).status == false then return doPlayerSendCancel(cid, "Your cast has to be running for this action.") elseif tmp[1] == "off" then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Cast has ended.") doPlayerSetCastState(cid, false) doPlayerSave(cid) elseif isInArray({"pass", "password", "p"}, tmp[1]) then if not(tmp[2]) then return doPlayerSendCancel(cid, "You need to set a password") end if tmp[2]:len() > 10 then return doPlayerSendCancel(cid, "The password is too long. (Max.: 10 letters)") end if tmp[2] == "off" then doPlayerSetCastPassword(cid, "") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Cast password has been removed.") else doPlayerSetCastPassword(cid, tmp[2]) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Cast password was set to: " .. tmp[2]) end elseif isInArray({"desc", "description", "d"}, tmp[1]) then local d = param:gsub(tmp[1]..(tmp[2] and " " or ""), "") if not(d) or d:len() == 0 then return doPlayerSendCancel(cid, "You need to specify a description.") end if d:len() > 50 then return doPlayerSendCancel(cid, "The description is too long. (Max.: 50 letters)") end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Cast description was set to: ") doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, d) doPlayerSetCastDescription(cid, d) elseif tmp[1] == "ban" then if not(tmp[2]) then return doPlayerSendCancel(cid, "Specify a spectator that you want to ban.") end if doPlayerAddCastBan(cid, tmp[2]) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Spectator '" .. tmp[2] .. "' has been banned.") else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Spectator '" .. tmp[2] .. "' could not be banned.") end elseif tmp[1] == "unban" then if not(tmp[2]) then return doPlayerSendCancel(cid, "Specify the person you want to unban.") end if doPlayerRemoveCastBan(cid, tmp[2]) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Spectator '" .. tmp[2] .. "' has been unbanned.") else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Spectator '" .. tmp[2] .. "' could not be unbanned.") end elseif param == "bans" then local t = getCastBans(cid) local text = "Cast Bans:\n\n" for k, v in pairs(t) do text = text .. "*" .. v.name .. "\n" end if text == "Cast Bans:\n\n" then text = text .. "No bans." end doShowTextDialog(cid, 5958, text) elseif tmp[1] == "mute" then if not(tmp[2]) then return doPlayerSendCancel(cid, "Specify a spectator that you want to mute.") end if doPlayerAddCastMute(cid, tmp[2]) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Spectator '" .. tmp[2] .. "' has been muted.") else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Spectator '" .. tmp[2] .. "' could not be muted.") end elseif tmp[1] == "unmute" then if not(tmp[2]) then return doPlayerSendCancel(cid, "Specify the person you want to unmute.") end if doPlayerRemoveCastMute(cid, tmp[2]) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Spectator '" .. tmp[2] .. "' has been unmuted.") else doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Spectator '" .. tmp[2] .. "' could not be unmuted.") end elseif param == "mutes" then local t = getCastMutes(cid) local text = "Cast Mutes:\n\n" for k, v in pairs(t) do text = text .. "*" .. v.name .. "\n" end if text == "Cast Bans:\n\n" then text = text .. "No mutes." end doShowTextDialog(cid, 5958, text) elseif param == "viewers" then local t = getCastViewers(cid) local text, count = "Cast Viewers:\n#Viewers: |COUNT|\n\n", 0 for _,v in pairs(t) do count = count + 1 text = text .. "*" .. v.name .."\n" end if text == "Cast Viewers:\n#Viewers: |COUNT|\n\n" then text = "Cast Viewers:\n\nNo viewers." end text = text:gsub("|COUNT|", count) doShowTextDialog(cid, 5958, text) elseif param == "status" then local t, c = getCastViewers(cid), getPlayerCast(cid) local count = 0 for _,v in pairs(t) do count = count + 1 end doShowTextDialog(cid, 5958, "Cast Status:\n\n*Viewers:\n " .. count .. "\n*Description:\n "..(c.description == "" and "Not set" or c.description).."\n*Password:\n " .. (c.password == "" and "Not set" or "Set - '"..c.password.."'")) elseif param == "update" then if getPlayerStorageValue(cid, 656544) > os.time() then return doPlayerSendCancel(cid, "You used this command lately. Wait: " .. (getPlayerStorageValue(cid, 656544)-os.time()) .. " sec.") end doPlayerSave(cid) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "The cast settings have been updated.") doPlayerSetStorageValue(cid, 656544, os.time()+60) end return true end
-
Teleport player
Deu erro, desculpa a demora pra responder.
-
Anti Dupe
Poderia passar pf?
-
DASH TFS 0.4
ALGUÉM PODE PASSAR O CODIGO DO DASH PARA TFS 0.4 PF
-
Cast System - TFS 0.4
to querendo tbm
-
Poder usar o items so depois que acabar
Isso... ele usa o item, porem n esta adicioando ! tudo ao CORRETO ! Mas a logica seria assim... o player usou o item 1 ves, esta com a storage quando ele fosse usar o item novamente, nao seria possivel da user, ia da uma msg dizendo que esta em uso. ( COMO DA POTIONS DE EXP, feita em actions ) Antedeu ? Sera q vc n poderia adaptar isso ? expo1.lua UP
-
Poder usar o items so depois que acabar
ta dando pra usar o item mais de uma vez ainda =[ Na vdd nao esta adicionando o dias de vip, porem o item esta sumindo, o certo seria nao da user no item (n sumir) e nao adicionar os dias de vip ( a vip nao ta adicionando )
-
Poder usar o items so depois que acabar
Se possível, infirma-lo que tem dias de vip e q nao da pra usar o item.
-
Poder usar o items so depois que acabar
Nao nao... eu quero que ao usar so de pra usar quando o (''efeito'' Dias) acabarem ! o item se encontra na bp.
-
Poder usar o items so depois que acabar
Sem erros e funcionando. Porem esta dando pra usar o items quantas vezes quiser.
-
Poder usar o items so depois que acabar
-
Poder usar o items so depois que acabar
Eu uso esse system de vip por action. Mas gostaria que o player so podesse usar o items novamente quando os dias de vip dele acabar. Alguem pode ajudar pf. function onUse(cid, item, fromPosition, itemEx, toPosition) local config={ removeOnUse = "yes" -- remover quando usar ("yes" or "no") } local days = 1 -- dias que serão adicionados local daysvalue = days * 24 * 60 * 60 local storageplayer = getPlayerStorageValue(cid, 23569) local timenow = os.time() if getPlayerStorageValue(cid, 23569) - os.time() <= 0 then time = timenow + daysvalue else time = storageplayer + daysvalue end doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Foram Adicionados ".. days .." Dia de Vip Donate no Seu Character.") setPlayerStorageValue(cid, 23569, time) local quantity = math.floor((getPlayerStorageValue(cid, 23569) - timenow)/(24 * 60 * 60)) doSendMagicEffect(getPlayerPosition(cid), math.random(30,30)) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você Tem ".. quantity .." Dias de Vip Donate Restantes.") if (config.removeOnUse == "yes") then doRemoveItem(item.uid, 1) end return TRUE end