
Albeck
Membro
-
Registro em
-
Última visita
Histórico de Curtidas
-
Albeck deu reputação a Coltera em [Show OFF] - Shopping ModalNovo Shopping in-game usando Modal via Banco de Dados!
Será que fica bom? Oque vocês acham?
-
Albeck deu reputação a Coltera em Show OFF - MappingHUNTS:
Estarei postando algumas imagens do meu projeto
* (Mapa simples e poucos detalhes) *
---------------------------------------------------
Atualização: 27/05/2019
---------------------------------------------------
1
2
---------------------------------------------------
Atualização: 25/05/2019
---------------------------------------------------
1
2
CIDADE:
---------------------------------------------------
Atualização: 27/01/2019
---------------------------------------------------
Repostarei..
-
Albeck recebeu reputação de kleytonbm em Talkaction !coins (adicionar tibia coins)@Rockersz
local price_coins = 1 local points = 250 function onSay(player, words, param) if player:getMoney() >= price_coins then player:removeMoney(price_coins) player:getPosition():sendMagicEffect(CONST_ME_MAGIC_RED) player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You have received 250 Tibia Coins to your account.") db.query("UPDATE `accounts` SET `coins` = `coins` + "..points.." WHERE id=" ..player:getAccountId()) else player:getPosition():sendMagicEffect(CONST_ME_POFF) player:sendCancelMessage("You dont have enought money.") end end
-
Albeck recebeu reputação de dimmebag em (Resolvido){Resolvido} [ERRO] Alavanca que da spawn de criatura.@dimmebag
Você tava usando o script da versão 1.2
Tenta esse:
function onUse(cid, item, fromPosition, toPosition) if (getPlayerStorageValue(cid, 11548) >= os.time()) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE,"Você só pode usar novamente em " .. (getPlayerStorageValue(cid, 11548)-os.time()+(0)) .. " segundos.") return true end if item.itemid == 1945 then doCreateMonster('Demon Arena', {x=32182,y=32236,z=7}) doCreateMonster('Demon Arena', {x=32171,y=32240,z=7}) doCreateMonster('Demon Arena', {x=32181,y=32240,z=7}) doCreateMonster('Demon Arena', {x=32175,y=32242,z=7}) doTransformItem(item.uid, 1946) setPlayerStorageValue(cid,11548,os.time()+180) elseif item.itemid == 1946 then doTransformItem(item.uid, 1945) end return true end
-
Albeck recebeu reputação de JcA em (Resolvido)Convert Query@JcA
Não testado:
CREATE TABLE IF NOT EXISTS `players_dtk` ( `name` varchar(30) NOT NULL, `group_name` varchar(10) NOT NULL, `escolhido` int(2) NOT NULL DEFAULT '0', `town` int(4) NOT NULL DEFAULT '1' );
-
Albeck recebeu reputação de Koring4 em Quando usa alavanca da debug@Koring4
doCreatureSay(cid, "You have ".. tempo .." seconds.", 19) Para
doCreatureSay(cid, "You have ".. tempo .." seconds.", TALKTYPE_ORANGE_1)
-
Albeck recebeu reputação de Tsuunaa Reboorn em [AJUDA] PREMIUM POINTS COIN@Tsuunaa Reboorn
<action itemid="itemID" script="nome_do_arquivo.lua" />
-
Albeck recebeu reputação de Alberto1997 em [AJUDA] PREMIUM POINTS COIN@Alberto1997
local points = 10 function onUse(player, item, fromPosition, itemEx, toPosition) db.query("UPDATE `accounts` SET `premium_points` = `premium_points` + "..points.." WHERE id=" ..player:getAccountId()) player:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'Você recebeu '..points..' premium points!') player:getPosition():sendMagicEffect(CONST_ME_MAGIC_RED) Item(item.uid):remove(1) return true end
-
Albeck recebeu reputação de JcA em (Resolvido)Doors por vocação@JcA
function onUse(cid, item, topos) local doors = { [8651] = {vocation = {1, 5, 9}, messageFail = "Sorry, you need to be a Sorcerer or Master Sorcerer to pass."}, [8652] = {vocation = {2, 6, 10}, messageFail = "Sorry, you need to be a Druid or Elder Druid to pass."}, [8653] = {vocation = {3, 7, 11}, messageFail = "Sorry, you need to be a Paladin or Royal Paladin to pass."}, [8654] = {vocation = {4, 8, 12}, messageFail = "Sorry, you need to be a Knight or Elite Knight to pass."}, } if not(isInArray(doors[item.actionid].vocation, getPlayerVocation(cid))) then return doPlayerSendCancel(cid, doors[item.actionid].messageFail) end doTeleportThing(cid, topos, TRUE) doTransformItem(item.uid, item.itemid + 1) return true end
-
Albeck recebeu reputação de brianpsy15 em Escolher 1 iten por bau-@brianpsy15
Você pode mudar tudo uniqueid, itens menos a storage se você quiser que o player não pegue os itens dos outros baús.
Você pode fazer 4 scripts para 4 baús com este script lembre-se pra não repetir a uniqueid na xml e nem nos baús no rme e sim repetir a storage nos 4 scripts.
<action uniqueid="2043"script="nome_do_arquivo.lua"/> function onUse(player, item, frompos, item2, topos) if player:getStorageValue(2043) == -1 then player:addItem(2160,1) player:sendTextMessage(4,'Você ganhou 10k') player:setStorageValue(2043, 1) else player:sendTextMessage(19, 'Você já fez esta quest.') end return true end
-
Albeck recebeu reputação de Tadelho em Teleport + Outfit + Skill -> Script@Tadelho
local tp = {x = 75, y = 80, z = 7} local pos = {x = 91, y = 13, z = 6} local outfit = {lookType = 159 , lookHead = 0, lookBody = 0, lookLegs = 0, lookFeet = 0, lookAddons = 0} function onStepIn(cid, item, position, fromPosition) if item.actionid == 7460 then doSendMagicEffect(getCreaturePosition(cid), 9) doSetCreatureOutfit(cid, outfit, -1) doPlayerAddSkill(cid, 4, 2) doTeleportThing(cid, pos) doSendMagicEffect(tp, 14) doPlayerSendTextMessage(cid, 22, "Você se encarnou em um elfo!") end return true end
-
Albeck recebeu reputação de Duality em [RESOLVIDO] Remover Frag@Duality Acabei de testar e funcionou.
Se deu erro é só postar o erro.
UPDATE `players` SET `skull`=0; UPDATE `players` SET `skulltime`=0; UPDATE `killers` SET `unjustified`=0;
-
Albeck recebeu reputação de Zzjj em (Resolvido)Limitar mensagem no script@JcA
Testa ai e manda a resposta.
function onLogin(cid) local bless = {" First Bless,", " Second Bless,", " Third Bless,", " Fourth Bless,", " Fifth Bless."} local check = "Received blessings:" if (string.find(tostring(getCreatureName(cid)),"Account Manager")) or getPlayerGroupId(cid) >= 3 then return true end for i = 1, #bless do check = getPlayerBlessing(cid, i) and check .. bless[i] or check end if check:len() > 20 then doPlayerSendTextMessage(cid, 20, check) else doPlayerSendTextMessage(cid, 20, "No blessings received.") end return true end
-
Albeck recebeu reputação de Diego Rulez em Melhorar script de presente@DiegoRulez
Atualizado, só verificar o código a cima.
-
Albeck recebeu reputação de Rockersz em Talkaction !coins (adicionar tibia coins)@Rockersz
local price_coins = 1 local points = 250 function onSay(player, words, param) if player:getMoney() >= price_coins then player:removeMoney(price_coins) player:getPosition():sendMagicEffect(CONST_ME_MAGIC_RED) player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "You have received 250 Tibia Coins to your account.") db.query("UPDATE `accounts` SET `coins` = `coins` + "..points.." WHERE id=" ..player:getAccountId()) else player:getPosition():sendMagicEffect(CONST_ME_POFF) player:sendCancelMessage("You dont have enought money.") end end
-
Albeck recebeu reputação de thelifeofpbion em (Resolvido)Limitar mensagem no script@JcA
Testa ai e manda a resposta.
function onLogin(cid) local bless = {" First Bless,", " Second Bless,", " Third Bless,", " Fourth Bless,", " Fifth Bless."} local check = "Received blessings:" if (string.find(tostring(getCreatureName(cid)),"Account Manager")) or getPlayerGroupId(cid) >= 3 then return true end for i = 1, #bless do check = getPlayerBlessing(cid, i) and check .. bless[i] or check end if check:len() > 20 then doPlayerSendTextMessage(cid, 20, check) else doPlayerSendTextMessage(cid, 20, "No blessings received.") end return true end
-
Albeck recebeu reputação de JcA em (Resolvido)Limitar mensagem no script@JcA
Testa ai e manda a resposta.
function onLogin(cid) local bless = {" First Bless,", " Second Bless,", " Third Bless,", " Fourth Bless,", " Fifth Bless."} local check = "Received blessings:" if (string.find(tostring(getCreatureName(cid)),"Account Manager")) or getPlayerGroupId(cid) >= 3 then return true end for i = 1, #bless do check = getPlayerBlessing(cid, i) and check .. bless[i] or check end if check:len() > 20 then doPlayerSendTextMessage(cid, 20, check) else doPlayerSendTextMessage(cid, 20, "No blessings received.") end return true end
-
Albeck recebeu reputação de caioitalo1 em (Resolvido)Reformula Script BasicoCaioitalo1,
function onUse(cid, item, fromPosition, itemEx, toPosition) local items = {xxx, xxx, xxx} for i,_ in pairs(items) do doPlayerAddItem(cid, items[i], 1) doRemoveItem(item.uid) end return true end
-
Albeck recebeu reputação de caioitalo1 em (Resolvido)Reajuste no ScriptCaioitalo1,
if PlayerRemoveMoney(cid,t.money) then Para
if doPlayerRemoveMoney(cid,t.money) then