Ir para conteúdo

Nottinghster

Cavaleiro
  • Total de itens

    186
  • Registro em

  • Última visita

Tudo que Nottinghster postou

  1. @Henrique Moura;ShareMatrix O lançamento do Servidor com o dedicado é agora dia 15 de Janeiro! É apenas a continuação do Servidor, mas agora com o dedicado Acessem o fórum para mais notícias: http://tibiaworld-oldschool.proboard.biz/
  2. Creio que agora com a minha chegada na Equipe, o Servidor irá dar uma alavancada.... kkkkkkkkkkkkkkkkkkk (momento nem um pouco convencido) Estou aqui anunciando que eu Nottinghster irei fazer parte desta equipe como Scripter & Programador, então esperem para verem os resultados
  3. Nada cara de pau você hein brother, copiou meu tópico inteiro! Eu fiz o NPC Norma no formato OpenTibia NPC System Verdadeiro link é esse: http://www.xtibia.com/forum/topic/145075-real-tibia-npc-penny-isle-of-solitude/
  4. Olá galerinha! Eu estava testando como funciona o formato original de NPC da OpenTibia que é mais ou menos baseado no formato original de NPC da Cipsoft, como exemplo eu peguei o NPC Penny que fica localizado na Isle of Solitude mais conhecida como GM Island Finalmente eu entendi como funciona esse sistema. Irei postar aqui o arquivo original da Cipsoft, com o Jiddo System e com o Sistema da OpenTibia pra vocês verem como funcionam ;] Arquivo original: # GIMUD - Graphical Interface Multi User Dungeon # penny.npc: Datenbank für die GM-Gehilfin Penny Name = "Penny" Sex = female Race = 1 Outfit = (137,96-79-95-96) Home = [32315,31936,7] Radius = 2 GoStrength = 10 Behaviour = { ADDRESS,"hello$",male,! -> "Welcome home, Sir %N." ADDRESS,"hi$",male,! -> * ADDRESS,"hello$",female,! -> "Welcome home, Lady %N." ADDRESS,"hi$",female,! -> * ADDRESS,! -> Idle BUSY,"hi$",male,! -> "Just a minute, Sir %N.", Queue BUSY,"hello$",male,! -> * BUSY,"hi$",female,! -> "Just a minute, Lady %N.", Queue BUSY,"hello$",female,! -> * BUSY,! -> NOP VANISH,! -> "May Justice be with you!" "bye" -> "May Justice be with you!", Idle "farewell" -> * "name" -> "I am miss Penny, your secretary." "job" -> "I'm your secretary. I'm organizing all those criminal records and your mail." "criminal" -> "<Sigh> It's an evil world, isn't it?" "record" -> * "mail" -> "You can get a letter from me." "letter" -> "Here you are.", Create(3505) } Jiddo NPC System <?xml version="1.0" encoding="UTF-8"?> <npc name="Penny" script="default.lua" walkinterval="1000" access="3" floorchange="0"> <health now="100" max="100"/> <look type="137" head="96" body="79" legs="95" feet="96" addons="0"/> <parameters> <parameter key="message_greet" value="Welcome home, Sir |PLAYERNAME|"/> <parameter key="message_farewell" value="May Justice be with you!."/> <parameter key="module_keywords" value="1" /> <parameter key="keywords" value="name;job;mail;criminal;" /> <parameter key="keyword_reply1" value="I am miss Penny, your secretary." /> <parameter key="keyword_reply2" value="I'm your secretary. I'm organizing all those criminal records and your mail." /> <parameter key="keyword_reply3" value="You can get a letter from me." /> <parameter key="keyword_reply4" value="It's an evil world, isn't it?" /> <parameter key="module_shop" value="1"/> <parameter key="shop_buyable" value="" /> <parameter key="shop_sellable" value="" /> </parameters> </npc> OpenTibia System <?xml version="1.0"?> <npc name="Penny" floorchange="0" walkinterval="1000"> <health now="150" max="150"/> <look type="137" head="96" body="79" legs="95" feet="96"/> <interaction range="2" idletimeout="30"> <interact keywords="hi" param="male" focus="1"> <!--Essas são palavras-chaves alternativas--> <keywords>hello</keywords> <response text="Welcome home, Sir |NAME|."/> </interact> <interact keywords="hi" param="female" focus="1"> <!--Essas são palavras-chaves alternativas--> <keywords>hello</keywords> <response text="Welcome home, Lady |NAME|."/> </interact> <interact keywords="bye" focus="0"> <!--Essas são palavras-chaves alternativas--> <keywords>farewell</keywords> <response text="May Justice be with you!"/> </interact> <interact event="onBusy" param="male"> <response text="Just a minute, Sir |NAME|."> <action name="addqueue" value="|PLAYER|"/> </response> </interact> <interact event="onBusy" param="female"> <response text="Just a minute, Lady |NAME|."> <action name="addqueue" value="|PLAYER|"/> </response> </interact> <interact event="onPlayerLeave" focus="0"> <response text="May Justice be with you!"/> </interact> <interact keywords="name"> <response text="I am miss Penny, your secretary."/> </interact> <interact keywords="job"> <response text="I'm your secretary. I'm organizing all those criminal records and your mail."/> </interact> <interact keywords="criminal"> <response text="It's an evil world, isn't it?"/> </interact> <interact keywords="record"> <response text="It's an evil world, isn't it?"/> </interact> <interact keywords="mail"> <response text="You can get a letter from me."/> </interact> <interact keywords="letter"> <response text="Here you are."> <action name="giveitem" value="2597"/> </response> </interact> </interaction> </npc> Aproveitem!
  5. É o cara mais louco que eu conheço, ele não tem vida social não galera! hahaha Mas o Servidor está show de bola, venho acompanhando desde o início. Parabéns brother ;]
  6. . Tibia World RPG OldSchool . Olá XTibianos! Venho aqui apresentar meu projeto novamente, o Servidor foi resetado então ai está mais um chance de você se tornar o mais forte! Só para lembrar que somente o Website ficará Online para a criação de contas, dentro de 1 (uma) semana o Servidor ficará Online! Segue abaixo as informações do Servidor: [ Tibia World RPG OldSchool ] - http://tibiaworld.hopto.org:8090 - Tente Ser O Mais Forte! - O maior servidor de Tibia 7.6 do Brasil primeiro com Mapa Global Completo. - Experiencia: 5x - Magic Level: 5x - Skills: 5x - Loot: 1.5x - Regeneração HP/MANA: Confira a tabela no Website - Mapa: Global Completo 7.6 com Ferumbras Tower 100% IP: tibiaworld.hopto.org Website: http://tibiaworld.hopto.org:8090 Blog: http://tibiaworldrpg...chool.webs.com/ Forum: http://tibiaworld-ol...l.proboard.biz/ .Mais de 120 NPC's que funcionam igual ao tibia global! você pode os perguntar o name, job, e muito mais as respostas são todas iguais ao global assim como os preços dos items! ( Ainda estamos trabalhando e adicionando mais NPC's ) .The Ancients Tombs Quest (HOTA Quest) igual ao global, com todas actions, teleports e muito mais .The Queen of the Banshees Quest igual ao global com todas actions, npcs, teleports e muito mais .Paradox Tower Quest igual ao global com todas actions, npcs, teleports e muito mais .18.000+ spawns (sendo atualizado constantemente para ficar 100% igual ao global) .Magias completas que ainda estão sendo balanceadas e atualizadas constantemente .Monstros detalhados com os mesmos loots do tibia global. Não há servidor mapa global 7.6 tão completo como o Tibia World RPG OldSchool no MUNDO O que você está esperando? Nós estamos esperando por você!
  7. @Shynzo Resolvi dar o "release" nele, é simples mas chatin de fazer... pode deixar que não liberar os mais fodas não hehe @DoidinMapper Valeu brother
  8. Esse sistema foi liberado pelo MOCK que é o mesmo usado no Kingdom-Age Server, ele deu o "release" no OTLand. Para conferir mais sobre o "release" acessem: http://otland.net/f19/tibiando-audio-api-tibia-86952/
  9. Projeto OldSchool oficialmente online.... website: http://tibiaworld.hopto.org:8090

  10. -- [( Script created by DoidinMapper for XTibia.com )] -- -- [( Modified by Nottinghster )] -- function onUse(cid, item, fromPosition, item2, toPosition) if getPlayerItemCount(cid, 2195) >= 1 then doTeleportThing(cid, {x=160, y=51, z=7, stackpos=0}) doSendMagicEffect(getPlayerPosition(cid), CONST_ME_MAGIC_BLUE) doPlayerRemoveItem(cid, 2195, 1) doPlayerSendTextMessage(cid, 22, "Ok, let's go! Huum... Sorry, you lose your Boots of Haste for make this quest!") else doPlayerSendTextMessage(cid, 23, "You do not have the Boots of Haste to enter!") end return TRUE end
  11. É fácil de usar o NPC, só trocar o numero das Storages Values de acordo com as suas configurações, mas eu só aconselho usar o NPC pra quem tiver a Banshee Quest 100% igual ao Tibia Global! Eu ja fiz a minha
  12. Venho aqui anunciar que amanhã dia 09/06/2010 será o lançamento oficial do Servidor, por enquanto vocês ja podem criar suas contas no nosso website: http://tibiaworld.hopto.org:8090
  13. Vim aqui dizer que o projeto ja está em fase final... E também para divulgar o nosso blog, lá será postado todas as novidades no Projeto Acessem: http://tibiaworldrpg-oldschool.webs.com/
  14. Fala ae galera XTibiana! Alguns de vocês devem saber que eu sou o criador do Tibia World RPG OldSchool Server e como eu ando fazendo MUITOS NPCs para o meu Servidor, resolvi liberar alguns dos meus NPCs e finalmente resolvi liberar a The Queen of The Banshee NPC Só para lembrar que todos os meus NPCs são baseados nos arquivos originais de NPC da Cipsoft! Vamos parar de conversa e vamos aos Scripts: Arquivo em que o NPC foi baseado (arquivo original da CipSoft): # GIMUD - Graphical Interface Multi User Dungeon # bansheequeen.npc: Datenbank für die Bansheequeen Name = "The Queen of the Banshee" Sex = female Race = 1 Outfit = (78,0-0-0-0) Home = [32260,31863,14] Radius = 6 GoStrength = 25 Behaviour = { ADDRESS,"hello$",! -> "Be greeted, dear visitor. Come and stay ... a while." ADDRESS,"hi$",! -> * ADDRESS,! -> Idle BUSY,"hello$",! -> "Wait as patiently as death is waiting for you!" BUSY,"hi$",! -> * BUSY,! -> NOP VANISH,! -> "Yes, flee from death. But know it shall be always one step behind you." "bye" -> "We will meet again.", Idle "farewell" -> * "name" -> "It hurts me to even think about my mortal past. Its long lost and forgotten. So don't ask me about it!" "job" -> "It is my curse to be the eternal guardian of this ancient place." "place" -> "It served as a temple, a source of power and ... as a sender for an ancient race in time long gone by and forgotten." "race" -> "The race that built this edifice came to this place from the stars. They ran from an enemy even more horrible than even themselves. But they carried the seed of their own destruction in them." "seed" -> "This ancient race was annihilated by its own doings, that's all I know. Aeons have passed since then, but the sheer presence of this complex is still defiling and desecrating this area." "destruction" -> * "complex" -> "Its constructors were too strange for you or even me to understand. We cannot know what this ... thing they have built was supposed to be good for. All I can feel is a constant twisting and binding of souls, though that is probably only a side-effect." "ghostlands" -> "The place you know as the Ghostlands had a different name once ... and many names thereafter. Too many for me to remember them all." "banshee" -> "They are my maidens. They give me comfort in my eternal vigil over the last seal." "seal" -> "I am the guardian of the SEVENTH and final seal. The seal to open the last door before ... but perhaps it is better you see it with your own eyes." "guardian" -> * "seventh",level<60,! -> "You are not experienced enough to master the challenges ahead or to receive knowledge about the seventh seal. Go and learn more before asking me again." "seventh",level>59,! -> "If you have passed the first six seals and entered the blue fires that lead to the chamber of the seal you might receive my kiss ... It will open the last seal. Do you think you are ready?", topic=2 "last" -> * "kiss",PZBlock,! -> "You have spilled too much blood recently and the dead are hungry for your soul. Perhaps return when you regained you inner balance." "kiss",topic=8 , QuestValue(11) < 1 -> "Are you prepared to receive my kiss, even though this will mean that your death as well as a part of your soul will forever belong to me, my dear?", Topic=1 "kiss", QuestValue(11) > 0 -> "You have already received my kiss. You should know better then to ask for it." "kiss" -> "To receive my kiss you have to pass all other seals first." "yes",topic=1 -> "So be it! Hmmmmmm...",SetQuestValue(11,1),SetQuestValue(12,QuestValue(12)+1),Teleport(32202,31812,8), EffectOpp(14) "no",topic=1 -> "Perhaps it is the better choice for you, my dear." "yes",topic=2,QuestValue(4)=1 -> "Yessss, I can sense you have passed the seal of sacrifice. Have you passed any other seal yet?", topic=3 "yes",topic=2,QuestValue(4)<1 -> "You have not passed the seal of sacrifice yet. Return to me when you are better prepared." "no",topic=2 -> "Then try to be better prepared next time we meet." "yes",topic=3,QuestValue(5)=1 -> "I sense you have passed the hidden seal as well. Have you passed any other seal yet?", topic=4 "yes",topic=3,QuestValue(5)<1 -> "You have not found the hidden seal yet. Return when you are better prepared." "no",topic=3 -> "Then try to be better prepared next time we meet." "yes",topic=4,QuestValue(6)=1 -> "Oh yes, you have braved the plagueseal. Have you passed any other seal yet?", topic=5 "yes",topic=4,QuestValue(6)<1 -> "You have not faced the plagueseal yet. Return to me when you are better prepared." "no",topic=4 -> "Then try to be better prepared next time we meet." "yes",topic=5,QuestValue(7)=1 -> "Ah, I can sense the power of the seal of demonrage burning in your heart. Have you passed any other seal yet?", topic=6 "yes",topic=5,QuestValue(7)<1 -> "You are not filled with the fury of the imprisoned demon. Return when you are better prepared." "no",topic=5 -> "Then try to be better prepared next time we meet." "yes",topic=6,QuestValue(9)=1 -> "So, you have managed to pass the seal of the true path. Have you passed any other seal yet?", topic=7 "yes",topic=6,QuestValue(9)<1 -> "You have not found your true path yet. Return when you are better prepared." "no",topic=6 -> "Then try to be better prepared next time we meet." "yes",topic=7,QuestValue(10)=1 -> "I see! You have mastered the seal of logic. You have made the sacrifice, you have seen the unseen, you possess fortitude, you have filled yourself with power and found your path. You may ask me for my kiss now.", topic=8 "yes",topic=7,QuestValue(10)<1 -> "You have not found your true path yet. Return to meh when you are better prepared." "no",topic=7 -> "Then try to be better prepared next time we meet." "spectral","dress" -> "Your wish for a spectral dress is silly. Allthough I will grant you the permission to take one. My maidens left one in a box in a room, directly south of here.",SetQuestValue(327,1) } Agora vamos a minha parte The Queen of The Banshee.xml <?xml version="1.0" encoding="UTF-8"?> <npc name="The Queen of the Banshee" script="banshee_queen.lua" walkinterval="1000" access="3" floorchange="0"> <health now="100" max="100"/> <look type="78" head="0" body="0" legs="0" feet="0" addons="0"/> <parameters> <parameter key="message_greet" value="Be greeted, dear visitor. Come and stay ... a while."/> <parameter key="message_farewell" value="We will meet again."/> <parameter key="message_placedinqueue" value="Wait as patiently as death is waiting for you!"/> <parameter key="message_walkaway" value="Yes, flee from death. But know it shall be always one step behind you."/> <parameter key="module_keywords" value="1" /> <parameter key="keywords" value="name;job;place;race;seed;destruction;complex;ghostlands;banshee;seal;guardian;" /> <parameter key="keyword_reply1" value="It hurts me to even think about my mortal past. Its long lost and forgotten. So don't ask me about it!" /> <parameter key="keyword_reply2" value="It is my curse to be the eternal guardian of this ancient place." /> <parameter key="keyword_reply3" value="It served as a temple, a source of power and ... as a sender for an ancient race in time long gone by and forgotten." /> <parameter key="keyword_reply4" value="The race that built this edifice came to this place from the stars. They ran from an enemy even more horrible than even themselves. But they carried the seed of their own destruction in them." /> <parameter key="keyword_reply5" value="This ancient race was annihilated by its own doings, that's all I know. Aeons have passed since then, but the sheer presence of this complex is still defiling and desecrating this area." /> <parameter key="keyword_reply6" value="This ancient race was annihilated by its own doings, that's all I know. Aeons have passed since then, but the sheer presence of this complex is still defiling and desecrating this area." /> <parameter key="keyword_reply7" value="Its constructors were too strange for you or even me to understand. We cannot know what this ... thing they have built was supposed to be good for. All I can feel is a constant twisting and binding of souls, though that is probably only a side-effect." /> <parameter key="keyword_reply8" value="The place you know as the Ghostlands had a different name once ... and many names thereafter. Too many for me to remember them all." /> <parameter key="keyword_reply9" value="They are my maidens. They give me comfort in my eternal vigil over the last seal." /> <parameter key="keyword_reply10" value="I am the guardian of the SEVENTH and final seal. The seal to open the last door before ... but perhaps it is better you see it with your own eyes." /> <parameter key="keyword_reply11" value="I am the guardian of the SEVENTH and final seal. The seal to open the last door before ... but perhaps it is better you see it with your own eyes." /> </parameters> </npc> banshee_queen.lua local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) 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(npcHandler.focus ~= cid) then return false end -- NPC The Queen of the Banshees feito por Rodrigo (Nottinghster) -- Inicio The Queen of the Banshees NPC local primeiro_selo = getPlayerStorageValue(cid, 20001) local segundo_selo = getPlayerStorageValue(cid, 20002) local terceiro_selo = getPlayerStorageValue(cid, 20003) local quarto_selo = getPlayerStorageValue(cid, 20004) local quinto_selo = getPlayerStorageValue(cid, 20005) local sexto_selo = getPlayerStorageValue(cid, 20006) local setimo_selo = getPlayerStorageValue(cid, 20007) local teletransporte = {x=32202, y=31812, z=8, stackpos =0} if msgcontains(msg, 'seventh') or msgcontains(msg, 'last') and getPlayerLevel(cid) < 60 then selfSay('You are not experienced enough to master the challenges ahead or to receive knowledge about the seventh seal. Go and learn more before asking me again.') elseif msgcontains(msg, 'seventh') or msgcontains(msg, 'last') and getPlayerLevel(cid) > 59 then selfSay('If you have passed the first six seals and entered the blue fires that lead to the chamber of the seal you might receive my kiss ... It will open the last seal. Do you think you are ready?') talk_state = 2 elseif msgcontains(msg, 'kiss') and setimo_selo == -1 and talk_state == 8 then selfSay('Are you prepared to receive my kiss, even though this will mean that your death as well as a part of your soul will forever belong to me, my dear?') talk_state = 1 elseif msgcontains(msg, 'kiss') and setimo_selo == -1 then selfSay('To receive my kiss you have to pass all other seals first.') talk_state = 0 elseif msgcontains(msg, 'kiss') and setimo_selo == 1 then selfSay('You have already received my kiss. You should know better then to ask for it.') talk_state = 0 elseif msgcontains(msg, 'yes') and talk_state == 1 then selfSay('So be it! Hmmmmmm...') doTeleportThing(cid, teletransporte) setPlayerStorageValue(cid, 20007, 1) elseif msgcontains(msg, 'no') and talk_state == 1 then selfSay('Perhaps it is the better choice for you, my dear.') talk_state = 0 elseif msgcontains(msg, 'yes') and talk_state == 2 and quarto_selo == 1 then selfSay('Yessss, I can sense you have passed the seal of sacrifice. Have you passed any other seal yet?') talk_state = 3 elseif msgcontains(msg, 'yes') and talk_state == 2 and quarto_selo == -1 then selfSay('You have not passed the seal of sacrifice yet. Return to me when you are better prepared.') talk_state = 0 elseif msgcontains(msg, 'no') and talk_state == 2 then selfSay('Then try to be better prepared next time we meet.') talk_state = 0 elseif msgcontains(msg, 'yes') and talk_state == 3 and primeiro_selo == 1 then selfSay('I sense you have passed the hidden seal as well. Have you passed any other seal yet?') talk_state = 4 elseif msgcontains(msg, 'yes') and talk_state == 3 and primeiro_selo == -1 then selfSay('You have not found the hidden seal yet. Return when you are better prepared.') talk_state = 0 elseif msgcontains(msg, 'no') and talk_state == 3 then selfSay('Then try to be better prepared next time we meet.') talk_state = 0 elseif msgcontains(msg, 'yes') and talk_state == 4 and segundo_selo == 1 then selfSay('Oh yes, you have braved the plagueseal. Have you passed any other seal yet?') talk_state = 5 elseif msgcontains(msg, 'yes') and talk_state == 4 and segundo_selo == -1 then selfSay('You have not faced the plagueseal yet. Return to me when you are better prepared.') talk_state = 0 elseif msgcontains(msg, 'no') and talk_state == 4 then selfSay('Then try to be better prepared next time we meet.') talk_state = 0 elseif msgcontains(msg, 'yes') and talk_state == 5 and terceiro_selo == 1 then selfSay('Ah, I can sense the power of the seal of demonrage burning in your heart. Have you passed any other seal yet?') talk_state = 6 elseif msgcontains(msg, 'yes') and talk_state == 5 and terceiro_selo == -1 then selfSay('You are not filled with the fury of the imprisoned demon. Return when you are better prepared.') talk_state = 0 elseif msgcontains(msg, 'no') and talk_state == 5 then selfSay('Then try to be better prepared next time we meet.') talk_state = 0 elseif msgcontains(msg, 'yes') and talk_state == 6 and quinto_selo == 1 then selfSay('So, you have managed to pass the seal of the 1 path. Have you passed any other seal yet?') talk_state = 7 elseif msgcontains(msg, 'yes') and talk_state == 6 and quinto_selo == -1 then selfSay('You have not found your 1 path yet. Return when you are better prepared.') talk_state = 0 elseif msgcontains(msg, 'no') and talk_state == 6 then selfSay('Then try to be better prepared next time we meet.') talk_state = 0 elseif msgcontains(msg, 'yes') and talk_state == 7 and sexto_selo == 1 then selfSay('I see! You have mastered the seal of logic. You have made the sacrifice, you have seen the unseen, you possess fortitude, you have filled yourself with power and found your path. You may ask me for my kiss now.') talk_state = 8 elseif msgcontains(msg, 'yes') and talk_state == 7 and sexto_selo == -1 then selfSay('You have not found your 1 path yet. Return to meh when you are better prepared.') talk_state = 0 elseif msgcontains(msg, 'no') and talk_state == 7 then selfSay('Then try to be better prepared next time we meet.') talk_state = 0 elseif msgcontains(msg, 'spectral dress') then selfSay('Your wish for a spectral dress is silly. Allthough I will grant you the permission to take one. My maidens left one in a box in a room, directly south of here.') setPlayerStorageValue(cid, 327, 1) doPlayerAddItem(cid, 2657, 1) elseif msgcontains(msg, 'bye') and (talk_state >= 1 and talk_state <= 8) then selfSay('We will meet again.') talk_state = 0 end -- Final The Queen of the Banshees NPC -- NPC The Queen of the Banshees feito por Rodrigo (Nottinghster) return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) É isso ai galera, bom proveito!
  15. Fala ae galera XTibiana! Alguns de vocês devem saber que eu sou o criador do Tibia World RPG OldSchool Server e como eu ando fazendo MUITOS NPCs para o meu Servidor, resolvi liberar alguns dos meus NPCs mais fáceis de fazer e é claro que não vou postar um dificil como a The Queen of the Banshee NPC até porque não sou nenhum idiota Só para lembrar que todos os meus NPCs são baseados nos arquivos originais de NPC da Cipsoft! Vamos parar de conversa e vamos aos Scripts: Arquivo em que o NPC foi baseado (arquivo original da CipSoft): # GIMUD - Graphical Interface Multi User Dungeon # seymour.npc: Datenbank fuer den Schulleiter Seymour Name = "Seymour" Sex = male Race = 1 Outfit = (128,115-69-87-116) Home = [32103,32195,7] Radius = 1 GoStrength = 5 Behaviour = { ADDRESS,"hello",! -> "Hello, %N. What do you need?" ADDRESS,"hi",! -> * ADDRESS,! -> Idle BUSY,"hi$",! -> "%N, I am already talking to somebody else! Please wait until it is your turn.", Queue BUSY,"hello$",! -> * BUSY,! -> NOP VANISH,! -> "Good bye! And remember: No running up and down in the academy!" "bye" -> "Good bye! And remember: No running up and down in the academy!", Idle "farewell" -> * "how","are","you" -> "Well, the king doesn't send troops anymore, the academy is dreadfully low on money, and the end of the world is pretty nigh. Apart from that I am reasonably fine, I suppose." "sell" -> "I sell the Key to Adventure for 5 gold! If you are interested, tell me that you want to buy the key." "job" -> "I am the master of this fine academy." "academy" -> "Our academy has a library, a training center in the cellars and the oracle upstairs." "library" -> "Go and read our books. Ignorance may mean death, so be careful." "train" -> "You can try some basic things down there, but don't challenge the monsters in our arena if you are inexperienced." "center" -> * "cellar" -> * "oracle" -> "You will find the oracle upstairs. Talk to the oracle as soon as you have made level 8. Choose a vocation and a new home town, and you will be sent off to the continent." "vocation" -> * "key" -> Type=2969, Data=4600, Amount=1, Price=5, "Do you want to buy the Key to Adventure for %P gold coins?", Topic=1 Topic=1,"no" -> "As you wish." Topic=1,"yes",CountMoney>=Price -> "Here you are.", DeleteMoney, Create(Type) Topic=1,"yes" -> "You don't have enough money." Topic=1 -> "Only nonsense on your mind, eh?" "rookgaard" -> "Here on Rookgaard we have some people, a temple, some shops, a farm and an academy." "name" -> "My name is Seymour, but to you I am 'Sir' Seymour." "seymour" -> * "sir" -> "At least you know how to address a man of my importance." "time" -> "It is %T, so you are late. Hurry!" "help" -> "I can assist you with my advice." "hint" -> * "people" -> "Well, there's me, Cipfried, Willie, Obi, Amber, Dallheim, Al Dee, Norma, and Hyacinth." "advice" -> "Read the blackboard for some hints and visit the training center in the cellar." "monster" -> "You can learn about Tibia's monsters in our library." "dungeon",level<3 -> "There are some dungeons on this isle, but almost all of them are too dangerous for you at the moment." "dungeon",level>2 -> "There are some dungeons on this isle. You should be strong enough to explore them now, but make sure to take a rope with you." "sewer" -> "Our sewers are overrun with rats. If you own some equipment you could go down a sewer grate and fight the vermin." "god" -> "You can learn much about Tibia's gods in our library." "gamemaster" -> "If you have serious problems with the game or with other people who are harassing you, contact a counsellor or a gamemaster using CTRL+R." "counsellor" -> * "king" -> "Hail to King Tibianus! Long live our king! Not that he cares for an old veteran who is stuck on this godforsaken island..." "obi" -> "A cousin of Thais' smith Sam. He has a shop here where you can buy most stuff an adventurer needs." "cipfried" -> "A humble monk with healing powers, and a pupil of the great Quentin himself." "amber" -> "A traveller from the main land. I wonder what brought her here, since no one comes here of his own free will." "willie" -> "Willie is a fine farmer, although he has short temper." "hyacinth" -> "A mysterious druid who lives somewhere in the wilderness. He sells precious life fluids." "dallheim" -> "Oh good Dallheim! What a fighter he is! Without him we would be doomed." "al","dee" -> "He is a shop owner in the northwestern part of the village." "quentin" -> "He is responsible for the temple in Thais." "life","fluid" -> "A rare magic potion that restores health." "fuck",male -> "For this remark I will wash your mouth with soap, young man!", EffectOpp(8) "fuck",female -> "For this remark I will wash your mouth with soap, young lady!", EffectOpp(8) "bug" -> "Nasty little creatures, but once you have a suitable weapon and perhaps a shield they will be no match for you." "weapon" -> "You need fine weapons to fight the tougher beasts. Unfortunately only the most basic weapons and armor are available here. You will have to fight some monsters to get a better weapon." "magic" -> "The only magic-user on this isle is old Hyacinth." "tibia" -> "Oh, how I miss the crowded streets of Thais. I know one day I will get promoted and get a job at the castle... I must get out of here! The faster the better! It is people like you who are driving me mad." "castle" -> "The castle of Thais is the greatest achievement in Tibian history." "mission",level<4 -> "You are pretty inexperienced. I think killing rats is a suitable challenge for you. For each fresh rat I will give you two shiny coins of gold." "quest",level<4 -> * "mission",level>3 -> "Well I would like to send our king a little present, but I do not have a suitable box. If you find a nice box, please bring it to me." "quest",level>3 -> * "rat" -> Type=3994, Amount=1, Price=2, "Have you brought a dead rat to me to pick up your reward?", Topic=2 %1,1<%1,"rat" -> Type=3994, Amount=%1, Price=2*%1, "Have you brought %A dead rats to me to pick up your reward?", Topic=2 Topic=2,"yes",Count(Type)>=Amount -> "Thank you! Here is your reward.", Delete(Type), CreateMoney Topic=2,"yes" -> "HEY! You don't have one! Stop playing tricks on fooling me or I will give you some extra work!" Topic=2,"yes",Amount>1 -> "HEY! You do not have so many!" Topic=2 -> "Go and find some rats to kill!" "box" -> Type=2856, Amount=1, "Do you have a suitable present box for me?", Topic=3 Topic=3,"yes",Count(Type)>=Amount -> "THANK YOU! Here is a helmet that will serve you well.", Delete(Type), Create(3374) Topic=3,"yes" -> "HEY! You don't have one! Stop playing tricks on me or I will give some extra work!" Topic=3 -> * } Seymour.xml <?xml version="1.0" encoding="UTF-8"?> <npc name="Seymour" script="seymour.lua" walkinterval="1000" access="3" floorchange="0"> <health now="100" max="100"/> <look type="128" head="115" body="69" legs="87" feet="116" addons="0"/> <parameters> <parameter key="message_greet" value="Hello, |PLAYERNAME|. What do you need?" /> <parameter key="message_placedinqueue" value="|PLAYERNAME|, I am already talking to somebody else! Please wait until it is your turn." /> <parameter key="message_farewell" value="Good bye, |PLAYERNAME|! And remember: No running up and down in the academy!" /> <parameter key="message_walkaway" value="Good bye, |PLAYERNAME|! And remember: No running up and down in the academy!" /> <parameter key="message_idletimeout" value="Good bye, |PLAYERNAME|! And remember: No running up and down in the academy!" /> <parameter key="message_buy" value="Have you brought a dead rat to me to pick up your reward?" /> <parameter key="message_onsell" value="Thank you! Here is your reward." /> <parameter key="message_nothaveitem" value="HEY! You don't have one! Stop playing tricks on fooling me or I will give you some extra work!" /> <parameter key="module_keywords" value="1" /> <parameter key="keywords" value="how are you;sell;job;academy;library;train;center;cellar;oracle;vocation;rookgaard;name;seymour;sir;help;hint;people;advice;monster;sewer;god;gamemaster;counsellor;king;obi;cipfried;amber;willie;hyancith;dallheim;al dee;quentin;life fluid;bug;weapon;magic;tibia;castle;" /> <parameter key="keyword_reply1" value="Well, the king doesn't send troops anymore, the academy is dreadfully low on money, and the end of the world is pretty nigh. Apart from that I am reasonably fine, I suppose." /> <parameter key="keyword_reply2" value="I sell the Key to Adventure for 5 gold! If you are interested, tell me that you want to buy the key." /> <parameter key="keyword_reply3" value="I am the master of this fine academy." /> <parameter key="keyword_reply4" value="Our academy has a library, a training center in the cellars and the oracle upstairs." /> <parameter key="keyword_reply5" value="Go and read our books. Ignorance may mean death, so be careful." /> <parameter key="keyword_reply6" value="You can try some basic things down there, but don't challenge the monsters in our arena if you are inexperienced." /> <parameter key="keyword_reply7" value="You can try some basic things down there, but don't challenge the monsters in our arena if you are inexperienced." /> <parameter key="keyword_reply8" value="You can try some basic things down there, but don't challenge the monsters in our arena if you are inexperienced." /> <parameter key="keyword_reply9" value="You will find the oracle upstairs. Talk to the oracle as soon as you have made level 8. Choose a vocation and a new home town, and you will be sent off to the continent." /> <parameter key="keyword_reply10" value="You will find the oracle upstairs. Talk to the oracle as soon as you have made level 8. Choose a vocation and a new home town, and you will be sent off to the continent." /> <parameter key="keyword_reply11" value="Here on Rookgaard we have some people, a temple, some shops, a farm and an academy." /> <parameter key="keyword_reply12" value="My name is Seymour, but to you I am 'Sir' Seymour." /> <parameter key="keyword_reply13" value="My name is Seymour, but to you I am 'Sir' Seymour." /> <parameter key="keyword_reply14" value="At least you know how to address a man of my importance." /> <parameter key="keyword_reply15" value="I can assist you with my advice." /> <parameter key="keyword_reply16" value="I can assist you with my advice." /> <parameter key="keyword_reply17" value="Well, there's me, Cipfried, Willie, Obi, Amber, Dallheim, Al Dee, Norma, and Hyacinth." /> <parameter key="keyword_reply18" value="Read the blackboard for some hints and visit the training center in the cellar." /> <parameter key="keyword_reply19" value="You can learn about Tibia's monsters in our library." /> <parameter key="keyword_reply20" value="Our sewers are overrun with rats. If you own some equipment you could go down a sewer grate and fight the vermin." /> <parameter key="keyword_reply21" value="You can learn much about Tibia's gods in our library." /> <parameter key="keyword_reply22" value="If you have serious problems with the game or with other people who are harassing you, contact a counsellor or a gamemaster using CTRL+R." /> <parameter key="keyword_reply23" value="If you have serious problems with the game or with other people who are harassing you, contact a counsellor or a gamemaster using CTRL+R." /> <parameter key="keyword_reply24" value="Hail to King Tibianus! Long live our king! Not that he cares for an old veteran who is stuck on this godforsaken island..." /> <parameter key="keyword_reply25" value="A cousin of Thais' smith Sam. He has a shop here where you can buy most stuff an adventurer needs." /> <parameter key="keyword_reply26" value="A humble monk with healing powers, and a pupil of the great Quentin himself." /> <parameter key="keyword_reply27" value="A traveller from the main land. I wonder what brought her here, since no one comes here of his own free will." /> <parameter key="keyword_reply28" value="Willie is a fine farmer, although he has short temper." /> <parameter key="keyword_reply29" value="A mysterious druid who lives somewhere in the wilderness. He sells precious life fluids." /> <parameter key="keyword_reply30" value="Oh good Dallheim! What a fighter he is! Without him we would be doomed." /> <parameter key="keyword_reply31" value="He is a shop owner in the northwestern part of the village." /> <parameter key="keyword_reply32" value="He is responsible for the temple in Thais." /> <parameter key="keyword_reply33" value="A rare magic potion that restores health." /> <parameter key="keyword_reply34" value="Nasty little creatures, but once you have a suitable weapon and perhaps a shield they will be no match for you." /> <parameter key="keyword_reply35" value="You need fine weapons to fight the tougher beasts. Unfortunately only the most basic weapons and armor are available here. You will have to fight some monsters to get a better weapon." /> <parameter key="keyword_reply36" value="The only magic-user on this isle is old Hyacinth." /> <parameter key="keyword_reply37" value="Oh, how I miss the crowded streets of Thais. I know one day I will get promoted and get a job at the castle... I must get out of here! The faster the better! It is people like you who are driving me mad." /> <parameter key="keyword_reply38" value="The castle of Thais is the greatest achievement in Tibian history." /> <parameter key="module_shop" value="1"/> <parameter key="shop_buyable" value="" /> <parameter key="shop_sellable" value="dead rat,2813,2" /> </parameters> </npc> Seymour.lua local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) 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(npcHandler.focus ~= cid) then return false end -- NPC Seymour feito por Rodrigo (Nottinghster) -- Inicio NPC Seymour local player_gold = getPlayerItemCount(cid,2148) local player_plat = getPlayerItemCount(cid,2152)*100 local player_crys = getPlayerItemCount(cid,2160)*10000 local player_money = player_gold + player_plat + player_crys if msgcontains(msg, 'dungeon') and getPlayerLevel(cid) < 3 then selfSay('There are some dungeons on this isle, but almost all of them are too dangerous for you at the moment.') elseif msgcontains(msg, 'dungeon') and getPlayerLevel(cid) > 2 then selfSay('There are some dungeons on this isle. You should be strong enough to explore them now, but make sure to take a rope with you.') elseif msgcontains(msg, 'mission') or msgcontains(msg, 'quest') and getPlayerLevel(cid) < 4 then selfSay('You are pretty inexperienced. I think killing rats is a suitable challenge for you. For each fresh rat I will give you two shiny coins of gold.') elseif msgcontains(msg, 'mission') or msgcontains(msg, 'quest') and getPlayerLevel(cid) > 3 then selfSay('Well I would like to send our king a little present, but I do not have a suitable box. If you find a nice box, please bring it to me.') elseif msgcontains(msg, 'key') then selfSay('Do you want to buy the Key to Adventure for 5 gold coins?') talk_state = 1 elseif msgcontains(msg, 'yes') and talk_state == 1 and player_money >= 5 then selfSay('Here you are.') doPlayerRemoveMoney(cid, 5) key = doPlayerAddItem(cid, 2088,1) doSetItemActionId(key,4600) talk_state = 0 elseif msgcontains(msg, 'yes') and talk_state == 1 and player_money < 5 then selfSay('You don\'t have enough money.') elseif msgcontains(msg, 'no') and talk_state == 1 then selfSay('As you wish.') talk_state = 0 elseif msgcontains(msg, 'box') then selfSay('Do you have a suitable present box for me?') talk_state = 2 elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerItemCount(cid,1990) >= 1 then selfSay('THANK YOU! Here is a helmet that will serve you well.') doPlayerRemoveItem(cid, 1990, 1) doPlayerAddItem(cid, 2480, 1) talk_state = 0 elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerItemCount(cid,1990) == 0 then selfSay('HEY! You don\'t have one! Stop playing tricks on fooling me or I will give you some extra work!') talk_state = 0 elseif msgcontains(msg, 'bye') and (talk_state >= 1 and talk_state <= 2) then selfSay('See you later.') talk_state = 0 end -- Final Seymour NPC -- NPC Seymour feito por Rodrigo (Nottinghster) return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) É isso ai galera abraço!
  16. Ih brother, então ficará no aguardo pelo The Queen of the Banshee NPC porque esse eu não irei postar de jeito nenhum, até hoje não vi nenhum OTServ que tenha esse NPC que seja idêntico ao Global, se quiser somente o XML dele, sem problemas, mas agora o arquivo LUA dele de jeito nenhum, lá está o código inteiro Ai o XML do NPC se quiser: The Queen of the Banshee.xml <?xml version="1.0" encoding="UTF-8"?> <npc name="The Queen of the Banshee" script="banshee_queen.lua" walkinterval="1000" access="3" floorchange="0"> <health now="100" max="100"/> <look type="78" head="0" body="0" legs="0" feet="0"/> <parameters> <parameter key="message_greet" value="Be greeted, dear visitor. Come and stay ... a while."/> <parameter key="message_farewell" value="We will meet again."/> <parameter key="module_keywords" value="1" /> <parameter key="keywords" value="name;job;place;race;seed;destruction;complex;ghostlands;banshee;seal;guardian;" /> <parameter key="keyword_reply1" value="It hurts me to even think about my mortal past. Its long lost and forgotten. So don't ask me about it!" /> <parameter key="keyword_reply2" value="It is my curse to be the eternal guardian of this ancient place." /> <parameter key="keyword_reply3" value="It served as a temple, a source of power and ... as a sender for an ancient race in time long gone by and forgotten." /> <parameter key="keyword_reply4" value="The race that built this edifice came to this place from the stars. They ran from an enemy even more horrible than even themselves. But they carried the seed of their own destruction in them." /> <parameter key="keyword_reply5" value="This ancient race was annihilated by its own doings, that's all I know. Aeons have passed since then, but the sheer presence of this complex is still defiling and desecrating this area." /> <parameter key="keyword_reply6" value="This ancient race was annihilated by its own doings, that's all I know. Aeons have passed since then, but the sheer presence of this complex is still defiling and desecrating this area." /> <parameter key="keyword_reply7" value="Its constructors were too strange for you or even me to understand. We cannot know what this ... thing they have built was supposed to be good for. All I can feel is a constant twisting and binding of souls, though that is probably only a side-effect." /> <parameter key="keyword_reply8" value="The place you know as the Ghostlands had a different name once ... and many names thereafter. Too many for me to remember them all." /> <parameter key="keyword_reply9" value="They are my maidens. They give me comfort in my eternal vigil over the last seal." /> <parameter key="keyword_reply10" value="I am the guardian of the SEVENTH and final seal. The seal to open the last door before ... but perhaps it is better you see it with your own eyes." /> <parameter key="keyword_reply11" value="I am the guardian of the SEVENTH and final seal. The seal to open the last door before ... but perhaps it is better you see it with your own eyes." /> </parameters> </npc>
  17. Disponha brother! Agora aproveite bem o NPC
  18. Fala ae galera XTibiana! Alguns de vocês devem saber que eu sou o criador do Tibia World RPG OldSchool Server e como eu ando fazendo MUITOS NPCs para o meu Servidor, resolvi liberar alguns dos meus NPCs mais fáceis de fazer e é claro que não vou postar um dificil como a The Queen of the Banshee NPC até porque não sou nenhum idiota Só para lembrar que todos os meus NPCs são baseados nos arquivos originais de NPC da Cipsoft! Vamos parar de conversa e vamos aos Scripts: Amber.xml (Rookgaard) <?xml version="1.0"?> <npc name="Amber" script="amber.lua" walkinterval="1000" access="3" floorchange="0"> <health now="100" max="100"/> <look type="137" head="59" body="113" legs="132" feet="76"/> <parameters> <parameter key="message_greet" value="Oh hello, nice to see you |PLAYERNAME|." /> <parameter key="message_farewell" value="See you later." /> <parameter key="module_keywords" value="1" /> <parameter key="keywords" value="how are you;job;explore;adventure;sea;time;help;information;dungeon;sewer;assistant;monster;cyclops;minotaur;dragon;raft;quest;mission;seymour;academy;king;thais;cipfried;dallheim;hyancith;willie;obi;weapon;magic;tibia;castle;orc" /> <parameter key="keyword_reply1" value="I am recovering from a sea journey." /> <parameter key="keyword_reply2" value="I explore and seek adventure." /> <parameter key="keyword_reply3" value="I have been almost everywhere in Tibia." /> <parameter key="keyword_reply4" value="I fought fierce monsters, climbed the highest mountains, and crossed the sea on a raft." /> <parameter key="keyword_reply5" value="My trip over the sea was horrible. The weather was bad, the waves high and my raft quite simple." /> <parameter key="keyword_reply6" value="Sorry, I lost my watch in a storm." /> <parameter key="keyword_reply7" value="I can't help you much beyond information." /> <parameter key="keyword_reply8" value="Just ask and I'll try to answer." /> <parameter key="keyword_reply9" value="I have not had the time to explore the dungeons of this isle, but I have seen two big caves in the east, and there is a ruined tower in the northwest." /> <parameter key="keyword_reply10" value="I like sewers. I made my very first battle experience in the Thais sewers. The small sewersystem of Rookgaard has some nasty rats to fight." /> <parameter key="keyword_reply11" value="I have a job of great responsibility. Mostly I keep annoying persons away from my boss." /> <parameter key="keyword_reply12" value="Oh, I fought orcs, cyclopses, minotaurs, and even green dragons." /> <parameter key="keyword_reply13" value="Horrible monsters they are." /> <parameter key="keyword_reply14" value="Horrible monsters they are." /> <parameter key="keyword_reply15" value="Horrible monsters they are." /> <parameter key="keyword_reply16" value="I left my raft at the south eastern shore. I forgot my private notebook on it. If you could return it to me I would be very grateful." /> <parameter key="keyword_reply17" value="I left my raft at the south eastern shore. I forgot my private notebook on it. If you could return it to me I would be very grateful." /> <parameter key="keyword_reply18" value="I left my raft at the south eastern shore. I forgot my private notebook on it. If you could return it to me I would be very grateful." /> <parameter key="keyword_reply19" value="I think this poor guy was a bad choice as the head of the academy." /> <parameter key="keyword_reply20" value="A fine institution, but it needs definitely more funds from the king." /> <parameter key="keyword_reply21" value="King Tibianus is the ruler of Thais." /> <parameter key="keyword_reply22" value="A fine city, but the king has some problems enforcing the law." /> <parameter key="keyword_reply23" value="A gentle person. You should visit him, if you have problems." /> <parameter key="keyword_reply24" value="An extraordinary warrior. He's the first and last line of defense of Rookgaard." /> <parameter key="keyword_reply25" value="Hyacinth is a great healer. He lives somewhere hidden on this isle." /> <parameter key="keyword_reply26" value="He's funny in his own, gruffy way." /> <parameter key="keyword_reply27" value="He's a funny little man." /> <parameter key="keyword_reply28" value="The best weapons on this isle are just toothpicks, compared with the weapons warriors of the mainland wield." /> <parameter key="keyword_reply29" value="You can learn spells only in the guildhalls of the mainland." /> <parameter key="keyword_reply30" value="I try to explore each spot of Tibia, and one day I will succeed." /> <parameter key="keyword_reply31" value="If you travel to Thais, you really should visit the marvelous castle." /> <parameter key="keyword_reply32" value="Not the nicest guys you can encounter. I had some clashes with them and was prisoner of the orcs for some months." /> <parameter key="module_shop" value="1"/> <parameter key="shop_buyable" value=""/> </parameters> </npc> Amber.lua local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) 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(npcHandler.focus ~= cid) then return false end -- NPC Amber feito por Rodrigo (Nottinghster) -- Inicio Amber NPC if msgcontains(msg, 'book') or msgcontains(msg, 'notebook') then selfSay('Do you bring me my notebook?') talk_state = 1 elseif msgcontains(msg, 'yes') and talk_state == 1 and getPlayerItemCount(cid,1950) >= 1 then selfSay('Excellent. Here, take this short sword, that might serve you well.') doPlayerAddItem(cid, 2406) doPlayerRemoveItem(cid,1950, 1) talk_state = 0 elseif msgcontains(msg, 'yes') and talk_state == 1 and getPlayerItemCount(cid,1950) == 0 then selfSay('Hm, you don\'t have it.') talk_state = 0 elseif msgcontains(msg, 'no') and talk_state == 1 then selfSay('Too bad.') talk_state = 0 elseif msgcontains(msg, 'orcish') or msgcontains(msg, 'language') or msgcontains(msg, 'prisoner') then selfSay('I speak some orcish words, not much though, just \'yes\' and \'no\' and such basic.') talk_state = 2 elseif msgcontains(msg, 'yes') and talk_state == 2 then selfSay('It\'s \'mok\' in orcish. I help you more about that if you have some food.') elseif msgcontains(msg, 'no') and talk_state == 2 then selfSay('In orcish that\'s \'burp\'. I help you more about that if you have some food.') elseif msgcontains(msg, 'food') then selfSay('My favorite dish is salmon. Oh please, bring me some of it.') elseif msgcontains(msg, 'salmon') then selfSay('Yeah! If you give me some salmon I will tell you more about the orcish language.') talk_state = 3 elseif msgcontains(msg, 'yes') and talk_state == 3 and getPlayerItemCount(cid,2668) >= 1 then selfSay('Thank you. Orcs call arrows \'pixo\'.') doPlayerRemoveItem(cid,2668,1) elseif msgcontains(msg, 'yes') and talk_state == 3 and getPlayerItemCount(cid,2668) == 0 then selfSay('You don\'t have one!') talk_state = 0 elseif msgcontains(msg, 'bye') and (talk_state >= 1 and talk_state <= 3) then selfSay('See you later.') talk_state = 0 end -- Final Amber NPC -- NPC Amber feito por Rodrigo (Nottinghster) return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) Simon the Beggar.xml (Deeper Fibula Quest) <?xml version="1.0"?> <npc name="Simon the Beggar" script="simon.lua" walkinterval="1000" access="3" floorchange="0"> <health now="100" max="100"/> <look type="128" head="116" body="123" legs="32" feet="40"/> <parameters> <parameter key="message_greet" value="Hello |PLAYERNAME|. I am a poor man. Please help me." /> <parameter key="message_farewell" value="Have a nice day." /> <parameter key="module_keywords" value="1" /> <parameter key="keywords" value="job;beggar;gold;name;simon;dermot;village;key;dungeon;fibula;timur;worlf;flute;minotaurs;minos;treasure;giant spider;monster;jetty;ship;tibia" /> <parameter key="keyword_reply1" value="I have no job. I am a beggar." /> <parameter key="keyword_reply2" value="I have no gold and no job, so I am a beggar." /> <parameter key="keyword_reply3" value="I need gold. I love gold. I need help." /> <parameter key="keyword_reply4" value="My name is Simon. I am a very poor man." /> <parameter key="keyword_reply5" value="I am Simon. The poorest human all over the continent." /> <parameter key="keyword_reply6" value="The magistrate of the village. I heard he is selling something for the Fibula Dungeon." /> <parameter key="keyword_reply7" value="To the north is the village Fibula. A very small village." /> <parameter key="keyword_reply8" value="Key? There are a lot of keys. Please change the topic." /> <parameter key="keyword_reply9" value="I heard a lot about the Fibula Dungeon. But I never was there." /> <parameter key="keyword_reply10" value="I hate Fibula. Too many wolves are here." /> <parameter key="keyword_reply11" value="I hate Timur. He is too expensive. But sometimes I find maces and hatchets. Timur is buying these items." /> <parameter key="keyword_reply12" value="Please kill them ... ALL." /> <parameter key="keyword_reply13" value="Har, har. The stupid Dermot lost his flute. I know that some minotaurs have it in their treasure room." /> <parameter key="keyword_reply14" value="Very rich monsters. But they are too strong for me. However, there are even stronger monsters." /> <parameter key="keyword_reply15" value="Very rich monsters. But they are too strong for me. However, there are even stronger monsters." /> <parameter key="keyword_reply16" value="I know there are two rooms. And I know you can pass only the first door. The second door can't be opened." /> <parameter key="keyword_reply17" value="I know that terrible monster. It killed the fishers on the isle to the north." /> <parameter key="keyword_reply18" value="The strongest monster I know is the giant spider." /> <parameter key="keyword_reply19" value="I hate this jetty. I have never seen a ship here." /> <parameter key="keyword_reply20" value="There is a large sea-monster outside. I think there is no gritty captain to sail in this quarter." /> <parameter key="keyword_reply21" value="Hehe, do you have a shovel? I can sell you a shovel if you want to return to Tibia." /> <parameter key="module_shop" value="1"/> <parameter key="shop_buyable" value="shovel,2554,50;"/> </parameters> </npc> Simon.lua local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) 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(npcHandler.focus ~= cid) then return false end -- NPC Simon (Deeper Fibula Quest) feito por Rodrigo (Nottinghster) -- Inicio Simon NPC local player_gold = getPlayerItemCount(cid,2148) local player_plat = getPlayerItemCount(cid,2152)*100 local player_crys = getPlayerItemCount(cid,2160)*10000 local player_money = player_gold + player_plat + player_crys if msgcontains(msg, 'help') then selfSay('I need gold. Can you spend me 100 gold pieces?') talk_state = 1 elseif msgcontains(msg, 'yes') and talk_state == 1 and player_money >= 100 then selfSay('Thank you very much. Can you spend me 500 more gold pieces? I will give you a nice hint.') doPlayerRemoveMoney(cid, 100) talk_state = 2 elseif msgcontains(msg, 'yes') and talk_state == 1 and player_money < 100 then selfSay('You\'ve not enough money for me.') elseif msgcontains(msg, 'yes') and talk_state == 2 and player_money >= 500 then doPlayerRemoveMoney(cid, 500) selfSay('That\'s great! I have stolen something from Dermot. You can buy it for 200 gold. Do you want to buy it?') talk_state = 3 elseif msgcontains(msg, 'yes') and talk_state == 2 and player_money < 500 then selfSay('You\'ve not enough money for me.') elseif msgcontains(msg, 'yes') and talk_state == 3 and player_money >= 200 then selfSay('Now you own the hot key.') doPlayerRemoveMoney(cid, 200) key = doPlayerAddItem(cid, 2087,1) doSetItemActionId(key,3940) talk_state = 0 elseif msgcontains(msg, 'yes') and talk_state == 3 and player_money < 200 then selfSay('Pah! I said 200 gold. You don\'t have so much.') elseif msgcontains(msg, 'bye') and (talk_state >= 1 and talk_state <= 3) then selfSay('Have a nice day.') talk_state = 0 end -- Final Simon NPC -- NPC Simon (Deeper Fibula Quest) feito por Rodrigo (Nottinghster) return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) Agora se divirtam!
  19. @Henrique Moura Po brother, eu tinha parado com o projeto por causa do colégio ano passado (projeto final) e era eu que estava fazendo o sistema do projeto final e então não tinha tempo pra mecher no Projeto, esse ano que voltei a desenvolver o projeto e agora eu termino \o/!!
  20. @Henrique Moura Disponibilizar para download? kkkkkkkkk Ta louco é? O Servidor ficará Online, só não tem previsão
  21. @marcelinhosk3 Esse mapa não é nenhum convertido, eu o tenho desde 2006, é um autêntico mapa 7.6, e resolvi há pouco tempo criar um projeto em cima dele @Henrique Moura É rapaz, to voltando \o/ Estou fazendo tudo com bastante calma, até porque estou sozinho nessa, todos os Scripts do Servidor sou eu que estou fazendo, um exemplo de uma Quest que eu fiz e que me amarrei foi a The Queen of The Banshees Quest e está 100% igual ao Tibia Global A exp rate será da seguinte maneira Exp Rate: level 1 to 8 = 25x level 9 to 25 = 20x level 26 to 50 = 15x level 51 to 75 = 10x level 76 to 100 = 8x level 101 to 125 = 5x level 126 to 150 = 4x level 151 to 175+ = 3x O tópico será sempre atualizado com novos videos Aqui está o Change Log do projeto: ::::::::::::::::: Change Log by: Nottinghster :::::::::::::::::
  22. Fala ae galera! Aqui vai alguns videos do meu Projeto que ainda está em fase de desenvolvimento (Test Server) e resolvi criar alguns videos mostrando um pouco como será! Fire Axe Quest Demon Helmet Quest
  23. Change Log do projeto ::::::::::::::::: Change Log by: Nottinghster ::::::::::::::::: ----- Adicionados ----- * Adicionado !changesex command * Adicionado /gmspeed command * Adicionado /bc command * Adicionado /gmoutfit command * Adicionado /clean command * Adicionado /leavehouse command * Adicionado gamemaster look (show healthpoints and manapoints of creatures, itemiD, subtype, actionid, uniqueid and position) * Adicionado novo channel Trade-Rookgaard * Adicionado level e muted system aos channels Trade e Trade-Rookgaard * Novos groups da database {(Player(1), Tutor(2), Senior Tutor(3), Gamemaster(4), Community Manager(5), GOD(6)} * Adicionado talkactions (buypremium, status) * Adicionado verificar_premium.lua (Creature Script) * Adicionado Ferumbras Tower ----- Modificações ----- * Modificado NPC libs (data/npc/scripts/lib/npc.lua) * Modificado NPC libs (data\npc\scripts\lib\npcsystem\modules.lua) * Modificado NPC libs (data\npc\scripts\lib\npcsystem\npcsystem.lua) * Modificado NPC libs (data\npc\scripts\lib\npcsystem\npchandler.lua) * Modificado NPC libs (data\npc\scripts\lib\npcsystem\keywordhandler.lua) * Modificado algumas actions (shovel, scythe, pickhole, machete e muitas outras) * Modificados alguns NPCs (Olrik, Lily, Cipfried, Obi, Dixi) * Modificado global.lua * Modificado login.lua * Modificado Calculator.lua (Game Class) ----- Removidos ----- * Removido stages system (PS: Agora está em LUA) * Removido suporte para SqLite, suporte apenas em MySql ----- Correções ----- * Corrigido chat channels * Corrigido charges dos necklases * Corregido algumas Spells ----- Quests ----- * The Queen of the Banshees Quest * Barbarian Axe Quest * Berserker Treasure Quest * Demon Helmet Quest * Edron Goblin Quest * Fire Axe Quest * The Annihilator Quest * The Behemoth Quest * Triple UH Rune Quest * Troll Cave Quest * Vampire Shield Quest * The Desert Dungeons Quest * The Outlaw Camp Quest * Paradox Tower Quest * Captain Iglues Treasure Quest * Dragon Corpse Quest * Katana Quest * Minotaur Hell Quest * Rapier Quest * Torch Quest
  • Quem Está Navegando   0 membros estão online

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