Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 04:01

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

 

[Help Thread] Please post your questions here.

Reply
 
Old   #6286
 
elite*gold: 0
Join Date: Apr 2015
Posts: 39
Received Thanks: 0
Quote:
Originally Posted by TheOnlyOneRaskim View Post
Why is the snippet so familiar to me?
yes inspired by lua auto_selling by rank <3



kojima2501 is offline  
Old   #6287
 
elite*gold: 0
Join Date: Jul 2011
Posts: 7
Received Thanks: 0
Exclamation Suche Hilfe

Hallo zusammen,

ich suche Jemanden der mir Hilft einen eigenen P-Server zu erstellen. Ich will den Server aber nicht Puplic machen sonder nur mit meinem Kumpel zusammen benutzen. Ich habe vor ein paar Jahren schon mal einen gemacht, aber ich weiß nicht mehr wie das alles genau geht. Wir würden am liebsten einen 9.1 Server machen.

Wäre super wenn sich jemand meldet und vielleicht mal mit mir zusammen im TS das ganze durchgehen würde. Zur not würden wir dir auch eine kleinichkeit dafür geben.

Mit freundlichen grüßen
RavenNC


RavenNC is offline  
Old   #6288
 
elite*gold: 0
Join Date: Jan 2014
Posts: 182
Received Thanks: 45
Hey all,

i have a question about .lua


problem is he selling only one Item from an ID, when i get 2 items with same ID he only selling 1.

thanks for help


And 2nd Question.

How i make an Rdu. File cuz EnhanceEffectResource.rdb dont work :/

Thank you again
g_d_dragon is offline  
Old   #6289
 
elite*gold: 0
Join Date: Apr 2015
Posts: 39
Received Thanks: 0
Quote:
Originally Posted by g_d_dragon View Post
Hey all,

i have a question about .lua


problem is he selling only one Item from an ID, when i get 2 items with same ID he only selling 1.

thanks for help


And 2nd Question.

How i make an Rdu. File cuz EnhanceEffectResource.rdb dont work :/

Thank you again

Re Dragon ur item is stackable like card / consomable ? or like weapons ?

if it's stackable item try with this

-- find_item count item in stack
create_count = find_item( item_id )
delete_item( get_item_handle( item_id ), create_count )

-- don't forget to use create_count for * ur gold price

For rdb take Glandu tool here tool + ddls


kojima2501 is offline  
Old   #6290
 
elite*gold: 0
Join Date: Jan 2014
Posts: 182
Received Thanks: 45
Quote:
Originally Posted by kojima2501 View Post
Re Dragon ur item is stackable like card / consomable ? or like weapons ?

if it's stackable item try with this

-- find_item count item in stack
create_count = find_item( item_id )
delete_item( get_item_handle( item_id ), create_count )

-- don't forget to use create_count for * ur gold price

For rdb take Glandu tool here tool + ddls
thanks for answer ^^

well soulstones are stackable but weapons and armors not.

Glandus tool only work for RDB files but i need RDU for the EnhanceEffectResource ^^
g_d_dragon is offline  
Old   #6291
Moderator
 
elite*gold: 1
Join Date: Dec 2012
Posts: 3,166
Received Thanks: 1,038
I am curious about what is not working with your EnhanceEffectResource.rdb and what makes you think an .rdu will help you is that not just an rdb updater file?
ThunderNikk is offline  
Old   #6292
 
elite*gold: 0
Join Date: Jan 2014
Posts: 182
Received Thanks: 45
Quote:
Originally Posted by thndr View Post
I am curious about what is not working with your EnhanceEffectResource.rdb and what makes you think an .rdu will help you is that not just an rdb updater file?
when i use the RDB for my Client all Weapons or Gears wont show up the Enhance + like example p.atk 1000 (+1000).

i heared that if i would use an RDU it should work

i launch with ascii so i use "db_enhanceeffect(ascii).rdb" hashed.
g_d_dragon is offline  
Old   #6293
 
elite*gold: 0
Join Date: Nov 2011
Posts: 980
Received Thanks: 1,007
Quote:
Originally Posted by thndr View Post
I am curious about what is not working with your EnhanceEffectResource.rdb and what makes you think an .rdu will help you is that not just an rdb updater file?
The EnhanceeffectResource need to be created in *.rdu Format, otherwise the client cant read it properly.
TheOnlyOneRaskim is offline  
Old   #6294
 
elite*gold: 0
Join Date: Nov 2011
Posts: 980
Received Thanks: 1,007
Quote:
Originally Posted by g_d_dragon View Post
cuz it is from urs ^^ found it somewhere here.

