Ir para conteúdo

Arcavier

Campones
  • Total de itens

    16
  • Registro em

  • Última visita

Sobre Arcavier

Últimos Visitantes

1305 visualizações

Arcavier's Achievements

  1. hehe, então nem serv pra mim, meu pc tem as configurações 4x melhores
  2. Lithium depois vc atualiza o tópico pq ja lanço a versao 0.1.8
  3. Arcavier

    Npc's Bless

    Funçao Avançada Necessita NPC Jiddo system NPC's Bless Created 100% By Me: Aqui em casa naum funciono perfeitamente pq eu axo q a funçao getPlayerBlessing esta com problemas. Mas porque esta com problemas? bom, o comando getPlayerBlessing verifica se o player ja tem uma determinada bless para depois ele vende ou não para o comprador, e no caso quando vc vai compra ele fala direto que vc ja tem sem vc ter comprado alguma vez, mas quando eu mostrei pro xidaozu ele disse que estava ótimo, portando isto talvez deverá algum problema nesta função. Enfim, peço se este problema acontece com vcs, que retire a função: if getPlayerBlessing(cid,1) == 0 then do script nos outros npc's para vc n ter duvida a funçoes saum as msm so q elas mudam de acordo com a bless, ali no caso esta (cid,1), pois ele ira verifica se vc tem a bless 1. Mas voltando a parte de retira a funçao, depois q vc retira-la retire tbm: else selfSay('Sorry, you already have this blessing.') end NPC 1 ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- ----------------------------------- Npc of Bless ---------------------------------- ---------------------------- Credits 100% by Arcavier ----------------------------- ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) -- OTServ event handling functions start 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 -- OTServ event handling functions end function creatureSayCallback(cid, type, msg) -- Place all your code in here. Remember that hi, bye and all that stuff is already handled by the npcsystem, so you do not have to take care of that yourself. if(npcHandler.focus ~= cid) then return false end if msgcontains(msg, 'bless') then selfSay('I sell the \"Spiritual Shielding\" Blessing.') ------------------------------------------------ bless ------------------------------------------------ elseif msgcontains(msg, 'Spiritual Shielding') or msgcontains(msg, 'spiritual shielding') then if isPremium(cid) then selfSay('Do you want to buy the Spiritual Shielding Blessing for 20k?') talk_state = 1 else selfSay('Sorry, you need a premium account to get bless.') talk_state = 0 end ------------------------------------------------ confirm yes ------------------------------------------------ elseif msgcontains(msg, 'yes') and talk_state == 1 then talk_state = 0 if getPlayerBlessing(cid,1) == 0 then if doPlayerRemoveMoney(cid,20000) == 1 then selfSay('Now the gods blessed you.') doPlayerAddBlessing(cid,1) else selfSay('Sorry, you dont have enough money.') end else selfSay('Sorry, you already have this blessing.') end ------------------------------------------------ confirm no ------------------------------------------------ elseif msgcontains(msg, 'no') and (talk_state >= 1 and talk_state <= 2) then selfSay('Ok then.') talk_state = 0 end -- Place all your code in here. Remember that hi, bye and all that stuff is already handled by the npcsystem, so you do not have to take care of that yourself. return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) NPC 2 ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- ----------------------------------- Npc of Bless ---------------------------------- ---------------------------- Credits 100% by Arcavier ----------------------------- ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) -- OTServ event handling functions start 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 -- OTServ event handling functions end function creatureSayCallback(cid, type, msg) -- Place all your code in here. Remember that hi, bye and all that stuff is already handled by the npcsystem, so you do not have to take care of that yourself. if(npcHandler.focus ~= cid) then return false end if msgcontains(msg, 'bless') then selfSay('I sell the \"Spark of the Phoenix\" blessing.') ------------------------------------------------ bless ------------------------------------------------ elseif msgcontains(msg, 'Spark of the Phoenix') or msgcontains(msg, 'spark of the phoenix') then if isPremium(cid) then selfSay('Do you want to buy the Spark of the Phoenix Blessing for 20k?') talk_state = 1 else selfSay('Sorry, you need a premium account to get bless.') talk_state = 0 end ------------------------------------------------ confirm yes ------------------------------------------------ elseif msgcontains(msg, 'yes') and talk_state == 1 then talk_state = 0 if getPlayerBlessing(cid,2) == 0 then if doPlayerRemoveMoney(cid,20000) == 1 then selfSay('Now the gods blessed you.') doPlayerAddBlessing(cid,2) else selfSay('Sorry, you dont have enough money.') end else selfSay('Sorry, you already have this blessing.') end ------------------------------------------------ confirm no ------------------------------------------------ elseif msgcontains(msg, 'no') and (talk_state >= 1 and talk_state <= 2) then selfSay('Ok then.') talk_state = 0 end -- Place all your code in here. Remember that hi, bye and all that stuff is already handled by the npcsystem, so you do not have to take care of that yourself. return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) NPC 3 ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- ----------------------------------- Npc of Bless ---------------------------------- ---------------------------- Credits 100% by Arcavier ----------------------------- ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) -- OTServ event handling functions start 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 -- OTServ event handling functions end function creatureSayCallback(cid, type, msg) -- Place all your code in here. Remember that hi, bye and all that stuff is already handled by the npcsystem, so you do not have to take care of that yourself. if(npcHandler.focus ~= cid) then return false end if msgcontains(msg, 'bless') then selfSay('I sell the \"Embrace of Tibia\" Blessing.') ------------------------------------------------ bless ------------------------------------------------ elseif msgcontains(msg, 'Embrace of Tibia') or msgcontains(msg, 'embrace of tibia') then if isPremium(cid) then selfSay('Do you want to buy the Embrace of Tibia Blessing for 20k?') talk_state = 1 else selfSay('Sorry, you need a premium account to get bless.') talk_state = 0 end ------------------------------------------------ confirm yes ------------------------------------------------ elseif msgcontains(msg, 'yes') and talk_state == 1 then talk_state = 0 if getPlayerBlessing(cid,3) == 0 then if doPlayerRemoveMoney(cid,20000) == 1 then selfSay('Now the gods blessed you.') doPlayerAddBlessing(cid,3) else selfSay('Sorry, you dont have enough money.') end else selfSay('Sorry, you already have this blessing.') end ------------------------------------------------ confirm no ------------------------------------------------ elseif msgcontains(msg, 'no') and (talk_state >= 1 and talk_state <= 2) then selfSay('Ok then.') talk_state = 0 end -- Place all your code in here. Remember that hi, bye and all that stuff is already handled by the npcsystem, so you do not have to take care of that yourself. return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) NPC 4 ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- ----------------------------------- Npc of Bless ---------------------------------- ---------------------------- Credits 100% by Arcavier ----------------------------- ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) -- OTServ event handling functions start 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 -- OTServ event handling functions end function creatureSayCallback(cid, type, msg) -- Place all your code in here. Remember that hi, bye and all that stuff is already handled by the npcsystem, so you do not have to take care of that yourself. if(npcHandler.focus ~= cid) then return false end if msgcontains(msg, 'bless') then selfSay('I sell the \"Fire of the Suns\" Blessing.') ------------------------------------------------ bless ------------------------------------------------ elseif msgcontains(msg, 'Fire of the Suns') or msgcontains(msg, 'fire of the suns') then if isPremium(cid) then selfSay('Do you want to buy the Fire of the Suns Blessing for 20k?') talk_state = 1 else selfSay('Sorry, you need a premium account to get bless.') talk_state = 0 end ------------------------------------------------ confirm yes ------------------------------------------------ elseif msgcontains(msg, 'yes') and talk_state == 1 then talk_state = 0 if getPlayerBlessing(cid,4) == 0 then if doPlayerRemoveMoney(cid,20000) == 1 then selfSay('Now the gods blessed you.') doPlayerAddBlessing(cid,4) else selfSay('Sorry, you dont have enough money.') end else selfSay('Sorry, you already have this blessing.') end ------------------------------------------------ confirm no ------------------------------------------------ elseif msgcontains(msg, 'no') and (talk_state >= 1 and talk_state <= 2) then selfSay('Ok then.') talk_state = 0 end -- Place all your code in here. Remember that hi, bye and all that stuff is already handled by the npcsystem, so you do not have to take care of that yourself. return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) NPC 5 ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- ----------------------------------- Npc of Bless ---------------------------------- ---------------------------- Credits 100% by Arcavier ----------------------------- ----------------------------------------------------------------------------------- ----------------------------------------------------------------------------------- local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) -- OTServ event handling functions start 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 -- OTServ event handling functions end function creatureSayCallback(cid, type, msg) -- Place all your code in here. Remember that hi, bye and all that stuff is already handled by the npcsystem, so you do not have to take care of that yourself. if(npcHandler.focus ~= cid) then return false end if msgcontains(msg, 'bless') then selfSay('I sell the \"Wisdom of Solitude\" Blessing.') ------------------------------------------------ bless ------------------------------------------------ elseif msgcontains(msg, 'Wisdom of Solitude') or msgcontains(msg, 'wisdom of solitude') then if isPremium(cid) then selfSay('Do you want to buy the Wisdom of Solitude Blessing for 20k?') talk_state = 1 else selfSay('Sorry, you need a premium account to get bless.') talk_state = 0 end ------------------------------------------------ confirm yes ------------------------------------------------ elseif msgcontains(msg, 'yes') and talk_state == 1 then talk_state = 0 if getPlayerBlessing(cid,5) == 0 then if doPlayerRemoveMoney(cid,20000) == 1 then selfSay('Now the gods blessed you.') doPlayerAddBlessing(cid,5) else selfSay('Sorry, you dont have enough money.') end else selfSay('Sorry, you already have this blessing.') end ------------------------------------------------ confirm no ------------------------------------------------ elseif msgcontains(msg, 'no') and (talk_state >= 1 and talk_state <= 2) then selfSay('Ok then.') talk_state = 0 end -- Place all your code in here. Remember that hi, bye and all that stuff is already handled by the npcsystem, so you do not have to take care of that yourself. return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
  4. @matheusmecca isto vc axara na pasta data/vocations.xml é so vc procura neste arquivo q vc axa ctz.
  5. @draker é so vc edita na pasta data/players/account manager.xml os ekips. EDIT--- No momento n recomendo baxa mais, pois amanha lancara a versao oficial, Evolutions 0.7.8 ~~Cya!
  6. @vinnie vo tenta te explica, tpw o manager do evolutions se vc repara ele cria o player de acordo com o manager ex: se o man ager tive lvl 100 o player vai fica lvl 100 então é so vc modifica o manager do jeito que vc quer que os players comecem.
  7. @Elite Serv o Serv ta a msm coisa doi evolutions, so que eu colokei estas atualizaçoes ai deixei o mapa estas parada para a escolha d quem resolve usar
  8. Bom galera pra quem ai usa evolutions, esta minha atualização somente adicionei isto Version 0.7.3** Protocol 7.92 (CVS, Xidaozu) Graphical User Interface (GUI)(Junkfood, Xidaozu) Prevent Loss System (Xidaozu) New Premium System (Xidaozu) Players.xml not needed (Xidaozu) Premium Spells (Xidaozu) ----------------------- New CVS Features A whole new condition engine to handle all kind of conditions. A whole new battle engine. The new engine is closer to Tibia's formulas. The script interface has been rewriten and improved alot. You can now script all kind of things. Weapons, movement, talkactions, spells. You name it. Monsters have been recoded to use the new condition and battle engine. And they now act more like the tibia monsters. Vocations are now configurable with vocations.xml And alot more. Try it yourself and find out. Version 0.7.4** Ingame Acc-Manager (Xidaozu) Bug Report/Ctrl + Z (Xidaozu) Ban Player/Ctrl + Y (Xidaozu) Ban system improved (Xidaozu) Fixed the house system (Xidaozu) Premium spells fixed (Xidaozu) VIP list fixed (Xidaozu) Learn Spells fixed (Xidaozu) Also some binary fixes Version 0.7.5 Server save fixed (Xidaozu) Houses fixed (Xidaozu) Premium + Promotion system fixed (Xidaozu) Monster loot fixed (Xidaozu) Destroy field fixed (Rafacin) Skulls fixed when firing fields (SimOne) Account Manager fixed a bit (Xidaozu) Blue Robe and Magic Turban trough items.xml (Xidaozu) New items.otb and items.xml (SimOne) Spawnmul in config.lua (SimOne) Damage formula configurable in vocations.xml (Xidaozu) Drowning Condition (SimOne) Re-Added High levels 350+ (Xidaozu) Auto-load IP in config.lua (Xidaozu) Rook Temple in config.lua (Xidaozu) Premium Outfits (Xidaozu) Fixed server save (Xidaozu) Added function to increase physical damage (Xidaozu) Unfortunately protection system disabled Version 0.7.6 Fixed some item hotkey issues (Xidaozu) Fixed some summon issues (SVN) Fixed account manager (111111/tibia now) Fixed Cap System (SVN) Fixed rewriteables (SVN) Fixed some spells Buy Container (Xidaozu) Fluid System 100% Trade Delay (Xidaozu) Death Delay ticks in config.lua (Xidaozu) Soul configurable in vocations.xml (Xidaozu) PvP Arena (Nfries88) Bed System (100%)(Xidaozu) Beds loaded from Map (Xidaozu) Protection System fixed (?) Combat Zoning (Nfries88) Fixed a learn spell issue (Xidaozu) Frag Time in config.lua in minutes (Xidaozu) Fixed magic wall (Xidaozu) Version 0.7.6a Removed PvP Arena Removed Bed System Removed Beds loaded from Map Removed Protection System Removed Combat Zoning Fixed a learn spell issue Fixed some monsters Muted System (SVN) NPC Auto Walk (SVN) PvP Features in config.lua (Xidaozu) This version should be alot more stable. Version 0.7.7 Remote-Control (SVN, Xidaozu) Bed System (Jiddo) Beds loaded from map (Jiddo) Jiddo's NPC System (Jiddo) PvP-Arena (nfries88) Seperate addon system (Xidaozu) Protection System (Xidaozu) NPC's turning to player (SVN) NPC Random Walk (SVN) GUI removed (Moved to remote-control) Config: Minimum action interval Tons of bug/crash fixes (That list is too long xd) Added by me Bank System(o NPC chama Zawa e so vc localiza ele no mapa)(Rob101) Comando /pum(para anima seu serv)(Suboras) Comando /selfsay(para cria fala de outros players)(Raphael Carnaúba) Comando /randomoutfit(axo q todos ja sabem)(Zorzin) está tudo funcionando 100% Bom é so isto, tentei tpw faze uma segunda versao da versao PLUS no Lithium inclemento estas atualizaçoes, mas ocorria uns erro na hr da compilaçao entao fiz assim msm. Espero que gostem ta a msm coisa do evolutions msm, mas com estas atualizaçoes. Em breve poderei adiciona mais. Download: http://rapidshare.com/files/22124156/Evolu....7_XML.rar.html Link lix: http://lix.in/120ada
  9. CIP é perfeito sim, em tudo, pode ate haver bugs mais nenhum que eu ate hj notei, e que possa atrapalha o jogo na minha opiniao os nbs q tem esta paranoia de q tudo é bug, se a stamina do char acaba e como naum vai da mais exp, eles ja vem falando q é bug, usheuasheuaSHeuaHSeuhause
  10. @Lordfire Sim, vc esta certo Budaum PHP funciono tudo perfeitin msm aki em ksa no OT do Zorzin mais so uma dica se alguem for usa. entre na pasta d accounts do Budaum PHP e abra o script "criaracc" ai vc procura por: fwrite($fp, '<?xml version="1.0"?><account pass="'.$senha.'" type="1" premDays="0" lastsaveday="0"><characters></characters></account>'); ali aonde esta "lastsaveday", substitua por "premEnd", pq como o ot do Zorzin avisa quando sua premmy acaba, sempre q vc entra pela primeira vez no ot, e se sua acc for criada no budaum PHP e estive lastsaveday, vai fala q sua premmy expiro, pois esta config é do 7.8, ai é so vc altera ali como eu disse.
  11. Ot mto rox, eu ia dexa pra baxa quando lançasse outra versao mais baxei agora pra da uma olhada e eu axei o acc manager mtu complicado, meu deus, axo q deveria ser igual ao do evolutions, aki quando vc desativa o manager da pra entra e fica andando no manager, no evolutions vc desativa e n tem como entra. axo q deveria adiciona Learn Spells System e coloka pro soul d player promotion ser 200, pq so tem como configura o soul d sem player promotion Quando o GM se empurra ou empurra algum player, e ele anda depois da debug, na minha opiniao devia ser q nem o Darkonia da versao 7.8, q vc empurra e vai na msm hr e este bug eu axei mei ######, seguinte, se vc ativa pra pode entra em clone e se vc ativa pra pode aparece akela msg d ja ter o char logado, ele n faz o clone, se vc desativa os 2, da pra entra em 2 char diferente na acc, se vc ativa so o de fazer clone, um char kicka o otro, é mei complicado, mais se vc for comferir o bug vc vai perceber.
  12. meu deus alguem pelo menos coloque o link pra download pelo rapidshare, pq por este ai ta osso, so aparece uma parada e mais nada
  13. aiaiaiai kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk vc pra que eu vo cria uma nova versao sendo que vc nem crio estes? UIHAuhuashueiahsuie e ainda vem estes comedia ai e acredita neste lero seu, se num sabe mexe em ##### nenhuma n comedia.
  14. nossa como vcs sao ingenuos -.- eu ja tenho este mapa ai a uns 5 meses, baixei ele no ###### as casas naum veio configuradas eu que tive que arruma tudo e talz, vcs axam que este kra ai arrumo alguma coisa? ele apenas pego a versao mais recente do darkonia que a V2 RC2 e coloko a mapa mais as casas, mais nada fiquem espertos -.-, parece um bando d bobo. isto se repara quando vc vai abri o ot e aparece la em cima, este kra fez nada ai n, apenas coloko o mapa global e arruma as casas, mais casa ate minha avó sabe arruma. isto me da uma raiva pq o kra naum faz ###### nenhuma e ainda ganha creditos destes nbs aki. antes que falem ##### eu num mexo com esta "versao" dele ai n, pq esta versao naum existe, ele so vai pegando os emuladores das versoes que vao lançando de algumas ekips ai e muda o nome e chuxa este mapa vei dele ai e fala que crio ajeito uma versao . AUISHEUAhxiduAHzxuihaiuxchiu -.-
  • Quem Está Navegando   0 membros estão online

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