antiblock
Cyphriun
  • Chatbox

    You don't have permission to chat.
    Load More
  • 0
Sign in to follow this  
Wolvarinhas

[Quest] Guarda Da Cidade

Question

Boas eu tenho esta questlocal level_limit ; local guild_create_item if get_locale ( ) == "euckr" then level_limit = 40 guild_create_item = false else level_limit = 40 guild_create_item = false end if pc . hasguild ( ) then return end if game . get_event_flag ( "guild_withdraw_delay" ) * 86400 > get_global_time ( ) - pc . getqf ( "new_withdraw_time" ) then say ( string . format ( "Para criares Guild, tens de esperar 1 dia..." , game . get_event_flag ( "guild_withdraw_delay" ) ) ) return end if game . get_event_flag ( "guild_disband_delay" ) * 86400 > get_global_time ( ) - pc . getqf ( "new_disband_time" ) then say ( string . format ( "Para criares Guild, tens de esperar 1 dia..." , game . get_event_flag ( "guild_disband_delay" ) ) ) return end say ( locale . guild . create_confirm ) local s = select ( "Sim" , "Não" ) if s == 2 then return end if pc . level >= level_limit then if pc . gold >= 200000 then if not guild_create_item or pc . countitem ( guild_create_item ) > 0 then game . request_make_guild ( ) else say ( "Necessitas do Livro da Providencia para poderes criar guild!" ) end else say ( "Necessitas de Yang para poderes criar guild!" ) end else say ( "Necessitas de Lv:40 para poderes criar guild!" ) end para a criação de guild mas como nao sou expecialista em quests gostava de saber como e que tirava isto "Para criares Guild, tens de esperar 1 dia..." Para tp nao precisarmos de um dia para criar guild

Share this post


Link to post
Share on other sites

8 answers to this question

  • 0
Guest Origin.

não tenho bem certeza, mas aho que é isto que tens de apagar:

if game . get_event_flag ( "guild_withdraw_delay" ) * 86400 >

get_global_time ( ) - pc . getqf ( "new_withdraw_time" ) then

say ( string . format ( "Para criares Guild, tens de esperar 1 dia..." , game . get_event_flag ( "guild_withdraw_delay" ) ) )

return

end

if game . get_event_flag ( "guild_disband_delay" ) * 86400 >

get_global_time ( ) - pc . getqf ( "new_disband_time" ) then

say ( string . format ( "Para criares Guild, tens de esperar 1 dia..." , game . get_event_flag ( "guild_disband_delay" ) ) )

return

end

Share this post


Link to post
Share on other sites
antiblock
diamwall
  • 0

não tenho bem certeza, mas aho que é isto que tens de apagar:

if game . get_event_flag ( "guild_withdraw_delay" ) * 86400 >

get_global_time ( ) - pc . getqf ( "new_withdraw_time" ) then

say ( string . format ( "Para criares Guild, tens de esperar 1 dia..." , game . get_event_flag ( "guild_withdraw_delay" ) ) )

return

end

if game . get_event_flag ( "guild_disband_delay" ) * 86400 >

get_global_time ( ) - pc . getqf ( "new_disband_time" ) then

say ( string . format ( "Para criares Guild, tens de esperar 1 dia..." , game . get_event_flag ( "guild_disband_delay" ) ) )

return

end

Ya tas como eu eu apagei isso mas asseguir apareceram umas letras alemaes eu ate etendo de quests mas a algumas que e um quebra cabeças

Share this post


Link to post
Share on other sites
  • 0
Guest Origin.

Isso não é quest que metes-te aí !Isso é o .script, que vai direto para a pasta 'object' !logo, vais a pasta do npc, editas a script...guardas, vais ao jogo, e dás /reload q

Share this post


Link to post
Share on other sites
  • 0

Sim enganeime nao e quest e script mas como fasso qual pasta npc?? sou um pouco novo

Share this post


Link to post
Share on other sites
  • 0
Guest Origin.

essa quest nao é do teu serv?

Share this post


Link to post
Share on other sites
  • 0

Noa e quest e o script de guarda da cidade 11000 e gostava de saber como tirava a cena de 1 dia para esperar

Share this post


Link to post
Share on other sites
  • 0
Guest Origin.

vais a > Object > 11000 > Chat > e procuras o .script que corresponde a essa que postaste aí !Botão direito > editar:e apagas isto da script:if game . get_event_flag ( "guild_withdraw_delay" ) * 86400 >get_global_time ( ) - pc . getqf ( "new_withdraw_time" ) thensay ( string . format ( "Para criares Guild, tens de esperar 1 dia..." , game . get_event_flag ( "guild_withdraw_delay" ) ) )returnendif game . get_event_flag ( "guild_disband_delay" ) * 86400 >get_global_time ( ) - pc . getqf ( "new_disband_time" ) thensay ( string . format ( "Para criares Guild, tens de esperar 1 dia..." , game . get_event_flag ( "guild_disband_delay" ) ) )returnende depois fazes o mesmo para NPC's de outros reinos...1100211004 se não estou em erro

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