problem is he selling only one Item from an ID, i get 2 items with same ID he only selling 1.
I wrote This Snippet new now. I just added an example for Weapons. (if you want to use it, you have to complete the rest of code, but you should understand how it works.

Code:
function get_module_name()
             return "auto_selling"
end

function auto_selling()
 
	dlg_title("Auction Manager")
	dlg_text("What Type you want to Sell?")
    dlg_menu("Weapons","auto_selling_select(1)")
	dlg_menu("Armors","auto_selling_select(2)")
	dlg_menu("Gloves","auto_selling_select(3)")
	dlg_menu("Boots","auto_selling_select(4)")
	dlg_menu("Necklace","auto_selling_select(5)")
	dlg_menu("Ring","auto_selling_select(6)")
	dlg_menu("Earring","auto_selling_select(7)")
	dlg_menu("Goodbye","")
	dlg_show()
    
end

function auto_selling_select(selector)

dlg_title("Auction Manager")
dlg_text("Dura or Non Dura?")
dlg_menu("Dura","auto_selling_select_dura("..selector..",1)")
dlg_menu("Non Dura","auto_selling_select_dura("..selector..",2)")
dlg_menu("Return","auto_selling()")
dlg_menu("Goodbye","")
dlg_show()

end

function auto_selling_select_dura(selector,dura_type)

dlg_title("Auction Manager")
dlg_text("Wich Rank?")
for i = 2,7 do
	dlg_menu("Rank "..i,"auto_selling_select_rank("..selector..","..dura_type..","..i..")")
end
dlg_menu("Return","auto_selling_select("..selector..")")
dlg_menu("Goodbye","")
dlg_show()

end

function auto_selling_select_rank(selector,dura_type,rank)

local sell_array = selling_array_return(selector,dura_type,rank)

local found = false

for i = 1, table.getn(sell_array) do
	
	if find_item(sell_array[i]) >= 1 then
		found = true
		fast_selling(sell_array[i])
	end
		
end

end

function fast_selling(id)

	local handle_array = get_item_handle_list(id)

	for i = 1, table.getn(handle_array) do
		
		local handle = handle_array[i]
		local basic_price = get_item_price( handle ) / 4
		local level = get_item_level(handle)
		local enhance = get_item_enhance(handle)
		
		if is_erasable_item(handle) == 1 and level == 1 and enhance == 0 then  
			delete_item(handle,1)
			sv("gold",gv("gold")+basic_price)
		end
		
	end

end


function selling_array_return(selector,dura_type,rank)

local return_array = {}

if selector == 1 then
	
	if rank == 2 then
	
		if dura_type == 1 then
			return_array = {101210101 ,101210102 ,101210103 ,101210104 ,101210105 ,101210106 ,101210107 ,101210108 ,101210109 ,101210110 ,101210111 ,101220101 ,101220102 ,101220103 ,101220104 ,101220105 ,101220106 ,101220107 ,101220108 ,101220109 ,101220110 ,101220111 ,101230101 ,101230102 ,101230103 ,101230104 ,101230105 ,101230106 ,101230107 ,101230108 ,101230109 ,101230110 ,101230111 ,102210101 ,102210102 ,102210103 ,102210104 ,102210105 ,102210106 ,102210107 ,102210108 ,102210109 ,102210110 ,102210111 ,102220101 ,102220102 ,102220103 ,102220104 ,102220105 ,102220106 ,102220107 ,102220108 ,102220109 ,102220110 ,102220111 ,102230101 ,102230102 ,102230103 ,102230104 ,102230105 ,102230106 ,102230107 ,102230108 ,102230109 ,102230110 ,102230111 ,103210101 ,103210102 ,103210103 ,103210104 ,103210105 ,103210106 ,103210107 ,103210108 ,103210109 ,103210110 ,103210111 ,103220101 ,103220102 ,103220103 ,103220104 ,103220105 ,103220106 ,103220107 ,103220108 ,103220109 ,103220110 ,103220111 ,103230101 ,103230102 ,103230103 ,103230104 ,103230105 ,103230106 ,103230107 ,103230108 ,103230109 ,103230110 ,103230111 ,104210101 ,104210102 ,104210103 ,104210104 ,104210105 ,104210106 ,104210107 ,104210108 ,104210109 ,104210110 ,104210111 ,104220101 ,104220102 ,104220103 ,104220104 ,104220105 ,104220106 ,104220107 ,104220108 ,104220109 ,104220110 ,104220111 ,104230101 ,104230102 ,104230103 ,104230104 ,104230105 ,104230106 ,104230107 ,104230108 ,104230109 ,104230110 ,104230111 ,105210101 ,105210102 ,105210103 ,105210104 ,105210105 ,105210106 ,105210107 ,105210108 ,105210109 ,105210110 ,105210111 ,105220101 ,105220102 ,105220103 ,105220104 ,105220105 ,105220106 ,105220107 ,105220108 ,105220109 ,105220110 ,105220111 ,105230101 ,105230102 ,105230103 ,105230104 ,105230105 ,105230106 ,105230107 ,105230108 ,105230109 ,105230110 ,105230111 ,106210101 ,106210102 ,106210103 ,106210104 ,106210105 ,106210106 ,106210107 ,106210108 ,106210109 ,106210110 ,106210111 ,106220101 ,106220102 ,106220103 ,106220104 ,106220105 ,106220106 ,106220107 ,106220108 ,106220109 ,106220110 ,106220111 ,106230101 ,106230102 ,106230103 ,106230104 ,106230105 ,106230106 ,106230107 ,106230108 ,106230109 ,106230110 ,106230111 ,107210101 ,107210102 ,107210103 ,107210104 ,107210105 ,107210106 ,107210107 ,107210108 ,107210109 ,107210110 ,107210111 ,107220101 ,107220102 ,107220103 ,107220104 ,107220105 ,107220106 ,107220107 ,107220108 ,107220109 ,107220110 ,107220111 ,107230101 ,107230102 ,107230103 ,107230104 ,107230105 ,107230106 ,107230107 ,107230108 ,107230109 ,107230110 ,107230111 ,108210101 ,108210102 ,108210103 ,108210104 ,108210105 ,108210106 ,108210107 ,108210108 ,108210109 ,108210110 ,108210111 ,108220101 ,108220102 ,108220103 ,108220104 ,108220105 ,108220106 ,108220107 ,108220108 ,108220109 ,108220110 ,108220111 ,108230101 ,108230102 ,108230103 ,108230104 ,108230105 ,108230106 ,108230107 ,108230108 ,108230109 ,108230110 ,108230111 ,110210101 ,110210102 ,110210103 ,110210104 ,110210105 ,110210106 ,110210107 ,110210108 ,110210109 ,110210110 ,110210111 ,110220101 ,110220102 ,110220103 ,110220104 ,110220105 ,110220106 ,110220107 ,110220108 ,110220109 ,110220110 ,110220111 ,110230101 ,110230102 ,110230103 ,110230104 ,110230105 ,110230106 ,110230107 ,110230108 ,110230109 ,110230110 ,110230111 ,111210101 ,111210102 ,111210103 ,111210104 ,111210105 ,111210106 ,111210107 ,111210108 ,111210109 ,111210110 ,111210111 ,111220101 ,111220102 ,111220103 ,111220104 ,111220105 ,111220106 ,111220107 ,111220108 ,111220109 ,111220110 ,111220111 ,111230101 ,111230102 ,111230103 ,111230104 ,111230105 ,111230106 ,111230107 ,111230108 ,111230109 ,111230110 ,111230111 ,112210101 ,112210102 ,112210103 ,112210104 ,112210105 ,112210106 ,112210107 ,112210108 ,112210109 ,112210110 ,112210111 ,112220101 ,112220102 ,112220103 ,112220104 ,112220105 ,112220106 ,112220107 ,112220108 ,112220109 ,112220110 ,112220111 ,112230101 ,112230102 ,112230103 ,112230104 ,112230105 ,112230106 ,112230107 ,112230108 ,112230109 ,112230110 ,112230111 ,113210101 ,113210102 ,113210103 ,113210104 ,113210105 ,113210106 ,113210107 ,113210108 ,113210109 ,113210110 ,113210111 ,113220101 ,113220102 ,113220103 ,113220104 ,113220105 ,113220106 ,113220107 ,113220108 ,113220109 ,113220110 ,113220111 ,113230101 ,113230102 ,113230103 ,113230104 ,113230105 ,113230106 ,113230107 ,113230108 ,113230109 ,113230110 ,113230111}
		else
			return_array = {101201 ,101202 ,101203 ,101204 ,101221 ,101222 ,101223 ,101224 ,102201 ,102202 ,102203 ,102221 ,102222 ,102223 ,103201 ,103202 ,103203 ,103221 ,103222 ,103223 ,104201 ,104202 ,104203 ,104221 ,104222 ,104223 ,105201 ,105202 ,105203 ,105221 ,105222 ,105223 ,106201 ,106202 ,106203 ,106221 ,106222 ,106223 ,107201 ,107202 ,107221 ,107222 ,108201 ,108202 ,108221 ,108222 ,109201 ,109221 ,110201 ,110202 ,110221 ,110222 ,111201 ,111202 ,111203 ,111221 ,111222 ,111223 ,112201 ,112221}
		end
	
	elseif rank == 3 then
	
		if dura_type == 1 then
			return_array = {101331 ,102331 ,103331 ,104331 ,105331 ,106331 ,107331 ,108331 ,109331 ,110331 ,111331 ,112331 ,101310101 ,101310102 ,101310103 ,101310104 ,101310105 ,101310106 ,101310107 ,101310108 ,101310109 ,101310110 ,101310111 ,101320101 ,101320102 ,101320103 ,101320104 ,101320105 ,101320106 ,101320107 ,101320108 ,101320109 ,101320110 ,101320111 ,101330101 ,101330102 ,101330103 ,101330104 ,101330105 ,101330106 ,101330107 ,101330108 ,101330109 ,101330110 ,101330111 ,102310101 ,102310102 ,102310103 ,102310104 ,102310105 ,102310106 ,102310107 ,102310108 ,102310109 ,102310110 ,102310111 ,102320101 ,102320102 ,102320103 ,102320104 ,102320105 ,102320106 ,102320107 ,102320108 ,102320109 ,102320110 ,102320111 ,102330101 ,102330102 ,102330103 ,102330104 ,102330105 ,102330106 ,102330107 ,102330108 ,102330109 ,102330110 ,102330111 ,103310101 ,103310102 ,103310103 ,103310104 ,103310105 ,103310106 ,103310107 ,103310108 ,103310109 ,103310110 ,103310111 ,103320101 ,103320102 ,103320103 ,103320104 ,103320105 ,103320106 ,103320107 ,103320108 ,103320109 ,103320110 ,103320111 ,103330101 ,103330102 ,103330103 ,103330104 ,103330105 ,103330106 ,103330107 ,103330108 ,103330109 ,103330110 ,103330111 ,104310101 ,104310102 ,104310103 ,104310104 ,104310105 ,104310106 ,104310107 ,104310108 ,104310109 ,104310110 ,104310111 ,104320101 ,104320102 ,104320103 ,104320104 ,104320105 ,104320106 ,104320107 ,104320108 ,104320109 ,104320110 ,104320111 ,104330101 ,104330102 ,104330103 ,104330104 ,104330105 ,104330106 ,104330107 ,104330108 ,104330109 ,104330110 ,104330111 ,105310101 ,105310102 ,105310103 ,105310104 ,105310105 ,105310106 ,105310107 ,105310108 ,105310109 ,105310110 ,105310111 ,105320101 ,105320102 ,105320103 ,105320104 ,105320105 ,105320106 ,105320107 ,105320108 ,105320109 ,105320110 ,105320111 ,105330101 ,105330102 ,105330103 ,105330104 ,105330105 ,105330106 ,105330107 ,105330108 ,105330109 ,105330110 ,105330111 ,106310101 ,106310102 ,106310103 ,106310104 ,106310105 ,106310106 ,106310107 ,106310108 ,106310109 ,106310110 ,106310111 ,106320101 ,106320102 ,106320103 ,106320104 ,106320105 ,106320106 ,106320107 ,106320108 ,106320109 ,106320110 ,106320111 ,106330101 ,106330102 ,106330103 ,106330104 ,106330105 ,106330106 ,106330107 ,106330108 ,106330109 ,106330110 ,106330111 ,107310101 ,107310102 ,107310103 ,107310104 ,107310105 ,107310106 ,107310107 ,107310108 ,107310109 ,107310110 ,107310111 ,107320101 ,107320102 ,107320103 ,107320104 ,107320105 ,107320106 ,107320107 ,107320108 ,107320109 ,107320110 ,107320111 ,107330101 ,107330102 ,107330103 ,107330104 ,107330105 ,107330106 ,107330107 ,107330108 ,107330109 ,107330110 ,107330111 ,108310101 ,108310102 ,108310103 ,108310104 ,108310105 ,108310106 ,108310107 ,108310108 ,108310109 ,108310110 ,108310111 ,108320101 ,108320102 ,108320103 ,108320104 ,108320105 ,108320106 ,108320107 ,108320108 ,108320109 ,108320110 ,108320111 ,108330101 ,108330102 ,108330103 ,108330104 ,108330105 ,108330106 ,108330107 ,108330108 ,108330109 ,108330110 ,108330111 ,110310101 ,110310102 ,110310103 ,110310104 ,110310105 ,110310106 ,110310107 ,110310108 ,110310109 ,110310110 ,110310111 ,110320101 ,110320102 ,110320103 ,110320104 ,110320105 ,110320106 ,110320107 ,110320108 ,110320109 ,110320110 ,110320111 ,110330101 ,110330102 ,110330103 ,110330104 ,110330105 ,110330106 ,110330107 ,110330108 ,110330109 ,110330110 ,110330111 ,111310101 ,111310102 ,111310103 ,111310104 ,111310105 ,111310106 ,111310107 ,111310108 ,111310109 ,111310110 ,111310111 ,111320101 ,111320102 ,111320103 ,111320104 ,111320105 ,111320106 ,111320107 ,111320108 ,111320109 ,111320110 ,111320111 ,111330101 ,111330102 ,111330103 ,111330104 ,111330105 ,111330106 ,111330107 ,111330108 ,111330109 ,111330110 ,111330111 ,112310101 ,112310102 ,112310103 ,112310104 ,112310105 ,112310106 ,112310107 ,112310108 ,112310109 ,112310110 ,112310111 ,112320101 ,112320102 ,112320103 ,112320104 ,112320105 ,112320106 ,112320107 ,112320108 ,112320109 ,112320110 ,112320111 ,112330101 ,112330102 ,112330103 ,112330104 ,112330105 ,112330106 ,112330107 ,112330108 ,112330109 ,112330110 ,112330111 ,113310101 ,113310102 ,113310103 ,113310104 ,113310105 ,113310106 ,113310107 ,113310108 ,113310109 ,113310110 ,113310111 ,113320101 ,113320102 ,113320103 ,113320104 ,113320105 ,113320106 ,113320107 ,113320108 ,113320109 ,113320110 ,113320111 ,113330101 ,113330102 ,113330103 ,113330104 ,113330105 ,113330106 ,113330107 ,113330108 ,113330109 ,113330110 ,113330111}
		else
			return_array = {101301 ,101302 ,101303 ,101321 ,101322 ,101323 ,102301 ,102302 ,102321 ,102322 ,103301 ,103302 ,103321 ,103322 ,104301 ,104302 ,104303 ,104321 ,104322 ,104323 ,105301 ,105302 ,105303 ,105321 ,105322 ,105323 ,106301 ,106302 ,106303 ,106321 ,106322 ,106323 ,107301 ,107302 ,107303 ,107321 ,107322 ,107323 ,108301 ,108302 ,108303 ,108304 ,108321 ,108322 ,108323 ,108324 ,109301 ,109302 ,109321 ,109322 ,110301 ,110302 ,110321 ,110322 ,111301 ,111302 ,111303 ,111321 ,111322 ,111323 ,112301 ,112321}
		end
		
	elseif rank == 4 then
	
		if dura_type == 1 then
			return_array = {101410101 ,101410102 ,101410103 ,101410104 ,101410105 ,101410106 ,101410107 ,101410108 ,101410109 ,101410110 ,101410111 ,101420101 ,101420102 ,101420103 ,101420104 ,101420105 ,101420106 ,101420107 ,101420108 ,101420109 ,101420110 ,101420111 ,101430101 ,101430102 ,101430103 ,101430104 ,101430105 ,101430106 ,101430107 ,101430108 ,101430109 ,101430110 ,101430111 ,102410101 ,102410102 ,102410103 ,102410104 ,102410105 ,102410106 ,102410107 ,102410108 ,102410109 ,102410110 ,102410111 ,102420101 ,102420102 ,102420103 ,102420104 ,102420105 ,102420106 ,102420107 ,102420108 ,102420109 ,102420110 ,102420111 ,102430101 ,102430102 ,102430103 ,102430104 ,102430105 ,102430106 ,102430107 ,102430108 ,102430109 ,102430110 ,102430111 ,103410101 ,103410102 ,103410103 ,103410104 ,103410105 ,103410106 ,103410107 ,103410108 ,103410109 ,103410110 ,103410111 ,103420101 ,103420102 ,103420103 ,103420104 ,103420105 ,103420106 ,103420107 ,103420108 ,103420109 ,103420110 ,103420111 ,103430101 ,103430102 ,103430103 ,103430104 ,103430105 ,103430106 ,103430107 ,103430108 ,103430109 ,103430110 ,103430111 ,104410101 ,104410102 ,104410103 ,104410104 ,104410105 ,104410106 ,104410107 ,104410108 ,104410109 ,104410110 ,104410111 ,104420101 ,104420102 ,104420103 ,104420104 ,104420105 ,104420106 ,104420107 ,104420108 ,104420109 ,104420110 ,104420111 ,104430101 ,104430102 ,104430103 ,104430104 ,104430105 ,104430106 ,104430107 ,104430108 ,104430109 ,104430110 ,104430111 ,105410101 ,105410102 ,105410103 ,105410104 ,105410105 ,105410106 ,105410107 ,105410108 ,105410109 ,105410110 ,105410111 ,105420101 ,105420102 ,105420103 ,105420104 ,105420105 ,105420106 ,105420107 ,105420108 ,105420109 ,105420110 ,105420111 ,105430101 ,105430102 ,105430103 ,105430104 ,105430105 ,105430106 ,105430107 ,105430108 ,105430109 ,105430110 ,105430111 ,106410101 ,106410102 ,106410103 ,106410104 ,106410105 ,106410106 ,106410107 ,106410108 ,106410109 ,106410110 ,106410111 ,106420101 ,106420102 ,106420103 ,106420104 ,106420105 ,106420106 ,106420107 ,106420108 ,106420109 ,106420110 ,106420111 ,106430101 ,106430102 ,106430103 ,106430104 ,106430105 ,106430106 ,106430107 ,106430108 ,106430109 ,106430110 ,106430111 ,107410101 ,107410102 ,107410103 ,107410104 ,107410105 ,107410106 ,107410107 ,107410108 ,107410109 ,107410110 ,107410111 ,107420101 ,107420102 ,107420103 ,107420104 ,107420105 ,107420106 ,107420107 ,107420108 ,107420109 ,107420110 ,107420111 ,107430101 ,107430102 ,107430103 ,107430104 ,107430105 ,107430106 ,107430107 ,107430108 ,107430109 ,107430110 ,107430111 ,108410101 ,108410102 ,108410103 ,108410104 ,108410105 ,108410106 ,108410107 ,108410108 ,108410109 ,108410110 ,108410111 ,108420101 ,108420102 ,108420103 ,108420104 ,108420105 ,108420106 ,108420107 ,108420108 ,108420109 ,108420110 ,108420111 ,108430101 ,108430102 ,108430103 ,108430104 ,108430105 ,108430106 ,108430107 ,108430108 ,108430109 ,108430110 ,108430111 ,110410101 ,110410102 ,110410103 ,110410104 ,110410105 ,110410106 ,110410107 ,110410108 ,110410109 ,110410110 ,110410111 ,110420101 ,110420102 ,110420103 ,110420104 ,110420105 ,110420106 ,110420107 ,110420108 ,110420109 ,110420110 ,110420111 ,110430101 ,110430102 ,110430103 ,110430104 ,110430105 ,110430106 ,110430107 ,110430108 ,110430109 ,110430110 ,110430111 ,111410101 ,111410102 ,111410103 ,111410104 ,111410105 ,111410106 ,111410107 ,111410108 ,111410109 ,111410110 ,111410111 ,111420101 ,111420102 ,111420103 ,111420104 ,111420105 ,111420106 ,111420107 ,111420108 ,111420109 ,111420110 ,111420111 ,111430101 ,111430102 ,111430103 ,111430104 ,111430105 ,111430106 ,111430107 ,111430108 ,111430109 ,111430110 ,111430111 ,112410101 ,112410102 ,112410103 ,112410104 ,112410105 ,112410106 ,112410107 ,112410108 ,112410109 ,112410110 ,112410111 ,112420101 ,112420102 ,112420103 ,112420104 ,112420105 ,112420106 ,112420107 ,112420108 ,112420109 ,112420110 ,112420111 ,112430101 ,112430102 ,112430103 ,112430104 ,112430105 ,112430106 ,112430107 ,112430108 ,112430109 ,112430110 ,112430111 ,113410101 ,113410102 ,113410103 ,113410104 ,113410105 ,113410106 ,113410107 ,113410108 ,113410109 ,113410110 ,113410111 ,113420101 ,113420102 ,113420103 ,113420104 ,113420105 ,113420106 ,113420107 ,113420108 ,113420109 ,113420110 ,113420111 ,113430101 ,113430102 ,113430103 ,113430104 ,113430105 ,113430106 ,113430107 ,113430108 ,113430109 ,113430110 ,113430111}
		else
			return_array = {101401 ,101402 ,101403 ,101421 ,101422 ,101423 ,102401 ,102402 ,102403 ,102404 ,102421 ,102422 ,102423 ,102424 ,103401 ,103402 ,103403 ,103421 ,103422 ,103423 ,104401 ,104402 ,104403 ,104421 ,104422 ,104423 ,105401 ,105402 ,105421 ,105422 ,106401 ,106402 ,106403 ,106421 ,106422 ,106423 ,107401 ,107402 ,107421 ,107422 ,108401 ,108402 ,108421 ,108422 ,109401 ,109402 ,109421 ,109422 ,110401 ,110402 ,110403 ,110421 ,110422 ,110423 ,111401 ,111402 ,111421 ,111422 ,112401 ,112402 ,112403 ,112421 ,112422 ,112423}
		end
		
	elseif rank == 5 then
	
		if dura_type == 1 then
			return_array = {101531 ,102531 ,103531 ,104531 ,105531 ,106531 ,107531 ,108531 ,109531 ,110531 ,111531 ,112531 ,101510101 ,101510102 ,101510103 ,101510104 ,101510105 ,101510106 ,101510107 ,101510108 ,101510109 ,101510110 ,101510111 ,101510201 ,101510202 ,101510203 ,101510204 ,101510205 ,101510206 ,101510207 ,101510208 ,101510209 ,101510210 ,101510211 ,101520101 ,101520102 ,101520103 ,101520104 ,101520105 ,101520106 ,101520107 ,101520108 ,101520109 ,101520110 ,101520111 ,101520201 ,101520202 ,101520203 ,101520204 ,101520205 ,101520206 ,101520207 ,101520208 ,101520209 ,101520210 ,101520211 ,101530101 ,101530102 ,101530103 ,101530104 ,101530105 ,101530106 ,101530107 ,101530108 ,101530109 ,101530110 ,101530111 ,101530201 ,101530202 ,101530203 ,101530204 ,101530205 ,101530206 ,101530207 ,101530208 ,101530209 ,101530210 ,101530211 ,102510101 ,102510102 ,102510103 ,102510104 ,102510105 ,102510106 ,102510107 ,102510108 ,102510109 ,102510110 ,102510111 ,102510201 ,102510202 ,102510203 ,102510204 ,102510205 ,102510206 ,102510207 ,102510208 ,102510209 ,102510210 ,102510211 ,102520101 ,102520102 ,102520103 ,102520104 ,102520105 ,102520106 ,102520107 ,102520108 ,102520109 ,102520110 ,102520111 ,102520201 ,102520202 ,102520203 ,102520204 ,102520205 ,102520206 ,102520207 ,102520208 ,102520209 ,102520210 ,102520211 ,102530101 ,102530102 ,102530103 ,102530104 ,102530105 ,102530106 ,102530107 ,102530108 ,102530109 ,102530110 ,102530111 ,102530201 ,102530202 ,102530203 ,102530204 ,102530205 ,102530206 ,102530207 ,102530208 ,102530209 ,102530210 ,102530211 ,103510101 ,103510102 ,103510103 ,103510104 ,103510105 ,103510106 ,103510107 ,103510108 ,103510109 ,103510110 ,103510111 ,103510201 ,103510202 ,103510203 ,103510204 ,103510205 ,103510206 ,103510207 ,103510208 ,103510209 ,103510210 ,103510211 ,103520101 ,103520102 ,103520103 ,103520104 ,103520105 ,103520106 ,103520107 ,103520108 ,103520109 ,103520110 ,103520111 ,103520201 ,103520202 ,103520203 ,103520204 ,103520205 ,103520206 ,103520207 ,103520208 ,103520209 ,103520210 ,103520211 ,103530101 ,103530102 ,103530103 ,103530104 ,103530105 ,103530106 ,103530107 ,103530108 ,103530109 ,103530110 ,103530111 ,103530201 ,103530202 ,103530203 ,103530204 ,103530205 ,103530206 ,103530207 ,103530208 ,103530209 ,103530210 ,103530211 ,104510101 ,104510102 ,104510103 ,104510104 ,104510105 ,104510106 ,104510107 ,104510108 ,104510109 ,104510110 ,104510111 ,104510201 ,104510202 ,104510203 ,104510204 ,104510205 ,104510206 ,104510207 ,104510208 ,104510209 ,104510210 ,104510211 ,104520101 ,104520102 ,104520103 ,104520104 ,104520105 ,104520106 ,104520107 ,104520108 ,104520109 ,104520110 ,104520111 ,104520201 ,104520202 ,104520203 ,104520204 ,104520205 ,104520206 ,104520207 ,104520208 ,104520209 ,104520210 ,104520211 ,104530101 ,104530102 ,104530103 ,104530104 ,104530105 ,104530106 ,104530107 ,104530108 ,104530109 ,104530110 ,104530111 ,104530201 ,104530202 ,104530203 ,104530204 ,104530205 ,104530206 ,104530207 ,104530208 ,104530209 ,104530210 ,104530211 ,105510101 ,105510102 ,105510103 ,105510104 ,105510105 ,105510106 ,105510107 ,105510108 ,105510109 ,105510110 ,105510111 ,105510201 ,105510202 ,105510203 ,105510204 ,105510205 ,105510206 ,105510207 ,105510208 ,105510209 ,105510210 ,105510211 ,105520101 ,105520102 ,105520103 ,105520104 ,105520105 ,105520106 ,105520107 ,105520108 ,105520109 ,105520110 ,105520111 ,105520201 ,105520202 ,105520203 ,105520204 ,105520205 ,105520206 ,105520207 ,105520208 ,105520209 ,105520210 ,105520211 ,105530101 ,105530102 ,105530103 ,105530104 ,105530105 ,105530106 ,105530107 ,105530108 ,105530109 ,105530110 ,105530111 ,105530201 ,105530202 ,105530203 ,105530204 ,105530205 ,105530206 ,105530207 ,105530208 ,105530209 ,105530210 ,105530211 ,106510101 ,106510102 ,106510103 ,106510104 ,106510105 ,106510106 ,106510107 ,106510108 ,106510109 ,106510110 ,106510111 ,106510201 ,106510202 ,106510203 ,106510204 ,106510205 ,106510206 ,106510207 ,106510208 ,106510209 ,106510210 ,106510211 ,106520101 ,106520102 ,106520103 ,106520104 ,106520105 ,106520106 ,106520107 ,106520108 ,106520109 ,106520110 ,106520111 ,106520201 ,106520202 ,106520203 ,106520204 ,106520205 ,106520206 ,106520207 ,106520208 ,106520209 ,106520210 ,106520211 ,106530101 ,106530102 ,106530103 ,106530104 ,106530105 ,106530106 ,106530107 ,106530108 ,106530109 ,106530110 ,106530111 ,106530201 ,106530202 ,106530203 ,106530204 ,106530205 ,106530206 ,106530207 ,106530208 ,106530209 ,106530210 ,106530211 ,107510101 ,107510102 ,107510103 ,107510104 ,107510105 ,107510106 ,107510107 ,107510108 ,107510109 ,107510110 ,107510111 ,107510201 ,107510202 ,107510203 ,107510204 ,107510205 ,107510206 ,107510207 ,107510208 ,107510209 ,107510210 ,107510211 ,107520101 ,107520102 ,107520103 ,107520104 ,107520105 ,107520106 ,107520107 ,107520108 ,107520109 ,107520110 ,107520111 ,107520201 ,107520202 ,107520203 ,107520204 ,107520205 ,107520206 ,107520207 ,107520208 ,107520209 ,107520210 ,107520211 ,107530101 ,107530102 ,107530103 ,107530104 ,107530105 ,107530106 ,107530107 ,107530108 ,107530109 ,107530110 ,107530111 ,107530201 ,107530202 ,107530203 ,107530204 ,107530205 ,107530206 ,107530207 ,107530208 ,107530209 ,107530210 ,107530211 ,108510101 ,108510102 ,108510103 ,108510104 ,108510105 ,108510106 ,108510107 ,108510108 ,108510109 ,108510110 ,108510111 ,108510201 ,108510202 ,108510203 ,108510204 ,108510205 ,108510206 ,108510207 ,108510208 ,108510209 ,108510210 ,108510211 ,108520101 ,108520102 ,108520103 ,108520104 ,108520105 ,108520106 ,108520107 ,108520108 ,108520109 ,108520110 ,108520111 ,108520201 ,108520202 ,108520203 ,108520204 ,108520205 ,108520206 ,108520207 ,108520208 ,108520209 ,108520210 ,108520211 ,108530101 ,108530102 ,108530103 ,108530104 ,108530105 ,108530106 ,108530107 ,108530108 ,108530109 ,108530110 ,108530111 ,108530201 ,108530202 ,108530203 ,108530204 ,108530205 ,108530206 ,108530207 ,108530208 ,108530209 ,108530210 ,108530211 ,110510101 ,110510102 ,110510103 ,110510104 ,110510105 ,110510106 ,110510107 ,110510108 ,110510109 ,110510110 ,110510111 ,110510201 ,110510202 ,110510203 ,110510204 ,110510205 ,110510206 ,110510207 ,110510208 ,110510209 ,110510210 ,110510211 ,110520101 ,110520102 ,110520103 ,110520104 ,110520105 ,110520106 ,110520107 ,110520108 ,110520109 ,110520110 ,110520111 ,110520201 ,110520202 ,110520203 ,110520204 ,110520205 ,110520206 ,110520207 ,110520208 ,110520209 ,110520210 ,110520211 ,110530101 ,110530102 ,110530103 ,110530104 ,110530105 ,110530106 ,110530107 ,110530108 ,110530109 ,110530110 ,110530111 ,110530201 ,110530202 ,110530203 ,110530204 ,110530205 ,110530206 ,110530207 ,110530208 ,110530209 ,110530210 ,110530211 ,111510101 ,111510102 ,111510103 ,111510104 ,111510105 ,111510106 ,111510107 ,111510108 ,111510109 ,111510110 ,111510111 ,111510201 ,111510202 ,111510203 ,111510204 ,111510205 ,111510206 ,111510207 ,111510208 ,111510209 ,111510210 ,111510211 ,111520101 ,111520102 ,111520103 ,111520104 ,111520105 ,111520106 ,111520107 ,111520108 ,111520109 ,111520110 ,111520111 ,111520201 ,111520202 ,111520203 ,111520204 ,111520205 ,111520206 ,111520207 ,111520208 ,111520209 ,111520210 ,111520211 ,111530101 ,111530102 ,111530103 ,111530104 ,111530105 ,111530106 ,111530107 ,111530108 ,111530109 ,111530110 ,111530111 ,111530201 ,111530202 ,111530203 ,111530204 ,111530205 ,111530206 ,111530207 ,111530208 ,111530209 ,111530210 ,111530211 ,112510101 ,112510102 ,112510103 ,112510104 ,112510105 ,112510106 ,112510107 ,112510108 ,112510109 ,112510110 ,112510111 ,112510201 ,112510202 ,112510203 ,112510204 ,112510205 ,112510206 ,112510207 ,112510208 ,112510209 ,112510210 ,112510211 ,112520101 ,112520102 ,112520103 ,112520104 ,112520105 ,112520106 ,112520107 ,112520108 ,112520109 ,112520110 ,112520111 ,112520201 ,112520202 ,112520203 ,112520204 ,112520205 ,112520206 ,112520207 ,112520208 ,112520209 ,112520210 ,112520211 ,112530101 ,112530102 ,112530103 ,112530104 ,112530105 ,112530106 ,112530107 ,112530108 ,112530109 ,112530110 ,112530111 ,112530201 ,112530202 ,112530203 ,112530204 ,112530205 ,112530206 ,112530207 ,112530208 ,112530209 ,112530210 ,112530211 ,113510101 ,113510102 ,113510103 ,113510104 ,113510105 ,113510106 ,113510107 ,113510108 ,113510109 ,113510110 ,113510111 ,113510201 ,113510202 ,113510203 ,113510204 ,113510205 ,113510206 ,113510207 ,113510208 ,113510209 ,113510210 ,113510211 ,113520101 ,113520102 ,113520103 ,113520104 ,113520105 ,113520106 ,113520107 ,113520108 ,113520109 ,113520110 ,113520111 ,113520201 ,113520202 ,113520203 ,113520204 ,113520205 ,113520206 ,113520207 ,113520208 ,113520209 ,113520210 ,113520211 ,113530101 ,113530102 ,113530103 ,113530104 ,113530105 ,113530106 ,113530107 ,113530108 ,113530109 ,113530110 ,113530111 ,113530201 ,113530202 ,113530203 ,113530204 ,113530205 ,113530206 ,113530207 ,113530208 ,113530209 ,113530210 ,113530211}
		else
			return_array = {101501 ,101502 ,101503 ,101521 ,101522 ,101523 ,101524 ,102501 ,102502 ,102521 ,102522 ,102523 ,103501 ,103502 ,103521 ,103522 ,103523 ,104501 ,104502 ,104503 ,104521 ,104522 ,104523 ,104524 ,105501 ,105502 ,105521 ,105522 ,105523 ,106501 ,106521 ,106522 ,107501 ,107502 ,107503 ,107521 ,107522 ,107523 ,107524 ,108501 ,108502 ,108521 ,108522 ,108523 ,109501 ,109502 ,109521 ,109522 ,109523 ,110501 ,110502 ,110521 ,110522 ,110523 ,111501 ,111521 ,111522 ,111523 ,112501 ,112502 ,112521 ,112522 ,112523}
		end
		
	elseif rank == 6 then
	
		if dura_type == 1 then
			return_array = {101610101 ,101610102 ,101610103 ,101610104 ,101610105 ,101610106 ,101610107 ,101610108 ,101610109 ,101610110 ,101610111 ,101610201 ,101610202 ,101610203 ,101610204 ,101610205 ,101610206 ,101610207 ,101610208 ,101610209 ,101610210 ,101610211 ,101620101 ,101620102 ,101620103 ,101620104 ,101620105 ,101620106 ,101620107 ,101620108 ,101620109 ,101620110 ,101620111 ,101620201 ,101620202 ,101620203 ,101620204 ,101620205 ,101620206 ,101620207 ,101620208 ,101620209 ,101620210 ,101620211 ,101630101 ,101630102 ,101630103 ,101630104 ,101630105 ,101630106 ,101630107 ,101630108 ,101630109 ,101630110 ,101630111 ,101630201 ,101630202 ,101630203 ,101630204 ,101630205 ,101630206 ,101630207 ,101630208 ,101630209 ,101630210 ,101630211 ,102610101 ,102610102 ,102610103 ,102610104 ,102610105 ,102610106 ,102610107 ,102610108 ,102610109 ,102610110 ,102610111 ,102610201 ,102610202 ,102610203 ,102610204 ,102610205 ,102610206 ,102610207 ,102610208 ,102610209 ,102610210 ,102610211 ,102620101 ,102620102 ,102620103 ,102620104 ,102620105 ,102620106 ,102620107 ,102620108 ,102620109 ,102620110 ,102620111 ,102620201 ,102620202 ,102620203 ,102620204 ,102620205 ,102620206 ,102620207 ,102620208 ,102620209 ,102620210 ,102620211 ,102630101 ,102630102 ,102630103 ,102630104 ,102630105 ,102630106 ,102630107 ,102630108 ,102630109 ,102630110 ,102630111 ,102630201 ,102630202 ,102630203 ,102630204 ,102630205 ,102630206 ,102630207 ,102630208 ,102630209 ,102630210 ,102630211 ,103610101 ,103610102 ,103610103 ,103610104 ,103610105 ,103610106 ,103610107 ,103610108 ,103610109 ,103610110 ,103610111 ,103610201 ,103610202 ,103610203 ,103610204 ,103610205 ,103610206 ,103610207 ,103610208 ,103610209 ,103610210 ,103610211 ,103620101 ,103620102 ,103620103 ,103620104 ,103620105 ,103620106 ,103620107 ,103620108 ,103620109 ,103620110 ,103620111 ,103620201 ,103620202 ,103620203 ,103620204 ,103620205 ,103620206 ,103620207 ,103620208 ,103620209 ,103620210 ,103620211 ,103630101 ,103630102 ,103630103 ,103630104 ,103630105 ,103630106 ,103630107 ,103630108 ,103630109 ,103630110 ,103630111 ,103630201 ,103630202 ,103630203 ,103630204 ,103630205 ,103630206 ,103630207 ,103630208 ,103630209 ,103630210 ,103630211 ,104610101 ,104610102 ,104610103 ,104610104 ,104610105 ,104610106 ,104610107 ,104610108 ,104610109 ,104610110 ,104610111 ,104610201 ,104610202 ,104610203 ,104610204 ,104610205 ,104610206 ,104610207 ,104610208 ,104610209 ,104610210 ,104610211 ,104620101 ,104620102 ,104620103 ,104620104 ,104620105 ,104620106 ,104620107 ,104620108 ,104620109 ,104620110 ,104620111 ,104620201 ,104620202 ,104620203 ,104620204 ,104620205 ,104620206 ,104620207 ,104620208 ,104620209 ,104620210 ,104620211 ,104630101 ,104630102 ,104630103 ,104630104 ,104630105 ,104630106 ,104630107 ,104630108 ,104630109 ,104630110 ,104630111 ,104630201 ,104630202 ,104630203 ,104630204 ,104630205 ,104630206 ,104630207 ,104630208 ,104630209 ,104630210 ,104630211 ,105610101 ,105610102 ,105610103 ,105610104 ,105610105 ,105610106 ,105610107 ,105610108 ,105610109 ,105610110 ,105610111 ,105610201 ,105610202 ,105610203 ,105610204 ,105610205 ,105610206 ,105610207 ,105610208 ,105610209 ,105610210 ,105610211 ,105620101 ,105620102 ,105620103 ,105620104 ,105620105 ,105620106 ,105620107 ,105620108 ,105620109 ,105620110 ,105620111 ,105620201 ,105620202 ,105620203 ,105620204 ,105620205 ,105620206 ,105620207 ,105620208 ,105620209 ,105620210 ,105620211 ,105630101 ,105630102 ,105630103 ,105630104 ,105630105 ,105630106 ,105630107 ,105630108 ,105630109 ,105630110 ,105630111 ,105630201 ,105630202 ,105630203 ,105630204 ,105630205 ,105630206 ,105630207 ,105630208 ,105630209 ,105630210 ,105630211 ,106610101 ,106610102 ,106610103 ,106610104 ,106610105 ,106610106 ,106610107 ,106610108 ,106610109 ,106610110 ,106610111 ,106610201 ,106610202 ,106610203 ,106610204 ,106610205 ,106610206 ,106610207 ,106610208 ,106610209 ,106610210 ,106610211 ,106620101 ,106620102 ,106620103 ,106620104 ,106620105 ,106620106 ,106620107 ,106620108 ,106620109 ,106620110 ,106620111 ,106620201 ,106620202 ,106620203 ,106620204 ,106620205 ,106620206 ,106620207 ,106620208 ,106620209 ,106620210 ,106620211 ,106630101 ,106630102 ,106630103 ,106630104 ,106630105 ,106630106 ,106630107 ,106630108 ,106630109 ,106630110 ,106630111 ,106630201 ,106630202 ,106630203 ,106630204 ,106630205 ,106630206 ,106630207 ,106630208 ,106630209 ,106630210 ,106630211 ,107610101 ,107610102 ,107610103 ,107610104 ,107610105 ,107610106 ,107610107 ,107610108 ,107610109 ,107610110 ,107610111 ,107610201 ,107610202 ,107610203 ,107610204 ,107610205 ,107610206 ,107610207 ,107610208 ,107610209 ,107610210 ,107610211 ,107620101 ,107620102 ,107620103 ,107620104 ,107620105 ,107620106 ,107620107 ,107620108 ,107620109 ,107620110 ,107620111 ,107620201 ,107620202 ,107620203 ,107620204 ,107620205 ,107620206 ,107620207 ,107620208 ,107620209 ,107620210 ,107620211 ,107630101 ,107630102 ,107630103 ,107630104 ,107630105 ,107630106 ,107630107 ,107630108 ,107630109 ,107630110 ,107630111 ,107630201 ,107630202 ,107630203 ,107630204 ,107630205 ,107630206 ,107630207 ,107630208 ,107630209 ,107630210 ,107630211 ,108610101 ,108610102 ,108610103 ,108610104 ,108610105 ,108610106 ,108610107 ,108610108 ,108610109 ,108610110 ,108610111 ,108610201 ,108610202 ,108610203 ,108610204 ,108610205 ,108610206 ,108610207 ,108610208 ,108610209 ,108610210 ,108610211 ,108620101 ,108620102 ,108620103 ,108620104 ,108620105 ,108620106 ,108620107 ,108620108 ,108620109 ,108620110 ,108620111 ,108620201 ,108620202 ,108620203 ,108620204 ,108620205 ,108620206 ,108620207 ,108620208 ,108620209 ,108620210 ,108620211 ,108630101 ,108630102 ,108630103 ,108630104 ,108630105 ,108630106 ,108630107 ,108630108 ,108630109 ,108630110 ,108630111 ,108630201 ,108630202 ,108630203 ,108630204 ,108630205 ,108630206 ,108630207 ,108630208 ,108630209 ,108630210 ,108630211 ,110610101 ,110610102 ,110610103 ,110610104 ,110610105 ,110610106 ,110610107 ,110610108 ,110610109 ,110610110 ,110610111 ,110610201 ,110610202 ,110610203 ,110610204 ,110610205 ,110610206 ,110610207 ,110610208 ,110610209 ,110610210 ,110610211 ,110620101 ,110620102 ,110620103 ,110620104 ,110620105 ,110620106 ,110620107 ,110620108 ,110620109 ,110620110 ,110620111 ,110620201 ,110620202 ,110620203 ,110620204 ,110620205 ,110620206 ,110620207 ,110620208 ,110620209 ,110620210 ,110620211 ,110630101 ,110630102 ,110630103 ,110630104 ,110630105 ,110630106 ,110630107 ,110630108 ,110630109 ,110630110 ,110630111 ,110630201 ,110630202 ,110630203 ,110630204 ,110630205 ,110630206 ,110630207 ,110630208 ,110630209 ,110630210 ,110630211 ,111610101 ,111610102 ,111610103 ,111610104 ,111610105 ,111610106 ,111610107 ,111610108 ,111610109 ,111610110 ,111610111 ,111610201 ,111610202 ,111610203 ,111610204 ,111610205 ,111610206 ,111610207 ,111610208 ,111610209 ,111610210 ,111610211 ,111620101 ,111620102 ,111620103 ,111620104 ,111620105 ,111620106 ,111620107 ,111620108 ,111620109 ,111620110 ,111620111 ,111620201 ,111620202 ,111620203 ,111620204 ,111620205 ,111620206 ,111620207 ,111620208 ,111620209 ,111620210 ,111620211 ,111630101 ,111630102 ,111630103 ,111630104 ,111630105 ,111630106 ,111630107 ,111630108 ,111630109 ,111630110 ,111630111 ,111630201 ,111630202 ,111630203 ,111630204 ,111630205 ,111630206 ,111630207 ,111630208 ,111630209 ,111630210 ,111630211 ,112610101 ,112610102 ,112610103 ,112610104 ,112610105 ,112610106 ,112610107 ,112610108 ,112610109 ,112610110 ,112610111 ,112610201 ,112610202 ,112610203 ,112610204 ,112610205 ,112610206 ,112610207 ,112610208 ,112610209 ,112610210 ,112610211 ,112620101 ,112620102 ,112620103 ,112620104 ,112620105 ,112620106 ,112620107 ,112620108 ,112620109 ,112620110 ,112620111 ,112620201 ,112620202 ,112620203 ,112620204 ,112620205 ,112620206 ,112620207 ,112620208 ,112620209 ,112620210 ,112620211 ,112630101 ,112630102 ,112630103 ,112630104 ,112630105 ,112630106 ,112630107 ,112630108 ,112630109 ,112630110 ,112630111 ,112630201 ,112630202 ,112630203 ,112630204 ,112630205 ,112630206 ,112630207 ,112630208 ,112630209 ,112630210 ,112630211 ,113610101 ,113610102 ,113610103 ,113610104 ,113610105 ,113610106 ,113610107 ,113610108 ,113610109 ,113610110 ,113610111 ,113610201 ,113610202 ,113610203 ,113610204 ,113610205 ,113610206 ,113610207 ,113610208 ,113610209 ,113610210 ,113610211 ,113620101 ,113620102 ,113620103 ,113620104 ,113620105 ,113620106 ,113620107 ,113620108 ,113620109 ,113620110 ,113620111 ,113620201 ,113620202 ,113620203 ,113620204 ,113620205 ,113620206 ,113620207 ,113620208 ,113620209 ,113620210 ,113620211 ,113630101 ,113630102 ,113630103 ,113630104 ,113630105 ,113630106 ,113630107 ,113630108 ,113630109 ,113630110 ,113630111 ,113630201 ,113630202 ,113630203 ,113630204 ,113630205 ,113630206 ,113630207 ,113630208 ,113630209 ,113630210 ,113630211}
		else
			return_array = {101601 ,101602 ,101603 ,101621 ,101622 ,101623 ,101624 ,102601 ,102602 ,102621 ,102622 ,102623 ,103601 ,103602 ,103621 ,103622 ,103623 ,104601 ,104602 ,104621 ,104622 ,104623 ,105601 ,105602 ,105621 ,105622 ,105623 ,106601 ,106602 ,106621 ,106622 ,106623 ,107601 ,107602 ,107621 ,107622 ,107623 ,108601 ,108602 ,108621 ,108622 ,108623 ,109601 ,109602 ,109621 ,109622 ,109623 ,110601 ,110602 ,110621 ,110622 ,110623 ,111601 ,111602 ,111621 ,111622 ,111623 ,111624 ,112601 ,112602 ,112621 ,112622 ,112623}
		end
		
	elseif rank == 7 then
	
		if dura_type == 1 then
			return_array = {101731 ,102731 ,103731 ,104731 ,105731 ,106731 ,107731 ,108731 ,109731 ,110731 ,111731 ,112731 ,3100001 ,3100002 ,3100003 ,3100004 ,3100005 ,3100006 ,3100007 ,3100008 ,3100009 ,3100010 ,3100011 ,3100012 ,101710101 ,101710102 ,101710103 ,101710104 ,101710105 ,101710106 ,101710107 ,101710108 ,101710109 ,101710110 ,101710111 ,101710201 ,101710202 ,101710203 ,101710204 ,101710205 ,101710206 ,101710207 ,101710208 ,101710209 ,101710210 ,101710211 ,101710301 ,101710302 ,101710303 ,101710304 ,101710305 ,101710306 ,101710307 ,101710308 ,101710309 ,101710310 ,101710311 ,101710401 ,101710402 ,101710403 ,101710404 ,101710405 ,101710406 ,101710407 ,101710408 ,101710409 ,101710410 ,101710411 ,101710501 ,101710502 ,101710503 ,101710504 ,101710505 ,101710506 ,101710507 ,101710508 ,101720101 ,101720102 ,101720103 ,101720104 ,101720105 ,101720106 ,101720107 ,101720108 ,101720109 ,101720110 ,101720111 ,101720201 ,101720202 ,101720203 ,101720204 ,101720205 ,101720206 ,101720207 ,101720208 ,101720209 ,101720210 ,101720211 ,101720301 ,101720302 ,101720303 ,101720304 ,101720305 ,101720306 ,101720307 ,101720308 ,101720309 ,101720310 ,101720311 ,101720401 ,101720402 ,101720403 ,101720404 ,101720405 ,101720406 ,101720407 ,101720408 ,101720409 ,101720410 ,101720411 ,101720501 ,101720502 ,101720503 ,101720504 ,101720505 ,101720506 ,101720507 ,101720508 ,101730101 ,101730102 ,101730103 ,101730104 ,101730105 ,101730106 ,101730107 ,101730108 ,101730109 ,101730110 ,101730111 ,101730201 ,101730202 ,101730203 ,101730204 ,101730205 ,101730206 ,101730207 ,101730208 ,101730209 ,101730210 ,101730211 ,101730301 ,101730302 ,101730303 ,101730304 ,101730305 ,101730306 ,101730307 ,101730308 ,101730309 ,101730310 ,101730311 ,101730401 ,101730402 ,101730403 ,101730404 ,101730405 ,101730406 ,101730407 ,101730408 ,101730409 ,101730410 ,101730411 ,101730501 ,101730502 ,101730503 ,101730504 ,101730505 ,101730506 ,101730507 ,101730508 ,102710101 ,102710102 ,102710103 ,102710104 ,102710105 ,102710106 ,102710107 ,102710108 ,102710109 ,102710110 ,102710111 ,102710201 ,102710202 ,102710203 ,102710204 ,102710205 ,102710206 ,102710207 ,102710208 ,102710209 ,102710210 ,102710211 ,102710301 ,102710302 ,102710303 ,102710304 ,102710305 ,102710306 ,102710307 ,102710308 ,102710309 ,102710310 ,102710311 ,102710401 ,102710402 ,102710403 ,102710404 ,102710405 ,102710406 ,102710407 ,102710408 ,102710409 ,102710410 ,102710411 ,102710501 ,102710502 ,102710503 ,102710504 ,102710505 ,102710506 ,102710507 ,102710508 ,102720101 ,102720102 ,102720103 ,102720104 ,102720105 ,102720106 ,102720107 ,102720108 ,102720109 ,102720110 ,102720111 ,102720201 ,102720202 ,102720203 ,102720204 ,102720205 ,102720206 ,102720207 ,102720208 ,102720209 ,102720210 ,102720211 ,102720301 ,102720302 ,102720303 ,102720304 ,102720305 ,102720306 ,102720307 ,102720308 ,102720309 ,102720310 ,102720311 ,102720401 ,102720402 ,102720403 ,102720404 ,102720405 ,102720406 ,102720407 ,102720408 ,102720409 ,102720410 ,102720411 ,102720501 ,102720502 ,102720503 ,102720504 ,102720505 ,102720506 ,102720507 ,102720508 ,102730101 ,102730102 ,102730103 ,102730104 ,102730105 ,102730106 ,102730107 ,102730108 ,102730109 ,102730110 ,102730111 ,102730201 ,102730202 ,102730203 ,102730204 ,102730205 ,102730206 ,102730207 ,102730208 ,102730209 ,102730210 ,102730211 ,102730301 ,102730302 ,102730303 ,102730304 ,102730305 ,102730306 ,102730307 ,102730308 ,102730309 ,102730310 ,102730311 ,102730401 ,102730402 ,102730403 ,102730404 ,102730405 ,102730406 ,102730407 ,102730408 ,102730409 ,102730410 ,102730411 ,102730501 ,102730502 ,102730503 ,102730504 ,102730505 ,102730506 ,102730507 ,102730508 ,103710101 ,103710102 ,103710103 ,103710104 ,103710105 ,103710106 ,103710107 ,103710108 ,103710109 ,103710110 ,103710111 ,103710201 ,103710202 ,103710203 ,103710204 ,103710205 ,103710206 ,103710207 ,103710208 ,103710209 ,103710210 ,103710211 ,103710301 ,103710302 ,103710303 ,103710304 ,103710305 ,103710306 ,103710307 ,103710308 ,103710309 ,103710310 ,103710311 ,103710401 ,103710402 ,103710403 ,103710404 ,103710405 ,103710406 ,103710407 ,103710408 ,103710409 ,103710410 ,103710411 ,103710501 ,103710502 ,103710503 ,103710504 ,103710505 ,103710506 ,103710507 ,103710508 ,103720101 ,103720102 ,103720103 ,103720104 ,103720105 ,103720106 ,103720107 ,103720108 ,103720109 ,103720110 ,103720111 ,103720201 ,103720202 ,103720203 ,103720204 ,103720205 ,103720206 ,103720207 ,103720208 ,103720209 ,103720210 ,103720211 ,103720301 ,103720302 ,103720303 ,103720304 ,103720305 ,103720306 ,103720307 ,103720308 ,103720309 ,103720310 ,103720311 ,103720401 ,103720402 ,103720403 ,103720404 ,103720405 ,103720406 ,103720407 ,103720408 ,103720409 ,103720410 ,103720411 ,103720501 ,103720502 ,103720503 ,103720504 ,103720505 ,103720506 ,103720507 ,103720508 ,103730101 ,103730102 ,103730103 ,103730104 ,103730105 ,103730106 ,103730107 ,103730108 ,103730109 ,103730110 ,103730111 ,103730201 ,103730202 ,103730203 ,103730204 ,103730205 ,103730206 ,103730207 ,103730208 ,103730209 ,103730210 ,103730211 ,103730301 ,103730302 ,103730303 ,103730304 ,103730305 ,103730306 ,103730307 ,103730308 ,103730309 ,103730310 ,103730311 ,103730401 ,103730402 ,103730403 ,103730404 ,103730405 ,103730406 ,103730407 ,103730408 ,103730409 ,103730410 ,103730411 ,103730501 ,103730502 ,103730503 ,103730504 ,103730505 ,103730506 ,103730507 ,103730508 ,104710101 ,104710102 ,104710103 ,104710104 ,104710105 ,104710106 ,104710107 ,104710108 ,104710109 ,104710110 ,104710111 ,104710201 ,104710202 ,104710203 ,104710204 ,104710205 ,104710206 ,104710207 ,104710208 ,104710209 ,104710210 ,104710211 ,104710301 ,104710302 ,104710303 ,104710304 ,104710305 ,104710306 ,104710307 ,104710308 ,104710309 ,104710310 ,104710311 ,104710401 ,104710402 ,104710403 ,104710404 ,104710405 ,104710406 ,104710407 ,104710408 ,104710409 ,104710410 ,104710411 ,104710501 ,104710502 ,104710503 ,104710504 ,104710505 ,104710506 ,104710507 ,104710508 ,104720101 ,104720102 ,104720103 ,104720104 ,104720105 ,104720106 ,104720107 ,104720108 ,104720109 ,104720110 ,104720111 ,104720201 ,104720202 ,104720203 ,104720204 ,104720205 ,104720206 ,104720207 ,104720208 ,104720209 ,104720210 ,104720211 ,104720301 ,104720302 ,104720303 ,104720304 ,104720305 ,104720306 ,104720307 ,104720308 ,104720309 ,104720310 ,104720311 ,104720401 ,104720402 ,104720403 ,104720404 ,104720405 ,104720406 ,104720407 ,104720408 ,104720409 ,104720410 ,104720411 ,104720501 ,104720502 ,104720503 ,104720504 ,104720505 ,104720506 ,104720507 ,104720508 ,104730101 ,104730102 ,104730103 ,104730104 ,104730105 ,104730106 ,104730107 ,104730108 ,104730109 ,104730110 ,104730111 ,104730201 ,104730202 ,104730203 ,104730204 ,104730205 ,104730206 ,104730207 ,104730208 ,104730209 ,104730210 ,104730211 ,104730301 ,104730302 ,104730303 ,104730304 ,104730305 ,104730306 ,104730307 ,104730308 ,104730309 ,104730310 ,104730311 ,104730401 ,104730402 ,104730403 ,104730404 ,104730405 ,104730406 ,104730407 ,104730408 ,104730409 ,104730410 ,104730411 ,104730501 ,104730502 ,104730503 ,104730504 ,104730505 ,104730506 ,104730507 ,104730508 ,105710101 ,105710102 ,105710103 ,105710104 ,105710105 ,105710106 ,105710107 ,105710108 ,105710109 ,105710110 ,105710111 ,105710201 ,105710202 ,105710203 ,105710204 ,105710205 ,105710206 ,105710207 ,105710208 ,105710209 ,105710210 ,105710211 ,105710301 ,105710302 ,105710303 ,105710304 ,105710305 ,105710306 ,105710307 ,105710308 ,105710309 ,105710310 ,105710311 ,105710401 ,105710402 ,105710403 ,105710404 ,105710405 ,105710406 ,105710407 ,105710408 ,105710409 ,105710410 ,105710411 ,105710501 ,105710502 ,105710503 ,105710504 ,105710505 ,105710506 ,105710507 ,105710508 ,105720101 ,105720102 ,105720103 ,105720104 ,105720105 ,105720106 ,105720107 ,105720108 ,105720109 ,105720110 ,105720111 ,105720201 ,105720202 ,105720203 ,105720204 ,105720205 ,105720206 ,105720207 ,105720208 ,105720209 ,105720210 ,105720211 ,105720301 ,105720302 ,105720303 ,105720304 ,105720305 ,105720306 ,105720307 ,105720308 ,105720309 ,105720310 ,105720311 ,105720401 ,105720402 ,105720403 ,105720404 ,105720405 ,105720406 ,105720407 ,105720408 ,105720409 ,105720410 ,105720411 ,105720501 ,105720502 ,105720503 ,105720504 ,105720505 ,105720506 ,105720507 ,105720508 ,105730101 ,105730102 ,105730103 ,105730104 ,105730105 ,105730106 ,105730107 ,105730108 ,105730109 ,105730110 ,105730111 ,105730201 ,105730202 ,105730203 ,105730204 ,105730205 ,105730206 ,105730207 ,105730208 ,105730209 ,105730210 ,105730211 ,105730301 ,105730302 ,105730303 ,105730304 ,105730305 ,105730306 ,105730307 ,105730308 ,105730309 ,105730310 ,105730311 ,105730401 ,105730402 ,105730403 ,105730404 ,105730405 ,105730406 ,105730407 ,105730408 ,105730409 ,105730410 ,105730411 ,105730501 ,105730502 ,105730503 ,105730504 ,105730505 ,105730506 ,105730507 ,105730508 ,106710101 ,106710102 ,106710103 ,106710104 ,106710105 ,106710106 ,106710107 ,106710108 ,106710109 ,106710110 ,106710111 ,106710201 ,106710202 ,106710203 ,106710204 ,106710205 ,106710206 ,106710207 ,106710208 ,106710209 ,106710210 ,106710211 ,106710301 ,106710302 ,106710303 ,106710304 ,106710305 ,106710306 ,106710307 ,106710308 ,106710309 ,106710310 ,106710311 ,106710401 ,106710402 ,106710403 ,106710404 ,106710405 ,106710406 ,106710407 ,106710408 ,106710409 ,106710410 ,106710411 ,106710501 ,106710502 ,106710503 ,106710504 ,106710505 ,106710506 ,106710507 ,106710508 ,106720101 ,106720102 ,106720103 ,106720104 ,106720105 ,106720106 ,106720107 ,106720108 ,106720109 ,106720110 ,106720111 ,106720201 ,106720202 ,106720203 ,106720204 ,106720205 ,106720206 ,106720207 ,106720208 ,106720209 ,106720210 ,106720211 ,106720301 ,106720302 ,106720303 ,106720304 ,106720305 ,106720306 ,106720307 ,106720308 ,106720309 ,106720310 ,106720311 ,106720401 ,106720402 ,106720403 ,106720404 ,106720405 ,106720406 ,106720407 ,106720408 ,106720409 ,106720410 ,106720411 ,106720501 ,106720502 ,106720503 ,106720504 ,106720505 ,106720506 ,106720507 ,106720508 ,106730101 ,106730102 ,106730103 ,106730104 ,106730105 ,106730106 ,106730107 ,106730108 ,106730109 ,106730110 ,106730111 ,106730201 ,106730202 ,106730203 ,106730204 ,106730205 ,106730206 ,106730207 ,106730208 ,106730209 ,106730210 ,106730211 ,106730301 ,106730302 ,106730303 ,106730304 ,106730305 ,106730306 ,106730307 ,106730308 ,106730309 ,106730310 ,106730311 ,106730401 ,106730402 ,106730403 ,106730404 ,106730405 ,106730406 ,106730407 ,106730408 ,106730409 ,106730410 ,106730411 ,106730501 ,106730502 ,106730503 ,106730504 ,106730505 ,106730506 ,106730507 ,106730508 ,107710101 ,107710102 ,107710103 ,107710104 ,107710105 ,107710106 ,107710107 ,107710108 ,107710109 ,107710110 ,107710111 ,107710201 ,107710202 ,107710203 ,107710204 ,107710205 ,107710206 ,107710207 ,107710208 ,107710209 ,107710210 ,107710211 ,107710301 ,107710302 ,107710303 ,107710304 ,107710305 ,107710306 ,107710307 ,107710308 ,107710309 ,107710310 ,107710311 ,107710401 ,107710402 ,107710403 ,107710404 ,107710405 ,107710406 ,107710407 ,107710408 ,107710409 ,107710410 ,107710411 ,107710501 ,107710502 ,107710503 ,107710504 ,107710505 ,107710506 ,107710507 ,107710508 ,107720101 ,107720102 ,107720103 ,107720104 ,107720105 ,107720106 ,107720107 ,107720108 ,107720109 ,107720110 ,107720111 ,107720201 ,107720202 ,107720203 ,107720204 ,107720205 ,107720206 ,107720207 ,107720208 ,107720209 ,107720210 ,107720211 ,107720301 ,107720302 ,107720303 ,107720304 ,107720305 ,107720306 ,107720307 ,107720308 ,107720309 ,107720310 ,107720311 ,107720401 ,107720402 ,107720403 ,107720404 ,107720405 ,107720406 ,107720407 ,107720408 ,107720409 ,107720410 ,107720411 ,107720501 ,107720502 ,107720503 ,107720504 ,107720505 ,107720506 ,107720507 ,107720508 ,107730101 ,107730102 ,107730103 ,107730104 ,107730105 ,107730106 ,107730107 ,107730108 ,107730109 ,107730110 ,107730111 ,107730201 ,107730202 ,107730203 ,107730204 ,107730205 ,107730206 ,107730207 ,107730208 ,107730209 ,107730210 ,107730211 ,107730301 ,107730302 ,107730303 ,107730304 ,107730305 ,107730306 ,107730307 ,107730308 ,107730309 ,107730310 ,107730311 ,107730401 ,107730402 ,107730403 ,107730404 ,107730405 ,107730406 ,107730407 ,107730408 ,107730409 ,107730410 ,107730411 ,107730501 ,107730502 ,107730503 ,107730504 ,107730505 ,107730506 ,107730507 ,107730508 ,108710101 ,108710102 ,108710103 ,108710104 ,108710105 ,108710106 ,108710107 ,108710108 ,108710109 ,108710110 ,108710111 ,108710201 ,108710202 ,108710203 ,108710204 ,108710205 ,108710206 ,108710207 ,108710208 ,108710209 ,108710210 ,108710211 ,108710301 ,108710302 ,108710303 ,108710304 ,108710305 ,108710306 ,108710307 ,108710308 ,108710309 ,108710310 ,108710311 ,108710401 ,108710402 ,108710403 ,108710404 ,108710405 ,108710406 ,108710407 ,108710408 ,108710409 ,108710410 ,108710411 ,108710501 ,108710502 ,108710503 ,108710504 ,108710505 ,108710506 ,108710507 ,108710508 ,108720101 ,108720102 ,108720103 ,108720104 ,108720105 ,108720106 ,108720107 ,108720108 ,108720109 ,108720110 ,108720111 ,108720201 ,108720202 ,108720203 ,108720204 ,108720205 ,108720206 ,108720207 ,108720208 ,108720209 ,108720210 ,108720211 ,108720301 ,108720302 ,108720303 ,108720304 ,108720305 ,108720306 ,108720307 ,108720308 ,108720309 ,108720310 ,108720311 ,108720401 ,108720402 ,108720403 ,108720404 ,108720405 ,108720406 ,108720407 ,108720408 ,108720409 ,108720410 ,108720411 ,108720501 ,108720502 ,108720503 ,108720504 ,108720505 ,108720506 ,108720507 ,108720508 ,108730101 ,108730102 ,108730103 ,108730104 ,108730105 ,108730106 ,108730107 ,108730108 ,108730109 ,108730110 ,108730111 ,108730201 ,108730202 ,108730203 ,108730204 ,108730205 ,108730206 ,108730207 ,108730208 ,108730209 ,108730210 ,108730211 ,108730301 ,108730302 ,108730303 ,108730304 ,108730305 ,108730306 ,108730307 ,108730308 ,108730309 ,108730310 ,108730311 ,108730401 ,108730402 ,108730403 ,108730404 ,108730405 ,108730406 ,108730407 ,108730408 ,108730409 ,108730410 ,108730411 ,108730501 ,108730502 ,108730503 ,108730504 ,108730505 ,108730506 ,108730507 ,108730508 ,110710101 ,110710102 ,110710103 ,110710104 ,110710105 ,110710106 ,110710107 ,110710108 ,110710109 ,110710110 ,110710111 ,110710201 ,110710202 ,110710203 ,110710204 ,110710205 ,110710206 ,110710207 ,110710208 ,110710209 ,110710210 ,110710211 ,110710301 ,110710302 ,110710303 ,110710304 ,110710305 ,110710306 ,110710307 ,110710308 ,110710309 ,110710310 ,110710311 ,110710401 ,110710402 ,110710403 ,110710404 ,110710405 ,110710406 ,110710407 ,110710408 ,110710409 ,110710410 ,110710411 ,110710501 ,110710502 ,110710503 ,110710504 ,110710505 ,110710506 ,110710507 ,110710508 ,110720101 ,110720102 ,110720103 ,110720104 ,110720105 ,110720106 ,110720107 ,110720108 ,110720109 ,110720110 ,110720111 ,110720201 ,110720202 ,110720203 ,110720204 ,110720205 ,110720206 ,110720207 ,110720208 ,110720209 ,110720210 ,110720211 ,110720301 ,110720302 ,110720303 ,110720304 ,110720305 ,110720306 ,110720307 ,110720308 ,110720309 ,110720310 ,110720311 ,110720401 ,110720402 ,110720403 ,110720404 ,110720405 ,110720406 ,110720407 ,110720408 ,110720409 ,110720410 ,110720411 ,110720501 ,110720502 ,110720503 ,110720504 ,110720505 ,110720506 ,110720507 ,110720508 ,110730101 ,110730102 ,110730103 ,110730104 ,110730105 ,110730106 ,110730107 ,110730108 ,110730109 ,110730110 ,110730111 ,110730201 ,110730202 ,110730203 ,110730204 ,110730205 ,110730206 ,110730207 ,110730208 ,110730209 ,110730210 ,110730211 ,110730301 ,110730302 ,110730303 ,110730304 ,110730305 ,110730306 ,110730307 ,110730308 ,110730309 ,110730310 ,110730311 ,110730401 ,110730402 ,110730403 ,110730404 ,110730405 ,110730406 ,110730407 ,110730408 ,110730409 ,110730410 ,110730411 ,110730501 ,110730502 ,110730503 ,110730504 ,110730505 ,110730506 ,110730507 ,110730508 ,111710101 ,111710102 ,111710103 ,111710104 ,111710105 ,111710106 ,111710107 ,111710108 ,111710109 ,111710110 ,111710111 ,111710201 ,111710202 ,111710203 ,111710204 ,111710205 ,111710206 ,111710207 ,111710208 ,111710209 ,111710210 ,111710211 ,111710301 ,111710302 ,111710303 ,111710304 ,111710305 ,111710306 ,111710307 ,111710308 ,111710309 ,111710310 ,111710311 ,111710401 ,111710402 ,111710403 ,111710404 ,111710405 ,111710406 ,111710407 ,111710408 ,111710409 ,111710410 ,111710411 ,111710501 ,111710502 ,111710503 ,111710504 ,111710505 ,111710506 ,111710507 ,111710508 ,111720101 ,111720102 ,111720103 ,111720104 ,111720105 ,111720106 ,111720107 ,111720108 ,111720109 ,111720110 ,111720111 ,111720201 ,111720202 ,111720203 ,111720204 ,111720205 ,111720206 ,111720207 ,111720208 ,111720209 ,111720210 ,111720211 ,111720301 ,111720302 ,111720303 ,111720304 ,111720305 ,111720306 ,111720307 ,111720308 ,111720309 ,111720310 ,111720311 ,111720401 ,111720402 ,111720403 ,111720404 ,111720405 ,111720406 ,111720407 ,111720408 ,111720409 ,111720410 ,111720411 ,111720501 ,111720502 ,111720503 ,111720504 ,111720505 ,111720506 ,111720507 ,111720508 ,111730101 ,111730102 ,111730103 ,111730104 ,111730105 ,111730106 ,111730107 ,111730108 ,111730109 ,111730110 ,111730111 ,111730201 ,111730202 ,111730203 ,111730204 ,111730205 ,111730206 ,111730207 ,111730208 ,111730209 ,111730210 ,111730211 ,111730301 ,111730302 ,111730303 ,111730304 ,111730305 ,111730306 ,111730307 ,111730308 ,111730309 ,111730310 ,111730311 ,111730401 ,111730402 ,111730403 ,111730404 ,111730405 ,111730406 ,111730407 ,111730408 ,111730409 ,111730410 ,111730411 ,111730501 ,111730502 ,111730503 ,111730504 ,111730505 ,111730506 ,111730507 ,111730508 ,112710101 ,112710102 ,112710103 ,112710104 ,112710105 ,112710106 ,112710107 ,112710108 ,112710109 ,112710110 ,112710111 ,112710201 ,112710202 ,112710203 ,112710204 ,112710205 ,112710206 ,112710207 ,112710208 ,112710209 ,112710210 ,112710211 ,112710301 ,112710302 ,112710303 ,112710304 ,112710305 ,112710306 ,112710307 ,112710308 ,112710309 ,112710310 ,112710311 ,112710401 ,112710402 ,112710403 ,112710404 ,112710405 ,112710406 ,112710407 ,112710408 ,112710409 ,112710410 ,112710411 ,112710501 ,112710502 ,112710503 ,112710504 ,112710505 ,112710506 ,112710507 ,112710508 ,112720101 ,112720102 ,112720103 ,112720104 ,112720105 ,112720106 ,112720107 ,112720108 ,112720109 ,112720110 ,112720111 ,112720201 ,112720202 ,112720203 ,112720204 ,112720205 ,112720206 ,112720207 ,112720208 ,112720209 ,112720210 ,112720211 ,112720301 ,112720302 ,112720303 ,112720304 ,112720305 ,112720306 ,112720307 ,112720308 ,112720309 ,112720310 ,112720311 ,112720401 ,112720402 ,112720403 ,112720404 ,112720405 ,112720406 ,112720407 ,112720408 ,112720409 ,112720410 ,112720411 ,112720501 ,112720502 ,112720503 ,112720504 ,112720505 ,112720506 ,112720507 ,112720508 ,112730101 ,112730102 ,112730103 ,112730104 ,112730105 ,112730106 ,112730107 ,112730108 ,112730109 ,112730110 ,112730111 ,112730201 ,112730202 ,112730203 ,112730204 ,112730205 ,112730206 ,112730207 ,112730208 ,112730209 ,112730210 ,112730211 ,112730301 ,112730302 ,112730303 ,112730304 ,112730305 ,112730306 ,112730307 ,112730308 ,112730309 ,112730310 ,112730311 ,112730401 ,112730402 ,112730403 ,112730404 ,112730405 ,112730406 ,112730407 ,112730408 ,112730409 ,112730410 ,112730411 ,112730501 ,112730502 ,112730503 ,112730504 ,112730505 ,112730506 ,112730507 ,112730508 ,113710101 ,113710102 ,113710103 ,113710104 ,113710105 ,113710106 ,113710107 ,113710108 ,113710109 ,113710110 ,113710111 ,113710201 ,113710202 ,113710203 ,113710204 ,113710205 ,113710206 ,113710207 ,113710208 ,113710209 ,113710210 ,113710211 ,113710301 ,113710302 ,113710303 ,113710304 ,113710305 ,113710306 ,113710307 ,113710308 ,113710309 ,113710310 ,113710311 ,113710401 ,113710402 ,113710403 ,113710404 ,113710405 ,113710406 ,113710407 ,113710408 ,113710409 ,113710410 ,113710411 ,113710501 ,113710502 ,113710503 ,113710504 ,113710505 ,113710506 ,113710507 ,113710508 ,113720101 ,113720102 ,113720103 ,113720104 ,113720105 ,113720106 ,113720107 ,113720108 ,113720109 ,113720110 ,113720111 ,113720201 ,113720202 ,113720203 ,113720204 ,113720205 ,113720206 ,113720207 ,113720208 ,113720209 ,113720210 ,113720211 ,113720301 ,113720302 ,113720303 ,113720304 ,113720305 ,113720306 ,113720307 ,113720308 ,113720309 ,113720310 ,113720311 ,113720401 ,113720402 ,113720403 ,113720404 ,113720405 ,113720406 ,113720407 ,113720408 ,113720409 ,113720410 ,113720411 ,113720501 ,113720502 ,113720503 ,113720504 ,113720505 ,113720506 ,113720507 ,113720508 ,113730101 ,113730102 ,113730103 ,113730104 ,113730105 ,113730106 ,113730107 ,113730108 ,113730109 ,113730110 ,113730111 ,113730201 ,113730202 ,113730203 ,113730204 ,113730205 ,113730206 ,113730207 ,113730208 ,113730209 ,113730210 ,113730211 ,113730301 ,113730302 ,113730303 ,113730304 ,113730305 ,113730306 ,113730307 ,113730308 ,113730309 ,113730310 ,113730311 ,113730401 ,113730402 ,113730403 ,113730404 ,113730405 ,113730406 ,113730407 ,113730408 ,113730409 ,113730410 ,113730411 ,113730501 ,113730502 ,113730503 ,113730504 ,113730505 ,113730506 ,113730507 ,113730508 ,601100283}
		else
			return_array = {101701 ,101702 ,101703 ,101705 ,101721 ,101722 ,101723 ,101724 ,102701 ,102702 ,102703 ,102705 ,102721 ,102722 ,102723 ,102724 ,103701 ,103702 ,103703 ,103705 ,103721 ,103722 ,103723 ,103724 ,104701 ,104702 ,104703 ,104705 ,104721 ,104722 ,104723 ,104724 ,105701 ,105702 ,105703 ,105705 ,105721 ,105722 ,105723 ,105724 ,106701 ,106702 ,106703 ,106705 ,106721 ,106722 ,106723 ,106724 ,107701 ,107702 ,107703 ,107705 ,107721 ,107722 ,107723 ,107724 ,108701 ,108702 ,108703 ,108705 ,108721 ,108722 ,108723 ,108724 ,109701 ,109702 ,109703 ,109705 ,109721 ,109722 ,109723 ,109724 ,110701 ,110702 ,110703 ,110705 ,110721 ,110722 ,110723 ,110724 ,111701 ,111702 ,111703 ,111706 ,111721 ,111722 ,111723 ,111724 ,111725 ,112701 ,112702 ,112703 ,112705 ,112721 ,112722 ,112723 ,112724}
		end
						
	end
	
end

if selector == 2 then
	
	if rank == 2 then
	
		if dura_type == 1 then
			return_array = { }
		else
			return_array = { }
	end
	
end

return return_array

end

end
TheOnlyOneRaskim is offline  
Thanks
1 User
Old   #6295


 
elite*gold: 140
Join Date: Mar 2012
Posts: 664
Received Thanks: 161
Quote:
Originally Posted by TheOnlyOneRaskim View Post
I wrote This Snippet new now. I just added an example for Weapons. (if you want to use it, you have to complete the rest of code, but you should understand how it works.

Code:
function get_module_name()
             return "auto_selling"
end

function auto_selling()
 
	dlg_title("Auction Manager")
	dlg_text("What Type you want to Sell?")
    dlg_menu("Weapons","auto_selling_select(1)")
	dlg_menu("Armors","auto_selling_select(2)")
	dlg_menu("Gloves","auto_selling_select(3)")
	dlg_menu("Boots","auto_selling_select(4)")
	dlg_menu("Necklace","auto_selling_select(5)")
	dlg_menu("Ring","auto_selling_select(6)")
	dlg_menu("Earring","auto_selling_select(7)")
	dlg_menu("Goodbye","")
	dlg_show()
    
end

function auto_selling_select(selector)

dlg_title("Auction Manager")
dlg_text("Dura or Non Dura?")
dlg_menu("Dura","auto_selling_select_dura("..selector..",1)")
dlg_menu("Non Dura","auto_selling_select_dura("..selector..",2)")
dlg_menu("Return","auto_selling()")
dlg_menu("Goodbye","")
dlg_show()

end

function auto_selling_select_dura(selector,dura_type)

dlg_title("Auction Manager")
dlg_text("Wich Rank?")
for i = 2,7 do
	dlg_menu("Rank "..i,"auto_selling_select_rank("..selector..","..dura_type..","..i..")")
end
dlg_menu("Return","auto_selling_select("..selector..")")
dlg_menu("Goodbye","")
dlg_show()

end

function auto_selling_select_rank(selector,dura_type,rank)

local sell_array = selling_array_return(selector,dura_type,rank)

local found = false

for i = 1, table.getn(sell_array) do
	
	if find_item(sell_array[i]) >= 1 then
		found = true
		fast_selling(sell_array[i])
	end
		
end

end

function fast_selling(id)

	local handle_array = get_item_handle_list(id)

	for i = 1, table.getn(handle_array) do
		
		local handle = handle_array[i]
		local basic_price = get_item_price( handle ) / 4
		local level = get_item_level(handle)
		local enhance = get_item_enhance(handle)
		
		if is_erasable_item(handle) == 1 and level == 1 and enhance == 0 then  
			delete_item(handle,1)
			sv("gold",gv("gold")+basic_price)
		end
		
	end

end


function selling_array_return(selector,dura_type,rank)

local return_array = {}

if selector == 1 then
	
	if rank == 2 then
	
		if dura_type == 1 then
			return_array = {101210101 ,101210102 ,101210103 ,101210104 ,101210105 ,101210106 ,101210107 ,101210108 ,101210109 ,101210110 ,101210111 ,101220101 ,101220102 ,101220103 ,101220104 ,101220105 ,101220106 ,101220107 ,101220108 ,101220109 ,101220110 ,101220111 ,101230101 ,101230102 ,101230103 ,101230104 ,101230105 ,101230106 ,101230107 ,101230108 ,101230109 ,101230110 ,101230111 ,102210101 ,102210102 ,102210103 ,102210104 ,102210105 ,102210106 ,102210107 ,102210108 ,102210109 ,102210110 ,102210111 ,102220101 ,102220102 ,102220103 ,102220104 ,102220105 ,102220106 ,102220107 ,102220108 ,102220109 ,102220110 ,102220111 ,102230101 ,102230102 ,102230103 ,102230104 ,102230105 ,102230106 ,102230107 ,102230108 ,102230109 ,102230110 ,102230111 ,103210101 ,103210102 ,103210103 ,103210104 ,103210105 ,103210106 ,103210107 ,103210108 ,103210109 ,103210110 ,103210111 ,103220101 ,103220102 ,103220103 ,103220104 ,103220105 ,103220106 ,103220107 ,103220108 ,103220109 ,103220110 ,103220111 ,103230101 ,103230102 ,103230103 ,103230104 ,103230105 ,103230106 ,103230107 ,103230108 ,103230109 ,103230110 ,103230111 ,104210101 ,104210102 ,104210103 ,104210104 ,104210105 ,104210106 ,104210107 ,104210108 ,104210109 ,104210110 ,104210111 ,104220101 ,104220102 ,104220103 ,104220104 ,104220105 ,104220106 ,104220107 ,104220108 ,104220109 ,104220110 ,104220111 ,104230101 ,104230102 ,104230103 ,104230104 ,104230105 ,104230106 ,104230107 ,104230108 ,104230109 ,104230110 ,104230111 ,105210101 ,105210102 ,105210103 ,105210104 ,105210105 ,105210106 ,105210107 ,105210108 ,105210109 ,105210110 ,105210111 ,105220101 ,105220102 ,105220103 ,105220104 ,105220105 ,105220106 ,105220107 ,105220108 ,105220109 ,105220110 ,105220111 ,105230101 ,105230102 ,105230103 ,105230104 ,105230105 ,105230106 ,105230107 ,105230108 ,105230109 ,105230110 ,105230111 ,106210101 ,106210102 ,106210103 ,106210104 ,106210105 ,106210106 ,106210107 ,106210108 ,106210109 ,106210110 ,106210111 ,106220101 ,106220102 ,106220103 ,106220104 ,106220105 ,106220106 ,106220107 ,106220108 ,106220109 ,106220110 ,106220111 ,106230101 ,106230102 ,106230103 ,106230104 ,106230105 ,106230106 ,106230107 ,106230108 ,106230109 ,106230110 ,106230111 ,107210101 ,107210102 ,107210103 ,107210104 ,107210105 ,107210106 ,107210107 ,107210108 ,107210109 ,107210110 ,107210111 ,107220101 ,107220102 ,107220103 ,107220104 ,107220105 ,107220106 ,107220107 ,107220108 ,107220109 ,107220110 ,107220111 ,107230101 ,107230102 ,107230103 ,107230104 ,107230105 ,107230106 ,107230107 ,107230108 ,107230109 ,107230110 ,107230111 ,108210101 ,108210102 ,108210103 ,108210104 ,108210105 ,108210106 ,108210107 ,108210108 ,108210109 ,108210110 ,108210111 ,108220101 ,108220102 ,108220103 ,108220104 ,108220105 ,108220106 ,108220107 ,108220108 ,108220109 ,108220110 ,108220111 ,108230101 ,108230102 ,108230103 ,108230104 ,108230105 ,108230106 ,108230107 ,108230108 ,108230109 ,108230110 ,108230111 ,110210101 ,110210102 ,110210103 ,110210104 ,110210105 ,110210106 ,110210107 ,110210108 ,110210109 ,110210110 ,110210111 ,110220101 ,110220102 ,110220103 ,110220104 ,110220105 ,110220106 ,110220107 ,110220108 ,110220109 ,110220110 ,110220111 ,110230101 ,110230102 ,110230103 ,110230104 ,110230105 ,110230106 ,110230107 ,110230108 ,110230109 ,110230110 ,110230111 ,111210101 ,111210102 ,111210103 ,111210104 ,111210105 ,111210106 ,111210107 ,111210108 ,111210109 ,111210110 ,111210111 ,111220101 ,111220102 ,111220103 ,111220104 ,111220105 ,111220106 ,111220107 ,111220108 ,111220109 ,111220110 ,111220111 ,111230101 ,111230102 ,111230103 ,111230104 ,111230105 ,111230106 ,111230107 ,111230108 ,111230109 ,111230110 ,111230111 ,112210101 ,112210102 ,112210103 ,112210104 ,112210105 ,112210106 ,112210107 ,112210108 ,112210109 ,112210110 ,112210111 ,112220101 ,112220102 ,112220103 ,112220104 ,112220105 ,112220106 ,112220107 ,112220108 ,112220109 ,112220110 ,112220111 ,112230101 ,112230102 ,112230103 ,112230104 ,112230105 ,112230106 ,112230107 ,112230108 ,112230109 ,112230110 ,112230111 ,113210101 ,113210102 ,113210103 ,113210104 ,113210105 ,113210106 ,113210107 ,113210108 ,113210109 ,113210110 ,113210111 ,113220101 ,113220102 ,113220103 ,113220104 ,113220105 ,113220106 ,113220107 ,113220108 ,113220109 ,113220110 ,113220111 ,113230101 ,113230102 ,113230103 ,113230104 ,113230105 ,113230106 ,113230107 ,113230108 ,113230109 ,113230110 ,113230111}
		else
			return_array = {101201 ,101202 ,101203 ,101204 ,101221 ,101222 ,101223 ,101224 ,102201 ,102202 ,102203 ,102221 ,102222 ,102223 ,103201 ,103202 ,103203 ,103221 ,103222 ,103223 ,104201 ,104202 ,104203 ,104221 ,104222 ,104223 ,105201 ,105202 ,105203 ,105221 ,105222 ,105223 ,106201 ,106202 ,106203 ,106221 ,106222 ,106223 ,107201 ,107202 ,107221 ,107222 ,108201 ,108202 ,108221 ,108222 ,109201 ,109221 ,110201 ,110202 ,110221 ,110222 ,111201 ,111202 ,111203 ,111221 ,111222 ,111223 ,112201 ,112221}
		end
	
	elseif rank == 3 then
	
		if dura_type == 1 then
			return_array = {101331 ,102331 ,103331 ,104331 ,105331 ,106331 ,107331 ,108331 ,109331 ,110331 ,111331 ,112331 ,101310101 ,101310102 ,101310103 ,101310104 ,101310105 ,101310106 ,101310107 ,101310108 ,101310109 ,101310110 ,101310111 ,101320101 ,101320102 ,101320103 ,101320104 ,101320105 ,101320106 ,101320107 ,101320108 ,101320109 ,101320110 ,101320111 ,101330101 ,101330102 ,101330103 ,101330104 ,101330105 ,101330106 ,101330107 ,101330108 ,101330109 ,101330110 ,101330111 ,102310101 ,102310102 ,102310103 ,102310104 ,102310105 ,102310106 ,102310107 ,102310108 ,102310109 ,102310110 ,102310111 ,102320101 ,102320102 ,102320103 ,102320104 ,102320105 ,102320106 ,102320107 ,102320108 ,102320109 ,102320110 ,102320111 ,102330101 ,102330102 ,102330103 ,102330104 ,102330105 ,102330106 ,102330107 ,102330108 ,102330109 ,102330110 ,102330111 ,103310101 ,103310102 ,103310103 ,103310104 ,103310105 ,103310106 ,103310107 ,103310108 ,103310109 ,103310110 ,103310111 ,103320101 ,103320102 ,103320103 ,103320104 ,103320105 ,103320106 ,103320107 ,103320108 ,103320109 ,103320110 ,103320111 ,103330101 ,103330102 ,103330103 ,103330104 ,103330105 ,103330106 ,103330107 ,103330108 ,103330109 ,103330110 ,103330111 ,104310101 ,104310102 ,104310103 ,104310104 ,104310105 ,104310106 ,104310107 ,104310108 ,104310109 ,104310110 ,104310111 ,104320101 ,104320102 ,104320103 ,104320104 ,104320105 ,104320106 ,104320107 ,104320108 ,104320109 ,104320110 ,104320111 ,104330101 ,104330102 ,104330103 ,104330104 ,104330105 ,104330106 ,104330107 ,104330108 ,104330109 ,104330110 ,104330111 ,105310101 ,105310102 ,105310103 ,105310104 ,105310105 ,105310106 ,105310107 ,105310108 ,105310109 ,105310110 ,105310111 ,105320101 ,105320102 ,105320103 ,105320104 ,105320105 ,105320106 ,105320107 ,105320108 ,105320109 ,105320110 ,105320111 ,105330101 ,105330102 ,105330103 ,105330104 ,105330105 ,105330106 ,105330107 ,105330108 ,105330109 ,105330110 ,105330111 ,106310101 ,106310102 ,106310103 ,106310104 ,106310105 ,106310106 ,106310107 ,106310108 ,106310109 ,106310110 ,106310111 ,106320101 ,106320102 ,106320103 ,106320104 ,106320105 ,106320106 ,106320107 ,106320108 ,106320109 ,106320110 ,106320111 ,106330101 ,106330102 ,106330103 ,106330104 ,106330105 ,106330106 ,106330107 ,106330108 ,106330109 ,106330110 ,106330111 ,107310101 ,107310102 ,107310103 ,107310104 ,107310105 ,107310106 ,107310107 ,107310108 ,107310109 ,107310110 ,107310111 ,107320101 ,107320102 ,107320103 ,107320104 ,107320105 ,107320106 ,107320107 ,107320108 ,107320109 ,107320110 ,107320111 ,107330101 ,107330102 ,107330103 ,107330104 ,107330105 ,107330106 ,107330107 ,107330108 ,107330109 ,107330110 ,107330111 ,108310101 ,108310102 ,108310103 ,108310104 ,108310105 ,108310106 ,108310107 ,108310108 ,108310109 ,108310110 ,108310111 ,108320101 ,108320102 ,108320103 ,108320104 ,108320105 ,108320106 ,108320107 ,108320108 ,108320109 ,108320110 ,108320111 ,108330101 ,108330102 ,108330103 ,108330104 ,108330105 ,108330106 ,108330107 ,108330108 ,108330109 ,108330110 ,108330111 ,110310101 ,110310102 ,110310103 ,110310104 ,110310105 ,110310106 ,110310107 ,110310108 ,110310109 ,110310110 ,110310111 ,110320101 ,110320102 ,110320103 ,110320104 ,110320105 ,110320106 ,110320107 ,110320108 ,110320109 ,110320110 ,110320111 ,110330101 ,110330102 ,110330103 ,110330104 ,110330105 ,110330106 ,110330107 ,110330108 ,110330109 ,110330110 ,110330111 ,111310101 ,111310102 ,111310103 ,111310104 ,111310105 ,111310106 ,111310107 ,111310108 ,111310109 ,111310110 ,111310111 ,111320101 ,111320102 ,111320103 ,111320104 ,111320105 ,111320106 ,111320107 ,111320108 ,111320109 ,111320110 ,111320111 ,111330101 ,111330102 ,111330103 ,111330104 ,111330105 ,111330106 ,111330107 ,111330108 ,111330109 ,111330110 ,111330111 ,112310101 ,112310102 ,112310103 ,112310104 ,112310105 ,112310106 ,112310107 ,112310108 ,112310109 ,112310110 ,112310111 ,112320101 ,112320102 ,112320103 ,112320104 ,112320105 ,112320106 ,112320107 ,112320108 ,112320109 ,112320110 ,112320111 ,112330101 ,112330102 ,112330103 ,112330104 ,112330105 ,112330106 ,112330107 ,112330108 ,112330109 ,112330110 ,112330111 ,113310101 ,113310102 ,113310103 ,113310104 ,113310105 ,113310106 ,113310107 ,113310108 ,113310109 ,113310110 ,113310111 ,113320101 ,113320102 ,113320103 ,113320104 ,113320105 ,113320106 ,113320107 ,113320108 ,113320109 ,113320110 ,113320111 ,113330101 ,113330102 ,113330103 ,113330104 ,113330105 ,113330106 ,113330107 ,113330108 ,113330109 ,113330110 ,113330111}
		else
			return_array = {101301 ,101302 ,101303 ,101321 ,101322 ,101323 ,102301 ,102302 ,102321 ,102322 ,103301 ,103302 ,103321 ,103322 ,104301 ,104302 ,104303 ,104321 ,104322 ,104323 ,105301 ,105302 ,105303 ,105321 ,105322 ,105323 ,106301 ,106302 ,106303 ,106321 ,106322 ,106323 ,107301 ,107302 ,107303 ,107321 ,107322 ,107323 ,108301 ,108302 ,108303 ,108304 ,108321 ,108322 ,108323 ,108324 ,109301 ,109302 ,109321 ,109322 ,110301 ,110302 ,110321 ,110322 ,111301 ,111302 ,111303 ,111321 ,111322 ,111323 ,112301 ,112321}
		end
		
	elseif rank == 4 then
	
		if dura_type == 1 then
			return_array = {101410101 ,101410102 ,101410103 ,101410104 ,101410105 ,101410106 ,101410107 ,101410108 ,101410109 ,101410110 ,101410111 ,101420101 ,101420102 ,101420103 ,101420104 ,101420105 ,101420106 ,101420107 ,101420108 ,101420109 ,101420110 ,101420111 ,101430101 ,101430102 ,101430103 ,101430104 ,101430105 ,101430106 ,101430107 ,101430108 ,101430109 ,101430110 ,101430111 ,102410101 ,102410102 ,102410103 ,102410104 ,102410105 ,102410106 ,102410107 ,102410108 ,102410109 ,102410110 ,102410111 ,102420101 ,102420102 ,102420103 ,102420104 ,102420105 ,102420106 ,102420107 ,102420108 ,102420109 ,102420110 ,102420111 ,102430101 ,102430102 ,102430103 ,102430104 ,102430105 ,102430106 ,102430107 ,102430108 ,102430109 ,102430110 ,102430111 ,103410101 ,103410102 ,103410103 ,103410104 ,103410105 ,103410106 ,103410107 ,103410108 ,103410109 ,103410110 ,103410111 ,103420101 ,103420102 ,103420103 ,103420104 ,103420105 ,103420106 ,103420107 ,103420108 ,103420109 ,103420110 ,103420111 ,103430101 ,103430102 ,103430103 ,103430104 ,103430105 ,103430106 ,103430107 ,103430108 ,103430109 ,103430110 ,103430111 ,104410101 ,104410102 ,104410103 ,104410104 ,104410105 ,104410106 ,104410107 ,104410108 ,104410109 ,104410110 ,104410111 ,104420101 ,104420102 ,104420103 ,104420104 ,104420105 ,104420106 ,104420107 ,104420108 ,104420109 ,104420110 ,104420111 ,104430101 ,104430102 ,104430103 ,104430104 ,104430105 ,104430106 ,104430107 ,104430108 ,104430109 ,104430110 ,104430111 ,105410101 ,105410102 ,105410103 ,105410104 ,105410105 ,105410106 ,105410107 ,105410108 ,105410109 ,105410110 ,105410111 ,105420101 ,105420102 ,105420103 ,105420104 ,105420105 ,105420106 ,105420107 ,105420108 ,105420109 ,105420110 ,105420111 ,105430101 ,105430102 ,105430103 ,105430104 ,105430105 ,105430106 ,105430107 ,105430108 ,105430109 ,105430110 ,105430111 ,106410101 ,106410102 ,106410103 ,106410104 ,106410105 ,106410106 ,106410107 ,106410108 ,106410109 ,106410110 ,106410111 ,106420101 ,106420102 ,106420103 ,106420104 ,106420105 ,106420106 ,106420107 ,106420108 ,106420109 ,106420110 ,106420111 ,106430101 ,106430102 ,106430103 ,106430104 ,106430105 ,106430106 ,106430107 ,106430108 ,106430109 ,106430110 ,106430111 ,107410101 ,107410102 ,107410103 ,107410104 ,107410105 ,107410106 ,107410107 ,107410108 ,107410109 ,107410110 ,107410111 ,107420101 ,107420102 ,107420103 ,107420104 ,107420105 ,107420106 ,107420107 ,107420108 ,107420109 ,107420110 ,107420111 ,107430101 ,107430102 ,107430103 ,107430104 ,107430105 ,107430106 ,107430107 ,107430108 ,107430109 ,107430110 ,107430111 ,108410101 ,108410102 ,108410103 ,108410104 ,108410105 ,108410106 ,108410107 ,108410108 ,108410109 ,108410110 ,108410111 ,108420101 ,108420102 ,108420103 ,108420104 ,108420105 ,108420106 ,108420107 ,108420108 ,108420109 ,108420110 ,108420111 ,108430101 ,108430102 ,108430103 ,108430104 ,108430105 ,108430106 ,108430107 ,108430108 ,108430109 ,108430110 ,108430111 ,110410101 ,110410102 ,110410103 ,110410104 ,110410105 ,110410106 ,110410107 ,110410108 ,110410109 ,110410110 ,110410111 ,110420101 ,110420102 ,110420103 ,110420104 ,110420105 ,110420106 ,110420107 ,110420108 ,110420109 ,110420110 ,110420111 ,110430101 ,110430102 ,110430103 ,110430104 ,110430105 ,110430106 ,110430107 ,110430108 ,110430109 ,110430110 ,110430111 ,111410101 ,111410102 ,111410103 ,111410104 ,111410105 ,111410106 ,111410107 ,111410108 ,111410109 ,111410110 ,111410111 ,111420101 ,111420102 ,111420103 ,111420104 ,111420105 ,111420106 ,111420107 ,111420108 ,111420109 ,111420110 ,111420111 ,111430101 ,111430102 ,111430103 ,111430104 ,111430105 ,111430106 ,111430107 ,111430108 ,111430109 ,111430110 ,111430111 ,112410101 ,112410102 ,112410103 ,112410104 ,112410105 ,112410106 ,112410107 ,112410108 ,112410109 ,112410110 ,112410111 ,112420101 ,112420102 ,112420103 ,112420104 ,112420105 ,112420106 ,112420107 ,112420108 ,112420109 ,112420110 ,112420111 ,112430101 ,112430102 ,112430103 ,112430104 ,112430105 ,112430106 ,112430107 ,112430108 ,112430109 ,112430110 ,112430111 ,113410101 ,113410102 ,113410103 ,113410104 ,113410105 ,113410106 ,113410107 ,113410108 ,113410109 ,113410110 ,113410111 ,113420101 ,113420102 ,113420103 ,113420104 ,113420105 ,113420106 ,113420107 ,113420108 ,113420109 ,113420110 ,113420111 ,113430101 ,113430102 ,113430103 ,113430104 ,113430105 ,113430106 ,113430107 ,113430108 ,113430109 ,113430110 ,113430111}
		else
			return_array = {101401 ,101402 ,101403 ,101421 ,101422 ,101423 ,102401 ,102402 ,102403 ,102404 ,102421 ,102422 ,102423 ,102424 ,103401 ,103402 ,103403 ,103421 ,103422 ,103423 ,104401 ,104402 ,104403 ,104421 ,104422 ,104423 ,105401 ,105402 ,105421 ,105422 ,106401 ,106402 ,106403 ,106421 ,106422 ,106423 ,107401 ,107402 ,107421 ,107422 ,108401 ,108402 ,108421 ,108422 ,109401 ,109402 ,109421 ,109422 ,110401 ,110402 ,110403 ,110421 ,110422 ,110423 ,111401 ,111402 ,111421 ,111422 ,112401 ,112402 ,112403 ,112421 ,112422 ,112423}
		end
		
	elseif rank == 5 then
	
		if dura_type == 1 then
			return_array = {101531 ,102531 ,103531 ,104531 ,105531 ,106531 ,107531 ,108531 ,109531 ,110531 ,111531 ,112531 ,101510101 ,101510102 ,101510103 ,101510104 ,101510105 ,101510106 ,101510107 ,101510108 ,101510109 ,101510110 ,101510111 ,101510201 ,101510202 ,101510203 ,101510204 ,101510205 ,101510206 ,101510207 ,101510208 ,101510209 ,101510210 ,101510211 ,101520101 ,101520102 ,101520103 ,101520104 ,101520105 ,101520106 ,101520107 ,101520108 ,101520109 ,101520110 ,101520111 ,101520201 ,101520202 ,101520203 ,101520204 ,101520205 ,101520206 ,101520207 ,101520208 ,101520209 ,101520210 ,101520211 ,101530101 ,101530102 ,101530103 ,101530104 ,101530105 ,101530106 ,101530107 ,101530108 ,101530109 ,101530110 ,101530111 ,101530201 ,101530202 ,101530203 ,101530204 ,101530205 ,101530206 ,101530207 ,101530208 ,101530209 ,101530210 ,101530211 ,102510101 ,102510102 ,102510103 ,102510104 ,102510105 ,102510106 ,102510107 ,102510108 ,102510109 ,102510110 ,102510111 ,102510201 ,102510202 ,102510203 ,102510204 ,102510205 ,102510206 ,102510207 ,102510208 ,102510209 ,102510210 ,102510211 ,102520101 ,102520102 ,102520103 ,102520104 ,102520105 ,102520106 ,102520107 ,102520108 ,102520109 ,102520110 ,102520111 ,102520201 ,102520202 ,102520203 ,102520204 ,102520205 ,102520206 ,102520207 ,102520208 ,102520209 ,102520210 ,102520211 ,102530101 ,102530102 ,102530103 ,102530104 ,102530105 ,102530106 ,102530107 ,102530108 ,102530109 ,102530110 ,102530111 ,102530201 ,102530202 ,102530203 ,102530204 ,102530205 ,102530206 ,102530207 ,102530208 ,102530209 ,102530210 ,102530211 ,103510101 ,103510102 ,103510103 ,103510104 ,103510105 ,103510106 ,103510107 ,103510108 ,103510109 ,103510110 ,103510111 ,103510201 ,103510202 ,103510203 ,103510204 ,103510205 ,103510206 ,103510207 ,103510208 ,103510209 ,103510210 ,103510211 ,103520101 ,103520102 ,103520103 ,103520104 ,103520105 ,103520106 ,103520107 ,103520108 ,103520109 ,103520110 ,103520111 ,103520201 ,103520202 ,103520203 ,103520204 ,103520205 ,103520206 ,103520207 ,103520208 ,103520209 ,103520210 ,103520211 ,103530101 ,103530102 ,103530103 ,103530104 ,103530105 ,103530106 ,103530107 ,103530108 ,103530109 ,103530110 ,103530111 ,103530201 ,103530202 ,103530203 ,103530204 ,103530205 ,103530206 ,103530207 ,103530208 ,103530209 ,103530210 ,103530211 ,104510101 ,104510102 ,104510103 ,104510104 ,104510105 ,104510106 ,104510107 ,104510108 ,104510109 ,104510110 ,104510111 ,104510201 ,104510202 ,104510203 ,104510204 ,104510205 ,104510206 ,104510207 ,104510208 ,104510209 ,104510210 ,104510211 ,104520101 ,104520102 ,104520103 ,104520104 ,104520105 ,104520106 ,104520107 ,104520108 ,104520109 ,104520110 ,104520111 ,104520201 ,104520202 ,104520203 ,104520204 ,104520205 ,104520206 ,104520207 ,104520208 ,104520209 ,104520210 ,104520211 ,104530101 ,104530102 ,104530103 ,104530104 ,104530105 ,104530106 ,104530107 ,104530108 ,104530109 ,104530110 ,104530111 ,104530201 ,104530202 ,104530203 ,104530204 ,104530205 ,104530206 ,104530207 ,104530208 ,104530209 ,104530210 ,104530211 ,105510101 ,105510102 ,105510103 ,105510104 ,105510105 ,105510106 ,105510107 ,105510108 ,105510109 ,105510110 ,105510111 ,105510201 ,105510202 ,105510203 ,105510204 ,105510205 ,105510206 ,105510207 ,105510208 ,105510209 ,105510210 ,105510211 ,105520101 ,105520102 ,105520103 ,105520104 ,105520105 ,105520106 ,105520107 ,105520108 ,105520109 ,105520110 ,105520111 ,105520201 ,105520202 ,105520203 ,105520204 ,105520205 ,105520206 ,105520207 ,105520208 ,105520209 ,105520210 ,105520211 ,105530101 ,105530102 ,105530103 ,105530104 ,105530105 ,105530106 ,105530107 ,105530108 ,105530109 ,105530110 ,105530111 ,105530201 ,105530202 ,105530203 ,105530204 ,105530205 ,105530206 ,105530207 ,105530208 ,105530209 ,105530210 ,105530211 ,106510101 ,106510102 ,106510103 ,106510104 ,106510105 ,106510106 ,106510107 ,106510108 ,106510109 ,106510110 ,106510111 ,106510201 ,106510202 ,106510203 ,106510204 ,106510205 ,106510206 ,106510207 ,106510208 ,106510209 ,106510210 ,106510211 ,106520101 ,106520102 ,106520103 ,106520104 ,106520105 ,106520106 ,106520107 ,106520108 ,106520109 ,106520110 ,106520111 ,106520201 ,106520202 ,106520203 ,106520204 ,106520205 ,106520206 ,106520207 ,106520208 ,106520209 ,106520210 ,106520211 ,106530101 ,106530102 ,106530103 ,106530104 ,106530105 ,106530106 ,106530107 ,106530108 ,106530109 ,106530110 ,106530111 ,106530201 ,106530202 ,106530203 ,106530204 ,106530205 ,106530206 ,106530207 ,106530208 ,106530209 ,106530210 ,106530211 ,107510101 ,107510102 ,107510103 ,107510104 ,107510105 ,107510106 ,107510107 ,107510108 ,107510109 ,107510110 ,107510111 ,107510201 ,107510202 ,107510203 ,107510204 ,107510205 ,107510206 ,107510207 ,107510208 ,107510209 ,107510210 ,107510211 ,107520101 ,107520102 ,107520103 ,107520104 ,107520105 ,107520106 ,107520107 ,107520108 ,107520109 ,107520110 ,107520111 ,107520201 ,107520202 ,107520203 ,107520204 ,107520205 ,107520206 ,107520207 ,107520208 ,107520209 ,107520210 ,107520211 ,107530101 ,107530102 ,107530103 ,107530104 ,107530105 ,107530106 ,107530107 ,107530108 ,107530109 ,107530110 ,107530111 ,107530201 ,107530202 ,107530203 ,107530204 ,107530205 ,107530206 ,107530207 ,107530208 ,107530209 ,107530210 ,107530211 ,108510101 ,108510102 ,108510103 ,108510104 ,108510105 ,108510106 ,108510107 ,108510108 ,108510109 ,108510110 ,108510111 ,108510201 ,108510202 ,108510203 ,108510204 ,108510205 ,108510206 ,108510207 ,108510208 ,108510209 ,108510210 ,108510211 ,108520101 ,108520102 ,108520103 ,108520104 ,108520105 ,108520106 ,108520107 ,108520108 ,108520109 ,108520110 ,108520111 ,108520201 ,108520202 ,108520203 ,108520204 ,108520205 ,108520206 ,108520207 ,108520208 ,108520209 ,108520210 ,108520211 ,108530101 ,108530102 ,108530103 ,108530104 ,108530105 ,108530106 ,108530107 ,108530108 ,108530109 ,108530110 ,108530111 ,108530201 ,108530202 ,108530203 ,108530204 ,108530205 ,108530206 ,108530207 ,108530208 ,108530209 ,108530210 ,108530211 ,110510101 ,110510102 ,110510103 ,110510104 ,110510105 ,110510106 ,110510107 ,110510108 ,110510109 ,110510110 ,110510111 ,110510201 ,110510202 ,110510203 ,110510204 ,110510205 ,110510206 ,110510207 ,110510208 ,110510209 ,110510210 ,110510211 ,110520101 ,110520102 ,110520103 ,110520104 ,110520105 ,110520106 ,110520107 ,110520108 ,110520109 ,110520110 ,110520111 ,110520201 ,110520202 ,110520203 ,110520204 ,110520205 ,110520206 ,110520207 ,110520208 ,110520209 ,110520210 ,110520211 ,110530101 ,110530102 ,110530103 ,110530104 ,110530105 ,110530106 ,110530107 ,110530108 ,110530109 ,110530110 ,110530111 ,110530201 ,110530202 ,110530203 ,110530204 ,110530205 ,110530206 ,110530207 ,110530208 ,110530209 ,110530210 ,110530211 ,111510101 ,111510102 ,111510103 ,111510104 ,111510105 ,111510106 ,111510107 ,111510108 ,111510109 ,111510110 ,111510111 ,111510201 ,111510202 ,111510203 ,111510204 ,111510205 ,111510206 ,111510207 ,111510208 ,111510209 ,111510210 ,111510211 ,111520101 ,111520102 ,111520103 ,111520104 ,111520105 ,111520106 ,111520107 ,111520108 ,111520109 ,111520110 ,111520111 ,111520201 ,111520202 ,111520203 ,111520204 ,111520205 ,111520206 ,111520207 ,111520208 ,111520209 ,111520210 ,111520211 ,111530101 ,111530102 ,111530103 ,111530104 ,111530105 ,111530106 ,111530107 ,111530108 ,111530109 ,111530110 ,111530111 ,111530201 ,111530202 ,111530203 ,111530204 ,111530205 ,111530206 ,111530207 ,111530208 ,111530209 ,111530210 ,111530211 ,112510101 ,112510102 ,112510103 ,112510104 ,112510105 ,112510106 ,112510107 ,112510108 ,112510109 ,112510110 ,112510111 ,112510201 ,112510202 ,112510203 ,112510204 ,112510205 ,112510206 ,112510207 ,112510208 ,112510209 ,112510210 ,112510211 ,112520101 ,112520102 ,112520103 ,112520104 ,112520105 ,112520106 ,112520107 ,112520108 ,112520109 ,112520110 ,112520111 ,112520201 ,112520202 ,112520203 ,112520204 ,112520205 ,112520206 ,112520207 ,112520208 ,112520209 ,112520210 ,112520211 ,112530101 ,112530102 ,112530103 ,112530104 ,112530105 ,112530106 ,112530107 ,112530108 ,112530109 ,112530110 ,112530111 ,112530201 ,112530202 ,112530203 ,112530204 ,112530205 ,112530206 ,112530207 ,112530208 ,112530209 ,112530210 ,112530211 ,113510101 ,113510102 ,113510103 ,113510104 ,113510105 ,113510106 ,113510107 ,113510108 ,113510109 ,113510110 ,113510111 ,113510201 ,113510202 ,113510203 ,113510204 ,113510205 ,113510206 ,113510207 ,113510208 ,113510209 ,113510210 ,113510211 ,113520101 ,113520102 ,113520103 ,113520104 ,113520105 ,113520106 ,113520107 ,113520108 ,113520109 ,113520110 ,113520111 ,113520201 ,113520202 ,113520203 ,113520204 ,113520205 ,113520206 ,113520207 ,113520208 ,113520209 ,113520210 ,113520211 ,113530101 ,113530102 ,113530103 ,113530104 ,113530105 ,113530106 ,113530107 ,113530108 ,113530109 ,113530110 ,113530111 ,113530201 ,113530202 ,113530203 ,113530204 ,113530205 ,113530206 ,113530207 ,113530208 ,113530209 ,113530210 ,113530211}
		else
			return_array = {101501 ,101502 ,101503 ,101521 ,101522 ,101523 ,101524 ,102501 ,102502 ,102521 ,102522 ,102523 ,103501 ,103502 ,103521 ,103522 ,103523 ,104501 ,104502 ,104503 ,104521 ,104522 ,104523 ,104524 ,105501 ,105502 ,105521 ,105522 ,105523 ,106501 ,106521 ,106522 ,107501 ,107502 ,107503 ,107521 ,107522 ,107523 ,107524 ,108501 ,108502 ,108521 ,108522 ,108523 ,109501 ,109502 ,109521 ,109522 ,109523 ,110501 ,110502 ,110521 ,110522 ,110523 ,111501 ,111521 ,111522 ,111523 ,112501 ,112502 ,112521 ,112522 ,112523}
		end
		
	elseif rank == 6 then
	
		if dura_type == 1 then
			return_array = {101610101 ,101610102 ,101610103 ,101610104 ,101610105 ,101610106 ,101610107 ,101610108 ,101610109 ,101610110 ,101610111 ,101610201 ,101610202 ,101610203 ,101610204 ,101610205 ,101610206 ,101610207 ,101610208 ,101610209 ,101610210 ,101610211 ,101620101 ,101620102 ,101620103 ,101620104 ,101620105 ,101620106 ,101620107 ,101620108 ,101620109 ,101620110 ,101620111 ,101620201 ,101620202 ,101620203 ,101620204 ,101620205 ,101620206 ,101620207 ,101620208 ,101620209 ,101620210 ,101620211 ,101630101 ,101630102 ,101630103 ,101630104 ,101630105 ,101630106 ,101630107 ,101630108 ,101630109 ,101630110 ,101630111 ,101630201 ,101630202 ,101630203 ,101630204 ,101630205 ,101630206 ,101630207 ,101630208 ,101630209 ,101630210 ,101630211 ,102610101 ,102610102 ,102610103 ,102610104 ,102610105 ,102610106 ,102610107 ,102610108 ,102610109 ,102610110 ,102610111 ,102610201 ,102610202 ,102610203 ,102610204 ,102610205 ,102610206 ,102610207 ,102610208 ,102610209 ,102610210 ,102610211 ,102620101 ,102620102 ,102620103 ,102620104 ,102620105 ,102620106 ,102620107 ,102620108 ,102620109 ,102620110 ,102620111 ,102620201 ,102620202 ,102620203 ,102620204 ,102620205 ,102620206 ,102620207 ,102620208 ,102620209 ,102620210 ,102620211 ,102630101 ,102630102 ,102630103 ,102630104 ,102630105 ,102630106 ,102630107 ,102630108 ,102630109 ,102630110 ,102630111 ,102630201 ,102630202 ,102630203 ,102630204 ,102630205 ,102630206 ,102630207 ,102630208 ,102630209 ,102630210 ,102630211 ,103610101 ,103610102 ,103610103 ,103610104 ,103610105 ,103610106 ,103610107 ,103610108 ,103610109 ,103610110 ,103610111 ,103610201 ,103610202 ,103610203 ,103610204 ,103610205 ,103610206 ,103610207 ,103610208 ,103610209 ,103610210 ,103610211 ,103620101 ,103620102 ,103620103 ,103620104 ,103620105 ,103620106 ,103620107 ,103620108 ,103620109 ,103620110 ,103620111 ,103620201 ,103620202 ,103620203 ,103620204 ,103620205 ,103620206 ,103620207 ,103620208 ,103620209 ,103620210 ,103620211 ,103630101 ,103630102 ,103630103 ,103630104 ,103630105 ,103630106 ,103630107 ,103630108 ,103630109 ,103630110 ,103630111 ,103630201 ,103630202 ,103630203 ,103630204 ,103630205 ,103630206 ,103630207 ,103630208 ,103630209 ,103630210 ,103630211 ,104610101 ,104610102 ,104610103 ,104610104 ,104610105 ,104610106 ,104610107 ,104610108 ,104610109 ,104610110 ,104610111 ,104610201 ,104610202 ,104610203 ,104610204 ,104610205 ,104610206 ,104610207 ,104610208 ,104610209 ,104610210 ,104610211 ,104620101 ,104620102 ,104620103 ,104620104 ,104620105 ,104620106 ,104620107 ,104620108 ,104620109 ,104620110 ,104620111 ,104620201 ,104620202 ,104620203 ,104620204 ,104620205 ,104620206 ,104620207 ,104620208 ,104620209 ,104620210 ,104620211 ,104630101 ,104630102 ,104630103 ,104630104 ,104630105 ,104630106 ,104630107 ,104630108 ,104630109 ,104630110 ,104630111 ,104630201 ,104630202 ,104630203 ,104630204 ,104630205 ,104630206 ,104630207 ,104630208 ,104630209 ,104630210 ,104630211 ,105610101 ,105610102 ,105610103 ,105610104 ,105610105 ,105610106 ,105610107 ,105610108 ,105610109 ,105610110 ,105610111 ,105610201 ,105610202 ,105610203 ,105610204 ,105610205 ,105610206 ,105610207 ,105610208 ,105610209 ,105610210 ,105610211 ,105620101 ,105620102 ,105620103 ,105620104 ,105620105 ,105620106 ,105620107 ,105620108 ,105620109 ,105620110 ,105620111 ,105620201 ,105620202 ,105620203 ,105620204 ,105620205 ,105620206 ,105620207 ,105620208 ,105620209 ,105620210 ,105620211 ,105630101 ,105630102 ,105630103 ,105630104 ,105630105 ,105630106 ,105630107 ,105630108 ,105630109 ,105630110 ,105630111 ,105630201 ,105630202 ,105630203 ,105630204 ,105630205 ,105630206 ,105630207 ,105630208 ,105630209 ,105630210 ,105630211 ,106610101 ,106610102 ,106610103 ,106610104 ,106610105 ,106610106 ,106610107 ,106610108 ,106610109 ,106610110 ,106610111 ,106610201 ,106610202 ,106610203 ,106610204 ,106610205 ,106610206 ,106610207 ,106610208 ,106610209 ,106610210 ,106610211 ,106620101 ,106620102 ,106620103 ,106620104 ,106620105 ,106620106 ,106620107 ,106620108 ,106620109 ,106620110 ,106620111 ,106620201 ,106620202 ,106620203 ,106620204 ,106620205 ,106620206 ,106620207 ,106620208 ,106620209 ,106620210 ,106620211 ,106630101 ,106630102 ,106630103 ,106630104 ,106630105 ,106630106 ,106630107 ,106630108 ,106630109 ,106630110 ,106630111 ,106630201 ,106630202 ,106630203 ,106630204 ,106630205 ,106630206 ,106630207 ,106630208 ,106630209 ,106630210 ,106630211 ,107610101 ,107610102 ,107610103 ,107610104 ,107610105 ,107610106 ,107610107 ,107610108 ,107610109 ,107610110 ,107610111 ,107610201 ,107610202 ,107610203 ,107610204 ,107610205 ,107610206 ,107610207 ,107610208 ,107610209 ,107610210 ,107610211 ,107620101 ,107620102 ,107620103 ,107620104 ,107620105 ,107620106 ,107620107 ,107620108 ,107620109 ,107620110 ,107620111 ,107620201 ,107620202 ,107620203 ,107620204 ,107620205 ,107620206 ,107620207 ,107620208 ,107620209 ,107620210 ,107620211 ,107630101 ,107630102 ,107630103 ,107630104 ,107630105 ,107630106 ,107630107 ,107630108 ,107630109 ,107630110 ,107630111 ,107630201 ,107630202 ,107630203 ,107630204 ,107630205 ,107630206 ,107630207 ,107630208 ,107630209 ,107630210 ,107630211 ,108610101 ,108610102 ,108610103 ,108610104 ,108610105 ,108610106 ,108610107 ,108610108 ,108610109 ,108610110 ,108610111 ,108610201 ,108610202 ,108610203 ,108610204 ,108610205 ,108610206 ,108610207 ,108610208 ,108610209 ,108610210 ,108610211 ,108620101 ,108620102 ,108620103 ,108620104 ,108620105 ,108620106 ,108620107 ,108620108 ,108620109 ,108620110 ,108620111 ,108620201 ,108620202 ,108620203 ,108620204 ,108620205 ,108620206 ,108620207 ,108620208 ,108620209 ,108620210 ,108620211 ,108630101 ,108630102 ,108630103 ,108630104 ,108630105 ,108630106 ,108630107 ,108630108 ,108630109 ,108630110 ,108630111 ,108630201 ,108630202 ,108630203 ,108630204 ,108630205 ,108630206 ,108630207 ,108630208 ,108630209 ,108630210 ,108630211 ,110610101 ,110610102 ,110610103 ,110610104 ,110610105 ,110610106 ,110610107 ,110610108 ,110610109 ,110610110 ,110610111 ,110610201 ,110610202 ,110610203 ,110610204 ,110610205 ,110610206 ,110610207 ,110610208 ,110610209 ,110610210 ,110610211 ,110620101 ,110620102 ,110620103 ,110620104 ,110620105 ,110620106 ,110620107 ,110620108 ,110620109 ,110620110 ,110620111 ,110620201 ,110620202 ,110620203 ,110620204 ,110620205 ,110620206 ,110620207 ,110620208 ,110620209 ,110620210 ,110620211 ,110630101 ,110630102 ,110630103 ,110630104 ,110630105 ,110630106 ,110630107 ,110630108 ,110630109 ,110630110 ,110630111 ,110630201 ,110630202 ,110630203 ,110630204 ,110630205 ,110630206 ,110630207 ,110630208 ,110630209 ,110630210 ,110630211 ,111610101 ,111610102 ,111610103 ,111610104 ,111610105 ,111610106 ,111610107 ,111610108 ,111610109 ,111610110 ,111610111 ,111610201 ,111610202 ,111610203 ,111610204 ,111610205 ,111610206 ,111610207 ,111610208 ,111610209 ,111610210 ,111610211 ,111620101 ,111620102 ,111620103 ,111620104 ,111620105 ,111620106 ,111620107 ,111620108 ,111620109 ,111620110 ,111620111 ,111620201 ,111620202 ,111620203 ,111620204 ,111620205 ,111620206 ,111620207 ,111620208 ,111620209 ,111620210 ,111620211 ,111630101 ,111630102 ,111630103 ,111630104 ,111630105 ,111630106 ,111630107 ,111630108 ,111630109 ,111630110 ,111630111 ,111630201 ,111630202 ,111630203 ,111630204 ,111630205 ,111630206 ,111630207 ,111630208 ,111630209 ,111630210 ,111630211 ,112610101 ,112610102 ,112610103 ,112610104 ,112610105 ,112610106 ,112610107 ,112610108 ,112610109 ,112610110 ,112610111 ,112610201 ,112610202 ,112610203 ,112610204 ,112610205 ,112610206 ,112610207 ,112610208 ,112610209 ,112610210 ,112610211 ,112620101 ,112620102 ,112620103 ,112620104 ,112620105 ,112620106 ,112620107 ,112620108 ,112620109 ,112620110 ,112620111 ,112620201 ,112620202 ,112620203 ,112620204 ,112620205 ,112620206 ,112620207 ,112620208 ,112620209 ,112620210 ,112620211 ,112630101 ,112630102 ,112630103 ,112630104 ,112630105 ,112630106 ,112630107 ,112630108 ,112630109 ,112630110 ,112630111 ,112630201 ,112630202 ,112630203 ,112630204 ,112630205 ,112630206 ,112630207 ,112630208 ,112630209 ,112630210 ,112630211 ,113610101 ,113610102 ,113610103 ,113610104 ,113610105 ,113610106 ,113610107 ,113610108 ,113610109 ,113610110 ,113610111 ,113610201 ,113610202 ,113610203 ,113610204 ,113610205 ,113610206 ,113610207 ,113610208 ,113610209 ,113610210 ,113610211 ,113620101 ,113620102 ,113620103 ,113620104 ,113620105 ,113620106 ,113620107 ,113620108 ,113620109 ,113620110 ,113620111 ,113620201 ,113620202 ,113620203 ,113620204 ,113620205 ,113620206 ,113620207 ,113620208 ,113620209 ,113620210 ,113620211 ,113630101 ,113630102 ,113630103 ,113630104 ,113630105 ,113630106 ,113630107 ,113630108 ,113630109 ,113630110 ,113630111 ,113630201 ,113630202 ,113630203 ,113630204 ,113630205 ,113630206 ,113630207 ,113630208 ,113630209 ,113630210 ,113630211}
		else
			return_array = {101601 ,101602 ,101603 ,101621 ,101622 ,101623 ,101624 ,102601 ,102602 ,102621 ,102622 ,102623 ,103601 ,103602 ,103621 ,103622 ,103623 ,104601 ,104602 ,104621 ,104622 ,104623 ,105601 ,105602 ,105621 ,105622 ,105623 ,106601 ,106602 ,106621 ,106622 ,106623 ,107601 ,107602 ,107621 ,107622 ,107623 ,108601 ,108602 ,108621 ,108622 ,108623 ,109601 ,109602 ,109621 ,109622 ,109623 ,110601 ,110602 ,110621 ,110622 ,110623 ,111601 ,111602 ,111621 ,111622 ,111623 ,111624 ,112601 ,112602 ,112621 ,112622 ,112623}
		end
		
	elseif rank == 7 then
	
		if dura_type == 1 then
			return_array = {101731 ,102731 ,103731 ,104731 ,105731 ,106731 ,107731 ,108731 ,109731 ,110731 ,111731 ,112731 ,3100001 ,3100002 ,3100003 ,3100004 ,3100005 ,3100006 ,3100007 ,3100008 ,3100009 ,3100010 ,3100011 ,3100012 ,101710101 ,101710102 ,101710103 ,101710104 ,101710105 ,101710106 ,101710107 ,101710108 ,101710109 ,101710110 ,101710111 ,101710201 ,101710202 ,101710203 ,101710204 ,101710205 ,101710206 ,101710207 ,101710208 ,101710209 ,101710210 ,101710211 ,101710301 ,101710302 ,101710303 ,101710304 ,101710305 ,101710306 ,101710307 ,101710308 ,101710309 ,101710310 ,101710311 ,101710401 ,101710402 ,101710403 ,101710404 ,101710405 ,101710406 ,101710407 ,101710408 ,101710409 ,101710410 ,101710411 ,101710501 ,101710502 ,101710503 ,101710504 ,101710505 ,101710506 ,101710507 ,101710508 ,101720101 ,101720102 ,101720103 ,101720104 ,101720105 ,101720106 ,101720107 ,101720108 ,101720109 ,101720110 ,101720111 ,101720201 ,101720202 ,101720203 ,101720204 ,101720205 ,101720206 ,101720207 ,101720208 ,101720209 ,101720210 ,101720211 ,101720301 ,101720302 ,101720303 ,101720304 ,101720305 ,101720306 ,101720307 ,101720308 ,101720309 ,101720310 ,101720311 ,101720401 ,101720402 ,101720403 ,101720404 ,101720405 ,101720406 ,101720407 ,101720408 ,101720409 ,101720410 ,101720411 ,101720501 ,101720502 ,101720503 ,101720504 ,101720505 ,101720506 ,101720507 ,101720508 ,101730101 ,101730102 ,101730103 ,101730104 ,101730105 ,101730106 ,101730107 ,101730108 ,101730109 ,101730110 ,101730111 ,101730201 ,101730202 ,101730203 ,101730204 ,101730205 ,101730206 ,101730207 ,101730208 ,101730209 ,101730210 ,101730211 ,101730301 ,101730302 ,101730303 ,101730304 ,101730305 ,101730306 ,101730307 ,101730308 ,101730309 ,101730310 ,101730311 ,101730401 ,101730402 ,101730403 ,101730404 ,101730405 ,101730406 ,101730407 ,101730408 ,101730409 ,101730410 ,101730411 ,101730501 ,101730502 ,101730503 ,101730504 ,101730505 ,101730506 ,101730507 ,101730508 ,102710101 ,102710102 ,102710103 ,102710104 ,102710105 ,102710106 ,102710107 ,102710108 ,102710109 ,102710110 ,102710111 ,102710201 ,102710202 ,102710203 ,102710204 ,102710205 ,102710206 ,102710207 ,102710208 ,102710209 ,102710210 ,102710211 ,102710301 ,102710302 ,102710303 ,102710304 ,102710305 ,102710306 ,102710307 ,102710308 ,102710309 ,102710310 ,102710311 ,102710401 ,102710402 ,102710403 ,102710404 ,102710405 ,102710406 ,102710407 ,102710408 ,102710409 ,102710410 ,102710411 ,102710501 ,102710502 ,102710503 ,102710504 ,102710505 ,102710506 ,102710507 ,102710508 ,102720101 ,102720102 ,102720103 ,102720104 ,102720105 ,102720106 ,102720107 ,102720108 ,102720109 ,102720110 ,102720111 ,102720201 ,102720202 ,102720203 ,102720204 ,102720205 ,102720206 ,102720207 ,102720208 ,102720209 ,102720210 ,102720211 ,102720301 ,102720302 ,102720303 ,102720304 ,102720305 ,102720306 ,102720307 ,102720308 ,102720309 ,102720310 ,102720311 ,102720401 ,102720402 ,102720403 ,102720404 ,102720405 ,102720406 ,102720407 ,102720408 ,102720409 ,102720410 ,102720411 ,102720501 ,102720502 ,102720503 ,102720504 ,102720505 ,102720506 ,102720507 ,102720508 ,102730101 ,102730102 ,102730103 ,102730104 ,102730105 ,102730106 ,102730107 ,102730108 ,102730109 ,102730110 ,102730111 ,102730201 ,102730202 ,102730203 ,102730204 ,102730205 ,102730206 ,102730207 ,102730208 ,102730209 ,102730210 ,102730211 ,102730301 ,102730302 ,102730303 ,102730304 ,102730305 ,102730306 ,102730307 ,102730308 ,102730309 ,102730310 ,102730311 ,102730401 ,102730402 ,102730403 ,102730404 ,102730405 ,102730406 ,102730407 ,102730408 ,102730409 ,102730410 ,102730411 ,102730501 ,102730502 ,102730503 ,102730504 ,102730505 ,102730506 ,102730507 ,102730508 ,103710101 ,103710102 ,103710103 ,103710104 ,103710105 ,103710106 ,103710107 ,103710108 ,103710109 ,103710110 ,103710111 ,103710201 ,103710202 ,103710203 ,103710204 ,103710205 ,103710206 ,103710207 ,103710208 ,103710209 ,103710210 ,103710211 ,103710301 ,103710302 ,103710303 ,103710304 ,103710305 ,103710306 ,103710307 ,103710308 ,103710309 ,103710310 ,103710311 ,103710401 ,103710402 ,103710403 ,103710404 ,103710405 ,103710406 ,103710407 ,103710408 ,103710409 ,103710410 ,103710411 ,103710501 ,103710502 ,103710503 ,103710504 ,103710505 ,103710506 ,103710507 ,103710508 ,103720101 ,103720102 ,103720103 ,103720104 ,103720105 ,103720106 ,103720107 ,103720108 ,103720109 ,103720110 ,103720111 ,103720201 ,103720202 ,103720203 ,103720204 ,103720205 ,103720206 ,103720207 ,103720208 ,103720209 ,103720210 ,103720211 ,103720301 ,103720302 ,103720303 ,103720304 ,103720305 ,103720306 ,103720307 ,103720308 ,103720309 ,103720310 ,103720311 ,103720401 ,103720402 ,103720403 ,103720404 ,103720405 ,103720406 ,103720407 ,103720408 ,103720409 ,103720410 ,103720411 ,103720501 ,103720502 ,103720503 ,103720504 ,103720505 ,103720506 ,103720507 ,103720508 ,103730101 ,103730102 ,103730103 ,103730104 ,103730105 ,103730106 ,103730107 ,103730108 ,103730109 ,103730110 ,103730111 ,103730201 ,103730202 ,103730203 ,103730204 ,103730205 ,103730206 ,103730207 ,103730208 ,103730209 ,103730210 ,103730211 ,103730301 ,103730302 ,103730303 ,103730304 ,103730305 ,103730306 ,103730307 ,103730308 ,103730309 ,103730310 ,103730311 ,103730401 ,103730402 ,103730403 ,103730404 ,103730405 ,103730406 ,103730407 ,103730408 ,103730409 ,103730410 ,103730411 ,103730501 ,103730502 ,103730503 ,103730504 ,103730505 ,103730506 ,103730507 ,103730508 ,104710101 ,104710102 ,104710103 ,104710104 ,104710105 ,104710106 ,104710107 ,104710108 ,104710109 ,104710110 ,104710111 ,104710201 ,104710202 ,104710203 ,104710204 ,104710205 ,104710206 ,104710207 ,104710208 ,104710209 ,104710210 ,104710211 ,104710301 ,104710302 ,104710303 ,104710304 ,104710305 ,104710306 ,104710307 ,104710308 ,104710309 ,104710310 ,104710311 ,104710401 ,104710402 ,104710403 ,104710404 ,104710405 ,104710406 ,104710407 ,104710408 ,104710409 ,104710410 ,104710411 ,104710501 ,104710502 ,104710503 ,104710504 ,104710505 ,104710506 ,104710507 ,104710508 ,104720101 ,104720102 ,104720103 ,104720104 ,104720105 ,104720106 ,104720107 ,104720108 ,104720109 ,104720110 ,104720111 ,104720201 ,104720202 ,104720203 ,104720204 ,104720205 ,104720206 ,104720207 ,104720208 ,104720209 ,104720210 ,104720211 ,104720301 ,104720302 ,104720303 ,104720304 ,104720305 ,104720306 ,104720307 ,104720308 ,104720309 ,104720310 ,104720311 ,104720401 ,104720402 ,104720403 ,104720404 ,104720405 ,104720406 ,104720407 ,104720408 ,104720409 ,104720410 ,104720411 ,104720501 ,104720502 ,104720503 ,104720504 ,104720505 ,104720506 ,104720507 ,104720508 ,104730101 ,104730102 ,104730103 ,104730104 ,104730105 ,104730106 ,104730107 ,104730108 ,104730109 ,104730110 ,104730111 ,104730201 ,104730202 ,104730203 ,104730204 ,104730205 ,104730206 ,104730207 ,104730208 ,104730209 ,104730210 ,104730211 ,104730301 ,104730302 ,104730303 ,104730304 ,104730305 ,104730306 ,104730307 ,104730308 ,104730309 ,104730310 ,104730311 ,104730401 ,104730402 ,104730403 ,104730404 ,104730405 ,104730406 ,104730407 ,104730408 ,104730409 ,104730410 ,104730411 ,104730501 ,104730502 ,104730503 ,104730504 ,104730505 ,104730506 ,104730507 ,104730508 ,105710101 ,105710102 ,105710103 ,105710104 ,105710105 ,105710106 ,105710107 ,105710108 ,105710109 ,105710110 ,105710111 ,105710201 ,105710202 ,105710203 ,105710204 ,105710205 ,105710206 ,105710207 ,105710208 ,105710209 ,105710210 ,105710211 ,105710301 ,105710302 ,105710303 ,105710304 ,105710305 ,105710306 ,105710307 ,105710308 ,105710309 ,105710310 ,105710311 ,105710401 ,105710402 ,105710403 ,105710404 ,105710405 ,105710406 ,105710407 ,105710408 ,105710409 ,105710410 ,105710411 ,105710501 ,105710502 ,105710503 ,105710504 ,105710505 ,105710506 ,105710507 ,105710508 ,105720101 ,105720102 ,105720103 ,105720104 ,105720105 ,105720106 ,105720107 ,105720108 ,105720109 ,105720110 ,105720111 ,105720201 ,105720202 ,105720203 ,105720204 ,105720205 ,105720206 ,105720207 ,105720208 ,105720209 ,105720210 ,105720211 ,105720301 ,105720302 ,105720303 ,105720304 ,105720305 ,105720306 ,105720307 ,105720308 ,105720309 ,105720310 ,105720311 ,105720401 ,105720402 ,105720403 ,105720404 ,105720405 ,105720406 ,105720407 ,105720408 ,105720409 ,105720410 ,105720411 ,105720501 ,105720502 ,105720503 ,105720504 ,105720505 ,105720506 ,105720507 ,105720508 ,105730101 ,105730102 ,105730103 ,105730104 ,105730105 ,105730106 ,105730107 ,105730108 ,105730109 ,105730110 ,105730111 ,105730201 ,105730202 ,105730203 ,105730204 ,105730205 ,105730206 ,105730207 ,105730208 ,105730209 ,105730210 ,105730211 ,105730301 ,105730302 ,105730303 ,105730304 ,105730305 ,105730306 ,105730307 ,105730308 ,105730309 ,105730310 ,105730311 ,105730401 ,105730402 ,105730403 ,105730404 ,105730405 ,105730406 ,105730407 ,105730408 ,105730409 ,105730410 ,105730411 ,105730501 ,105730502 ,105730503 ,105730504 ,105730505 ,105730506 ,105730507 ,105730508 ,106710101 ,106710102 ,106710103 ,106710104 ,106710105 ,106710106 ,106710107 ,106710108 ,106710109 ,106710110 ,106710111 ,106710201 ,106710202 ,106710203 ,106710204 ,106710205 ,106710206 ,106710207 ,106710208 ,106710209 ,106710210 ,106710211 ,106710301 ,106710302 ,106710303 ,106710304 ,106710305 ,106710306 ,106710307 ,106710308 ,106710309 ,106710310 ,106710311 ,106710401 ,106710402 ,106710403 ,106710404 ,106710405 ,106710406 ,106710407 ,106710408 ,106710409 ,106710410 ,106710411 ,106710501 ,106710502 ,106710503 ,106710504 ,106710505 ,106710506 ,106710507 ,106710508 ,106720101 ,106720102 ,106720103 ,106720104 ,106720105 ,106720106 ,106720107 ,106720108 ,106720109 ,106720110 ,106720111 ,106720201 ,106720202 ,106720203 ,106720204 ,106720205 ,106720206 ,106720207 ,106720208 ,106720209 ,106720210 ,106720211 ,106720301 ,106720302 ,106720303 ,106720304 ,106720305 ,106720306 ,106720307 ,106720308 ,106720309 ,106720310 ,106720311 ,106720401 ,106720402 ,106720403 ,106720404 ,106720405 ,106720406 ,106720407 ,106720408 ,106720409 ,106720410 ,106720411 ,106720501 ,106720502 ,106720503 ,106720504 ,106720505 ,106720506 ,106720507 ,106720508 ,106730101 ,106730102 ,106730103 ,106730104 ,106730105 ,106730106 ,106730107 ,106730108 ,106730109 ,106730110 ,106730111 ,106730201 ,106730202 ,106730203 ,106730204 ,106730205 ,106730206 ,106730207 ,106730208 ,106730209 ,106730210 ,106730211 ,106730301 ,106730302 ,106730303 ,106730304 ,106730305 ,106730306 ,106730307 ,106730308 ,106730309 ,106730310 ,106730311 ,106730401 ,106730402 ,106730403 ,106730404 ,106730405 ,106730406 ,106730407 ,106730408 ,106730409 ,106730410 ,106730411 ,106730501 ,106730502 ,106730503 ,106730504 ,106730505 ,106730506 ,106730507 ,106730508 ,107710101 ,107710102 ,107710103 ,107710104 ,107710105 ,107710106 ,107710107 ,107710108 ,107710109 ,107710110 ,107710111 ,107710201 ,107710202 ,107710203 ,107710204 ,107710205 ,107710206 ,107710207 ,107710208 ,107710209 ,107710210 ,107710211 ,107710301 ,107710302 ,107710303 ,107710304 ,107710305 ,107710306 ,107710307 ,107710308 ,107710309 ,107710310 ,107710311 ,107710401 ,107710402 ,107710403 ,107710404 ,107710405 ,107710406 ,107710407 ,107710408 ,107710409 ,107710410 ,107710411 ,107710501 ,107710502 ,107710503 ,107710504 ,107710505 ,107710506 ,107710507 ,107710508 ,107720101 ,107720102 ,107720103 ,107720104 ,107720105 ,107720106 ,107720107 ,107720108 ,107720109 ,107720110 ,107720111 ,107720201 ,107720202 ,107720203 ,107720204 ,107720205 ,107720206 ,107720207 ,107720208 ,107720209 ,107720210 ,107720211 ,107720301 ,107720302 ,107720303 ,107720304 ,107720305 ,107720306 ,107720307 ,107720308 ,107720309 ,107720310 ,107720311 ,107720401 ,107720402 ,107720403 ,107720404 ,107720405 ,107720406 ,107720407 ,107720408 ,107720409 ,107720410 ,107720411 ,107720501 ,107720502 ,107720503 ,107720504 ,107720505 ,107720506 ,107720507 ,107720508 ,107730101 ,107730102 ,107730103 ,107730104 ,107730105 ,107730106 ,107730107 ,107730108 ,107730109 ,107730110 ,107730111 ,107730201 ,107730202 ,107730203 ,107730204 ,107730205 ,107730206 ,107730207 ,107730208 ,107730209 ,107730210 ,107730211 ,107730301 ,107730302 ,107730303 ,107730304 ,107730305 ,107730306 ,107730307 ,107730308 ,107730309 ,107730310 ,107730311 ,107730401 ,107730402 ,107730403 ,107730404 ,107730405 ,107730406 ,107730407 ,107730408 ,107730409 ,107730410 ,107730411 ,107730501 ,107730502 ,107730503 ,107730504 ,107730505 ,107730506 ,107730507 ,107730508 ,108710101 ,108710102 ,108710103 ,108710104 ,108710105 ,108710106 ,108710107 ,108710108 ,108710109 ,108710110 ,108710111 ,108710201 ,108710202 ,108710203 ,108710204 ,108710205 ,108710206 ,108710207 ,108710208 ,108710209 ,108710210 ,108710211 ,108710301 ,108710302 ,108710303 ,108710304 ,108710305 ,108710306 ,108710307 ,108710308 ,108710309 ,108710310 ,108710311 ,108710401 ,108710402 ,108710403 ,108710404 ,108710405 ,108710406 ,108710407 ,108710408 ,108710409 ,108710410 ,108710411 ,108710501 ,108710502 ,108710503 ,108710504 ,108710505 ,108710506 ,108710507 ,108710508 ,108720101 ,108720102 ,108720103 ,108720104 ,108720105 ,108720106 ,108720107 ,108720108 ,108720109 ,108720110 ,108720111 ,108720201 ,108720202 ,108720203 ,108720204 ,108720205 ,108720206 ,108720207 ,108720208 ,108720209 ,108720210 ,108720211 ,108720301 ,108720302 ,108720303 ,108720304 ,108720305 ,108720306 ,108720307 ,108720308 ,108720309 ,108720310 ,108720311 ,108720401 ,108720402 ,108720403 ,108720404 ,108720405 ,108720406 ,108720407 ,108720408 ,108720409 ,108720410 ,108720411 ,108720501 ,108720502 ,108720503 ,108720504 ,108720505 ,108720506 ,108720507 ,108720508 ,108730101 ,108730102 ,108730103 ,108730104 ,108730105 ,108730106 ,108730107 ,108730108 ,108730109 ,108730110 ,108730111 ,108730201 ,108730202 ,108730203 ,108730204 ,108730205 ,108730206 ,108730207 ,108730208 ,108730209 ,108730210 ,108730211 ,108730301 ,108730302 ,108730303 ,108730304 ,108730305 ,108730306 ,108730307 ,108730308 ,108730309 ,108730310 ,108730311 ,108730401 ,108730402 ,108730403 ,108730404 ,108730405 ,108730406 ,108730407 ,108730408 ,108730409 ,108730410 ,108730411 ,108730501 ,108730502 ,108730503 ,108730504 ,108730505 ,108730506 ,108730507 ,108730508 ,110710101 ,110710102 ,110710103 ,110710104 ,110710105 ,110710106 ,110710107 ,110710108 ,110710109 ,110710110 ,110710111 ,110710201 ,110710202 ,110710203 ,110710204 ,110710205 ,110710206 ,110710207 ,110710208 ,110710209 ,110710210 ,110710211 ,110710301 ,110710302 ,110710303 ,110710304 ,110710305 ,110710306 ,110710307 ,110710308 ,110710309 ,110710310 ,110710311 ,110710401 ,110710402 ,110710403 ,110710404 ,110710405 ,110710406 ,110710407 ,110710408 ,110710409 ,110710410 ,110710411 ,110710501 ,110710502 ,110710503 ,110710504 ,110710505 ,110710506 ,110710507 ,110710508 ,110720101 ,110720102 ,110720103 ,110720104 ,110720105 ,110720106 ,110720107 ,110720108 ,110720109 ,110720110 ,110720111 ,110720201 ,110720202 ,110720203 ,110720204 ,110720205 ,110720206 ,110720207 ,110720208 ,110720209 ,110720210 ,110720211 ,110720301 ,110720302 ,110720303 ,110720304 ,110720305 ,110720306 ,110720307 ,110720308 ,110720309 ,110720310 ,110720311 ,110720401 ,110720402 ,110720403 ,110720404 ,110720405 ,110720406 ,110720407 ,110720408 ,110720409 ,110720410 ,110720411 ,110720501 ,110720502 ,110720503 ,110720504 ,110720505 ,110720506 ,110720507 ,110720508 ,110730101 ,110730102 ,110730103 ,110730104 ,110730105 ,110730106 ,110730107 ,110730108 ,110730109 ,110730110 ,110730111 ,110730201 ,110730202 ,110730203 ,110730204 ,110730205 ,110730206 ,110730207 ,110730208 ,110730209 ,110730210 ,110730211 ,110730301 ,110730302 ,110730303 ,110730304 ,110730305 ,110730306 ,110730307 ,110730308 ,110730309 ,110730310 ,110730311 ,110730401 ,110730402 ,110730403 ,110730404 ,110730405 ,110730406 ,110730407 ,110730408 ,110730409 ,110730410 ,110730411 ,110730501 ,110730502 ,110730503 ,110730504 ,110730505 ,110730506 ,110730507 ,110730508 ,111710101 ,111710102 ,111710103 ,111710104 ,111710105 ,111710106 ,111710107 ,111710108 ,111710109 ,111710110 ,111710111 ,111710201 ,111710202 ,111710203 ,111710204 ,111710205 ,111710206 ,111710207 ,111710208 ,111710209 ,111710210 ,111710211 ,111710301 ,111710302 ,111710303 ,111710304 ,111710305 ,111710306 ,111710307 ,111710308 ,111710309 ,111710310 ,111710311 ,111710401 ,111710402 ,111710403 ,111710404 ,111710405 ,111710406 ,111710407 ,111710408 ,111710409 ,111710410 ,111710411 ,111710501 ,111710502 ,111710503 ,111710504 ,111710505 ,111710506 ,111710507 ,111710508 ,111720101 ,111720102 ,111720103 ,111720104 ,111720105 ,111720106 ,111720107 ,111720108 ,111720109 ,111720110 ,111720111 ,111720201 ,111720202 ,111720203 ,111720204 ,111720205 ,111720206 ,111720207 ,111720208 ,111720209 ,111720210 ,111720211 ,111720301 ,111720302 ,111720303 ,111720304 ,111720305 ,111720306 ,111720307 ,111720308 ,111720309 ,111720310 ,111720311 ,111720401 ,111720402 ,111720403 ,111720404 ,111720405 ,111720406 ,111720407 ,111720408 ,111720409 ,111720410 ,111720411 ,111720501 ,111720502 ,111720503 ,111720504 ,111720505 ,111720506 ,111720507 ,111720508 ,111730101 ,111730102 ,111730103 ,111730104 ,111730105 ,111730106 ,111730107 ,111730108 ,111730109 ,111730110 ,111730111 ,111730201 ,111730202 ,111730203 ,111730204 ,111730205 ,111730206 ,111730207 ,111730208 ,111730209 ,111730210 ,111730211 ,111730301 ,111730302 ,111730303 ,111730304 ,111730305 ,111730306 ,111730307 ,111730308 ,111730309 ,111730310 ,111730311 ,111730401 ,111730402 ,111730403 ,111730404 ,111730405 ,111730406 ,111730407 ,111730408 ,111730409 ,111730410 ,111730411 ,111730501 ,111730502 ,111730503 ,111730504 ,111730505 ,111730506 ,111730507 ,111730508 ,112710101 ,112710102 ,112710103 ,112710104 ,112710105 ,112710106 ,112710107 ,112710108 ,112710109 ,112710110 ,112710111 ,112710201 ,112710202 ,112710203 ,112710204 ,112710205 ,112710206 ,112710207 ,112710208 ,112710209 ,112710210 ,112710211 ,112710301 ,112710302 ,112710303 ,112710304 ,112710305 ,112710306 ,112710307 ,112710308 ,112710309 ,112710310 ,112710311 ,112710401 ,112710402 ,112710403 ,112710404 ,112710405 ,112710406 ,112710407 ,112710408 ,112710409 ,112710410 ,112710411 ,112710501 ,112710502 ,112710503 ,112710504 ,112710505 ,112710506 ,112710507 ,112710508 ,112720101 ,112720102 ,112720103 ,112720104 ,112720105 ,112720106 ,112720107 ,112720108 ,112720109 ,112720110 ,112720111 ,112720201 ,112720202 ,112720203 ,112720204 ,112720205 ,112720206 ,112720207 ,112720208 ,112720209 ,112720210 ,112720211 ,112720301 ,112720302 ,112720303 ,112720304 ,112720305 ,112720306 ,112720307 ,112720308 ,112720309 ,112720310 ,112720311 ,112720401 ,112720402 ,112720403 ,112720404 ,112720405 ,112720406 ,112720407 ,112720408 ,112720409 ,112720410 ,112720411 ,112720501 ,112720502 ,112720503 ,112720504 ,112720505 ,112720506 ,112720507 ,112720508 ,112730101 ,112730102 ,112730103 ,112730104 ,112730105 ,112730106 ,112730107 ,112730108 ,112730109 ,112730110 ,112730111 ,112730201 ,112730202 ,112730203 ,112730204 ,112730205 ,112730206 ,112730207 ,112730208 ,112730209 ,112730210 ,112730211 ,112730301 ,112730302 ,112730303 ,112730304 ,112730305 ,112730306 ,112730307 ,112730308 ,112730309 ,112730310 ,112730311 ,112730401 ,112730402 ,112730403 ,112730404 ,112730405 ,112730406 ,112730407 ,112730408 ,112730409 ,112730410 ,112730411 ,112730501 ,112730502 ,112730503 ,112730504 ,112730505 ,112730506 ,112730507 ,112730508 ,113710101 ,113710102 ,113710103 ,113710104 ,113710105 ,113710106 ,113710107 ,113710108 ,113710109 ,113710110 ,113710111 ,113710201 ,113710202 ,113710203 ,113710204 ,113710205 ,113710206 ,113710207 ,113710208 ,113710209 ,113710210 ,113710211 ,113710301 ,113710302 ,113710303 ,113710304 ,113710305 ,113710306 ,113710307 ,113710308 ,113710309 ,113710310 ,113710311 ,113710401 ,113710402 ,113710403 ,113710404 ,113710405 ,113710406 ,113710407 ,113710408 ,113710409 ,113710410 ,113710411 ,113710501 ,113710502 ,113710503 ,113710504 ,113710505 ,113710506 ,113710507 ,113710508 ,113720101 ,113720102 ,113720103 ,113720104 ,113720105 ,113720106 ,113720107 ,113720108 ,113720109 ,113720110 ,113720111 ,113720201 ,113720202 ,113720203 ,113720204 ,113720205 ,113720206 ,113720207 ,113720208 ,113720209 ,113720210 ,113720211 ,113720301 ,113720302 ,113720303 ,113720304 ,113720305 ,113720306 ,113720307 ,113720308 ,113720309 ,113720310 ,113720311 ,113720401 ,113720402 ,113720403 ,113720404 ,113720405 ,113720406 ,113720407 ,113720408 ,113720409 ,113720410 ,113720411 ,113720501 ,113720502 ,113720503 ,113720504 ,113720505 ,113720506 ,113720507 ,113720508 ,113730101 ,113730102 ,113730103 ,113730104 ,113730105 ,113730106 ,113730107 ,113730108 ,113730109 ,113730110 ,113730111 ,113730201 ,113730202 ,113730203 ,113730204 ,113730205 ,113730206 ,113730207 ,113730208 ,113730209 ,113730210 ,113730211 ,113730301 ,113730302 ,113730303 ,113730304 ,113730305 ,113730306 ,113730307 ,113730308 ,113730309 ,113730310 ,113730311 ,113730401 ,113730402 ,113730403 ,113730404 ,113730405 ,113730406 ,113730407 ,113730408 ,113730409 ,113730410 ,113730411 ,113730501 ,113730502 ,113730503 ,113730504 ,113730505 ,113730506 ,113730507 ,113730508 ,601100283}
		else
			return_array = {101701 ,101702 ,101703 ,101705 ,101721 ,101722 ,101723 ,101724 ,102701 ,102702 ,102703 ,102705 ,102721 ,102722 ,102723 ,102724 ,103701 ,103702 ,103703 ,103705 ,103721 ,103722 ,103723 ,103724 ,104701 ,104702 ,104703 ,104705 ,104721 ,104722 ,104723 ,104724 ,105701 ,105702 ,105703 ,105705 ,105721 ,105722 ,105723 ,105724 ,106701 ,106702 ,106703 ,106705 ,106721 ,106722 ,106723 ,106724 ,107701 ,107702 ,107703 ,107705 ,107721 ,107722 ,107723 ,107724 ,108701 ,108702 ,108703 ,108705 ,108721 ,108722 ,108723 ,108724 ,109701 ,109702 ,109703 ,109705 ,109721 ,109722 ,109723 ,109724 ,110701 ,110702 ,110703 ,110705 ,110721 ,110722 ,110723 ,110724 ,111701 ,111702 ,111703 ,111706 ,111721 ,111722 ,111723 ,111724 ,111725 ,112701 ,112702 ,112703 ,112705 ,112721 ,112722 ,112723 ,112724}
		end
						
	end
	
end

if selector == 2 then
	
	if rank == 2 then
	
		if dura_type == 1 then
			return_array = { }
		else
			return_array = { }
	end
	
end

return return_array

end

end
Wasen't there one in your epic 5(9.1) relese?
アルカード is offline  
Old   #6296
 
elite*gold: 0
Join Date: Jun 2009
Posts: 95
Received Thanks: 8
Hi i want to know, how to log ingame commands from the Permission 100(GM´s).
Darkblader11 is offline  
Old   #6297
 
elite*gold: 0
Join Date: Nov 2011
Posts: 980
Received Thanks: 1,007
Quote:
Originally Posted by Älucard View Post
Wasen't there one in your epic 5(9.1) relese?
Thats right, but it only had handled non dura items from rank 2 to rank 7


In the Final Script below, i added an example, how to handle stackable items, too.

(Its to big to be made in 1 Post, so i add the *.lua File.)
Attached Files
File Type: rar auto_selling.rar (18.6 KB, 31 views)
TheOnlyOneRaskim is offline  
Thanks
5 Users
Old   #6298
 
elite*gold: 0
Join Date: Oct 2012
Posts: 124
Received Thanks: 12
I remember that I have seen a command to use a resource folder but with a different name like "Resource_servername".I don't remember where I saw that, but I didn't try it so I am not sure if it is real or not.
MrStubborn is offline  
Old   #6299
 
elite*gold: 0
Join Date: Sep 2013
Posts: 28
Received Thanks: 0
Hello,
I have found an old event-dungeon, filled with rabbit-looking mobs, which drop easter eggs. Now I would like to use this area as a "new" dungeon. It's somehow instaced, so that characters of different levels teleport in different dungeons. How can I make the area non-instanced - it's not in the InstanceDungeonResource or InstanceDungeonTypeResource db. And the EventAreaResource table doesn't seem like handling any "events", more like events for mainquest spawns.
The dungeon is located somewhere between X: 200.000-210.000 Y:8.000-16.000. Warp to entrance is X:203585 Y:15182. The mobs in there have the IDs 21190169 to 21190330.
Rappler007 is offline  
Old   #6300
 
elite*gold: 65
Join Date: Sep 2015
Posts: 317
Received Thanks: 481
Quote:
Originally Posted by Rappler007 View Post
Hello,
I have found an old event-dungeon, filled with rabbit-looking mobs, which drop easter eggs. Now I would like to use this area as a "new" dungeon. It's somehow instaced, so that characters of different levels teleport in different dungeons. How can I make the area non-instanced - it's not in the InstanceDungeonResource or InstanceDungeonTypeResource db. And the EventAreaResource table doesn't seem like handling any "events", more like events for mainquest spawns.
The dungeon is located somewhere between X: 200.000-210.000 Y:8.000-16.000. Warp to entrance is X:203585 Y:15182. The mobs in there have the IDs 21190169 to 21190330.
Try if it works if you delete the entry in ChannelResource with id = 120000.


LamiaCore is offline  
Thanks
1 User
Reply

Tags
7.4, client, rappelz



« Previous Thread | Next Thread »

Similar Threads
[Helping Topic] 24/7 Helping Services!
stucked on anything while setuping your server? post your problem here and you will get answer as fast as possible better than spamming with posts...
31 Replies - EO PServer Hosting



All times are GMT +1. The time now is 04:01.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.