Rheinald Posted April 24, 2014 Report Share Posted April 24, 2014 Alguien me puede conficurar la guerra de imperios para que se pueda entra a partir de lvl 100 porfavor, llevo varios dias intentandolo y nada si alguien me hace el favorcito ! Gracias say_title ( " Oficial de batalla:" )say ( "" )say ( " Los luchadores de cada reino se preparan " )say ( " para este gran evento. Tu a que esperas? " )say ( " No eres uno mas, en este evento hay que" )say ( " tener mucha fuerza y ser imbatible." )say ( " Tu lo eres, no ?" )wait ( )if game . get_event_flag ( "sg_eventarena_open" .. pc . get_empire ( ) ) == 0 thensay_title ( " Oficial de batalla:" )say ( "" )say ( " La Isla de las Batallas es un lugar" )say ( " donde cada reinado demuestra de lo que es capaz." )say ( " Deseas ir a la isla?" )returnendif game . get_event_flag ( "sg_eventarena_minlv" ) > pc . level thensay_title ( "Archer Guardian:" )say ( "" )say ( " Seviyen çok düþük. En az " .. game . get_event_flag ( "sg_eventarena_minlv" ) .. " olmalý. " )say ( "" )returnendif game . get_event_flag ( "sg_eventarena_maxlv" ) < pc . level thensay_title ( "Archer Guardian:" )say ( "" )say ( " Seviyen çok yüksek. En fazla " .. game . get_event_flag ( "sg_eventarena_maxlv" ) .. " olmalý. " )say ( "" )returnendsay_title ( "Archer Guardian:" )say ( "" )say ( " Giriþ izni verildi. " )say ( " Arena'ya gidiyoruz. " )say ( "" )wait ( )if pc . get_empire ( ) == 1 thenpc . warp ( 46942 , 45372 )elseif pc . get_empire ( ) == 2 thenpc . warp ( 20754 , 55748 )elsepc . warp ( 45253 , 83437 )end Link to comment Share on other sites More sharing options...
Desmint Posted April 24, 2014 Report Share Posted April 24, 2014 Mas Arriba De:say_title ( " Oficial de batalla:" ) Debe Decir Algo Como: quest collect_quest_lv80 begin O Diferente, Solo Cambias El Numero Por El 110 Ejemplo: quest collect_quest_lv110 begin Link to comment Share on other sites More sharing options...
Anders2D Posted April 25, 2014 Report Share Posted April 25, 2014 if game . get_event_flag ( "sg_eventarena_maxlv" ) < pc . level then if game . get_event_flag ( "sg_eventarena_minlv" ) > pc . level then aquí dos condiciones puedes editar los flag desde el juego poniendo esto claro cuando este activo el evento /e sg_eventarena_minlv 100 Lo haces con un GM Link to comment Share on other sites More sharing options...
Shogun Posted April 25, 2014 Report Share Posted April 25, 2014 Esto no es la guerra de imperios es un mapa de eventos y la quest la hice yo. Aqui tienes el original: quest sg_eventarena begin state start begin when login with pc.get_map_index() == 103 begin if game.get_event_flag("sg_eventarena") == 0 and pc.is_gm() == false then warp_to_village() end end when 11001.chat."Mount Baekdu" or 11003.chat."Mount Baekdu" or 11005.chat."Mount Baekdu" with game.get_event_flag("sg_eventarena") > 0 begin say_title("Archer Guardian:") say("") say("The people are gathering at the pass in Mount Baekdu.") say("Let me see if you are prepared to endure the journey there.") say("") wait() if game.get_event_flag("sg_eventarena_open"..pc.get_empire()) == 0 then say_title("Archer Guardian:") say("") ----"111111222222333333444444555555666666777777888888999999000000" say("Sorry, your empire can't access the mountain at the moment.") say("") return end if game.get_event_flag("sg_eventarena_minlv") > pc.level then say_title("Archer Guardian:") say("") say("Sorry, you need level "..game.get_event_flag("sg_eventarena_minlv").." to join.") say("") return end if game.get_event_flag("sg_eventarena_maxlv") < pc.level then say_title("Archer Guardian:") say("") say("Your level is too high. A maximum of "..game.get_event_flag("sg_eventarena_maxlv").." is allowed.") say("") return end say_title("Archer Guardian:") say("") say("You are allowed to join.") say("Off to the mountains we go...") say("") wait() if pc.get_empire() == 1 then pc.warp(46942, 45372) elseif pc.get_empire() == 2 then pc.warp(20754, 55748) else pc.warp(45253, 83437) end end when 11001.chat."GM: Event Arena" or 11003.chat."GM: Event Arena" or 11005.chat."GM: Event Arena" with pc.is_gm() begin say_title("Event Arena Manager") say("") if game.get_event_flag("sg_eventarena") > 0 then msg = "Arena is open." statuschange = "Close" new = 0 else msg = "Arena is closed." statuschange = "Open" new = 1 end say(msg.." Current settings:") say("Minimum level: "..game.get_event_flag("sg_eventarena_minlv").." Maximum level: "..game.get_event_flag("sg_eventarena_maxlv").." ") say("") say("") local s = select("Edit Level requirement", "Edit allowed empires", statuschange.." Event Arena", "Exit") if s == 1 then say("Enter minimum level:") say("") local min = input() say("Enter maximum level") say("") local max = input() if min > max then say("Maximum level must be higher than minimum!") say("") return end game.set_event_flag("sg_eventarena_minlv",min) game.set_event_flag("sg_eventarena_maxlv",max) say("Level requirement has been set.") elseif s == 2 then if game.get_event_flag("sg_eventarena_open1") > 0 then statuschange1 = "Disallow" new1 = 0 else statuschange1 = "Allow" new1 = 1 end if game.get_event_flag("sg_eventarena_open2") > 0 then statuschange2 = "Disallow" new2 = 0 else statuschange2 = "Allow" new2 = 1 end if game.get_event_flag("sg_eventarena_open3") > 0 then statuschange3 = "Disallow" new3 = 0 else statuschange3 = "Allow" new3 = 1 end s=select(statuschange1.." Pandemonia Kingdom", statuschange2.." Asmodia Kingdom", statuschange3.." Elgoria Kingdom", "Cancel") if s == 1 then game.set_event_flag("sg_eventarena_open1",new1) say("Pandemonia Kingdom "..statuschange1.."ed") say("") elseif s ==2 then game.set_event_flag("sg_eventarena_open2",new2) say("Asmodia Kingdom "..statuschange2.."ed") say("") elseif s== 3 then game.set_event_flag("sg_eventarena_open3",new3) say("Elgoria Kingdom "..statuschange3.."ed") say("") end elseif s == 3 then if new == 0 then notice_all("Mountain Pass is closing now.") warp_all_to_village(103, 10) else notice_all("Mountain Pass is open! The Archer Guardian") notice_all("in town is recruiting the bravest soldiers.") end game.set_event_flag("sg_eventarena",new) say("Event arena is now "..statuschange..".") say("") end end endend Rheinald and elpram2008 2 Link to comment Share on other sites More sharing options...
Rheinald Posted April 27, 2014 Author Report Share Posted April 27, 2014 Muchas gracias a todos m sirivio, gracias Shogun pueden cerrar Link to comment Share on other sites More sharing options...
Recommended Posts