Register for your free account! | Forgot your password?

You last visited: Today at 15:31

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Request] QUEST

Discussion on [Request] QUEST within the Metin2 Private Server forum part of the Metin2 category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2014
Posts: 48
Received Thanks: 0
[Request] QUEST

Hello
I would like to ask you guys to help me create a quest with the follow steps:
When kill player with lv30 higher give (random item).
That random item is giving from a list of items.
Quest needs to have :
-only will be activated if the player is lv30 ou higher.
-List of items to give.
-percentage of drop.

I will appreciate that
Thank You.
mortovivo13 is offline  
Old 04/29/2015, 09:29   #2

 
elite*gold: 83
Join Date: Nov 2013
Posts: 2,891
Received Thanks: 2,764
Please use the sticky Thread:


and give some more Information. Which player must be Level 30 or higher? Must player b be at least 30 Levels higher than player a?
rollback is offline  
Thanks
1 User
Old 04/29/2015, 12:21   #3
 
elite*gold: 0
Join Date: Aug 2014
Posts: 48
Received Thanks: 0
About the sticky Thread , I donīt understand.

The Objective of the Quest is
When player kill other player receive reward.
But the player only receives if he is Lv30 or higher.
"Like when lv30 begin " something like that."
and i also want in that quest a random list , just to not receive the same item every time.
mortovivo13 is offline  
Old 04/29/2015, 12:36   #4

 
elite*gold: 83
Join Date: Nov 2013
Posts: 2,891
Received Thanks: 2,764
The sticky Thread should be used for quest requests.

Here is a quest that should do the thing you want:
Code:
quest pvpkills begin
	state start begin
		when kill with npc.is_pc() and pc.get_level() >= 30 begin
			local items = {--vnum, count
				{27001, 200},
				{180, 1},
				{187, 1}
			}
			if number(1, 100) <= xx then
				local rand = number(1, table.getn(items))
				pc.give_item2(items[rand][1], items[rand][2])
			end
		end
	end
end
replace "xx" with the percentage chance to drop anything (for example if you replace xx with 50 there will be a 50% chance of getting one of the items in the list)
rollback is offline  
Thanks
1 User
Old 04/29/2015, 21:01   #5
 
elite*gold: 5
Join Date: Mar 2015
Posts: 499
Received Thanks: 376
Quote:
Originally Posted by usr.setVnum(1093) View Post
The sticky Thread should be used for quest requests.

Here is a quest that should do the thing you want:
Code:
quest pvpkills begin
	state start begin
		when kill with npc.is_pc() and pc.get_level() >= 30 begin
			local items = {--vnum, count
				{27001, 200},
				{180, 1},
				{187, 1}
			}
			if number(1, 100) <= xx then
				local rand = number(1, table.getn(items)
				pc.give_item2(items[rand][1], items[rand][2])
			end
		end
	end
end
replace "xx" with the percentage chance to drop anything (for example if you replace xx with 50 there will be a 50% chance of getting one of the items in the list)
hast eine klammer vergessen in der variable
KΛIƬӨ is offline  
Thanks
1 User
Old 04/29/2015, 21:56   #6
 
elite*gold: 0
Join Date: Aug 2014
Posts: 48
Received Thanks: 0
something is missing in that quest...

ERROR "expect to close"

Can you please fix it? thank you!
mortovivo13 is offline  
Old 04/30/2015, 06:38   #7

 
elite*gold: 83
Join Date: Nov 2013
Posts: 2,891
Received Thanks: 2,764
Quote:
Originally Posted by mortovivo13 View Post
something is missing in that quest...

ERROR "expect to close"

Can you please fix it? thank you!
the quest works fine for me. did you replace the "xx" ?
rollback is offline  
Thanks
1 User
Old 04/30/2015, 08:08   #8
 
elite*gold: 0
Join Date: Aug 2014
Posts: 48
Received Thanks: 0
It is working now, i left some blank spaces.

THANK YOU!
mortovivo13 is offline  
Closed Thread

Tags
metin2, quest


Similar Threads Similar Threads
Compile all quest without quest's files list // Kompilieren Sie alle Quest ohne Quest
07/17/2011 - Metin2 PServer Guides & Strategies - 3 Replies
ENGLISH Hello dear community, this is a very simple guide but at the same time useful. How to compile ALL quest in the folder "quest" without the files list in the file "locale_list"? Easy! Open the file "make" and replace the content of the file with this: for f in *.quest; do ./qc $f; done Oki. Now set the 0777 permission to the file. Finally open a SSH client and sign in. Write the command: cd /game_file_folder
[REQUEST] GCPH CHARACTER UNLOCK QUEST/JOB QUEST
02/25/2011 - Grand Chase Philippines - 4 Replies
Hi!... Is there any thread here that will give a complete list of requirements of completing a job quest specially the steps of completing the 4th job quest?... hope someone post it... this will help alot to us newbie:):handsdown::p
Request of amy quest
01/28/2010 - Grand Chase - 2 Replies
can u make a new hack for amy quest , i always cant get anything kecuali(forgot the word so i type malay)::)the temple 2nd quest:D:D
[Request]For the Jin Quest on GC[PH]
01/26/2010 - Grand Chase - 2 Replies
Pwede po ba kaung gumawa ng fast jin quest para makakuha po agad kami???????????Tnx po!!!!!!!!!!!!!!!



All times are GMT +1. The time now is 15:32.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.