2010sf solid forked_road.quest do you have

05/23/2011 02:44 kuyam#1
hello
2010sf for solid forked_road.quest I'm looking for do you have?
05/23/2011 06:21 ~LuckyStrike~#2
So und wenn du uns jetzt erklärst was du wirklich von uns willst sind wir glücklicher ...

So, and if you tell us now explain what you really want from us, we are happy ...
05/23/2011 08:54 jackdown9#3
sorry, but I don´t know the quest you are searching for.
But next time, please ask not in this area, go to "Metin2 PServer - Discussions / Questions". And don´t say, that you didn´t get it, because the name of the topic is in english and you should read it!

#reported
05/23/2011 13:55 musicinstructor#4
ich vermute, er will ne funktionierende reichsschlacht für 2010er sf haben.
das problem bei den 2010er sf ist, dass einige befehle weggefallen sind.
das erste problem ist schonmal, dass
Code:
pc.warp( forked.getpassstartposx() , forked.getpassstartposy() )
nicht mehr geht, denn die funktionen forked.getpassstartposx() und forked.getpassstartposy() gibt es nicht mehr.
man könnte sie sich aber eventuell selber schreiben.
ka ob noch weitere funktionen fehlen.
05/23/2011 18:30 Crank#5
#moved
05/23/2011 20:00 kuyam#6
2010sf forked_road.quest does not work
05/23/2011 21:56 kuyam#7
2010 sf Reichsschlacht does not work please help me

