Tudo que Jamison Collins postou
- (Resolvido)BUG 0 DE LIFE 0 DE MANA
-
Sistema de Reward! Script para recebimento de premio!
Qual TFS você usa?
-
Show Hoje
Cara foi muito foda, valeu super a pena... e tipo.......HJNI4UOQW34HNQPOW4OI23JA40SOJSDMRLKMPKCMGPOKASDDFIOPSDF1BATATA Qualquer show é bom! Menos de sertanejo e pagode... etc... Internacional é tudo bom
-
Minhas Letras favoritas!
HAIOUSHIUASHIUHEIUESHUISEAHUIOAESHUIAESHUASIE
-
(Resolvido)Items nao passam no teleport (tp)
local train = {x=32238, y=32233, z=7} function onStepIn(cid, item, position, fromPosition) pos.stackpos = 255 local object = getThingFromPos(pos) if isMovable(object.uid) then doTeleportThing(object.uid,train) doSendMagicEffect(getThingPos(object.uid),CONST_ME_TELEPORT) return true end if isPlayer(cid) then doTeleportThing(cid,train) doSendMagicEffect(getThingPos(cid),CONST_ME_TELEPORT) if item.actionid == 2123 then --AbDendriel setPlayerStorageValue(cid,100108, 1) elseif item.actionid == 2124 then --Ankrahmun setPlayerStorageValue(cid,100109, 1) elseif item.actionid == 2125 then --Carlin setPlayerStorageValue(cid,100110, 1) elseif item.actionid == 2126 then --Darashia setPlayerStorageValue(cid,100111, 1) elseif item.actionid == 2127 then --Edron setPlayerStorageValue(cid,100112, 1) elseif item.actionid == 2128 then --Kazordoon setPlayerStorageValue(cid,100113, 1) elseif item.actionid == 2129 then --Liberty Bay setPlayerStorageValue(cid,100114, 1) elseif item.actionid == 2130 then --Port Hope setPlayerStorageValue(cid,100115, 1) elseif item.actionid == 2131 then --Svargrond setPlayerStorageValue(cid,100116, 1) elseif item.actionid == 2132 then --Thais setPlayerStorageValue(cid,100117, 1) elseif item.actionid == 2133 then --Venore setPlayerStorageValue(cid,100118, 1) elseif item.actionid == 2134 then --Yalahar setPlayerStorageValue(cid,100119, 1) end end return true end Verifique se há algum erro no distro após a tentativa do uso do script.
-
(Resolvido)Items nao passam no teleport (tp)
Bem, teste esse: local train = {x=32238, y=32233, z=7} function onStepIn(cid, item, position, fromPosition) pos.stackpos = 255 local object = getThingFromPos(pos) if isMovable(object.uid) then doTeleportThing(object.uid,train) doSendMagicEffect(getThingPos(object.uid),CONST_ME_TELEPORT) return true end if isPlayer(cid) then doTeleportThing(cid,train) doSendMagicEffect(getThingPos(cid),CONST_ME_TELEPORT) if item.actionid == 2123 then --AbDendriel setPlayerStorageValue(cid,100108, 1) elseif item.actionid == 2124 then --Ankrahmun setPlayerStorageValue(cid,100109, 1) elseif item.actionid == 2125 then --Carlin setPlayerStorageValue(cid,100110, 1) elseif item.actionid == 2126 then --Darashia setPlayerStorageValue(cid,100111, 1) elseif item.actionid == 2127 then --Edron setPlayerStorageValue(cid,100112, 1) elseif item.actionid == 2128 then --Kazordoon setPlayerStorageValue(cid,100113, 1) elseif item.actionid == 2129 then --Liberty Bay setPlayerStorageValue(cid,100114, 1) elseif item.actionid == 2130 then --Port Hope setPlayerStorageValue(cid,100115, 1) elseif item.actionid == 2131 then --Svargrond setPlayerStorageValue(cid,100116, 1) elseif item.actionid == 2132 then --Thais setPlayerStorageValue(cid,100117, 1) elseif item.actionid == 2133 then --Venore setPlayerStorageValue(cid,100118, 1) elseif item.actionid == 2134 then --Yalahar setPlayerStorageValue(cid,100119, 1) end end end
-
Show Hoje
exato... mds
- Teleport que funcione quando só houver 1 player
-
Teleport que funcione quando só houver 1 player
local function getPlayerInArea(fromPos, toPos) local online = getPlayersOnline() local players = {} for i=1, #online do if isInArea(getPlayerPosition(online[i]), fromPos, toPos) then players[#players+1] = online[i] end end return players end function onStepIn(cid, position, fromPostion, toPosition) local fromPos = {x =1000, y =1000, z =7} -- Posição da área (de) local toPos = {x =2000, y =2000, z =7} -- Posição da área (até) local actionID = 2520 -- Action ID que você colocará no Teleporte local players = getPlayerInArea(fromPos, toPos) if item.actionid == actionID then if #players > 1 then doTeleportThing(cid, fromPosition) end end return true end Isso é uma movement usando action. Espero ter ajudado
-
Show Hoje
ALKWREMNQWAPASDAJIPOERMKLSDÇKMFKMWQERMÇSAKMRSDMPFSODJKOEWKRÇLAMÇLFKDS FOI MT FODA MEU DEUSSSS AWEMWQOPEKOPAKS,MDQÇE312P-90EIADCKMPASLMPKMATDIOUSFJIOPSDJFAESÇRMKESR
-
Minhas Letras favoritas!
I hope you understand i'm hanging on to you, Through a colors of love, I will never fade out or stray too far from you, I'll be the face in every moon, Painting a smile along reminding you, Every panic cheat infused, We will survive, But how do we keep our love alive, Why does something so good feel so damn hard tonight, When there's nobody's fault we will tire to try, I'm gonna keep our love alive, I'm gonna keep our love alive, How do we keep our love alive, I know you understand how you surrender me, From the city of ruins, I was built back up when your heart cemented me, I'll be the silence where you sleep, I'll be the violence to you on the streets, You can look up and follow me, Through the dead of the night, But how do we keep our love alive, Why does something so good feel so damn hard tonight, When there's nobody's fault we get tire to try, I'm gonna keep our love alive, I'm gonna keep our love alive, How do we keep our love alive, Why does something so good feel so damn hard tonight, When there's nobody's fault we will tire to try, I'm gonna keep our love alive, I'm gonna keep our love alive, I'm gonna keep our love alive... Read more: Afrojack - Keep Our Love Alive Lyrics | MetroLyrics
-
Show Hoje
HOJE TEM SHOW DO 1 DIRECTION AEHUIWQRENJKNEWJPONSDAOIUVCN\SMRLDW3QNDFPODIJDSIÁFWELKMWQÇEDAMDÇSAMNS´´QWE~~BATATA FUI :*
-
Seu Cantinho
Indo para escola de manhã - RJ, Rio de Janeiro - Barra da Tijuca, Av. das Americas.
-
suport script
Não entendi o que você está pedindo, pode explicar melhor por favor?
-
[TFS 1.0] 2ª Promotion - Epics
Agora que você botou as vocações na ordem, atualizar o seu script, assim: function onUse(cid, item, frompos, itemEx, topos) local vocs = {9,10,11,12} if isInArray(vocs,getPlayerVocation(cid)) then doPlayerSendTextMessage(cid, 4, 'You already are upgraded vocation') return false else local vucs = {1,2,3,4} if isInArray(vucs,getPlayerVocation(cid)) then doPlayerSendTextMessage(cid, 4, 'You need first normal promotion in order to use this') else local allVocs = {1,2,3,4,5,6,7,8} if not isInArray(allVocs,getPlayerVocation(cid)) then doPlayerSendTextMessage(cid, 4, 'You have an invalid vocation') else doPlayerSetVocation(cid, getPlayerVocation(cid)+4) doRemoveItem(item.uid,1) end end end return true end
-
[TFS 1.0] 2ª Promotion - Epics
Muito bom mano! Eu só por pratica, eu decidir reescrever o seu script para métodos utilizados no TFS 1.0, o script foi testado e está 100% funcional. Agora, para facilitar o script, eu botei o ID das vocações na ordem como elas são. Assim: Bem, eu fiz isso para facilitar o script. E aqui está o script: function onUse(cid, item, frompos, itemEx, topos) local player = Player(cid) local item = Item(item.uid) local vocations = {{1, 2, 3, 4}, {5, 6, 7, 8}} local news_vocations = {9, 10, 11, 12} if isInArray(news_vocations, player:getVocation():getId()) then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "You have already upgraded your vocation.") return true end if isInArray(vocations[1] , player:getVocation():getId()) then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "You must to be the first promotion to use this.") return true end if not isInArray(vocations[1], player:getVocation():getId()) and not isInArray(vocations[2], player:getVocation():getId()) then player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Your vocation is invalid.") return true end if isInArray(vocations[2], player:getVocation():getId()) then player:setVocation(Vocation(player:getVocation():getId()+4)) player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Congratulation, you have been promoted!") local pos = player:getPosition() pos:sendMagicEffect(CONST_ME_MAGIC_GREEN) item:remove(1) end return true end Bem, tanto o seu quanto o meu vão funcionar, porém se usarem o meu, terão que usar a ordem de vocações XML que eu adicionei.
- [NPC] Elfo Ferreiro V1.0
-
Sean o' Donnell
Eu não sou gay.
-
Eratsu's playlist
- Sean o' Donnell
Esse olho, essa boca, esse cabelo. essa roupa... meu deus. Nariz perfeito. Quero ter um nariz igual o dele, plox.- [pedido] look
O look está funcionando normal, mas sem mostrar [Resets:X] ? Está aparecendo algum erro no distro?- Sean o' Donnell
SHARPONEWPROINWEKMAX´P,QLÇWER,PEM´FAMSEPIORMKLMQEÇMRADSFÇRQMWEÇKLRMÇWMEMOLHEI WMAELÇKMR\MR~ÇKWMKÇEA~BATATAWQ,EPMAS- [PEDIDO] Contagem de Frags no Look
Olha mano, uma forma que pode melhor a situação é assim: function onLook(cid, thing, position, lookDistance) function getDeathsAndKills(cid, type) -- by vodka local query,d = db.getResult("SELECT `player_id` FROM "..(tostring(type) == "kill" and "`player_killers`" or "`player_deaths`").." WHERE `player_id` = "..getPlayerGUID(cid)),0 if (query:getID() ~= -1) then repeat d = d+1 until not query:next() query:free() end return d end if isPlayer(thing.uid) then if cid ~= thing.uid then doPlayerSetSpecialDescription(thing.uid, "\n[Killed: "..getDeathsAndKills(thing.uid, "kill").."]\n") else doPlayerSetSpecialDescription(cid, "\n[Killed: "..getDeathsAndKills(cid, "kill").."]\n") end end return true end Mas botar do jeito que você quer, eu realmente não sei, perdão.- [PEDIDO] Contagem de Frags no Look
Você tem algum outro evento "onLook" em seu Creaturescript ou MOD?- [pedido] look
Tente esse: Crie um arquivo lua chamado resetonlook, e cole isso dentro: function onLook(cid, thing, position, lookDistance) if isPlayer(thing.uid) then if cid ~= thing.uid then doPlayerSetSpecialDescription(thing.uid, "\n[Resets: "..getPlayerReset(thing.uid).."]") else doPlayerSetSpecialDescription(cid, "\n[Resets: "..getPlayerReset(cid).."]") end end return true end cole isso no login.lua : registerCreatureEvent(cid, "resetlook") E isso no creaturescript.xml: <event type="look" name="resetlook" script="resetonlook.lua"/> - Sean o' Donnell
Informação Importante
Confirmação de Termo