Jump to content

problem with opening box

Recommended Posts

Use a quest for it, and the type of the box should be 18 if i remember corectly.

quest levelup_boxes begin
	state start begin
		when login begin
	state run begin
		when 50187.use or 50188.use or 50189.use or 50190.use or 50191.use or 50192.use or 50193.use or 50194.use or 50195.use or 50196.use or 50212.use or 50213.use begin
			local weapon = 10
			if pc.job == 3 then
				weapon = 7000
			elseif pc.job == 1 then
				weapon = 1000
			local box_num = item.vnum-50186
			local rewards = {
			if rewards[box_num][1] == nil then
				syschat("The seal on this chest is too strong. No matter what you do, it won't budge.")
			elseif pc.get_level() < rewards[box_num][1] then
				syschat("Your Level does not suffice to open this box.")
			elseif pc.get_empty_inventory_count() < rewards[box_num][2] then
				syschat("You do not have enough free inventory space to open this box.")
				for i = 1,rewards[box_num][2],1 do


  • Love 1
Link to comment
Share on other sites

  • Premium

i need from quest give item


and again 


you recived noting


if i edit special_item_group.txt    i got but 1 item  no mores  i need few items

Create a quest...


"Nothing's free in this life.

Ignorant people have an obligation to make up for their ignorance by paying those who help them.

Either you got the brains or cash, if you lack both you're useless."


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

  • Activity

    1. 2

      acces root denied

    2. 7

      Acce system

    3. 5

      Transmutation Reversal - bug

    4. 0

      How to compile Metin2 .py script to .pyc

    5. 2

      acces root denied

    6. 2

      VPS Choice

  • 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.