antiblock
diamwall
  • Chatbox

    Did you check out our Discord? https://discord.gg/FFdvMjk9xA
    You don't have permission to chat.
    Load More
Sign in to follow this  
Khavro

[Quest]Bloquear Nível Do Mapa

5 posts in this topic

Boas Tardes,
 
Nos mapas de nível 90 pode-se fazer pergaminho de retorno, então algumas pessoas aproveitam-se disso e fazem retorno e passam a personagem de nível inferior a 90 que eventualmente não poderiam entrar no tal mapa.
 
Resolvi fazer uma quest para assim que alguém de nível inferior a 90 entrasse no mapa seria teleportado para a cidade.
 
 
quest bloquearmapa begin
 
state start begin
when login with pc.get_map_index() == 215 or pc.get_map_index() == 216 or pc.get_map_index() == 217 or pc.get_map_index() == 218 begin
if pc.get_level() <= 89 then
syschat ( "Não podes entrar neste mapa." )
warp_to_village()
end
end
end
end
 
 
A quest é bastante simples e pode vir a ser útil.
 
Cumprimentos,

Share this post


Link to post
Share on other sites
antiblock
Cyphriun

Obrigado <3

 

A quest mete-se onde?

Share this post


Link to post
Share on other sites

Obrigado <3

 

A quest mete-se onde?

 

cd /usr/home/game/share/germany/quest

 

O teu diretorio pode ser um bocado diferente dependendo da tua SvFile.

Share this post


Link to post
Share on other sites

cd /usr/home/game/share/germany/quest

 

O teu diretorio pode ser um bocado diferente dependendo da tua SvFile.

 

 

Já instalei a quest, mas continua a entrar chars lv 90- la dentro O.o

 

Edit: Tive que mudar o index do mapa XD

 

Já está a funcionar ty

Share this post


Link to post
Share on other sites

é preferivel fazer isso em source cumps

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this