Jump to content

Recommended Posts

  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

  • Active+ Member
3 minutes ago, Psiclone said:

Check again.

the url

I got this to every box to the server, i don't know what to do

 

Go to share/locale/xx/special_item_group.txt 

 

Group    금장보물상자            
{                
    Vnum    71194        --------- code of item
    1    "19"    1    100 ------- 1 of the items receibe
    2    "11299"    1    100 ------- 1 of the items receibe
    3    "11209"    1    100 ------- 1 of the items receibe
}                

Copy and create a new one

Just now, DrTurk said:

maybe you can try to add drops to that box in special item group

But i think he wants that like the official one, once you open it you receibe the whole items which i think is not good at all it's better receibe on give_basic_weapon

Link to comment
Share on other sites

7 minutes ago, Doose said:

Go to share/locale/xx/special_item_group.txt 

 

Group    금장보물상자            
{                
    Vnum    71194        --------- code of item
    1    "19"    1    100 ------- 1 of the items receibe
    2    "11299"    1    100 ------- 1 of the items receibe
    3    "11209"    1    100 ------- 1 of the items receibe
}                

Copy and create a new one

It's worked now, but i get items in a row, it's not everytime the same. Sometimes i get 19, someitmes 11209, etc. I got my Quest in quest folder and they don't get the items from there tho.

up

32 minutes ago, Doose said:

Go to share/locale/xx/special_item_group.txt 

 

Group    금장보물상자            
{                
    Vnum    71194        --------- code of item
    1    "19"    1    100 ------- 1 of the items receibe
    2    "11299"    1    100 ------- 1 of the items receibe
    3    "11209"    1    100 ------- 1 of the items receibe
}                

Copy and create a new one

But i think he wants that like the official one, once you open it you receibe the whole items which i think is not good at all it's better receibe on give_basic_weapon

