-
Total de itens
95 -
Registro em
-
Última visita
-
Dias Ganhos
2
Histórico de Reputação
-
UntFrc recebeu reputação de giots em Depot - DP (8.60)
Scan: AQUI
Download: Depot.rar
Imagens:
Depot.rar
-
UntFrc recebeu reputação de Gabriel Netto em Depot - DP (8.60)
Scan: AQUI
Download: Depot.rar
Imagens:
Depot.rar
-
UntFrc recebeu reputação de Administrador em Ilha dos GMs - 8.60
Para quem tem OT e quer um lugar bacana pra reunir os GMs, puxar player, etc; ta aí uma pequena ilha com um "resort".
Download: AQUI
Scan: AQUI
Imagens:
-
UntFrc recebeu reputação de Gabriel Netto em Distrito de shops/NPCs com depot - 8.60
Distrito de shops/NPCs com depot.
Download: AQUI
Scan: AQUI
Imagens:
-
UntFrc recebeu reputação de kttallan em Santuario Mistico (Cave/Hunt) 8.60
Santuário Mistico
Download: Aqui
Scan: Aqui
Imagens:
-
UntFrc deu reputação a miguel223 em Action - Item X que deixa com bless infinita
Bom, crie um arquivo .lua em actions/scripts e adicione:
function onUse(cid, item, frompos, item2, topos) if getPlayerStorageValue(cid, 14450) == -1 then doPlayerAddBlessing(cid, 1) doPlayerAddBlessing(cid, 2) doPlayerAddBlessing(cid, 3) doPlayerAddBlessing(cid, 4) doPlayerAddBlessing(cid, 5) doPlayerRemoveItem(cid, ITEM, QUANTIDADE) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Agora voce possui bless infinita!") setPlayerStorageValue(cid, 14450, 1) elseif getPlayerStorageValue(cid, 14450) == 1 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Voce ja possui bless infinita!") end end Agora adicione, em actions.xml, a linha: <action itemid="ITEM" event="script" value="NOME DO ARQUIVO .LUA"/> Após isso, em creaturescripts/script, crie um arquivo .lua e adicione: function onLogin(cid) if getPlayerStorageValue(cid, 14450) == 1 then doPlayerAddBlessing(cid, 1) doPlayerAddBlessing(cid, 2) doPlayerAddBlessing(cid, 3) doPlayerAddBlessing(cid, 4) doPlayerAddBlessing(cid, 5) end end Em creaturescripts.xml, adicione: <event type="login" name="InfiniteBless" event="script" value="ARQUIVO.lua"/> Em creaturescripts/scripts/login.lua, adicione: registerCreatureEvent(cid, "InfiniteBless")
-
UntFrc deu reputação a miguel223 em (Action) Item que da dinheiro
Crie um arquivo .lua em actions/scripts e adicione:
function ingot(cid) setPlayerStorageValue(cid, 15971, -1) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Voce ja pode receber 10 gold ingots novamente!") end function onUse(cid, item, frompos, item2, topos) if getPlayerStorageValue(cid,15971) <= 0 then doPlayerAddItem(cid,9971,10) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Voce recebeu 10 gold ingots! Clique no item novamente em 24 horas para receber a recompensa de novo.") setPlayerStorageValue(cid, 15971, 1) addEvent(ingot,24*60*60*1000,cid) elseif getPlayerStorageValue(cid,15971) == 1 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Voce ja pegou seus 10 gold ingots diarios! ") end return TRUE end Agora vá em actions > actions.xml e adicione: action itemid="ITEMID" event="script" value="NOME DO ARQUIVO LUA.lua"/>
-
UntFrc recebeu reputação de Beeki em VIP by Mock com time bugada "156648877 time left"
Foi isso mesmo que eu fiz
-
UntFrc deu reputação a Danihcv em Bug no Shopsystem Gesior (não entrega item em quantidade)
Vá em data\globalevents\scripts e substitua o seu shop.lua por esse:
local SHOP_MSG_TYPE = MESSAGE_EVENT_ORANGE local SQL_interval = 30 function onThink(interval, lastExecution) local result_plr = db.getResult("SELECT * FROM z_ots_comunication WHERE `type` = 'login';") if(result_plr:getID() ~= -1) then while(true) do local id = tonumber(result_plr:getDataInt("id")) local action = tostring(result_plr:getDataString("action")) local delete = tonumber(result_plr:getDataInt("delete_it")) local cid = getCreatureByName(tostring(result_plr:getDataString("name"))) if isPlayer(cid) then local itemtogive_id = tonumber(result_plr:getDataInt("param1")) local itemtogive_count = tonumber(result_plr:getDataInt("param2")) local container_id = tonumber(result_plr:getDataInt("param3")) local container_count = tonumber(result_plr:getDataInt("param4")) local add_item_type = tostring(result_plr:getDataString("param5")) local add_item_name = getItemNameById(tonumber(result_plr:getDataInt("param1"))) local add_item_count = tostring(result_plr:getDataInt("param2")) local received_item = 0 local full_weight = 0 if add_item_type == 'container' then container_weight = getItemWeightById(container_id, 1) if isItemRune(itemtogive_id) == TRUE then items_weight = container_count * getItemWeightById(itemtogive_id, 1) else items_weight = container_count * getItemWeightById(itemtogive_id, itemtogive_count) end full_weight = items_weight + container_weight else full_weight = getItemWeightById(itemtogive_id, itemtogive_count) if isItemRune(itemtogive_id) == TRUE then full_weight = getItemWeightById(itemtogive_id, 1) else full_weight = getItemWeightById(itemtogive_id, itemtogive_count) end end local free_cap = getPlayerFreeCap(cid) if full_weight <= free_cap then if add_item_type == 'container' then local new_container = doCreateItemEx(container_id, 1) local iter = 0 while iter ~= container_count do doAddContainerItem(new_container, itemtogive_id, itemtogive_count) iter = iter + 1 end received_item = doPlayerAddItemEx(cid, new_container) else local new_item = doCreateItemEx(itemtogive_id, itemtogive_count) doItemSetAttribute(new_item, "description", "This item can only be used by the player ".. getPlayerName(cid) .."!") doItemSetAttribute(new_item, "aid", getPlayerGUID(cid)+10000) received_item = doPlayerAddItemEx(cid, new_item) end if received_item == RETURNVALUE_NOERROR then doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, 'Você recebeu >> '.. add_item_count ..' '.. add_item_name ..' << do Hospice shop.') db.executeQuery("DELETE FROM `z_ots_comunication` WHERE `id` = " .. id .. ";") db.executeQuery("UPDATE `z_shop_history_item` SET `trans_state`='realized', `trans_real`=" .. os.time() .. " WHERE id = " .. id .. ";") else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_count ..' '.. add_item_name ..' << from Hospice shop is waiting for you. Please make place for this item in your backpack/hands and wait about '.. SQL_interval ..' seconds to get it.') end else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_count ..' '.. add_item_name ..' << from Hospice shop is waiting for you. It weight is '.. full_weight ..' oz., you have only '.. free_cap ..' oz. free capacity. Put some items in depot and wait about '.. SQL_interval ..' seconds to get it.') end end if not(result_plr:next()) then break end end result_plr:free() end return true end
OBS: NÃO ESQUEÇA DE FAZER BACKUP DO SEU SHOP.LUA ATUAL!
-
UntFrc deu reputação a Beeki em VIP by Mock com time bugada "156648877 time left"
Porque não usar o sistema de Premium Account que já vem integrado no TFS? É simples e fácil de trabalhar, e faz tudo e um pouco mais, em relação a estes scripts.
-
-
UntFrc deu reputação a julhinhuu em [PEDIDO] Adicionar exaustão ao script
Tenta assim:
local config = { remove_on_use = false, -- Remover ao usar? min_heal = 1000, -- Mínimo que pode healar max_heal = 1000 -- Máximo que pode healar } function onUse(cid, item) if (getPlayerStorageValue(cid, 11577) >= os.time()) then doCreatureSay(cid, "Você só poderá usar novamente em ".. (getPlayerStorageValue(cid, 11577)-os.time()+(0)) .." segundos. ", TALKTYPE_ORANGE_1) return TRUE end doCreatureAddHealth(cid, math.random(config.min_heal, config.max_heal)) setPlayerStorageValue(cid,11577,os.time()+15) doCreatureSay(cid, "Aaah, restauring...", 19) if (config.remove_on_use) then doRemoveItem(item.uid, 1) end return true end Creio que agora vá.
-
UntFrc recebeu reputação de SillyBoy em [PEDIDO] Mensagem aparecer para o player quando ele alcançar certo level
Eai pessoal. Bom, eu estou querendo um script que quando o player pega X level apareça uma mensagem na tela para ele, igual aquela quando se pega level 8 no global e aparece avisando que você já pode zarpar de rook.
Agradeço desde já quem puder me ajudar.
-
UntFrc deu reputação a Yan Liima em [AJUDA] Item que da TP pro templo.
Ta ai a script perfeitinha que você queria hehe, até dei uma melhorada.
local scroll = 6119 -- ID do itemlocal temple = {x=155, y=52, z=7} -- Lugar onde será teleportadolocal level = 25 -- Level minimo para poder usar o itemlocal pz = true -- players precisam estar em protection zone para usar? (true ou false)local storage = 212290 -- Storage para dar exhaustedfunction onUse(cid, item, frompos, item2, topos) if pz == true and getTilePzInfo(getCreaturePosition(cid)) == FALSE then return doPlayerSendTextMessage(cid, MESSAGE_EVENT_DEFAULT,"Você precisa estar em protection zone pra poder teleportar.") end if getPlayerStorageValue(cid, storage) > os.time() then return doPlayerSendCancel(cid, "Espere " .. getPlayerStorageValue(cid, storage) - os.time() .. " segundos.") end if item.itemid == scroll and getPlayerLevel(cid) >= level then doTeleportThing(cid, temple, TRUE) doSendMagicEffect(temple,10) doSendAnimatedText(temple, "Teleport!", 5) setPlayerStorageValue(cid, storage, os.time() + 300) -- tempo em segundos. doRemoveItem(cid, item.uid, 0) else doPlayerSendCancel(cid, "Desculpe, você precisa ter no minimo level "..level.." para ser teleportado.") end return TRUEend
-
UntFrc deu reputação a luizmachado1 em [PEDIDO] Item que adiciona vida e mana ao player
function onUse(cid, item, fromPosition, itemEx, toPosition)
Local Mana = 1000
Local Health = 1000
Local Remove = 2160 Count = 100
doPlayerAddMana(cid, mana)
doCreatureAddHealth(cid, health)
doPlayerRemoveItem(cid, Remove, count)
end
<action itemid="id_do_item" event="script" value="addmana.lua"/>
-
UntFrc recebeu reputação de Merk em Dragons Lair
Dragons Lair simples com opção de quest.
Imagens:
Download Link: AQUI
Scan: AQUI
-
UntFrc deu reputação a Administrador em Templo subterrâneo
Templo Subterrâneo 8.6
Templo Subterrâneo - www.xtibia.com.rar
-
UntFrc recebeu reputação de Administrador em Dragons Lair
Dragons Lair simples com opção de quest.
Imagens:
Download Link: AQUI
Scan: AQUI
-
UntFrc recebeu reputação de Marco Oliveira em Dragons Lair
Dragons Lair simples com opção de quest.
Imagens:
Download Link: AQUI
Scan: AQUI
-
UntFrc recebeu reputação de Merk em Ilha básica com 60 casas (aprox.)
Olá pessoal do Xtibia.
Bom, já indo direto, eu para matar os tempinhos extras ou ocupa-los dou uma exercitada com o RME e então resolvi compartilhar aqui algo que andei fazendo. Como muitas outras coisas que fiz foi para lixeira então resolvi postar aqui essa pequena ilha que fiz. Alguém pode gostar e achar uma utilidade para ela no seu server ou sei lá o que (rs). É uma ilhazinha bem basica, deve ter umas 60 casas no maximo, não tem hunts, apenas um curto esgoto com rotworms.
Imagens:
Download link: AQUI
Scan: AQUI
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.