Domanda Aiuto: Problema Fede/Torna su Luogo -> Accesso Mappa di Lv. più alto del Personaggio.

  • Autore discussione Autore discussione Utente cancellato 166742
  • Data d'inizio Data d'inizio
Stato
Discussione chiusa ad ulteriori risposte.
Uuuuuuuupp! Attendo risposte su come bloccare Fede e Torna su Luogo!
 
Codice:
 ------------------------------------------------------Blocco papiri
--Scripted by Luzzo  GFO   
----------------------------------------------------
quest blocco_papiri begin
 state start begin
  when 22010.use or 70302.use  begin
if pc . getqf ( "papiro" ) == 0 then
pc.setqf ( "papiro" , 1 )  
set_state(informati)
end
end
end 
state informati begin
when login or levelup with pc . getqf ( "papiro" ) == 1 begin
set_state(information)
end
end
state information begin
when login with 
pc . get_map_index ( ) == 1 or 
pc . get_map_index ( ) == 2 or 
pc . get_map_index ( ) == 3 or
pc . get_map_index ( ) == 4 or
pc . get_map_index ( ) == 5 begin 
chat("Non puoi usare torna o fede")
local ciao = pc . count_item ( "22010" )
pc . remove_item ( "22010" , ciao )
   pc . warp ( 469300 , 964200 ) 
    return
   end
end
end
P.S: Me l'hanno mandata su skype, non l'ho testata, quindi forse non funge
 
Codice:
 ------------------------------------------------------Blocco papiri
--Scripted by Luzzo  GFO   
----------------------------------------------------
quest blocco_papiri begin
 state start begin
  when 22010.use or 70302.use  begin
if pc . getqf ( "papiro" ) == 0 then
pc.setqf ( "papiro" , 1 )  
set_state(informati)
end
end
end 
state informati begin
when login or levelup with pc . getqf ( "papiro" ) == 1 begin
set_state(information)
end
end
state information begin
when login with 
pc . get_map_index ( ) == 1 or 
pc . get_map_index ( ) == 2 or 
pc . get_map_index ( ) == 3 or
pc . get_map_index ( ) == 4 or
pc . get_map_index ( ) == 5 begin 
chat("Non puoi usare torna o fede")
local ciao = pc . count_item ( "22010" )
pc . remove_item ( "22010" , ciao )
   pc . warp ( 469300 , 964200 ) 
    return
   end
end
end
P.S: Me l'hanno mandata su skype, non l'ho testata, quindi forse non funge

Quel coso assolutamente non va.
 
Ultima modifica:
Codice:
 ------------------------------------------------------Blocco papiri
--Scripted by Luzzo  GFO   
----------------------------------------------------
quest blocco_papiri begin
 state start begin
  when 22010.use or 70302.use  begin
if pc . getqf ( "papiro" ) == 0 then
pc.setqf ( "papiro" , 1 )  
set_state(informati)
end
end
end 
state informati begin
when login or levelup with pc . getqf ( "papiro" ) == 1 begin
set_state(information)
end
end
state information begin
when login with 
pc . get_map_index ( ) == 1 or 
pc . get_map_index ( ) == 2 or 
pc . get_map_index ( ) == 3 or
pc . get_map_index ( ) == 4 or
pc . get_map_index ( ) == 5 begin 
chat("Non puoi usare torna o fede")
local ciao = pc . count_item ( "22010" )
pc . remove_item ( "22010" , ciao )
   pc . warp ( 469300 , 964200 ) 
    return
   end
end
end
P.S: Me l'hanno mandata su skype, non l'ho testata, quindi forse non funge

Se proprio vuoi spostare tutto su uno script puoi trovare uno script del genere "completo" qui : http://www.inforge.net/community/me...ati/347986-release-locale-royalsword-org.html. Dovrebbe chiamarsi blocco papiri.lua, è abbastanza intuitivo il funzionamento ed è facile settare le mappe da bloccare o meno.. ovviamente devi impostare il type dei papiri luogo a 18 per far funzionare il tutto ;)

Edit
Forse mi sono sbagliato, ho ridato un'occhiata al locale e non trovo la quest.. in ogni caso uno script simile fu postato in quel periodo..se riesci a trovarlo hai risolto tutti i tuoi problemi :P
 
Se proprio vuoi spostare tutto su uno script puoi trovare uno script del genere "completo" qui : http://www.inforge.net/community/me...ati/347986-release-locale-royalsword-org.html. Dovrebbe chiamarsi blocco papiri.lua, è abbastanza intuitivo il funzionamento ed è facile settare le mappe da bloccare o meno.. ovviamente devi impostare il type dei papiri luogo a 18 per far funzionare il tutto ;)

Edit
Forse mi sono sbagliato, ho ridato un'occhiata al locale e non trovo la quest.. in ogni caso uno script simile fu postato in quel periodo..se riesci a trovarlo hai risolto tutti i tuoi problemi :P

In tal caso non ci saranno persone che mi diranno come bloccare il Torna su Luogo e la Fede provvederò col cancellare i Torna su Luogo e toglierli dalla Bottegaia e aggiungere il Torna in Città poi per la Fede vedrò come provvedere.
 
Stato
Discussione chiusa ad ulteriori risposte.
Indietro
Top Bottom