That true, i want to use the Ucenic Box. [box from lvl 1 - 10 -20 . 

Link to comment
Share on other sites

  • Active+ Member
2 hours ago, Psiclone said:

It's worked now, but i get items in a row, it's not everytime the same. Sometimes i get 19, someitmes 11209, etc. I got my Quest in quest folder and they don't get the items from there tho.

up

That true, i want to use the Ucenic Box. [box from lvl 1 - 10 -20 . 

If i'm not wrong, you can do it with a quest.

Link to comment
Share on other sites

12 minutes ago, Doose said:

If i'm not wrong, you can do it with a quest.

Spoiler

 

quest cufar_ucenic begin
    state start begin
    when 50187.use begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.remove_item(50187, 1)   -- Elimina din inventar
    end
------------------------------------------------------------------------------------------
    when 50188.use with pc.get_level() >= 10 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.give_item2(50189, 1)     -- Cufar ucenic III
        pc.remove_item(50188, 1)   -- Elimina din inventar
        pc.give_item2(71027, 5)
        pc.give_item2(71028, 5)
        pc.give_item2(71029, 5)
        pc.give_item2(71030, 5)
        pc.give_item2(71044, 5)
        pc.give_item2(71045, 5)
    end
-------------------------------------------------------------------------------------------
    when 50189.use with pc.get_level() >= 20 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.give_item2(50190, 1)     -- Cufar ucenic I expert
        pc.remove_item(50189, 1)   -- Elimina din inventar
        pc.give_item2(70003, 1)        
    end
-------------------------------------------------------------------------------------------
    when 50190.use with pc.get_level() >= 30 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.give_item2(50191, 1)     -- Cufar ucenic II expert
        pc.remove_item(50190, 1)   -- Elimina din inventar
        pc.give_item2(71110, 1)
    end
-------------------------------------------------------------------------------------------
    when 50191.use with pc.get_level() >= 40 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.give_item2(50192, 1)     -- Cufar ucenic III expert
        pc.remove_item(50191, 1)   -- Elimina din inventar
        pc.give_item2(70043, 1)
        pc.give_item2(71035, 5)
    end
-------------------------------------------------------------------------------------------
    when 50192.use with pc.get_level() >= 50 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.remove_item(50192, 1)   -- Eiimina din inventar
        pc.give_item2(71004, 10)
        pc.give_item2(50193, 1)     -- Cufar ucenic I expert
        pc.give_item2(70005, 1) 
    end
-------------------------------------------------------------------------------------------
    when 50193.use with pc.get_level() >= 60 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.give_item2(50194, 1)     -- Cufar ucenic II maiestru
        pc.remove_item(50193, 1)   -- Elimina din inventar
        pc.give_item2(70024, 3)
        pc.give_item2(50513, 3)
    end
-------------------------------------------------------------------------------------------
    when 50194.use with pc.get_level() >= 70 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.give_item2(50195, 1)     -- Cufar ucenic III maiestru
        pc.remove_item(50194, 1)   -- Elimina din inventar
        pc.give_item2(72726, 1)
        pc.give_item2(72730, 1)
    end
-------------------------------------------------------------------------------------------
    when 50195.use with pc.get_level() >= 80 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.give_item2(50196, 1)     -- Cufar ucenic
        pc.remove_item(50195, 1)   -- Elimina din inventar
        pc.give_item2(70007, 1)
    end

-------------------------------------------------------------------------------------------
    when 50196.use with pc.get_level() >= 90 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.remove_item(50196, 1)   -- Elimina din inventar
        pc.give_item2(70024, 1)
        pc.give_item2(70024, 1)
        pc.give_item2(70024, 1)
        pc.give_item2(70024, 1)
        pc.give_item2(70024, 1)
        pc.give_item2(50513, 1)
        pc.give_item2(50513, 1)
        pc.give_item2(50513, 1)
        pc.give_item2(50513, 1)
        pc.give_item2(50513, 1)        
        pc.give_item2(70005, 1)
        pc.give_item2(70005, 1)
        pc.give_item2(70005, 1)
        pc.give_item2(70005, 1)
        pc.give_item2(70005, 1)
        pc.give_item2(70005, 1)
    end
-------------------------------------------------------------------------------------------
    end
end

 

I tried.. still not working tho

 

Link to comment
Share on other sites

  • Active+ Member
4 hours ago, Psiclone said:
  Hide contents

 

quest cufar_ucenic begin
    state start begin
    when 50187.use begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.remove_item(50187, 1)   -- Elimina din inventar
    end
------------------------------------------------------------------------------------------
    when 50188.use with pc.get_level() >= 10 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.give_item2(50189, 1)     -- Cufar ucenic III
        pc.remove_item(50188, 1)   -- Elimina din inventar
        pc.give_item2(71027, 5)
        pc.give_item2(71028, 5)
        pc.give_item2(71029, 5)
        pc.give_item2(71030, 5)
        pc.give_item2(71044, 5)
        pc.give_item2(71045, 5)
    end
-------------------------------------------------------------------------------------------
    when 50189.use with pc.get_level() >= 20 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.give_item2(50190, 1)     -- Cufar ucenic I expert
        pc.remove_item(50189, 1)   -- Elimina din inventar
        pc.give_item2(70003, 1)        
    end
-------------------------------------------------------------------------------------------
    when 50190.use with pc.get_level() >= 30 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.give_item2(50191, 1)     -- Cufar ucenic II expert
        pc.remove_item(50190, 1)   -- Elimina din inventar
        pc.give_item2(71110, 1)
    end
-------------------------------------------------------------------------------------------
    when 50191.use with pc.get_level() >= 40 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.give_item2(50192, 1)     -- Cufar ucenic III expert
        pc.remove_item(50191, 1)   -- Elimina din inventar
        pc.give_item2(70043, 1)
        pc.give_item2(71035, 5)
    end
-------------------------------------------------------------------------------------------
    when 50192.use with pc.get_level() >= 50 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.remove_item(50192, 1)   -- Eiimina din inventar
        pc.give_item2(71004, 10)
        pc.give_item2(50193, 1)     -- Cufar ucenic I expert
        pc.give_item2(70005, 1) 
    end
-------------------------------------------------------------------------------------------
    when 50193.use with pc.get_level() >= 60 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.give_item2(50194, 1)     -- Cufar ucenic II maiestru
        pc.remove_item(50193, 1)   -- Elimina din inventar
        pc.give_item2(70024, 3)
        pc.give_item2(50513, 3)
    end
-------------------------------------------------------------------------------------------
    when 50194.use with pc.get_level() >= 70 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.give_item2(50195, 1)     -- Cufar ucenic III maiestru
        pc.remove_item(50194, 1)   -- Elimina din inventar
        pc.give_item2(72726, 1)
        pc.give_item2(72730, 1)
    end
-------------------------------------------------------------------------------------------
    when 50195.use with pc.get_level() >= 80 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.give_item2(50196, 1)     -- Cufar ucenic
        pc.remove_item(50195, 1)   -- Elimina din inventar
        pc.give_item2(70007, 1)
    end

-------------------------------------------------------------------------------------------
    when 50196.use with pc.get_level() >= 90 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.remove_item(50196, 1)   -- Elimina din inventar
        pc.give_item2(70024, 1)
        pc.give_item2(70024, 1)
        pc.give_item2(70024, 1)
        pc.give_item2(70024, 1)
        pc.give_item2(70024, 1)
        pc.give_item2(50513, 1)
        pc.give_item2(50513, 1)
        pc.give_item2(50513, 1)
        pc.give_item2(50513, 1)
        pc.give_item2(50513, 1)        
        pc.give_item2(70005, 1)
        pc.give_item2(70005, 1)
        pc.give_item2(70005, 1)
        pc.give_item2(70005, 1)
        pc.give_item2(70005, 1)
        pc.give_item2(70005, 1)
    end
-------------------------------------------------------------------------------------------
    end
end

 

I tried.. still not working tho

 

Add me Th1Doose#0001

Link to comment
Share on other sites

 DID IT!

Put into cufarucenic.lua

Spoiler

 

quest cufarucenic begin
    state start begin
    when 50187.use begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        if pc.job == 0 then
                pc.give_item2(50188, 1) 
                pc.remove_item(50187, 1) 
            elseif pc.job == 1 then
                pc.give_item2(50188, 1) 
                pc.remove_item(50187, 1) 
            elseif pc.job == 2 then
                pc.give_item2(50188, 1) 
                pc.remove_item(50187, 1) 
            elseif pc.job == 3 then
                pc.give_item2(50188, 1) 
                pc.remove_item(50187, 1) 
        end
    end
------------------------------------------------------------------------------------------
    when 50188.use with pc.get_level() >= 10 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.give_item2(50189, 1)     -- Cufar ucenic III
        pc.remove_item(50188, 1)   -- Elimina din inventar
        pc.give_item2(71027, 5)
        pc.give_item2(71028, 5)
        pc.give_item2(71029, 5)
        pc.give_item2(71030, 5)
        pc.give_item2(71044, 5)
        pc.give_item2(71045, 5)
    end
-------------------------------------------------------------------------------------------
    when 50189.use with pc.get_level() >= 20 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.give_item2(50190, 1)     -- Cufar ucenic I expert
        pc.remove_item(50189, 1)   -- Elimina din inventar
        pc.give_item2(70003, 1)        
    end
-------------------------------------------------------------------------------------------
    when 50190.use with pc.get_level() >= 30 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.give_item2(50191, 1)     -- Cufar ucenic II expert
        pc.remove_item(50190, 1)   -- Elimina din inventar
        pc.give_item2(71110, 1)
    end
-------------------------------------------------------------------------------------------
    when 50191.use with pc.get_level() >= 40 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.give_item2(50192, 1)     -- Cufar ucenic III expert
        pc.remove_item(50191, 1)   -- Elimina din inventar
        pc.give_item2(70043, 1)
        pc.give_item2(71035, 5)
    end
-------------------------------------------------------------------------------------------
    when 50192.use with pc.get_level() >= 50 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.remove_item(50192, 1)   -- Eiimina din inventar
        pc.give_item2(71004, 10)
        pc.give_item2(50193, 1)     -- Cufar ucenic I expert
        pc.give_item2(70005, 1) 
    end
-------------------------------------------------------------------------------------------
    when 50193.use with pc.get_level() >= 60 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.give_item2(50194, 1)     -- Cufar ucenic II maiestru
        pc.remove_item(50193, 1)   -- Elimina din inventar
        pc.give_item2(70024, 3)
        pc.give_item2(50513, 3)
    end
-------------------------------------------------------------------------------------------
    when 50194.use with pc.get_level() >= 70 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.give_item2(50195, 1)     -- Cufar ucenic III maiestru
        pc.remove_item(50194, 1)   -- Elimina din inventar
        pc.give_item2(72726, 1)
        pc.give_item2(72730, 1)
    end
-------------------------------------------------------------------------------------------
    when 50195.use with pc.get_level() >= 80 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.give_item2(50196, 1)     -- Cufar ucenic
        pc.remove_item(50195, 1)   -- Elimina din inventar
        pc.give_item2(70007, 1)
    end

-------------------------------------------------------------------------------------------
    when 50196.use with pc.get_level() >= 90 begin
    if pc.get_empty_inventory_count() <= 10 then
        syschat("Ai inventarul plin. Arunca ceva din inventar.")
    return
    end
        pc.remove_item(50196, 1)   -- Elimina din inventar
        pc.give_item2(70024, 1)
        pc.give_item2(70024, 1)
        pc.give_item2(70024, 1)
        pc.give_item2(70024, 1)
        pc.give_item2(70024, 1)
        pc.give_item2(50513, 1)
        pc.give_item2(50513, 1)
        pc.give_item2(50513, 1)
        pc.give_item2(50513, 1)
        pc.give_item2(50513, 1)        
        pc.give_item2(70005, 1)
        pc.give_item2(70005, 1)
        pc.give_item2(70005, 1)
        pc.give_item2(70005, 1)
        pc.give_item2(70005, 1)
        pc.give_item2(70005, 1)
    end
-------------------------------------------------------------------------------------------
    end
end

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



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