Jump to content

Sungzi teleport problem


Go to solution Solved by Shogun,

Recommended Posts

Hello. I have  a little problem. I put the sunzi map as a metin farm map(you can found it with the name "metin2_map_sungzi" in any serverfile map folder). When i type ingame, warp 9466 256  i get teleported on the middle of the map. This is the quest but i think the problem is from the map folder.

quest farm_map begin
	state start begin	
		when 20381.chat."Intrã în Valea Sufletelor ..." begin			
			say_title("Confucius:")
			say("")
			say("Salut, aventurierule.")
			say("Te pot ajuta sã intri dacã doreºti, dar ...")
			say("ai grijã, daca mori, o sa fi teleportat map1!")		
			say("")
			
			if pc.level < 40 and pc.count_item(30129) <= 0 then
				say_reward("Pentru a putea intra în Valea Sufletelor ai nevoie")
				say_reward("de o Insarcinare de la calaret ºi minim nivelul 40.")
				say("")
				return
			end			
			if pc.count_item(30129) <= 0 then
				say_reward("Pentru a putea intra în Valea Sufletelor ai nevoie")
				say_reward("de o Insarcinare de la calaret.")
				say("")
				return
			end			
			if pc.level < 40 then
				say_reward("Pentru a putea intra în Valea Sufletelor ai nevoie")
				say_reward("de minim nivelul 40.")
				say("")
				return
			end
			
			if pc.count_item(30129) >= 1 then
			
			local s=select("Uite biletul ...", "M-am rãzgândit")
			
				if s==1 then
					pc.remove_item(30129,1)
					pc.warp(9466 , 256)						
				end
			end
		end
				
	end
end

But when i inserted the 9466 256 coordonates on the teleport quest, it teleports me on the edge of the map(coordonates 250 , 3). Any idea on how to fix it? I can`t find a working solution for it. And the second problem, when i get killed on Sungzi map, i get teleported on map1 (first town of my kindom). How can i disable that?

Thanks

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 2

      wait() function bug

    2. 0

      Remove Party Role Bonuses

    3. 1

      Fix CBar3D

    4. 1

      set_quest_state not working

    5. 1

      Fix CBar3D

    6. 1

      Game Source Code - where to call void methods to spawn mobs, move mobs and others - in game source side -?

    7. 112

      Ulthar SF V2 (TMP4 Base)

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.