Ir para conteúdo

notle2012

Conde
  • Total de itens

    884
  • Registro em

  • Última visita

  • Dias Ganhos

    8

Tudo que notle2012 postou

  1. já vi quando passo na globo
  2. claro que tem só acho difícil achar alguém que faça isso sem cobrar kkkkk
  3. da uma olhada nessa lista http://otland.net/subversion.php?svn=public&file=listing.php&repname=forgottenserver&path=%2Ftags%2F#a2752a4ad0822c5acbda0ff9fd26a5c26
  4. é bom sim mais vai ter que ter alguém monitorando o chat pra não passa do limite
  5. Double Tópico rep -
  6. http://www.xtibia.com/forum/topic/150422-tutorial-adicionando-sprites/ ou http://www.xtibia.com/forum/topic/193075-tutorial-como-recortar-sprites/ boa sorte
  7. data\npc\scripts\nomedoarquivo.lua 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 npcHandler:setMessage(MESSAGE_GREET, "posso te editar só uma vez diz (yes)") -- muda a frase menos yes function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVbehavior == CONVERSATION_DEFAULT and 0 or cid if(msgcontains(msg, 'yes')) then sto = getPlayerStorageValue(cid,55782) if sto == -1 then local h = 20000 -- quantos que vai aumenta na life local m = 20000 -- quantos que vai aumenta na mana setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+(h)) doCreatureAddHealth(cid,h) setCreatureMaxMana(cid, getPlayerMaxMana(cid)+(m)) doPlayerAddMana(cid,m) setPlayerStorageValue(cid,55782,1) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "pronto já te editei") -- muda frase doSendMagicEffect(getCreaturePosition(cid), math.random(28,30)) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "huum pensa que me engana ja te editei safado...") -- muda a frase return TRUE end end end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) data\npc\nomedoarquivo.xml <npc name="NOMEDONPC" script="data/npc/scripts/nomedoarquivo.lua" walkinterval="2000" floorchange="0"> <health now="100" max="100"/> <look type="134" head="78" body="88" legs="0" feet="88" addons="3"/> <parameters> <parameter key="message_greet" value="OK." /> <parameter key="message_farewell" value="Tchau." /> <parameter key="message_walkaway" value="Tchau." /> </parameters> </npc>
  8. tenta esse function onThink(interval, lastExecution, thinkInterval) pos = {x=794,y=228,z=7} local time = 5 doCreateTeleport(1387, {x=179,y=54,z=3}, pos) doBroadcastMessage("O portal para o evento foi aberto e se fexará em 5 minutos.") addEvent(deleteTp, time*60*1000) addEvent(doBroadcastMessage, time*1000*60, "O portal do evento foi fexado. Próximo evento em 2 horas.") return true end function deleteTp() local delete = getTileItemById(pos, 1387) doRemoveItem(delete.uid, 1) doSendMagicEffect(pos, CONST_ME_TELEPORT) end
  9. areá certa seria Pedidos e dúvidas - Websites
  10. notle2012

    Npc Que Da Life

    criei aqui rapidinho data\npc\scripts\nomedoarquivo.lua 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 npcHandler:setMessage(MESSAGE_GREET, "posso te editar só uma vez diz (yes)") -- muda a frase menos yes function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVbehavior == CONVERSATION_DEFAULT and 0 or cid if(msgcontains(msg, 'yes')) then sto = getPlayerStorageValue(cid,55782) if sto == -1 then local h = 20000 -- quantos que vai aumenta na life local m = 20000 -- quantos que vai aumenta na mana setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+(h)) doCreatureAddHealth(cid,h) setCreatureMaxMana(cid, getPlayerMaxMana(cid)+(m)) doPlayerAddMana(cid,m) setPlayerStorageValue(cid,55782,1) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "pronto já te editei") -- muda frase doSendMagicEffect(getCreaturePosition(cid), math.random(28,30)) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "huum pensa que me engana ja te editei safado...") -- muda a frase return TRUE end end end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) data\npc\nomedoarquivo.xml <npc name="NOMEDONPC" script="data/npc/scripts/nomedoarquivo.lua" walkinterval="2000" floorchange="0"> <health now="100" max="100"/> <look type="134" head="78" body="88" legs="0" feet="88" addons="3"/> <parameters> <parameter key="message_greet" value="OK." /> <parameter key="message_farewell" value="Tchau." /> <parameter key="message_walkaway" value="Tchau." /> </parameters> </npc> só não sei se pega em 8.0
  11. cade Exemplo na prática
  12. tem que ser versão 7.81
  13. vc ja tem Área De Torneio???
  14. notle2012

    Piso Que Move

    e pra onde vc quer que ele anda pra quando for fazer scripts aqui coloca com esses detalhes que vc disse acho dificil fazer a o seu gosto
  15. troca oq vc adiciono nos movevents por esse <movevent event="Equip" itemid="7424" slot="wand" function="onEquipItem"> <vocation id="1"/> <vocation id="5"/> <vocation id="9" showInDescription="0"/> <vocation id="2"/> <vocation id="6"/> <vocation id="10" showInDescription="0"/> </movevent> <movevent event="DeEquip" itemid="7424" slot="wand" function="onDeEquipItem"/>
  16. da look com god e pega id ver se não ta em data\spells\spells.xml
  17. da uma olhada nesse não sei nome mais é oq eu uso http://www.mediafire.com/?fqn4d8tsqhg1907
  18. qual ot de pokemon vc usa como base? PDA?
  19. C:/Users/Desktop/The Forgot.../thread...ves.hpp executável do ot baixa ot da mesma versão troca executável pra fazer test se não vai ter que olhar essa linha 228 da sua sources do arquivo thread...ves.hpp não da pra ver direito nome do arquivo
  20. baixa qual quer um 854 aqui tem lista de sources http://otland.net/su...da0ff9fd26a5c26 é a 0.3.6
  21. Procura por essa linha no seu config.lua: worldId = 0 em um server tu deixa 0 e no outro tu poe 1! ou se for um em cada executavel ai tu muda a porta tipow procura por essa linha: loginPort = 7171 em um server tu deixa 7171 e no outro tu poe 7172 ou outra porta
  22. parece que sim mais da uma olhada nesse video e compara os nomes dps que vc aplicar vc tem que desbloquear port 7171 de firewall e desliga e liga moden e ver se ta tudo OK
  23. -- by notle -- Unjustified kills -- NOTE: *Banishment and *BlackSkull variables are >summed up< -- (dailyFragsToRedSkull + dailyFragsToBanishment) with their -- *RedSkull equivalents. -- Auto banishing works only if useBlackSkull set to negative. -- advancedFragList is not advised if you use huge frags -- requirements. redSkullLength = 15 * 12 * 30 * 30 blackSkullLength = 25 * 12 * 30 * 30 dailyFragsToRedSkull = 6 weeklyFragsToRedSkull = 12 monthlyFragsToRedSkull = 20 dailyFragsToBlackSkull = dailyFragsToRedSkull weeklyFragsToBlackSkull = weeklyFragsToRedSkull monthlyFragsToBlackSkull = monthlyFragsToRedSkull dailyFragsToBanishment = dailyFragsToRedSkull weeklyFragsToBanishment = weeklyFragsToRedSkull monthlyFragsToBanishment = monthlyFragsToRedSkull blackSkulledDeathHealth = 40 blackSkulledDeathMana = 0 useBlackSkull = true useFragHandler = true advancedFragList = false
  24. notle2012

    Interval

    reportado para fecha já resolveu
  25. da não amigo só na sources todos ot são assim coloca magia de curar pro paladin que fica certo
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...