Ir para conteúdo

leonardobo

Membro
  • Registro em

  • Última visita

Tudo que leonardobo postou

  1. Editei meu post acima não está funcionando nem quando dou look em min mesmo nem em outro player :9
  2. Não deu error e continua nao funcionando quanto look em si mesmo quanto o look no outro player ;(.
  3. Não deu error mas não funcionou
  4. Vai no seu config.lua e procure por isto maxItemsPerPZTile = 0 maxItemsPerHouseTile = 0 e adiciona um limite
  5. eu já coloquei é o script postado a cima ele chama viplook.lua e.e o problema não é esse
  6. <event type="login" name="fraglook_register" event="script" value="viplook.lua"/> <event type="look" name="fraglook" event="script" value="viplook.lua"/> Coloquei isso ai se alguém puder me ajudar
  7. Bom o sistema é o seguinte: 21:46 You see yourself. You are Naruto [Frags: 1][Free] 21:46 You see Kick (Level 446). He is Naruto [Frags: 1][Free]. Eu tenho o sistema, só que minha Vip System é Premium Account, ou seja eu queria q vocês alterassem pra min pra funcionar direitinho se eu for Premium vai aparecer que eu sou [VIP] se eu for free vai aparecer [FREE] o system q eu to usando é do Emersonssss, só que o sistema dele é diferente e verifica outra vip system, ou seja queria q checasse que é Premium e depois alteraria a SpecialDescription segue o Código: Olha essa print só que no caso eu sou Premium e não está verificando e achando que é Free
  8. Bom como o titulo do tópico diz, eu não sei qual é a minha vip system ela funciona com Premium Account,Premium Days, e eu preciso saber a storage dela pra adicionar Sistema de Vip Look System e Frag Look System, alguem pode me ajudar a descobrir? Meu otserver é 8.54 se é pelas sources que descobre me fala o arquivo q eu olho aqui obrigado.
  9. leonardobo postou uma resposta no tópico em Suporte Tibia OTServer
    o Script eu não peguei de você só peguei a função kkk coitado
  10. leonardobo postou uma resposta no tópico em Suporte Tibia OTServer
    Sim, eu copiei para facilitar é verdade mas está funcionando, se está achando ruim por que não fez da forma desejada do membro, cara fica quieto meu deus pode ta do jeito que tiver o script funcionando é o que vale na minha opinião, obrigado e tenha um bom dia ! O Meu esta funcionando da devida forma e o seu Gonna cry ?
  11. leonardobo postou uma resposta no tópico em Suporte Tibia OTServer
    Ai mano testei e funciono aqui perfeitamente segue exatamente oque eu vou passar . Em data/movements/itembuff.lua coloque esse codigo: local config = { tempo = 1, items = {11384} -- ITEM QUE VAI SAIR O EFEITO } local condition = createConditionObject(CONDITION_ATTRIBUTES) setConditionParam(condition, CONDITION_PARAM_TICKS, -1) setConditionParam(condition, CONDITION_PARAM_STAT_MAGICLEVEL, 50) function MagicBuff(cid, tempo, item) if (isCreature(cid) == FALSE) then return false end if getPlayerStorageValue(cid, 19238) < 1 then return true end local position256 = {x=getPlayerPosition(cid).x+1, y=getPlayerPosition(cid).y, z=getPlayerPosition(cid).z} doSendMagicEffect(position256, 228) return addEvent(MagicBuff, config.tempo * 1000, cid) end function onEquip(cid, item) if isInArray(config.items, item.itemid) then if getPlayerStorageValue(cid, 19238) < 1 then doChangeSpeed(cid, getCreatureSpeed(cid) + 50) doAddCondition(cid, condition) setPlayerStorageValue(cid, 19238, 1) return addEvent(MagicBuff, config.tempo * 1000, cid) end end return TRUE end function onDeEquip(cid, item) if isInArray(config.items, item.itemid) then doChangeSpeed(cid, getCreatureSpeed(cid) - 50) doRemoveCondition(cid, CONDITION_ATTRIBUTES) setPlayerStorageValue(cid, 19238, 0) end return TRUE end Agora em data/creaturescripts/ CRIE Um arquivo chamado itembuff.lua e coloque o seguinte código: local config = { tempo = 1, } local condition = createConditionObject(CONDITION_ATTRIBUTES) setConditionParam(condition, CONDITION_PARAM_TICKS, -1) setConditionParam(condition, CONDITION_PARAM_STAT_MAGICLEVEL, 50) function MagicBuff(cid, tempo, item) if (isCreature(cid) == FALSE) then return false end if getPlayerStorageValue(cid, 19238) < 1 then return true end local position256 = {x=getPlayerPosition(cid).x+1, y=getPlayerPosition(cid).y, z=getPlayerPosition(cid).z} doSendMagicEffect(position256, 228) return addEvent(MagicBuff, config.tempo * 1000, cid) end function onLogin(cid) if getPlayerStorageValue(cid, 19238) >= 1 then doChangeSpeed(cid, getCreatureSpeed(cid) + 50) doAddCondition(cid, condition) return addEvent(MagicBuff, config.tempo * 1000, cid) end return TRUE end Vá em data/creaturescripts em creaturescripts.xml adiciona a seguinte linha: <event type="login" name="ItemBuff" event="script" value="itembuff.lua"/> em data/creaturescripts vá em login.lua e registra o seguinte evento: registerCreatureEvent(cid, "ItemBuff") Esse script está funcionando da seguinte forma: Voce equipa ele vai dar o efeito,ml e speed quando tirar vai remover os atributos, quando deslogar com o item e logar vai loga com a ml,speed e efeito seja feliz amigo demorei mas consegui.
  12. leonardobo postou uma resposta no tópico em Playground (Off-topic)
    nossa mano esse tonydasareiadapraia e muito zoeiro, agora pega sua prancha la mlk. ja fiz sexo com ele 3x
  13. hum é assim em tonyaraujodaspraia o cara fica me ensinando esses lixo ai cara nao tem condição
  14. Oi, esse script ta um lixo q merda , bom o script ta ótimo, obrigado pelo conteúdo que mentira kkk.
  15. leonardobo postou uma resposta no tópico em Playground (Off-topic)
    kamehameha
  16. leonardobo postou uma resposta no tópico em Suporte Tibia OTServer
    Amigão getCreaturePosition, pode ser bom mas não simplifica nada é a mesma coisa só que a sprite q eu usei é torta e ela não ajeita a sprite por isso tive que manusear. Mano eu tentei adicionar uma condition no item mas não deu em nada, pro seu item pegar ml la nos item.xml voce teria que adicionar em Movements. Só que ai seria Duplicate, e eu não sei um modo de adicionar Magic Level e Speed no seu item por que a condition não funcionou aqui vou tentar novamente e trago respostas.
  17. leonardobo postou uma resposta no tópico em Suporte Tibia OTServer
    Tem servidor que é criado do zero mas pega as sprites deles e é na versão 8.54 eu garanto que tem mais recursos.
  18. leonardobo postou uma resposta no tópico em Suporte Tibia OTServer
    Eu testei isso na versão 8.54 e funcionou perfeitamente me passa a linha do seu item.xml q voce criou.
  19. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid msg = string.lower(msg) --------- local cfsto = { stoPr = 91230, -- storage pra ele ir fala com o npc e volta !! stoCo = 91231, -- storage q ele falou com a npc tudo certo StoM = 91232, -- sto pra prox missão stoAdd = 91233, -- sto q o npc de ceru deu pra ele q confirmo a msg } local storage = 91250 -- sto da quest completada inteira -- \/ storages da missão 2 local stoTwo = { sto1 = 91234, -- storage pra poder fala com ash sto2 = 91235, -- storage q diz q ele falou com ash sto3 = 91236, -- storage dada pra ele pode pega o clan no pvp } if (msgcontains(msg, 'info') or msgcontains(msg, 'information')) then if getPlayerStorageValue(cid, storage) >= 1 then selfSay("I do not need your help anymore.", cid) return true end end selfSay("Hello, I'm Bill, I like to know everything about pokemon, I'm needing some help to complete my research over pokemon, want to help me?", cid) return true talkState[talkUser] = 1 elseif (msgcontains(msg, 'yes') or msgcontains(msg, 'sim')) and talkState[talkUser] == 1 then selfSay("Okay, I need you to send a message to a friend of mine, she is in cerulean, she call me for a great event pokemons of waterborne more as I am very busy with my research of all Pokemon, I can not go, you can go there telling her that I will not go?", cid) talkState[talkUser] = 2 elseif (msgcontains(msg, 'yes') or msgcontains(msg, 'ok')) and talkState[talkUser] == 2 then selfSay("Ok, I'll be waiting for you here.", cid) setPlayerStorageValue(cid, cfsto.stoPr, 1) talkState[talkUser] = 3 elseif (msgcontains(msg, 'talk') or msgcontains(msg, 'complete')) and talkState[talkUser] == 3 then selfSay("You said what i asked?", cid) talkSta[talkUser] = 4 elseif (msgcontains(msg, 'yes') or msgcontains(msg, 'sim')) and talkState[talkUser] == 4 then if getPlayerStorageValue(cid, cfsto.stoAdd) >= 1 then selfSay("Sorry, you did not do what I asked you needed.", cid) return true end selfSay("Very good, I am very grateful for helping me with this help I managed to finish my research and can find the formula of gvhd your pokemon stronger, I adptei this as the name of clan, you want to know more about this story?", cid) setPlayerStorageValue(cid, cfsto.StoM, 1) talkState[talkUser] = 5 --------------------- 1 * missão /\ ----- --\\-- --- 2 * missão \/ ---- elseif (msgcontains(msg, 'missao') or msgcontains(msg, 'help')) and talkState[talkUser] == 1 then if getPlayerStorageValue(cid, cfsto.stoM) <= 1 then selfSay("Sorry, you even helped me in the first mission!.", cid) return true end selfSay("I see a lot of interest on their part, need you Fasse me another favor, this interested?", cid) talkState[talkUser] = 2 elseif (msgcontains(msg, 'yes') or msgcontains(msg, 'sim')) and talkState[talkUser] == 2 then selfSay("Ok, I'm already almost done my research officer clans, intão I need you to talk to ash he will speak to the attribute needed to finalize the clan, can you bring me this Feedback from the ash?", cid) talkState[talkUser] = 3 elseif (msgcontains(msg, 'yes') or msgcontains(msg, 'sim')) and talkState[talkUser] == 2 then selfSay("Ok, I hope you do not make me wait too long.", cid) setPlayerStorageValue(cid, stoTwo.sto1, 1) talkState[talkUser] = 3 ---- \/ entregando a missão elseif (msgcontains(msg, 'help') or msgcontains(msg, 'help')) and talkState[talkUser] == 1 then if getPlayerStorageValue(cid, stoTwo.sto2) <= 1 then selfSay("Sorry, you even helped me in the msg mission.", cid) return true end selfSay("Our really good, I believe you are the best, when you are level 80 you can tonarsse a clan! thank you.", cid) setPlayerStorageValue(cid, storage, 1)
  20. leonardobo postou uma resposta no tópico em Suporte Tibia OTServer
    É Parceiro já passei por isso e é impossível, pois esse servidor é compilado e essa função de transformar está compilada nas sources q só deus sabe onde ta.
  21. leonardobo postou uma resposta no tópico em Suporte Tibia OTServer
    Fiz ai pra você LEMBRANDO olha até ali embaixo o DeEquip é importante na xml. local config = { tempo = 1, items = {11384} -- ITEM QUE VAI } function MagicBuff(cid, tempo, item) if (isCreature(cid) == FALSE) then return false end if getPlayerStorageValue(cid, 192388) < 1 then return TRUE end local position256 = {x=getPlayerPosition(cid).x+1, y=getPlayerPosition(cid).y, z=getPlayerPosition(cid).z} doSendMagicEffect(position256, 228) return addEvent(MagicBuff, config.tempo * 1000, cid) end function onEquip(cid, item) if isInArray(config.items, item.itemid) then if getPlayerStorageValue(cid, 192388) < 1 then setPlayerStorageValue(cid, 192388, 1) return addEvent(MagicBuff, config.tempo * 1000, cid) end end return TRUE end function onDeEquip(cid, item) if isInArray(config.items, item.itemid) then setPlayerStorageValue(cid, 192388, 0) end return TRUE end Movements.xml eu fiz com um ring <movevent type="Equip" itemid="11384" slot="ring" event="script" value="itembuff.lua"/> <movevent type="DeEquip" itemid="11384" slot="ring" event="script" value="itembuff.lua"/> Esse quando desloga, você tem q tirar e colocar o item de novo pra o efeito funcionar E quanto aos atributos, o Suicide já falou é só você seguir. Se a sprite do seu buff ficar torta é só mexer nessa linha tira o +1 é por que meu buff precisava ser direcionado aqui. {x=getPlayerPosition(cid).x+1
  22. leonardobo postou uma resposta no tópico em Suporte Tibia OTServer
    Dei uma atualizada ficou a seu gosto precisando tamo ai
  23. leonardobo postou uma resposta no tópico em Suporte Tibia OTServer
    Um vamos ver: Primeiramente baixe isso: https://www.mediafire.com/?7mqta5oafraqo6e Depois extraia abra a pasta descompilada e jogue seu Tibia.dat e Tibia.spr dentro da pasta do OTItemEditor 854. Feito isso abra o otitemeditor.exe vá em data/items abra o arquivo items.otb abrira todas sprite de itens do seu server. Clique no +Other vai abrir milhares de sprites, você desce na ultima no caso a minha é 11389 a sua pode ser diferente, clique em tools la encima depois em Add Item. Feito isso voltara no inicio clique no +Other novamente, vá até no final note que criou um novo item para ser editado no caso o meu era 11389 criou o 11390 e esta todo em branco. Vai aparecer uma janela você clique em cid e digita o ItemType da sua sprite no caso a minha é 10482 depois marque a caixinha Pickupable (Somente ela pois se marcar outra coisa sem saber pode bugar seu item) vá em File depois em Save as e salva o seu item.otb encima do outro. Pronto seu item ta criado ops mais espera ai, ainda falta a parte escrita Abra a pasta data/items abre o arquivo items.xml Feito isso Copie esse código e cola ai no seu items.xml <item id="11390" article="a" name="Goku Armor"> <attribute key="description" value="Health/Mana Increase 5k" /> <attribute key="weight" value="3500" /> <attribute key="armor" value="20" /> <attribute key="manaGain" value="5000" /> <attribute key="healthGain" value="5000" /> <attribute key="showattributes" value="1" /> <attribute key="slotType" value="body" /> </item> SlotTypes meio traduzidos head = CAPACETE necklace = LOCAL AONDE COLOCA AOL backpack = MOCHILA armor - LOCAL AONDE FICA A ARMADURA right-hand = MÃO DIREITA left-hand = MÃO ESQUERDA two-handed, = ARMA DE DUAS MÃOS hand/shield = MÃO / ESCUDO legs = CALÇA feet = BOTA ring = REGIÃO AONDE COLOCA RING ammo = MUNIÇÃO Explicações: ItemID = Item do ID Criado no OTItemEditor Name = Nome do item desejado Description = Descrição do item Weigth = Peso do item Armor = Arm do item ManaGain = Quantidade de Mana Aumentada do Personagem HealthGain = Quantidade de Vida Aumentada do Personagem ShowAttributes = 1 Mostrar Atributos do item [Magic Level, Skills e outros atributos como absorb] SlotType = Local que o item vai ficar
  24. Você prefere que use esse comando numa área Protection Zone piso, ou quando o player estiver sem a espadinha do Battle?
  25. leonardobo postou uma resposta no tópico em Suporte Tibia OTServer
    /\ O Script acima funcionou só que você não coloco pra quando tirar acabar o efeito tambem ;/

Informação Importante

Confirmação de Termo