Code:
quest forked_road begin
    state start begin
	when login begin
		-- 114 sungzi
		-- 115 116 117 118 119 120 Road
	    if forked.isforkedmapindex( pc.get_map_index() ) == 1  then
			if game.get_event_flag("threeway_war") == 0 then
				warp_to_village();
			else
				--if forked.getdeadcount() <= 0 then
				--	warp_to_village();
				--end
				if forked.issungzimapindex( pc.get_map_index() ) == 0 then
					say( "Reichsschlacht" )
					say( "Dringe vor zum Tiegergeist, der am ende" )
					say( "dieser Map auf dich wartet und töte ihn!" )
					say( "Nur er besitzt das magische Siegel:" )
					say_item( "Es öffnet das Tor!",50089,"");
				else
					say( "Wilkommen in der Reichsschlacht!" )
					say( "Hier könnt ihr den anderen Reichen" )
					say( "Reichen mal richtig den hintern versohlen" )
					say( "und eure stärken im Kampf Messen!" )
				end
				
			end
		end
	end
	when 11001.chat."Reichsschlacht" or 11003.chat."Reichsschlacht" or 11005.chat."Reichsschlacht" begin
	    if game.get_event_flag("threeway_war") == 0 then
			say("Die Tore zur Reichsschlacht sind")
			say("im Moment geschlossen!")
	    else
			say("Hallo!")
			say("Zur Zeit ist eine Reichsschlacht!")
			say("Möchtest du beitreten?")
			local s = select("Ja","Nein!")
			if s == 1 then
			if pc.get_level() < 50 then
				say("Dein Level ist noch zu niedrig! Komm mit 50 wieder!");
				return 
			end
				
			forked.setdeadcount();
			if pc.getempire() == 1 then
				if game.get_event_flag("threeway_war_open_gate1" ) == 0 then
					say("¦pªG¸t¦aªºªù¥´¶}¤§«á,«K¤£¯à¶i¤J¤T°êª§ÅQ.[ENTER] ½Ğ¯¬ºÖ§Ú*Ì,§Ú*̪º«Ò°ê«K¥i¥Hª§¹Ü*n¸t¦a!" );
					return
				end
			elseif pc.getempire() == 2 then
				if game.get_event_flag("threeway_war_open_gate2" ) == 0 then
					say("¦pªG¸t¦aªºªù¥´¶}¤§«á,«K¤£¯à¶i¤J¤T°êª§ÅQ.[ENTER] ½Ğ¯¬ºÖ§Ú*Ì,§Ú*̪º«Ò°ê«K¥i¥Hª§¹Ü*n¸t¦a!" );
					return
				end
			elseif pc.getempire() == 3 then
				if game.get_event_flag("threeway_war_open_gate3" ) == 0 then
					say("¦pªG¸t¦aªºªù¥´¶}¤§«á,«K¤£¯à¶i¤J¤T°êª§ÅQ.[ENTER] ½Ğ¯¬ºÖ§Ú*Ì,§Ú*̪º«Ò°ê«K¥i¥Hª§¹Ü*n¸t¦a!" );
					return
				end
			else
				say(locale.forked_man_say_you_cant2 )
			end
			pc.warp( forked.getpassstartposx() , forked.getpassstartposy() )
			end
		end
	end
	when 1306.kill begin		
		game.drop_item(50089, 1 )
		say("Der Tiegergeist hat das Siegel fallengelassen![ENTER]Es gewährt dir den Beitritt zur Schlacht!") ;
	end	


	when 20081.take with item.vnum == 50089 begin
		say_in_map( pc.get_map_index() , locale.forked_open_gate , 1); 
		npc.purge()
		item.remove()
		
		--??? ???
		forked.setdeadcount()
		forked.initkillcount()
		forked.initmobkillcount()
		
		if pc.getempire() == 1 then
			game.set_event_flag("threeway_war_open_gate1", 0 )
			notice_all("Euer Reich hat das Siegel geöffnet." ) 
		elseif pc.getempire() == 2 then
			game.set_event_flag("threeway_war_open_gate2", 0 )
		    notice_all("Euer Reich hat das Siegel geöffnet." )
		elseif pc.getempire() == 3 then
			game.set_event_flag("threeway_war_open_gate3", 0 )
			notice_all("Euer Reich hat das Siegel geöffnet." )
		else
			say(locale.forked_man_say_you_cant2 )
		end
		local iEmpire = pc.getempire()
		
		warp_all_in_map( pc.get_map_index() , forked.getsungzimapindex() ,forked.getsungziposx() , forked.getsungziposy() , 10 );
	end

	when 11001.chat."Reichschlachtsverwaltung" or 11003.chat."Reichschlachtsverwaltung" or 11005.chat."Reichschlachtsverwaltung" with pc.is_gm() begin
		
		local s = select("Reichsschlacht starten" , "Reichsschlacht beenden" );
		if s == 1 then

			-- ??? ?? ?? ?? ???
			kill_all_in_map( forked.getsungzimapindex() );
			kill_all_in_map( forked.getpassmapindexbyempire(1) );
			kill_all_in_map( forked.getpassmapindexbyempire(2) );
			kill_all_in_map( forked.getpassmapindexbyempire(3) );

			-- ??? 
			forked.initforked()
			-- ??? ??? ?? 
			regen_in_map( forked.getpassmapindexbyempire(1), forked.getpasspathbyempire(1) .."regen.txt" );
			regen_in_map( forked.getpassmapindexbyempire(1), forked.getpasspathbyempire(1) .."npc.txt" );
			regen_in_map( forked.getpassmapindexbyempire(2), forked.getpasspathbyempire(2) .."regen.txt" );
			regen_in_map( forked.getpassmapindexbyempire(2), forked.getpasspathbyempire(2) .."npc.txt" );
			regen_in_map( forked.getpassmapindexbyempire(3), forked.getpasspathbyempire(3) .."regen.txt" );
			regen_in_map( forked.getpassmapindexbyempire(3), forked.getpasspathbyempire(3) .."npc.txt" );

			-- ?? ??? ??
			game.set_event_flag("threeway_war",1)


			-- ??? ?? ? ?? ??
			game.set_event_flag("threeway_war_dead_count", 5)
			game.set_event_flag("threeway_war_mob_count", 150 )
			game.set_event_flag("threeway_war_kill_count", 200 )
			game.set_event_flag("threeway_war_kill_boss_count", 1 );
			-- ??? ?? ??/?? ??
			game.set_event_flag("threeway_war_open_gate1", 1 )
			game.set_event_flag("threeway_war_open_gate2", 1 )
			game.set_event_flag("threeway_war_open_gate3", 1 )
			
			notice_all("REICHSSCHLACHT GESTARTET!")
			notice_all("Begebt euch alle zum Schlachtenverwalter!" )
		else	
			game.set_event_flag("threeway_war",0)
			kill_all_in_map( forked.getsungzimapindex() );
			kill_all_in_map( forked.getpassmapindexbyempire(1) );
			kill_all_in_map( forked.getpassmapindexbyempire(2));
			kill_all_in_map( forked.getpassmapindexbyempire(3));
			notice_all("REICHSSCHLACHT BEENDET!")
			warp_all_to_village( forked.getsungzimapindex() , 1 )
			warp_all_to_village( forked.getpassmapindexbyempire(1) , 1 )
			warp_all_to_village( forked.getpassmapindexbyempire(2) , 1 )
			warp_all_to_village( forked.getpassmapindexbyempire(3) , 1 )
		end
	end
end
end
07/17/2011 20:19 sneidder#8
maybe because file gamecore sf 2010 is bug
need make new game core for serverfiles 2010