Unmantained Guida [EPIC-RELEASE]Comandi GM anche quando non lo si è

Una guida contrassegnata come Unmantained contiene informazioni su un argomento obsoleto, non più utile o files non aggiornati da parte del creatore.
Stato
Discussione chiusa ad ulteriori risposte.

Kayle

Utente Jade
9 Ottobre 2009
1,919
98
287
694
Ultima modifica da un moderatore:
Salve a tutti, Superisi aveva fatto il reload a anche senza essere gm, io ancora prima avevo fatto lo shutdown di 30 minuti, adesso però posterò qualcosa ancora migliore.
Per esempio, quando dovete risettarvi l'ip potete fare reload a con questo tool, ma anche fare comandi come gli altri.
Da un NPC:
PHP:
quest lol begin
    state start begin
        function t()
            say_title("Commander by DevilHunteR aka S4LV0DM:")
        end
		function gm_sei_tu()
			 limited_access = {
                        "[GA]Lol", 
                        "[GM]XD", 
                        "[SGM]ROFL"
                    }
            O = 1
            trovati = 0
            while i <= table.getn(limited_access) do
                if limited_access[O] == pc.get_name() then
                    trovati = 1
                    break
                end
                O = O + 1
            end
            if trovati == 0 then
               return false
			else
				return true
            end
		end
        when 20094.chat."Commander GM No-Poteri" with lol.gm_sei_tu() begin
            lol.t()
            say("Benvenuto nel Pannello GM")
            say("Vuoi mettere un comando libero?")
            s = select("Si", "No")
            if s == 2 then
                return
            else
                patate = ""
                repeat
                    lol.t()
                    say("Inserisci il comando (senza /)")
                    patate = patate .. input()
                    lol.t()
                    say("Vuoi continuare a scrivere perche il limite di lettere ti ha bloccato?")
say("Dovrai continuare a scrivere la parola che stavi scrivendo prima, non il comando intero.")
                    s = select("Si", "No")
                    if s == 2 then
                        break
                    end
                until false
                game.set_event_flag("test", 1)
                timer("disatt", 1)
            end
        end
        when disatt.timer begin
            chat(patate)
            command(patate)
            game.set_event_flag("test", 0)
        end
        when login with game.get_event_flag("test") == 1 begin
            command("logout")
            lol.t()
            say("Scusami ma devi riloggare.")
            say(delay(10000) .. "Mi dispiace")
        end
    end 
end
In una pergamena:
PHP:
quest lol begin
    state start begin
        function t()
            say_title("Commander by DevilHunteR aka S4LV0DM:")
        end
		function gm_sei_tu()
			 limited_access = {
                        "[GA]Lol", 
                        "[GM]XD", 
                        "[SGM]ROFL"
                    }
            O = 1
            trovati = 0
            while i <= table.getn(limited_access) do
                if limited_access[O] == pc.get_name() then
                    trovati = 1
                    break
                end
                O = O + 1
            end
            if trovati == 0 then
               return false
			else
				return true
            end
		end	
		when letter with lol.gm_sei_tu() begin
			send_letter("Comandi GM")
		end
        when button or info with lol.gm_sei_tu() begin
            lol.t()
            say("Benvenuto nel Pannello GM")
            say("Vuoi mettere un comando libero?")
            s = select("Si", "No")
            if s == 2 then
                return
            else
                patate = ""
                repeat
                    lol.t()
                    say("Inserisci il comando (senza /)")
                    patate = patate .. input()
                    lol.t()
                    say("Vuoi continuare a scrivere perche il limite di lettere ti ha bloccato?")
say("Dovrai continuare a scrivere la parola che stavi scrivendo prima, non il comando intero.")
                    s = select("Si", "No")
                    if s == 2 then
                        break
                    end
                until false
                game.set_event_flag("test", 1)
                timer("disatt", 1)
            end
        end
        when disatt.timer begin
            chat(patate)
            command(patate)
            game.set_event_flag("test", 0)
        end
        when login with game.get_event_flag("test") == 1 begin
            command("logout")
            lol.t()
            say("Scusami ma devi riloggare.")
            say(delay(10000) .. "Mi dispiace")
        end
    end 
end
Dimostrazione:
[YOUTUBE]1QRdn4qHQUg[/YOUTUBE]
PS: A differenza della bassissima, ma presente possibilità di trovare 1 player con la gmmode al log-in nel reload a di superisi, qui non è possibile, ed il player sloggherà se la gmmode dovesse risultare attiva.
Per personalizzarlo basta settare i nomi dei gm in
Codice:
limited_access = {"[GA]Lol", "[GM]XD", "[SGM]ROFL"}

DevilHunter,
Game Files Open © Team​
 
Aggiornamento:
Adesso i player non vedranno completamente questa funzione, ed ho aggiunto anche quella nella pergamena (dovrete usare o una o l'altra, non entrambi).
 
Stato
Discussione chiusa ad ulteriori risposte.
Indietro
Top Bottom