Ir para conteúdo

Jamison Collins

Membro
  • Registro em

  • Última visita

Tudo que Jamison Collins postou

  1. Jamison Collins postou uma resposta no tópico em Playground (Off-topic)
    Cara foi muito foda, valeu super a pena... e tipo.......HJNI4UOQW34HNQPOW4OI23JA40SOJSDMRLKMPKCMGPOKASDDFIOPSDF1BATATA Qualquer show é bom! Menos de sertanejo e pagode... etc... Internacional é tudo bom
  2. HAIOUSHIUASHIUHEIUESHUISEAHUIOAESHUIAESHUASIE
  3. 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.
  4. 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
  5. Jamison Collins postou uma resposta no tópico em Playground (Off-topic)
    exato... mds
  6. <movevent event="StepIn" actionid="2520" script="NOMEDOARQUIVO.lua"/>
  7. 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
  8. Jamison Collins postou uma resposta no tópico em Playground (Off-topic)
    ALKWREMNQWAPASDAJIPOERMKLSDÇKMFKMWQERMÇSAKMRSDMPFSODJKOEWKRÇLAMÇLFKDS FOI MT FODA MEU DEUSSSS AWEMWQOPEKOPAKS,MDQÇE312P-90EIADCKMPASLMPKMATDIOUSFJIOPSDJFAESÇRMKESR
  9. 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
  10. Jamison Collins postou uma resposta no tópico em Playground (Off-topic)
    HOJE TEM SHOW DO 1 DIRECTION AEHUIWQRENJKNEWJPONSDAOIUVCN\SMRLDW3QNDFPODIJDSIÁFWELKMWQÇEDAMDÇSAMNS´´QWE~~BATATA FUI :*
  11. Jamison Collins postou uma resposta no tópico em Playground (Off-topic)
    Indo para escola de manhã - RJ, Rio de Janeiro - Barra da Tijuca, Av. das Americas.
  12. Jamison Collins postou uma resposta no tópico em Suporte Tibia OTServer
    Não entendi o que você está pedindo, pode explicar melhor por favor?
  13. 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
  14. 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.
  15. Jamison Collins postou uma resposta no tópico em Playground (Off-topic)
    Eu não sou gay.
  16. Jamison Collins postou uma resposta no tópico em Playground (Off-topic)
  17. Jamison Collins postou uma resposta no tópico em Playground (Off-topic)
    Esse olho, essa boca, esse cabelo. essa roupa... meu deus. Nariz perfeito. Quero ter um nariz igual o dele, plox.
  18. Jamison Collins postou uma resposta no tópico em Suporte Tibia OTServer
    O look está funcionando normal, mas sem mostrar [Resets:X] ? Está aparecendo algum erro no distro?
  19. Jamison Collins postou uma resposta no tópico em Playground (Off-topic)
    SHARPONEWPROINWEKMAX´P,QLÇWER,PEM´FAMSEPIORMKLMQEÇMRADSFÇRQMWEÇKLRMÇWMEMOLHEI WMAELÇKMR\MR~ÇKWMKÇEA~BATATAWQ,EPMAS
  20. 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.
  21. Você tem algum outro evento "onLook" em seu Creaturescript ou MOD?
  22. Jamison Collins postou uma resposta no tópico em Suporte Tibia OTServer
    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"/>

Informação Importante

Confirmação de Termo