TekaZudo
seuserver.com.br
DESCRIÇÃO
Anuncie aqui neste countdown e dê maior visibilidade ao seu lançamento |
Full Global • Custom Quests • Custom Outfits • Lottery System • Version 15x
Inicia em:
--
Participar
-
Colocar escadas que não sobem
up
-
falha na anihi
up
-
Colocar escadas que não sobem
Esqueci de colocar que já tentei isso e de fato não sobe, porém eu preciso que haja um telhado para que não dê para ver o que há no andar superior. Tentei colocar em cima do telhado itens que não dê para andar por cima, porém ele sobe e buga. up! up
-
falha na anihi
Saudações, Quando a alavanca para anihi é usada com sucesso ela é vira para a esquerda, e se outras 4 pessoas tentarem usar a alavanca novamente sem ter sucesso (sem que haja um jogador nível 100 em um dos sqm), sobe uma sequencia enorme de erros no distro que chega a travar todo o servidor. Mas se tentarem puxar a alavanca pela primeira vez (a alavanca estará para direita), mesmo que tenha alguém com nível inferior a 100, não dá erro algum no distro (aparece apenas que todos os jogadores precisam ter nível 100 ou mais, oque está correto). Script da anihi: Poderia me ajudar? Obrigado pela atenção. up! up! up
-
Colocar escadas que não sobem
Saudações, Gostaria de saber se há alguma forma ou alguma escada que quando o personagem passasse por cima, simplesmente não aconteça nada. Sim, é simples a dúvida, porém é uma dúvida. Obrigado pela atenção.
-
Arena bugada.
Pode fechar já resolvi !
-
Arena bugada.
UP ! Ta osso alguém ajudar D:
-
Arena bugada.
A arena Free e a Arena VIP estão com um erro. Quando está dois players nos quadrados para entrarem na arena. E um deles tem que puchar a alavanca. E quando ele pucha da uma pequena travadinha no servidor e nessa travadia dá esse erro no distro: Da todo esse erro em 2 segundos que é o tempo que da a travadinha no servidor. Mas os players entram na arena e funciona normal... Mas tem vezes que da DC no servidor por causa disso :/ Olha o script da arena: data/actions/scripts/arenalever.lua -- pvp arena lever function onUse(cid, item, frompos, item2, topos) if item.uid == 1945 and item.itemid == 1945 then player1pos = {x=894, y=1032, z=9, stackpos=253} player1 = getThingfromPos(player1pos) player2pos = {x=905, y=1032, z=9, stackpos=253} player2 = getThingfromPos(player2pos) if player1.itemid > 0 and player2.itemid > 0 then arenalevel = 30 player1level = getPlayerLevel(player1.uid) player2level = getPlayerLevel(player2.uid) if player1level >= arenalevel and player2level >= arenalevel then for arenax = 121,128 do for arenay = 33,37 do arenapos = {x=arenax, y=arenay, z=9, stackpos=253} arenacreature = getThingfromPos(arenapos) if arenacreature.itemid > 0 then doPlayerSendCancel(cid,"Wait for current duel to end.") return 1 end end end nplayer1pos = {x=896, y=1032, z=9} nplayer2pos = {x=903, y=1032, z=9} doSendMagicEffect(player1pos,2) doSendMagicEffect(player2pos,2) doTeleportThing(player1.uid,nplayer1pos) doTeleportThing(player2.uid,nplayer2pos) doSendMagicEffect(nplayer1pos,10) doSendMagicEffect(nplayer2pos,10) doPlayerSendTextMessage(player1.uid,18,"FIGHT!") doPlayerSendTextMessage(player2.uid,18,"FIGHT!") else doPlayerSendCancel(cid,"Both fighters must have level 30.") end else doPlayerSendCancel(cid,"You need 2 players for a duel.") end else return 0 end return 1 end Script em data/actions/actions.xml: <action uniqueid="1945" script="arenalever.lua" /> Agora no map editor o Action e o Unique da alavanca: Meu scripter disse que o x y z está correto no script. Meu otserv é 8.6 Era um Dark Dragon OT. Alguem pode me ajudar pelo amor de deus ? Obrigado.
-
[Erro] NPC Padre completo.
E gays ahusuhsahusa
-
-
[Erro] NPC Padre completo.
Ok obrigado. D: quem vai se casar homem com homem ?
-
-
[Erro] NPC Padre completo.
Bom funcionou só esse em inglês. Vou traduzir e colocar os itens que precisa para casar no mapa. Obrigado cara. REP+
-
[Erro] NPC Padre completo.
Então. Ele fala comigo oi onde esta a noiva. Mas ele nem abra o chat do NPC. E só fica nisto. Olha o erro que deu: [18/12/2012 21:24:50] [Error - Npc interface] [18/12/2012 21:24:50] data/npc/scripts/padre.lua:onCreatureSay [18/12/2012 21:24:50] Description: [18/12/2012 21:24:50] data/npc/scripts/padre.lua:152: attempt to call global 'creatureGetName' (a nil value) [18/12/2012 21:24:50] stack traceback: [18/12/2012 21:24:50] data/npc/scripts/padre.lua:152: in function <data/npc/scripts/padre.lua:61> Nossa você é bom cara. Acho que dessa vez consegue. 0 Quote MultiQuote Editar
-
[Erro] NPC Padre completo.
Desculpe, é que postei em 3 forums. E veio com as conf do outro forum hehe desculpe.
-
[Erro] NPC Padre completo.
Eu consegui um script de um padre bem completo. Mas deu dois erros nele, que faz ele não aparecer no jogo. Erros: Script do padre: -- 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 Alguem pode me ajudar por favor ? Eu dou REP + !
-
[GlobalEvents] Mensagens Automáticas
Nossa esse tópico foi totalmente copiado desse aqui Que feio !