Proteccion ModoGM por Quest

Topic created · 20 Mensajes · 3698 Visitas
  • bueno aqui les traigo esta quest k sirve para defenderse contra el modo gm temporalmente(digo temporalmente xk solo es en el momento en el k se hace el atake) lo mas logico es aser las guias k hay por el foro para defenderlo totalmente, pero asi nos da un margen de tiempo por si el nuestro no esta protegido..

    quest gmmode_protection begin
        state start begin
            when 20095.chat."Proteccion de Modo GM" with pc.is_gm() begin
                say_title(mob_name(20095)..":")
                if game.get_event_flag("gmmode_protection") == 0 then
                    say_title("Traducido By DjZed")
                    say("Desea activar la proteccion contra el Modo GM?[ENTER]")
                    local s = select(locale.yes, locale.no)
                    if s == 1 then
                        say_title("Traducido By DjZed")
                        say("Proteccion contra el Modo GM ha sido activada.[ENTER]")
                        game.set_event_flag("gmmode_protection", 1)
                        server_timer("gmmode_protection", 5, get_server_timer_arg())
                    end
                elseif game.get_event_flag("gmmode_protection") == 1 then
                    say_title("Traducido By DjZed")
                    say("Desea desactivar la proteccion contra el Modo GM?[ENTER]")
                    local s = select(locale.yes, locale.no)
                    if s == 1 then
                        say_title("Traducido By DjZed")
                        say("La proteccion contra el Modo GM ha sido desactivada.[ENTER]")
                        game.set_event_flag("gmmode_protection", 0)
                    end
                end
            end
    
            when gmmode_protection.server_timer begin
                clear_server_timer("gmmode_protection", get_server_timer_arg())
                if game.get_event_flag("gmmode_protection") == 1 then
                    if game.get_event_flag("test") == 1 then
                        game.set_event_flag("test", 0)
                    end
                    server_timer("gmmode_protection", 5, get_server_timer_arg())
                end
            end
        end
    end  
    

    esto lo ponen en su editor de texto y lo guardan con el siguiente nombre: gmmode_protection.quest

    ahora se conectan via FTP al server(usando FileZilla o WinScp) y entran a: usr/rain/channel/share_data/locale/hongkong/quest

    y ahi meten el archivo y en ese mismo directorio buscan el hongkongs.list loabren y al final ponen una linea con el nombre de la quest u guardan..

    ahora guartdan los cambios efectuados ya sea con reboots, reloads o make sh y listo ;D

    Fuente: Inforge
    Traduccion: DjZed

    Espero que les guste ;D

  • Muy buena feop es una gran forma de evitar hackers XD.
    aunke veo innecesario una quest tan larga xD y ke tenga ke activarse
    kada vez ke se inicie el server.

    =mente te dejo tus gracias, es de admirar ke pongas la fuente 😄

  • mui buena guia pero como dijo kamus es innecesaria la qets porq tenes q activarla :S para eso ases la otra guia .. y no tenes q activarla cada ves q inicias el sv te dejo +1 .. Saludos!

  • Tal vez algo así:

    quest ekisde begin
    state start begin
    when letter begin
    if game.get_event_flag("test") == 1 then
    game.set_event_flag("test", 0)
    end
    end
    end
    end
  • no se xD pero yo uso /event test 0 nada mas xD y no me lo pueden hackear ¬¬

  • eso solo lo desactiva pro se puede volver a usarlo..
    la quest lo k ase es kitar el test automaticamente cada ves k se activa

  • eso sirve para proteger de apitool?

  • en si no lo protege, para eso tienes otras guias por el foro, pero lo que hace es que si activan la test al servidor la desactiva automaticamente

  • BUENO ESO ES MENTIRA QUE UNA QUEST PROTEJE UN SERVER CONTRA EL API TOOL XQ YA K EL API SE CONECTA ATRAVEZ DE LOS PUERTOS DEL SERVER ARGO K UNA QUEST NO DETECTARA NI PARARA YA K LO PROBE EN UN INSTA DE PRUEBA Y SI PUEDEN AHCKEARLO

  • Al final protege o no ? shino tas seguro?