-
Total de itens
1668 -
Registro em
-
Última visita
Tudo que Folspa postou
-
[Arquivado][dúvida]Oque faz um servidor durar bastante tempo sem reset?
tópico respondeu ao wellingtonwe de Folspa em Noticias - Arquivo
Taxas de experiência baixas. Não devem passar de 5x. -
Não está ruim, está bom, mas tem muita informação, ainda não consegui entender o mapa, quando uma pessoa olhar, ela deve entender imediatamente o que está a observar.
- 536 respostas
-
- sua última foto
- vital900
- (e 6 mais)
-
Você não entendeu, como são três monstros diferentes, sugeri colocar os três em um arquivo só, algo como isso: function onCombat(cid, target) local pos = { [1] = {x = 35, y = 66, z = 7}, [2] = {x = 36, y = 66, z = 7}, } local name = "Easy" if isPlayer(cid) and getCreatureName(target) == name then if getThingPos(cid) ~= pos then doPlayerSendCancel(cid, "You must be in the mark to attack!") return false end end return true end function onTarget(cid, target) local pos = { [1] = {x = 35, y = 66, z = 7}, [2] = {x = 36, y = 66, z = 7}, } local name = "Easy" if isPlayer(cid) then if getCreatureName(target) == name then if getThingPos(cid).x ~= pos.x or getThingPos(cid).y ~= pos.y or getThingPos(cid).z ~= pos.z then doPlayerSendCancel(cid, "You must be in the mark to attack!") return false end end end return true end function onCombat(cid, target) local pos = { [1] = {x = 33, y = 68, z = 7}, [2] = {x = 34, y = 68, z = 7}, } local name = "Medium" if isPlayer(cid) and getCreatureName(target) == name then if getThingPos(cid) ~= pos then doPlayerSendCancel(cid, "You must be in the mark to attack!") return false end end return true end function onTarget(cid, target) local pos = { [1] = {x = 33, y = 68, z = 7}, [2] = {x = 34, y = 68, z = 7}, } local name = "Medium" if isPlayer(cid) then if getCreatureName(target) == name then if getThingPos(cid).x ~= pos.x or getThingPos(cid).y ~= pos.y or getThingPos(cid).z ~= pos.z then doPlayerSendCancel(cid, "You must be in the mark to attack!") return false end end end return true end function onCombat(cid, target) local pos = { [1] = {x = 31, y = 70, z = 7}, [2] = {x = 32, y = 70, z = 7}, } local name = "Hard" if isPlayer(cid) and getCreatureName(target) == name then if getThingPos(cid) ~= pos then doPlayerSendCancel(cid, "You must be in the mark to attack!") return false end end return true end function onTarget(cid, target) local pos = { [1] = {x = 31, y = 70, z = 7}, [2] = {x = 32, y = 70, z = 7}, } local name = "Hard" if isPlayer(cid) then if getCreatureName(target) == name then if getThingPos(cid).x ~= pos.x or getThingPos(cid).y ~= pos.y or getThingPos(cid).z ~= pos.z then doPlayerSendCancel(cid, "You must be in the mark to attack!") return false end end end return true end function onLogin(cid) registerCreatureEvent(cid, "AttackPos") registerCreatureEvent(cid, "AttackPosTwo") return true end <event type="target" name="AttackPos" event="script" value="cantattack.lua"/> <event type="combat" name="AttackPosTwo" event="script" value="cantattack.lua"/> <event type="login" name="AttackPosLogin" event="script" value="cantattack.lua"/>
-
Mas qual o motivo de ter 2 scripts? Não tem como apenas duplicar os scripts e mudar as posições/nomes? Quer dizer, não posso registrar no login.lua apenas 1 para 2 scripts diferentes?
-
mod [Mod] Automatic Raids [Dia E Hora Marcada]
tópico respondeu ao Vodkart de Folspa em Mods, funções e outros
Como eu faço para ser em um horário aleatório, por exemplo, a raid deve acontecer todos os dias, porém em qualquer horário e apenas uma vez ao dia e mais, as raids seguintes, vir no mesmo horário, por exemplo, uma raid de orc que caiu aleatoriamente no horário 18:27, as raids seguintes devem vir em 18:28, 18:29, etc. e não uma em cada horário diferente. Quanto ao <globalevent name="AutomaticRaids" interval="60000" event="script"> 60 segundos a partir do quê? -
O único problema é que o link que leva ao índice de tutoriais está quebrado.
- 10 respostas
-
- enciclopédia
- omega
- (e 4 mais)
-
function onCombat(cid, target) local pos = { [1] = {x = 35, y = 66, z = 7}, [2] = {x = 36, y = 66, z = 7}, } local name = "Easy" if isPlayer(cid) and getCreatureName(target) == name then if getThingPos(cid) ~= pos then doPlayerSendCancel(cid, "You must be in the mark to attack!") return false end end return true end function onCombat(cid, target) local pos = { [1] = {x = 33, y = 68, z = 7}, [2] = {x = 34, y = 68, z = 7}, } local name = "Medium" if isPlayer(cid) and getCreatureName(target) == name then if getThingPos(cid) ~= pos then doPlayerSendCancel(cid, "You must be in the mark to attack!") return false end end return true end function onCombat(cid, target) local pos = { [1] = {x = 31, y = 70, z = 7}, [2] = {x = 32, y = 70, z = 7}, } local name = "Hard" if isPlayer(cid) and getCreatureName(target) == name then if getThingPos(cid) ~= pos then doPlayerSendCancel(cid, "You must be in the mark to attack!") return false end end return true end <event type="combat" name="AttackPos" event="script" value="trainer_easy.lua"/> <event type="combat" name="AttackPos" event="script" value="trainer_medium.lua"/> <event type="combat" name="AttackPos" event="script" value="trainer_hard.lua"/> registerCreatureEvent(cid, "AttackPos")
-
Não está a funcionar. Como são três monstros diferentes, apenas troquei o nome e a pos, porém o primeiro monstro o jogador não ataca, aparece "Sorry, not possible." e nos outros dois ele ataca de qualquer lugar.
-
Encontrei esse old aqui... http://www.xtibia.com/forum/topic/44882-pasta-data-monstros/. Realmente muito bom.
- 10 respostas
-
- enciclopédia
- omega
- (e 4 mais)
-
Protect Zone? Não dá, se eu colocar, ele não vai poder atacar, se eu colocar em volta, ele vai poder ser empurrado, ele pode ser empurrado para dentro, mas não para fora, acho.
-
Seria interessante um tutorial de como criar monstros, não só como criá-los, mas mostrar e explicar todas as tags existentes (as mais usadas/conhecidas/padrões em servidores).
- 10 respostas
-
- enciclopédia
- omega
- (e 4 mais)
-
Preciso de um script, um monstro que só pode ser atacado se o jogador estiver em x posição, caso ele não estiver, aparecer uma mensagem falando que ele não pode atacar de onde está.
-
Como os barcos estão com furos/quebrados, seria interessante colocar um pouco de terra em volta, para simbolizar que estão encalhados, pois se não, não teria sentido eles estarem flutuando.
-
Sei lá, não precisava colocar login painel lá na tela de login. Mas tá bem legal e marca d'água é meio falho, se alguém quiser pegar a sprite, vai entrar no servidor e printar (tirar um print-screen) a sprite lá de dentro.
-
O Tibia se baseia em alguma mitologia?
tópico respondeu ao Superion de Folspa em Notícias e Discussões - Tibia Global
É uma mistura de várias mitologias. -
Não está ruim, mas não vi muito sentido naquela fogueira entre quatro cadeiras e troca aquela fonte por um barril com água, ficaria melhor.
-
Estão a ver o trecho azul logo abaixo da imagem negra? Pois bem, isso que eu não estou a conseguir remover, já tentei colocar padding/border/margin como 0, porém não funcionou, percebi que é do próprio DIV, mas não sei como remover. Se alguém tiver alguma sugestão a me passar, faça isso, por favor. Resolvi, era só colocar um display:block na imagem.
-
[Encerrado]Formação de Equipe - BIOHAZARD ONLINE
tópico respondeu ao BrenoNeto de Folspa em Formação de Equipes
O servidor caiu quando estava no meio dos zumbis todos. -
Teaser #1: Um pouco da cidade de Mainport, Ents e Easter Eggs
tópico respondeu ao krex de Folspa em Lixeira Pública
Coloca uma grade em cima do muro. -
Então cara, tente colocar poucos monstros por andar e tudo isso aí deve ter um sentido, por exemplo, retire esse fogo das paredes ou mude o ambiente externo. Piso de madeira também não é muito legal em um ambiente com fogo.
-
Tenta se basear na realidade, deixa as bordas menos quadradas.
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.