Ir para conteúdo

Dado157

Campones
  • Total de itens

    16
  • Registro em

  • Última visita

Tudo que Dado157 postou

  1. Pokeserver Pokemon Flash O que contem no server ? Citação: Surf 100% Fly 100% Ride 100% Catch 100% Stones 100% Teleport 100% Fishing 100% e balanceado Todos os 151 pokemons, com ataques, vida, e hit's balanceados Para teleportar diga !teleport "nomedacity, exemplo : !teleport "saffron Arena pvp, acesso com o npc PVP ZONE, em saffron. Npc em saffron que teleporta você a uma area de fishing muito boa. Charmander, Squirtle e Bulbasaur como pokemons iniciais. Novos Ataques para os pokemons Novas magias para os pokemons Stones dropando de pokemons selvagens Mapa e Hunt's editadas Novas hunt's adicionadas Loot dos pokemons certos (não é mais sell item) Alguns pokemons evoluindo com 2 stones, exemplo : Tentacool + water stone + venom stone = Tentacruel, Nidorino + venom stone + earth stone = Nidoking. E mais algumas coisas. Bugs do server Citação: Deslogar no surf, fly ou ride buga o char-----(procurando scripts) Master ball-----------------(arrumando) Nurse só heala 1 pokemon por vez-----(procurando scripts) se descobrir mais bugs, avise. Download PokemonFlash v1 Citação: Download do server v1 (mirror 1) : http://www.4shared.c..._/Pkmflash.html Download do server v1 (mirror 2) : http://www.speedysha...82/Pkmflash.rar Download PokemonFlash v2 Citação: Download do server v2 (mirror 1) : http://www.4shared.c...kmflash_20.html Download do server v2 (mirror 2) : http://www.speedysha...kmflash_2.0.rar Scan do server : http://www.virustota...d705-1291160300 OBS: não fui eu que fis o servidor.
  2. Fala galera.. Aqui vou estar postanto uma magia do meu ot Citação: Nome Da Magia: Ultra Elements Exori Magia Testada em Snowz Ots rev 07 "tfs 0.3.4" Versão: 8.50 Autor: Renanziinhu Instalação Do Script: Primeira mente abra a pasta data/spells/script copie qualquer arquivo, apague tudo que tiver dentro e renomei-o para Ultra Exori enseguida adicione isso: Citação: local combat1 = createCombatObject() setCombatParam(combat1, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat1, COMBAT_PARAM_EFFECT, 44) setCombatFormula(combat1, COMBAT_FORMULA_LEVELMAGIC, -09, 10, -10, 10) local combat2 = createCombatObject() setCombatParam(combat2, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat2, COMBAT_PARAM_EFFECT, 34) setCombatFormula(combat2, COMBAT_FORMULA_LEVELMAGIC, -09, 10, -10, 10) local combat3 = createCombatObject() setCombatParam(combat3, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat3, COMBAT_PARAM_EFFECT, 50) setCombatFormula(combat3, COMBAT_FORMULA_LEVELMAGIC, -09, 10, -10, 10) local combat4 = createCombatObject() setCombatParam(combat4, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat4, COMBAT_PARAM_EFFECT, 61) setCombatFormula(combat4, COMBAT_FORMULA_LEVELMAGIC, -09, 10, -10, 10) local combat5 = createCombatObject() setCombatParam(combat5, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat5, COMBAT_PARAM_EFFECT, 61) setCombatFormula(combat5, COMBAT_FORMULA_LEVELMAGIC, -09, 10, -10, 10) local combat6 = createCombatObject() setCombatParam(combat6, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat6, COMBAT_PARAM_EFFECT, 50) setCombatFormula(combat6, COMBAT_FORMULA_LEVELMAGIC, -09, 10, -10, 10) local combat7 = createCombatObject() setCombatParam(combat7, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat7, COMBAT_PARAM_EFFECT, 34) setCombatFormula(combat7, COMBAT_FORMULA_LEVELMAGIC, -09, 10, -10, 10) local combat8 = createCombatObject() setCombatParam(combat8, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) setCombatParam(combat8, COMBAT_PARAM_EFFECT, 44) setCombatFormula(combat8, COMBAT_FORMULA_LEVELMAGIC, -09, 10, -10, 10) arr1 = { {0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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 0, 1, 1, 1, 3, 1, 1, 1, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, } arr7 = { {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {0, 1, 1, 1, 1, 3, 1, 1, 1, 1, 0}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, } arr8 = { {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1}, {0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0}, {0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, } local area1 = createCombatArea(arr1) local area2 = createCombatArea(arr2) local area3 = createCombatArea(arr3) local area4 = createCombatArea(arr4) local area5 = createCombatArea(arr5) local area6 = createCombatArea(arr6) local area7 = createCombatArea(arr7) local area8 = createCombatArea(arr8) setCombatArea(combat1, area1) setCombatArea(combat2, area2) setCombatArea(combat3, area3) setCombatArea(combat4, area4) setCombatArea(combat5, area5) setCombatArea(combat6, area6) setCombatArea(combat7, area7) setCombatArea(combat8, area8) local function onCastSpell1(parameters) doCombat(parameters.cid, combat1, parameters.var) end local function onCastSpell2(parameters) doCombat(parameters.cid, combat2, parameters.var) end local function onCastSpell3(parameters) doCombat(parameters.cid, combat3, parameters.var) end local function onCastSpell4(parameters) doCombat(parameters.cid, combat4, parameters.var) end local function onCastSpell5(parameters) doCombat(parameters.cid, combat5, parameters.var) end local function onCastSpell6(parameters) doCombat(parameters.cid, combat6, parameters.var) end local function onCastSpell7(parameters) doCombat(parameters.cid, combat7, parameters.var) end local function onCastSpell8(parameters) doCombat(parameters.cid, combat8, parameters.var) end function onCastSpell(cid, var) local parameters = { cid = cid, var = var} addEvent(onCastSpell1, 100, parameters) addEvent(onCastSpell2, 600, parameters) addEvent(onCastSpell3, 800, parameters) addEvent(onCastSpell4, 1000, parameters) addEvent(onCastSpell5, 100, parameters) addEvent(onCastSpell6, 600, parameters) addEvent(onCastSpell7, 800, parameters) addEvent(onCastSpell8, 1000, parameters) return TRUE end Salve e Feche Depois Vá ate a pasta data/spells.xml e adicione isso: Citação: </instant> <instant name="Ultra Exori" words="Ultra Elements Exori" lvl="300000" soul="0" exhaustion="2000" prem="1" selftarget="0" casterTargetOrDirection="0" needlearn="0" script="attack/Ultra Exori.lua"> <vocation name="Slayer Knight"/> <vocation name="Elite Knight"/> Salve e Feche ---------------------------------------------------------------------------------------------------------------------- Se as formulas de DANOS estiverem muito altas para seu tipo de ot server, fique avontade para edita-las qualquer bug favor me avisar SS da magia ta aae =) Creditos: 100% Renanziinhu OBS:Se caso copiarem favor postar meus creditos =D Obrigado
  3. Dado157

    Tairens Acc 1.0.0

    Tairens ACC 1.0.0 Eu quero Mostrar Tairens ACC 1.0.0. Essa é a versão estável. Alterações: Criação de conta fixa instalação fixa (droping tabela shop_system) Fixa-caráter procura Comparência oferecer Fixo loja. Adicionado chave de recuperação criando. -Algumas correções em informações do servidor. Fixo criar personagem, agora as habilidades de leitura de banco de dados. -Mais de status do servidor de trabalho funcional. Adicionado layout tibia.com Adicionado intro tibia.com This image has been resized. Click this bar to view the full image. The original image is sized 1024x768 and weights 162KB. Creditos Tairens DOWNLOAD - multiupload OBS:Roda apenas MYSQL, Não funciona em SQLITE! ----------------------------------------------------------------------------------------------------------------------
  4. parece ser bom vo testa
  5. Dado157

    [ Ripping ]

    Removido
  6. [Gesior ACC] [Layout] 4story Créditos: Koci94 - OTLand Atenção: Para usar esse layout você precisa ter o website Unnamed Acc Maker, clicando aqui. Instalação do 4story layout: Encontre a pasta onde está salvo o website: Xampp: C:\Arquivos de programas\xampp Entre na pasta do website e depois entre na pasta layout. Coloque dentro da pasta layout a pasta "4story"que está disponível para download no final do tópico. Depois volte para a pasta config do seu website, e abra o config.php. Procure por essa tag: Código PHP: $config['site']['layout'] = "WHATEVER"; // layout name Como o nome da pasta é 4story , você deverá colocar no lugar de WHATEVER e então ficará como está abaixo: Código PHP: $config['site']['layout'] = "4story"; // layout name Download: http://www.multiupload.com/6BTQZF9OLD Scan: http://www.virustotal.com/pt/analisi...d77-1276794402
  7. Sobre: - Software com funções exec e DLLs actions, que atuam diretamente na conexão entre o servidor e o seu computador (o cliente dos jogos), buscando manter estável e com a melhor qualidade possível o sinal online e conectividade. - Well Play possui um amplo campo de configuração, em que o usuário (sem conhecimento avançado), pode facilmente configurar a otimização do programa, escolhendo desde o nível de precisão até o game que deseja otimizar a jogabilidade, deixando suas horas de jogo muito mais divertidas, sem ter dor de cabeça com LAG's causados por problemas de conexão, computador sobrecarregado ou até mesmo Freeze's do próprio servidor. - Games compatíveis com o Well Play 1.0: Tibia Global e OTServer's Ragnarok e Private Server's MU Global e Private Server's WOW Blizzard e Private Server's Perfect World e Private Server's Priston Tale e Private Server's Lineage e Private Server's - Torne-se um exemplo de jogador e divirta-se sem interrupções! Criação: © MachineScripts Brasil Créditos: MachineScripts Brasil. Caso vá distribuir, deixe os devidos créditos. Versão do programa gratuita. Tamanho: 4,7 MB Versão: 1.0 (Versão Gratuita) Link: http://baixarprogramasbrasil.com.br/downloadcenter/download-wellplay.html Scan: http://www.virustotal.com/file-scan/report.html?id=f0628a4815673896f6aeacaa49747e4a9f9c355d0761772c97c3020cd9e1d04a-1285265945 OBS: - Você deve configurar (no próprio programa) antes de ativar a otimização. - Setup Original MachineScripts Brasil.
  8. os ots 8.62 estao bugado team tfs fail dessa vez

  9. alguem ai sabe como aumento velocidade god pra ele anda mais rapido
  10. vo abaixa pra ve
  11. nao sei pq deu erro talves seja falta dos arquivo mais eu fiz tudo certo fiz igual q ta ai
  12. Vim postar pra vcs o novo UNNAMED acc. maker 0.3.7 for TFS 'Nome: Unnamed Acc. Maker Versão: 0.3.7 Para saber como instalar, e como corrigir alguns erros, veja este tutorial. Oque este website tem? Código: *Account manager: -create account (account name, e-mail, verification image, show server rules from file) -create character (accept names like RL tibia character names, diffrent outfit for male/female, COPY character from database and change name, id, sex, account..., you select character to copy in "admin panel" like.. vocation: Sorcerer, char to copy: Sorcerer Sample, work with unlimited number of vocations, work with new vocations like... ID 94, vocation name: Ninja) -change password (like on tibia.com) -change e-mail (like on tibia.com, user must wait before e-mail change, time configurable in "admin panel") -register account (generate rec-key) -change character "comment" and set character account information "visible" or "hidden" (like on tibia.com) -change account public information (location, rl name) *Spells: -load spells from OTS spells file (in "admin panel", save informations from file in database) -set spell hidden/visible(admin) on "spells list" in library, also hide all/visible all -show list of spells with informations, user can sort from 0 or from highest value (name, sentence, mana, soul, level, maglvl) -user can select spells only for one vocation (and sort them) *Monsters: -load monsters from OTS monsters files (in "admin panel", save informations from files in database) -set monsters hidden/visible(admin) on "monsters list" in "library", also hide all/visible all -show list of monsters with informations about every monster (hp, mana, summonable, race) and link to page about every monster -on page about monster user see also monster "voices" and "immunities" *Character search: -show informations about searched player: name, vocation, level, magic level (show yes/no configurable in admin panel), guild, comment, residence (town), last login -(if player is NOT HIDDEN)show information about his account: account status (pacc/facc), location, rl name, date when account has been created (like tibia.com) -show list of player deaths (like tibia.com) -(if player is NOT HIDDEN)show list of other characters from account and "online"/"offline" near every char *Who is online: -show list of players online -user can sort list by name, level or vocation *Highscores: -show highscores of players (level, magic level and all skills) -100 players/page, links to next and previous page *Last Kills/Last Deaths: -show list of 25 (number configurable in "admin panel") last deaths from database -rl tibia "death list" format(in table..): <<<@!1!@>>> *Houses List: -show list of houses on OTS and informations about: size, rent, city and "owner" *Guild System: -change "guild nick" (this showed in game when you look at someone) -create guild -show guilds list (like tibia.com) -change rank of players with lower rank in guild For "owner" of guild: -change guild description -change guild MOTD -delete guild -pass leadership to other mamber of guild -upload new guild image (size limit in "admin panel") -add rank -change rank level (member[1], vice-leader[2], leader[3]) -change rank name -all what players with lower ranks can For leaders: -kick player with lower rank from guild -all what players with lower ranks can For vice-leaders: -invite new player to guild -cancel invitation -change rank of players with lower rank *News System: -show news icon, post date, text and author -admin can give rights to write news to every player on server (tutor? gm?) -add, edit, delete news -you can use HTML in news! -javascript scripts to add news *Admin panel: -add,edit,delete news, set limit of news -edit site configuration (default layout and many options: show yes/no) -set limits of characters per account, lines and chars in guild description and many other -reload monsters and spells from OTS files -reload list of vocations from OTS file and set what vocations will be available in "create character" and name of character to copy when player try to create character with selected vocation -edit maaany other options of acc. maker configuration *Lost Account Interface: -player can request e-mail (send only 1 e-mail to one account every XX minutes- config) with link to activate new password -player can set new e-mail and new password if has recovery key *Gallery: -flash animated gallery of pictures - you add pictures to .../gallery/images/ and to list in pictureslist.xml *Database manager: -edit groups, accounts and players -accounts and groups lists -find players with same IP or IP RANGE (to find players who change IP) -open: yourdomain.com/databasemanager/ *New Features - name lock manager on site (accounts with 'page_access' > 0 [in table 'accounts'] can accept/reject new names) - exaBotDefender -> if someone open site more then 20 times per 5 seconds (use httpDOS bot) it block his IP for 5 minutes (cpu use by apache 20x lower, don't connect to mysql 0% cpu use, clear logs [in folder "bdsave"] every 24 hours) Para os admins: Para aceitar/rejeitar mudanças de nomes acesse: Citação: http://seusite.com/?subtopic=namelock |~| Configurando Shop System |~| Screenshot: http://img514.imageshack.us/img514/9854/tibiacom.png Downloads: http://www.sendspace.com/file/83x6ng Obs : So funciona versao 8.6x n sei se funfa nas 8.5x
  13. estao faltando arquivos na source na hora de compila deu erro
  14. -------------------------------------------------------------------------------- NPC Mission Servidor testado: TFS Autor: kawon Retirado: Otland Primeiro crie um arquivo npc_mission.xml dentro da pasta data/npc/. E coloque isso: Código: <npc name="Npc Mission" script="data/npc/scripts/mission.lua" walkinterval="1" floorchange="0" access="5" level="1" maglevel="1"> <health now="100" max="100"/> <look type="132" head="57" body="59" legs="40" feet="76" addons="3"/> <parameters> <parameter key="message_greet" value="Hello |PLAYERNAME|. You can started 'quest'?" /> </parameters> </npc> Em seguida crie um arquivo mission.lua na pasta /data/npc/scripts/ E adicione isso: Código: 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 if(msgcontains(msg, 'quest')) then selfSay('Ok, you can started "first mission"?', cid) end --------------------------------------------------------- if(msgcontains(msg, 'first mission')) then selfSay('Please bring me 10 "meat"', cid) talkState[talkUser] = 1 elseif(msgcontains(msg, 'meat') and talkState[talkUser] == 1) then if (getPlayerStorageValue(cid,100) > 0) then selfSay('You finished this mission.', cid) else if(doPlayerRemoveItem(cid, 2666, 10) == TRUE) then setPlayerStorageValue(cid,100,1) doPlayerAddExperience(cid,1000) selfSay('Thank you! You can started "second mission".. (you received 1000 points of experience)', cid) else selfSay('You must have more items', cid) end end return true end --------------------------------------------------------- if(msgcontains(msg, 'second mission')) then selfSay('Please bring me 10 "ham"', cid) talkState[talkUser] = 1 elseif(msgcontains(msg, 'ham') and talkState[talkUser] == 1) then if (getPlayerStorageValue(cid,101) > 0) then selfSay('You finished this mission.', cid) else if(doPlayerRemoveItem(cid, 2671, 10) == TRUE) then setPlayerStorageValue(cid,101,1) doPlayerAddExperience(cid,1000) selfSay('Thank you! You can started "third mission".. (you received 1000 points of experience)', cid) else selfSay('You must have more items', cid) end end return true end --------------------------------------------------------- if(msgcontains(msg, 'third mission')) then selfSay('Please bring me 20 "ham"', cid) talkState[talkUser] = 1 elseif(msgcontains(msg, 'ham') and talkState[talkUser] == 1) then if (getPlayerStorageValue(cid,102) > 0) then selfSay('You finished this mission.', cid) else if(doPlayerRemoveItem(cid, 2671, 20) == TRUE) then setPlayerStorageValue(cid,102,1) doPlayerAddExperience(cid,1000) selfSay('Thank you! You finished all missions. (you received 1000 points of experience)', cid) else selfSay('You must have more items', cid) end end return true end end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) Transcrições: PLAYER: hi NPC: Hello |PLAYERNAME|. You can started 'quest'? PLAYER: quest NPC: Ok, you can started "first mission"? PLAYER: first mission NPC: Please bring me 10 "meat" PLAYER: meat When player finish this mission NPC: You finished this mission. When player do first once NPC: Thank you! You can started "second mission".. (you received 1000 points of experience) When player don't have 10 meat NPC: You must have more items __________________ - Comming soon... Quer entrar na equipe? mande PM. - -- COMPRO CHAR NO P.O (SILVER)
  15. Dado157

    Padre Marcelo

    Citação: Autor=? Servidor testado = aries 0.4.5 Já vi diversos NPC Padre Todos incompletos ou bugados Conde Sapo pegou uma idéia daquí e outra dalí Reformulou tudo Este fala português Não permite casamentos homossexuais Mensagens diferenciadas pra cada sexo Free pode casar Ele fala sozinho se não tem ninguém com ele (Amém, HIC, Aleluia, etc) Aquelas frazes tradicionais de padre "Estamos aqui reunidos......." e ".... que fale agora ou cale-se para sempre." (nesse momento ouve-se a natureza... cri-cri... atchim... etc) Aliança e Certificado pros noivos etc, etc, etc Certificado data\itens\items.xml Código: <item id="1953" name="Certificado"> <attribute key="weight" value="200"/> </item> Não é obrigatório. (só deixa coerente com o documento dado aos noivos após o casamento) Padre Marcelo data\npc\Padre Marcelo.xml Código: <?xml version="1.0"?> <npc name="Padre Marcelo" script="data/npc/scripts/padre.lua" access="3" lookdir="1" autowalk="200" speed="200"> <health now="1" max="1"/> <look type="130" head="19" body="95" legs="0" feet="19"/> </npc> Script data\npc\scripts\padre.lua Lua: -- Padre Marcelo ver 2.0 (by Conde Sapo) local focus1 = 0 local focus2 = 0 local talk_start = 0 local target = 0 local following = false local attacking = false local talkstate = 0 cidade = "SpiderBay" --- Colocar aqui o nome da cidade que estah o PADRE dia = os.date("%d") mes = os.date("%m") ano = os.date("%Y") mesesChr = {"Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"} mesBR = mesesChr[mes*1] Sex1 = 0 Sex2 = 0 function onThingMove(creature, thing, oldpos, oldstackpos) end function onCreatureAppear(creature) end function onCreatureDisappear(id, stackpos) if id == focus1 or id == focus2 then if id == focus1 then if Sex1 == 1 then ceremonyend('O noivo fugiu.') else ceremonyend('A noiva fugiu.') end else if Sex2 == 1 then ceremonyend('O noivo fugiu.') else ceremonyend('A noiva fugiu.') end end end end function onCreatureTurn(creature) end function msgcontains(txt, str) return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)')) end function ceremonyend(msg) focus1 = 0 focus2 = 0 talk_start = 0 talkstate = 0 selfSay(msg) end function onCreatureSay(cid, type, msg) msg = string.lower(msg) if talkstate == 1 then if cid == focus2 then if msgcontains(msg, 'yes') or msgcontains(msg, 'sim') then talkstate=2 doNpcSetCreatureFocus(focus1) selfSay('E você ' .. creatureGetName(focus1) .. '! Posso começar a cerimônia?') else ceremonyend('Volte quando estiver pront' .. Art2 .. '.') end end elseif talkstate == 2 then if cid == focus1 then if msgcontains(msg, 'yes') or msgcontains(msg, 'sim') then talkstate=3 else ceremonyend('Volte quando estiver pront' .. Art1 .. '.') end end elseif talkstate == 9 then if cid == focus1 then if msgcontains(msg, 'yes') or msgcontains(msg, 'sim') then talkstate=10 else ceremonyend('Volte quando estiver pront' .. Art1 .. '.') end end elseif talkstate == 11 then if cid == focus2 then if msgcontains(msg, 'yes') or msgcontains(msg, 'sim') then talkstate=12 else ceremonyend('Volte quando estiver pront' .. Art2 .. '.') end end end if msgcontains(msg, 'hi') and focus1 == 0 and getDistanceToCreature(cid) < 4 then -- Pessoa 1 no casamento doNpcSetCreatureFocus(cid) focus1 = cid talk_start = os.clock() Casado = getPlayerStorageValue(cid,2424) Sex1 = getPlayerSex(cid) if Sex1 == 1 then Art1 = "o" Art2 = "a" else Art1 = "a" Art2 = "o" end if Casado == -1 then selfSay('Oi, ' .. creatureGetName(cid) .. '! Eu sou um Padre, e posso te casar. Onde está '..Art2..' noiv'..Art2..'?!?') else selfSay('Você já é casad' .. Art1 .. '.') talkstate = 0 end end if msgcontains(msg, 'hi') and focus1 > 0 and focus2 == 0 and not(cid==focus1) and getDistanceToCreature(cid) < 4 then -- Pessoa 2 no casamento doNpcSetCreatureFocus(cid) Casado = getPlayerStorageValue(cid,2424) Sex2 = getPlayerSex(cid) if Sex2 == 1 then Art2 = "o" else Art2 = "a" end if Casado == -1 then if Sex1 == Sex2 then selfSay('Casamento homosexual ainda nao é permitido nesta paróquia.') else selfSay('Olá, ' .. creatureGetName(cid) .. '! Chegou '..Art2..'noiv'..Art2..'. Podemos começar?!?') focus2 = cid talk_start = os.clock() talkstate=1 end else selfSay('Você já é casad' .. Art2 .. '.') talkstate = 0 end end if msgcontains(msg, 'casar') and (focus1 == cid or focus2 == cid) then selfSay('Casamento é uma cerimônia sagrada. Oque Deus une, o homem não separa.') talk_start = os.clock() end if msgcontains(msg, 'divorcio') and (focus1 == cid or focus2 == cid) then setPlayerStorageValue(cid,2424,-1) ceremonyend('OK... Considere-se divorciad'..Art1..'.') end if string.find(msg, '(%a*)bye(%a*)') and (focus1 == cid or focus2 == cid) and getDistanceToCreature(cid) < 6 then ceremonyend('Vai com DEUS, ' .. creatureGetName(cid) .. '!') end end function onCreatureChangeOutfit(creature) end function onThink() if focus1 ~= 0 then -- Olha pro focus1 doNpcSetCreatureFocus(focus1) elseif focus2 ~= 0 then -- Olha pro focus2 doNpcSetCreatureFocus(focus2) else -- Fala uma fraze rand = math.random(1, 400) if rand == 1 then selfSay('Hic.') elseif rand == 2 then selfSay('AMÉM !') elseif rand == 3 then selfSay('Aleluia irmãos...') elseif rand == 4 then selfSay('Pode entrar...') elseif rand == 5 then selfSay('Domingo agora vai ter sermão.') end end if talkstate==3 and (os.clock() - talk_start) > 10 then selfSay('Estamos aqui reunidos na presença de Deus para unir essas duas pessoas,') talk_start = os.clock() talkstate=4 elseif talkstate==4 and (os.clock() - talk_start) > 6 then selfSay('nos sagrados votos do matrimônio.'); talk_start = os.clock() talkstate=5 elseif talkstate==5 and (os.clock() - talk_start) > 6 then selfSay('Se tiver alguem presente que conheça um motivo para evitar esse casamento,') talk_start = os.clock() talkstate=6 elseif talkstate==6 and (os.clock() - talk_start) > 8 then selfSay('que fale agora ou cale-se para sempre!'); talk_start = os.clock() talkstate=61 elseif talkstate==61 and (os.clock() - talk_start) > 6 then P1pos = getPlayerPosition(focus1) P2pos = getPlayerPosition(focus2) AtchinPos = {x=P1pos.x, y=P1pos.y+4, z=P1pos.z} CofPos = {x=P2pos.x-2, y=P2pos.y, z=P2pos.z} doSendAnimatedText(AtchinPos,"Atchin",5) doSendAnimatedText(CofPos,"Cof Cof",33) talkstate=62 elseif talkstate==62 and (os.clock() - talk_start) > 6 then AtchinPos = {x=P2pos.x+2, y=P1pos.y-1, z=P1pos.z} CofPos = {x=P2pos.x-1, y=P2pos.y+4, z=P2pos.z} doSendAnimatedText(AtchinPos,"Criii Criii",71) doSendAnimatedText(CofPos,"Psiuuu!",152) talkstate=7 elseif talkstate==7 and (os.clock() - talk_start) > 6 then selfSay('Comecemos então a cerimônia.'); talk_start = os.clock() talkstate=8 elseif talkstate==8 and (os.clock() - talk_start) > 6 then if Sex1 == 1 then Parc = "sua legitima esposa" else Parc = "seu legitimo marido" end doNpcSetCreatureFocus(focus1) selfSay('Você ' .. creatureGetName(focus1) .. ' aceita ' .. creatureGetName(focus2) .. ' como ' .. Parc .. '?') talk_start = os.clock() talkstate=9 elseif talkstate==10 and (os.clock() - talk_start) > 6 then if Sex2 == 1 then Parc = "sua legitima esposa" else Parc = "seu legitimo marido" end doNpcSetCreatureFocus(focus2) selfSay('Você ' .. creatureGetName(focus2) .. ' aceita ' .. creatureGetName(focus1) .. ' como ' .. Parc .. '?') talk_start = os.clock() talkstate=11 elseif talkstate==12 and (os.clock() - talk_start) > 6 then ---- No anel DELE o nome DELA (e vice-versa) TextoCasorio = 'FÓRUM TIBIANO DE NOTAS E OFICIOS\n\nCertidão de Casamento\n-----------------\n\nEste Documento comprova o amor puro e verdadeiro entre \n' .. getPlayerName(focus1) .. ' e ' .. getPlayerName(focus2) .. '.\n\nCerimônia realizada por Padre Marcelo.\nTestemunhas presentes confirmam o enlace.\n\n'..cidade..', '..dia..' de '..mesBR..' de '..ano anel1 = doPlayerAddItem(focus1,2121,1) doSetItemSpecialDescription(anel1,getPlayerName(fo cus2) .. ' - ' .. os.date("%d/%m/%y")) certif1 = doPlayerAddItem(focus1,1953,1) doSetItemText(certif1,TextoCasorio) anel2 = doPlayerAddItem(focus2,2121,1) doSetItemSpecialDescription(anel2,getPlayerName(fo cus1) .. ' - ' .. os.date("%d/%m/%y")) certif2 = doPlayerAddItem(focus2,1953,1) doSetItemText(certif2,TextoCasorio) setPlayerStorageValue(focus1,2424,1) setPlayerStorageValue(focus2,2424,1) ceremonyend('Eu vos declaro Marido e Mulher. Pode beijar a noiva.') talk_start = os.clock() talkstate=0 end if (os.clock() - talk_start) > 100 then if focus1 > 0 or focus2 > 0 then ceremonyend('Cerimônia interrompida por indecisão.') end end end Como ainda não fiz NPC que divorcia o casal , o padre aceita "divorcio" (individual... se AMBOS quizerem o divorcio, AMBOS tem que falar com o padre) (não precisam estar juntos) Ae o player pode casar de novo. Acho que não esqueci de nada. Bons Casamentos. Créditos NPC feito por Conde Sapo Agradeço Master Gm Gui que ajudou a testar esse NPC Creditos ? Conde Sapo.
  16. 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: Código: # 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 Código: <?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 Código: <?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!
  17. vai com deus salsicha descanse em paz

  18. ta dando erro no console [waring] - protocol::rsa_decrypt] not valid packet size <ip: 189.101.190.230 [waring] - protocol::rsa_decrypt] not valid packet size <ip: 187.14.22.149 :lol²:
  19. da um monte de erro no console e servidor fecha sozinho devido erro
  20. alguem ai me ajuda a passa ot 8.40 para 8.54
  • Quem Está Navegando   0 membros estão online

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