Ir para conteúdo

nbb147

Visconde
  • Total de itens

    350
  • Registro em

  • Última visita

  • Dias Ganhos

    1

Tudo que nbb147 postou

  1. gente, eu queria saber se tem como impedir do master sorcerer de usar magia que é do sorcerer, eu estou com um sistema de troca de vocaçao entao to precisando disso. dou rep ++ se mim ajudarem... flw
  2. nbb147

    Sistema De Historia

    ta blz entao, vou estudar um pouco, tem como vc mandar uns tutoriais de script ai?
  3. Otserver: New Slayer Yurot's Versão: 8.54 o sistema de historia e simple de entender, mais dificil de se fazer, e o seguinte eu queria um script para poderem seguir a historia do meu ot, tipow, na 1º parte da historia ele tem que falar com o npc zarcus, zarcus manda ele ir matar tal monstro que estar atacando um vilareijo (lembrando que se o player nao estiver nessa parte da historia, o monstro nao atacará ele), quando chega la que ele mata o monstro e ele ganha tanto de exp, por ter concluido essa parte da historia, e passa para a 2º parte da historia, e assim vai enfrentando monstros e falando com npcs... Eu creio que isso seja feito por talkactions, eu nao sei se isso e possivel se isso for impossivel de fazer mim falem por favor, pelo menos se alguem souber algum sistema parecido com esse por favor mim manda, flw
  4. gente eu nao sei onde eu devo postar isso mais se tiver no local errado avisem por favor, enfim, eu estou com um problema muito grande em meu ot, e assim quando o player fica com o simbolo de batalha ele, da logout, o certo seria ele nao dar logout, e claro, bom por favor mim ajudem esse problema ta mim elouquecendo... flw
  5. cara eu fiz tudo certo mais quando eu falo transform ele nao transforma vou colocar abaixo como eu coloquei: local config = { --[vocation id] = { level, nova voc, looktype, efeito} [1] = { 10, 5, 35, 32}, [2] = { 10, 6, 35, 32}, [11] = { 50, 15, 261, 33}, [12] = { 75, 15, 261, 33}, [13] = { 100, 15, 261, 33}, [14] = { 150, 15, 261, 33}, [15] = { 180, 15, 261, 33}, [16] = { 200, 15, 261, 33}, [17] = { 40, 15, 261, 33}, [18] = { 40, 15, 261, 33}, [19] = { 40, 15, 261, 33}, [20] = { 40, 15, 261, 33}, [21] = { 40, 15, 261, 33}, [22] = { 40, 15, 261, 33}, [23] = { 40, 15, 261, 33} } function onSay(cid, words, param, channel) doPlayerSay(cid, "transformar") local voc = config[getPlayerVocation(cid)] if voc then if getPlayerLevel(cid) >= voc[1] then doPlayerSetVocation(cid, voc[2]) doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Você Transformou!") local outfit = {lookType = voc[3]} doCreatureChangeOutfit(cid, outfit) doSendMagicEffect(getCreaturePosition(cid), voc[4]) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Você precisa estar no level " .. voc[1] .. " para transformar.") end else doPlayerSendCancel(cid, "Você não pode se Transformar!") end return true end mim ajuda to precisando muito do seu script
  6. o erro continua: [08/04/2012 18:01:38] [Warning - Event::loadScript] Cannot load script (data/talkactions/scripts/susanoo.lua) [08/04/2012 18:01:42] data/talkactions/scripts/susanoo.lua:15: ')' expected near 'then' outro erro: [10/04/2012 16:09:13] [Warning - Event::loadScript] Cannot load script (data/creaturescripts/scripts/susanoo.lua) [10/04/2012 16:09:16] data/creaturescripts/scripts/susanoo.lua:8: ')' expected near 'then' e quando eu falo imortal aparece isso: [10/04/2012 16:11:10] Lua Script Error: [TalkAction Interface] [10/04/2012 16:11:12] data/talkactions/scripts/susanoo.lua:onSay [10/04/2012 16:11:13] data/talkactions/scripts/susanoo.lua:12: attempt to call global 'getCreaturerPos' (a nil value) [10/04/2012 16:11:17] stack traceback: [10/04/2012 16:11:18] data/talkactions/scripts/imortal.lua:12: in function <data/talkactions/scripts/imortal.lua:10> car@lh# isso e muito complicado
  7. ae cara diminuiu o erro olhai: [08/04/2012 17:43:12] [Warning - Event::loadScript] Cannot load script (data/talkactions/scripts/susanoo.lua) [08/04/2012 17:43:16] data/talkactions/scripts/susanoo.lua:15: ')' expected near 'then'
  8. ta dando erro : [08/04/2012 15:02:05] [Warning - Event::loadScript] Cannot load script (data/talkactions/scripts/susanoo.lua) [08/04/2012 15:02:08] data/talkactions/scripts/susanoo.lua:15: ')' expected near 'then' [08/04/2012 15:02:14] [Warning - Event::loadScript] Cannot load script (data/creaturescripts/scripts/efect.lua) [08/04/2012 15:02:17] data/creaturescripts/scripts/efect.lua:21: 'end' expected (to close 'function' at line 4) near '<eof>'
  9. ae cara deu uns erros: [07/04/2012 23:18:02] luaAddOutfitCondition(). Condition not found [07/04/2012 23:18:16] [Warning - Event::loadScript] Cannot load script (data/talkactions/scripts/susanoo.lua) [07/04/2012 23:18:19] data/talkactions/scripts/susanoo.lua:16: ')' expected near 'then' [07/04/2012 23:18:27] [Warning - Event::loadScript] Cannot load script (data/creaturescripts/scripts/efect.lua) [07/04/2012 23:18:30] data/creaturescripts/scripts/efect.lua:21: 'end' expected (to close 'function' at line 4) near '<eof>' [07/04/2012 23:18:35] [Warning - Event::loadScript] Cannot load script (data/creaturescripts/scripts/susanoo.lua) [07/04/2012 23:18:39] data/creaturescripts/scripts/susanoo.lua:9: ')' expected near 'then' sim mais uma coisa eu queria saber se e pra colocar a parte do creaturescript.
  10. nbb147

    Spell De Lotus

    Tipo do script: spell Protocolo (versão do Tibia): 8.50 Servidor utilizado: TFS Nível de experiência: mediano Adicionais/Informações: esse spell e da seguinte forma, o player coloca pra atacar o oponente ele esta distante dele, ai ele fale lotus ai ele aparece debaixo do oponente e arranca uma certa quantia de life...
  11. mais tem como colocar para dar atribultos?
  12. mais o efeito onde eu coloco??
  13. mais ele da atribultos? tipo life mana?
  14. nbb147

    Systema De Transform

    Tipo do script: transform Protocolo (versão do Tibia): 8.50 Servidor utilizado: TFS Nível de experiência: dificil Adicionais/Informações: Tipo o Naruto Online Brasil! Que Cada Transform Seja Feita A cada 25 Level, Pois Começará do 25 ate 250, em todos! Em tão é assim tipo o Naruto é vocação 1 dai ele pega level 25 e fala Transform e vira outro outift! Mas que dure pra sempre e não com tempo tipo deu 60 segundos ele volta ao normal. Tem Que ser tipo uma evolução, Mas que tambem de bonus tipow life e mana, Me Desculpem por eu estar falando demais! Mas Quero Transformações Igual ao do Naruto online brasil, Eu encontrei um bem parecido mais nao da atribultos, vou postar ele abaixo: se mim ajudar dou [red]rep [black]+
  15. cara tem como vc mudar pra so uma vocaçao usar? e tambem pra nao gastar dinheiro gastar apenas mana e soul?
  16. Tipo do script: spell ou talkaction Protocolo (versão do Tibia): 850 Servidor utilizado: tfs Nível de experiência: mediano Adicionais/Informações: como o nome ja diz eu quero que deer vunerabilidade ao player que usar, quando o player disser vunerable e fica invuneravel a qualquer tipow de dano.
  17. ja testei e nao funcionou sera que e por causa do serv ele e 8.50
  18. gente queria saber se existe pocibilidade de almentar a velocidade de atack dos bows e crossbows, se for isso for possivel e alguem souber como faz por favor mim ajuda, ja procurei em todo canto e nao encontrei alguma forma de fazer isso, por favor mim ajudem ou pelomenos diz se e possivel ou nao...
  19. nbb147

    Spell Que Pula Sqm

    Ola, boa noite xtibianos venho aki pedir uma ajudinha com uma spell, abaixo colocarei o spell e sitarei o problema: ele funciona quase perfeitamente o unico problema e que ele ta atravessando paredes, eu quero que quando ele use a spell, se tiver um obstaculo a frente ele nao passe do obstaculo... rep+ pra quem ajudar flw
  20. nbb147

    Erro Em Npc

    cara resolveu um erro agora ele esta falando com o player mais apareceu outro erro:
  21. nbb147

    Erro Em Npc

    cara tem dois problemas 1º o meu npc ele tambem mata monstros e 2º o spoller nao ta abrindo
  22. nbb147

    Erro Em Npc

    ae gente to com um problema com um npc meu, que quando eu falo 'hi' trava tudo no ot e depois de uns 10 segs ele destrava, acho que o problema esta na caixa de dialogo sei la abaixo vou colocar o erro que aparece quando falo hi: observaçao ele e um npc que mata monstros ou pks quando chega perto... [02/03/2012 02:54:34] Lua Script Error: [Npc interface] [02/03/2012 02:54:34] data/npc/scripts/guarda.lua:onCreatureSay [02/03/2012 02:54:35] data/npc/scripts/guarda.lua:30: attempt to compare nil with number [02/03/2012 02:54:36] stack traceback: [02/03/2012 02:54:36] data/npc/scripts/guarda.lua:30: in function <data/npc/scripts/guarda.lua:27> agora abaixo vou postar o script do npc: <?xml version="1.0"?> <npc name="Guarda" script="guarda.lua" access="5" lookdir="2" walkinterval="1"> <mana now="800" max="800"/> <health now="1800" max="1800"/> <look type="130" head="116" body="94" legs="78" feet="115" addons="3"/> </npc> agora o outro: local level = 20 ----- change this to make the npc hit more/less---------------------|damage_min = (level * 10 + maglevel * 12) * min_multiplier | local maglevel = 20 ----- change this to make the npc hit more/less -----------------|damage_max = (level * 10 + maglevel * 12) * max_multiplier | local min_multiplier = 0.8 ----- change this to make the npc hit more/less ----------|damage_formula = math.random(damage_min,damage_max) | local max_multiplier = 1.2 ----- change this to make the npc hit more/less --------------------------------------------------------------------- local check_interval = 1 ----- change this to the time between checks for a creature (the less time the more it will probably lag :S) local radiusx = 7 ----- change this to the amount of squares left/right the NPC checks (default 7 so he checks 7 squares left of him and 7 squares right (the hole screen) local radiusy = 5 ----- change this to the amount of squares left/right the NPC checks (default 5 so he checks 5 squares up of him and 5 squares down (the hole screen) local Attack_message = "MoRrE PeDaSo dE MeRdA..." ----- change this to what the NPC says when he sees a monster(s) local town_name = "Archgard" ----- the name of the town the NPC says when you say "hi" local Attack_monsters = TRUE ----- set to TRUE for the npc to attack monsters in his area or FALSE if he doesnt local Attack_swearers = TRUE ----- set to TRUE for the npc to attack players that swear near him or FALSE if he doesnt local Attack_pkers = TRUE ----- set to TRUE for the npc to attack players with white and red skulls or FALSE if he doesnt local health_left = 10 ----- set to the amount of health the npc will leave a player with if they swear at him (ie at 10 he will hit the player to 10 health left) local swear_message = "Take this!!!" ----- change this to what you want the NPC to say when he attackes a swearer local swear_words = {"shit", "fuck", "dick", "cunt"} ----- if "Attack_swearers" is set to TRUE then the NPC will attack anyone who says a word in here. Remember to put "" around each word and seperate each word with a comma (,) local hit_effect = EXPLOSION ----- set this to the magic effect the creature will be hit with, see global.lua for more effects local shoot_effect = CONST_ANI_EXPLOSION ----- set this to the magic effect that will be shot at the creature, see global.lua for more effects local damage_colour = TEXTCOLOR_RED ----- set this to the colour of the text that shows the damage when the creature gets hit ------------------end of config------------------ local check_clock = os.clock() ----- leave this local focus = 0 ----- leave this 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 onCreatureSay(cid, type, msg) msg = string.lower(msg) health = getCreatureHealth(cid) - health_left if ((string.find(msg, '(%a*)hi(%a*)'))) and getDistanceToCreature(cid) < 4 then selfSay('Hello ' .. creatureGetName(cid) .. '! I am a defender of '..town_name..'.') doNpcSetCreatureFocus(cid) focus = 0 end if msgcontains(msg, 'time') then selfSay('The time is ' .. getWorldTime() .. '.') end if messageIsInArray(swear_words, msg) then if Attack_swearers == TRUE then selfSay('' .. swear_message ..' ') doCreatureAddHealth(cid,-health) doSendMagicEffect(getThingPos(cid),17) doSendAnimatedText(getThingPos(cid),health,180) doNpcSetCreatureFocus(cid) focus = 0 end end end function getMonstersfromArea(pos, radiusx, radiusy, stack) local monsters = { } local starting = {x = (pos.x - radiusx), y = (pos.y - radiusy), z = pos.z, stackpos = stack} local ending = {x = (pos.x + radiusx), y = (pos.y + radiusy), z = pos.z, stackpos = stack} local checking = {x = starting.x, y = starting.y, z = starting.z, stackpos = starting.stackpos} repeat creature = getThingfromPos(checking) if creature.itemid > 0 then if isCreature(creature.uid) == TRUE then if isPlayer(creature.uid) == FALSE then if Attack_monsters == TRUE then table.insert (monsters, creature.uid) check_clock = os.clock() end elseif isPlayer(creature.uid) == TRUE then if Attack_pkers == TRUE then if getPlayerSkullType(creature.uid) > 0 then table.insert (monsters, creature.uid) check_clock = os.clock() end end end end end if checking.x == pos.x-1 and checking.y == pos.y then checking.x = checking.x+2 else checking.x = checking.x+1 end if checking.x > ending.x then checking.x = starting.x checking.y = checking.y+1 end until checking.y > ending.y return monsters end function onThink() if (Attack_monsters == TRUE and Attack_pkers == TRUE) or (Attack_monsters == TRUE and Attack_pkers == FALSE) or (Attack_monsters == FALSE and Attack_pkers == TRUE) then if (os.clock() - check_clock) > check_interval then monster_table = getMonstersfromArea(getCreaturePosition(getNpcCid()), radiusx, radiusy, 253) if #monster_table >= 1 then selfSay('' .. Attack_message ..' ') for i = 1, #monster_table do doNpcSetCreatureFocus(monster_table) local damage_min = (level * 2 + maglevel * 3) * min_multiplier local damage_max = (level * 2 + maglevel * 3) * max_multiplier local damage_formula = math.random(damage_min,damage_max) doSendDistanceShoot(getCreaturePosition(getNpcCid()), getThingPos(monster_table), shoot_effect) doSendMagicEffect(getThingPos(monster_table),hit_effect) doSendAnimatedText(getThingPos(monster_table),damage_formula,damage_colour) doCreatureAddHealth(monster_table,-damage_formula) check_clock = os.clock() focus = 0 end elseif table.getn(monster_table) < 1 then focus = 0 check_clock = os.clock() end end end focus = 0 end espero que mim ajudem, esse npc e muito importante no meu ot... flw
  23. nbb147

    The Resistence

    Ola, galera Xtibia vim aki aprensentar o meu project de Zumbie OT, e tambem pesso opniões de membros, abaixo vou apresentar alguns pontos, itens e algumas SS: Aqui é a penitenciaria que fica no cominho de uma auto estrada: Agora aqui é o hospital: E aqui é o templo, e alguns npcs: E finalmente as armas e os zumbies que eu ja fiz, nao foi tudo eu, ja tem 2 do global: Bom eu acredito que eu ja esteja em 60% de onde eu quero chegar (final da criaçao), eu ainda quero incluir uma vocação que esta a faltar, novos zumbies, novas armas, e novos sistemas e muito mais ai sim eu postarei para download aqui no xtibia... flw, por favor deem sugestões
  24. ae cara queria o client dele se alguem tiver manda ae
  25. ae galera queria uma spell que quando eu usase fica a tirar da minha mana exemplo: eu uso utani hur, assim que eu usar fica tirando 5,5,5.... e assim por diante...
  • Quem Está Navegando   0 membros estão online

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