|
You last visited: Today at 15:44
Advertisement
Quick sale
Discussion on Quick sale within the Rappelz Private Server forum part of the Rappelz category.
05/13/2018, 15:40
|
#1
|
elite*gold: 0
Join Date: May 2018
Posts: 18
Received Thanks: 7
|
Quick sale
hello I would like to install a fast-selling function but do not know how it works can one help me?
|
|
|
05/13/2018, 16:23
|
#2
|
elite*gold: 0
Join Date: Nov 2012
Posts: 947
Received Thanks: 258
|
it's a lua function you add to your npc (thats one of the ways).
here add this to your npc
PHP Code:
dlg_menu( "Fast Equip Selling", "fast_equip_selling()" )
and in any file or the same file put this code
PHP Code:
function fast_equip_selling() dlg_title( "CashShop Handler" ) dlg_text( "Oh right. You detected my Beta Selling Service.<br>Choose an Rank, of wich you want to sell your Items." ) for i = 1,7 do dlg_menu("Rank "..i,"fast_equip_selling_rank("..i..")") end dlg_menu("How does this work?","equip_selling_explanation()") dlg_menu( "Return", 'e5_custom_npc()' ) dlg_menu( "@90010002", '' ) dlg_show() end
function equip_selling_explanation() dlg_title( "CashShop Handler" ) dlg_text( "You cann sell your farmed stuff fast here. I will only sell Level 1 Equip wich you are not wearing. BUT BE PATIENT. If you want to keep some Stuff, DEPOSIT IT IN YOUR WAREHOUSE!" ) dlg_menu( "Return", 'fast_equip_selling()' ) dlg_menu( "@90010002", '' ) dlg_show() end
function fast_equip_selling_rank(rank) dlg_title( "CashShop Handler" ) dlg_text( "And what kind of Equip?" ) dlg_menu("Weapon","fast_equip_selling_rank_type("..rank..",0)") dlg_menu("Armor","fast_equip_selling_rank_type("..rank..",1)") if rank >= 2 then dlg_menu("Jewlery","fast_equip_selling_rank_type("..rank..",2)") end dlg_menu( "Return", 'fast_equip_selling()' ) dlg_menu( "@90010002", '' ) dlg_show() end
function fast_equip_selling_rank_type(rank,typ)
local array
if rank == 1 then if typ == 0 then array = {102101,103100,103101,103102,103103,104101,104102,104103,105101,105102,106100,106101,106102,107101,108101,109101,111101,111102,112100,112101,301101,301102,101102,101101,101100} elseif typ == 1 then array = {220100,220101,220102,220109,230100,230101,230102,230103,230109,240100,240101,240102,240109,250001,250002,250003,250004,250005,250006,250007,250008,250009,302101,302102,302103,302229,303101,303102,304101,304102,3000049,3000062,3000075,3000092,3000096} elseif typ == 2 then array = {} end elseif rank == 2 then if typ == 0 then 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,108203,108221,108222,109201,109221,110201,110202,110221,110222,111201,111202,111203,111221,111222,111223,112201,112221,301201,301202,2000021,2000022} elseif typ == 1 then array = {221201,305201,221202,221203,221204,222201,222202,222203,223201,223202,223203,223204,224201,224202,224203,224204,231201,231202,232201,232202,233201,233202,234201,234202,241201,241202,242201,243201,243202,244201,244202,302201,302205,302206,302207,302209,302211,303201,303202,303203,304201,304202,304203} elseif typ == 2 then array = {412100,412201,412202,422101,422102,422103,422104,422201,422202,422203,422204,422205,422206,422207,422208,422601,422602,422603,422604,432101,432102,432103,432104,432105,432106,432107,432108,432109,432110,432201,432202,432203,432204,432205,432206,432207,432208,432209,432210,432601,432602,432603,432604,432605,432606,432607,432608,432609,432610,432611} end elseif rank == 3 then if typ == 0 then 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,301301,301302,301303} elseif typ == 1 then array = {221301,305301,221302,222301,222302,223301,223302,224301,224302,231301,231302,232301,232302,233301,233302,234301,234302,241301,241302,242301,242302,243301,243302,244301,244302,261303,262303,263303,264303,302301,302302,302307,303301,303302,303303,303304,304301,304302,304303,304304} elseif typ == 2 then array = {413100,413201,413202,423101,423102,423103,423104,423201,423202,423203,423204,423205,423206,423207,423208,423601,423602,423603,423604,433101,433102,433103,433104,433105,433106,433107,433108,433109,433110,433201,433202,433203,433204,433205,433206,433207,433208,433209,433210,433601,433602,433603,433604,433605,433606,433607,433608,433609,433610} end elseif rank == 4 then if typ == 0 then array = {101401,101402,101403,101404,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,301401,301402} elseif typ == 1 then array = {221401,305401,222401,223401,224401,231401,232401,233401,234401,241401,242401,243401,244401,261402,262402,263402,264402,302401,302402,302407,303401,303402,303403,304401,304402,304403} elseif typ == 2 then array = {414100,414201,414202,424101,424102,424103,424104,424201,424202,424203,424204,424205,424206,424207,424208,424601,424602,424603,424604,434101,434102,434103,434104,434105,434106,434107,434108,434109,434110,434201,434202,434203,434204,434205,434206,434207,434208,434209,434210,434601,434602,434603,434604,434605,434606,434607,434608,434609,434610} end elseif rank == 5 then if typ == 0 then 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,301501,301502,301503} elseif typ == 1 then array = {221501,302501,305501,222501,223501,224501,231501,232501,233501,234501,261501,261502,262501,262502,263501,263502,264501,264502,302502,303501,304501} elseif typ == 2 then array = {415100,415101,415102,425001,425002,425003,425004,425201,425202,425203,425204,425205,425206,425207,425208,435001,435002,435003,435004,435005,435006,435007} end elseif rank == 6 then if typ == 0 then 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,301601,301602,301603} elseif typ == 1 then array = {221601,305601,222601,223601,224601,231601,232601,233601,234601,261601,262601,263601,264601,274727,302601,303601,304601} elseif typ == 2 then array = {416100,416101,416102,426001,426002,426003,426004,426201,426202,426203,426204,426205,426206,426207,426208,436001,436002,436003,436004,436005,436006,436007} end elseif rank == 7 then if typ == 0 then array = {101701,101702,101703,101705,101721,101722,101723,101724,3100008,102701,102702,102703,102705,102721,102722,102723,102724,3100001,103701,103702,103703,103705,103721,103722,103723,103724,3100009,104701,104702,104703,104705,104721,104722,104723,104724,3100002,105701,105702,105703,105705,105721,105722,105723,105724,3100003,106701,106702,106703,106705,106721,106722,106723,106724,3100010,107701,107702,107703,107705,107721,107722,107723,107724,3100004,108701,108702,108703,108705,108721,108722,108723,108724,3100005,109701,109702,109703,109705,109721,109722,109723,109724,3100006,110701,110702,110703,110705,110721,110722,110723,110724,3100011,111701,111702,111703,111706,111721,111722,111723,111724,111725,3100007,112701,112702,112703,112705,112721,112722,112723,112724,3100012,301702,301703,301704,301705,301706,301707,301708,301709,301710,3100013,3100014} elseif typ == 1 then array = {261701,305701,305702,305703,262701,263701,264701,271701,271702,271703,271704,272701,272702,272703,272704,273701,273702,273703,273704,274701,274702,274703,274704,302749,302750,302751,302752,303701,303702,303703,303704,304701,304702,304703,304704,313701,313702,313703,313704,313705,313706,313707,313708,313726,314701,314702,314703,314704,314705,314706,314707,314708,314727} elseif typ == 2 then array = {417100,417101,417102,417201,427001,427002,427003,427004,427201,427202,427203,427204,427205,427206,427207,427208,427209,427210,427301,437001,437002,437003,437004,437005,437006,437007,437103,437104,437109,437110,437201,437202,3100016,3100017,3100018,3100019} end end local found = false for i = 1, table.getn(array) do if find_item(array[i]) >= 1 then found = true selling_test(array[i]) end end if found == true then fast_equip_selling_rank(rank) end
end
function selling_test(id)
if find_item(id) >= 1 then 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
end
the function has been made by many devs but this one in particular taken from @  files.
becareful it can sell your pet equipped weapons (not sure).
but it will defenantly sell anything that is lvl 1 ^^.
|
|
|
05/13/2018, 16:38
|
#3
|
elite*gold: 0
Join Date: May 2018
Posts: 18
Received Thanks: 7
|
I thank you
|
|
|
05/13/2018, 16:49
|
#4
|
elite*gold: 0
Join Date: Nov 2012
Posts: 947
Received Thanks: 258
|
Quote:
Originally Posted by Pyroxia
I thank you
|
You are welcome.
|
|
|
07/23/2018, 11:43
|
#5
|
elite*gold: 0
Join Date: Jun 2014
Posts: 88
Received Thanks: 12
|
Quote:
Originally Posted by thefear511
it's a lua function you add to your npc (thats one of the ways).
here add this to your npc
PHP Code:
dlg_menu( "Fast Equip Selling", "fast_equip_selling()" )
and in any file or the same file put this code
PHP Code:
function fast_equip_selling()
dlg_title( "CashShop Handler" )
dlg_text( "Oh right. You detected my Beta Selling Service.<br>Choose an Rank, of wich you want to sell your Items." )
for i = 1,7 do
dlg_menu("Rank "..i,"fast_equip_selling_rank("..i..")")
end
dlg_menu("How does this work?","equip_selling_explanation()")
dlg_menu( "Return", 'e5_custom_npc()' )
dlg_menu( "@90010002", '' )
dlg_show()
end
function equip_selling_explanation()
dlg_title( "CashShop Handler" )
dlg_text( "You cann sell your farmed stuff fast here. I will only sell Level 1 Equip wich you are not wearing. BUT BE PATIENT. If you want to keep some Stuff, DEPOSIT IT IN YOUR WAREHOUSE!" )
dlg_menu( "Return", 'fast_equip_selling()' )
dlg_menu( "@90010002", '' )
dlg_show()
end
function fast_equip_selling_rank(rank)
dlg_title( "CashShop Handler" )
dlg_text( "And what kind of Equip?" )
dlg_menu("Weapon","fast_equip_selling_rank_type("..rank..",0)")
dlg_menu("Armor","fast_equip_selling_rank_type("..rank..",1)")
if rank >= 2 then
dlg_menu("Jewlery","fast_equip_selling_rank_type("..rank..",2)")
end
dlg_menu( "Return", 'fast_equip_selling()' )
dlg_menu( "@90010002", '' )
dlg_show()
end
function fast_equip_selling_rank_type(rank,typ)
local array
if rank == 1 then
if typ == 0 then
array = {102101,103100,103101,103102,103103,104101,104102,104103,105101,105102,106100,106101,106102,107101,108101,109101,111101,111102,112100,112101,301101,301102,101102,101101,101100}
elseif typ == 1 then
array = {220100,220101,220102,220109,230100,230101,230102,230103,230109,240100,240101,240102,240109,250001,250002,250003,250004,250005,250006,250007,250008,250009,302101,302102,302103,302229,303101,303102,304101,304102,3000049,3000062,3000075,3000092,3000096}
elseif typ == 2 then
array = {}
end
elseif rank == 2 then
if typ == 0 then
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,108203,108221,108222,109201,109221,110201,110202,110221,110222,111201,111202,111203,111221,111222,111223,112201,112221,301201,301202,2000021,2000022}
elseif typ == 1 then
array = {221201,305201,221202,221203,221204,222201,222202,222203,223201,223202,223203,223204,224201,224202,224203,224204,231201,231202,232201,232202,233201,233202,234201,234202,241201,241202,242201,243201,243202,244201,244202,302201,302205,302206,302207,302209,302211,303201,303202,303203,304201,304202,304203}
elseif typ == 2 then
array = {412100,412201,412202,422101,422102,422103,422104,422201,422202,422203,422204,422205,422206,422207,422208,422601,422602,422603,422604,432101,432102,432103,432104,432105,432106,432107,432108,432109,432110,432201,432202,432203,432204,432205,432206,432207,432208,432209,432210,432601,432602,432603,432604,432605,432606,432607,432608,432609,432610,432611}
end
elseif rank == 3 then
if typ == 0 then
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,301301,301302,301303}
elseif typ == 1 then
array = {221301,305301,221302,222301,222302,223301,223302,224301,224302,231301,231302,232301,232302,233301,233302,234301,234302,241301,241302,242301,242302,243301,243302,244301,244302,261303,262303,263303,264303,302301,302302,302307,303301,303302,303303,303304,304301,304302,304303,304304}
elseif typ == 2 then
array = {413100,413201,413202,423101,423102,423103,423104,423201,423202,423203,423204,423205,423206,423207,423208,423601,423602,423603,423604,433101,433102,433103,433104,433105,433106,433107,433108,433109,433110,433201,433202,433203,433204,433205,433206,433207,433208,433209,433210,433601,433602,433603,433604,433605,433606,433607,433608,433609,433610}
end
elseif rank == 4 then
if typ == 0 then
array = {101401,101402,101403,101404,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,301401,301402}
elseif typ == 1 then
array = {221401,305401,222401,223401,224401,231401,232401,233401,234401,241401,242401,243401,244401,261402,262402,263402,264402,302401,302402,302407,303401,303402,303403,304401,304402,304403}
elseif typ == 2 then
array = {414100,414201,414202,424101,424102,424103,424104,424201,424202,424203,424204,424205,424206,424207,424208,424601,424602,424603,424604,434101,434102,434103,434104,434105,434106,434107,434108,434109,434110,434201,434202,434203,434204,434205,434206,434207,434208,434209,434210,434601,434602,434603,434604,434605,434606,434607,434608,434609,434610}
end
elseif rank == 5 then
if typ == 0 then
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,301501,301502,301503}
elseif typ == 1 then
array = {221501,302501,305501,222501,223501,224501,231501,232501,233501,234501,261501,261502,262501,262502,263501,263502,264501,264502,302502,303501,304501}
elseif typ == 2 then
array = {415100,415101,415102,425001,425002,425003,425004,425201,425202,425203,425204,425205,425206,425207,425208,435001,435002,435003,435004,435005,435006,435007}
end
elseif rank == 6 then
if typ == 0 then
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,301601,301602,301603}
elseif typ == 1 then
array = {221601,305601,222601,223601,224601,231601,232601,233601,234601,261601,262601,263601,264601,274727,302601,303601,304601}
elseif typ == 2 then
array = {416100,416101,416102,426001,426002,426003,426004,426201,426202,426203,426204,426205,426206,426207,426208,436001,436002,436003,436004,436005,436006,436007}
end
elseif rank == 7 then
if typ == 0 then
array = {101701,101702,101703,101705,101721,101722,101723,101724,3100008,102701,102702,102703,102705,102721,102722,102723,102724,3100001,103701,103702,103703,103705,103721,103722,103723,103724,3100009,104701,104702,104703,104705,104721,104722,104723,104724,3100002,105701,105702,105703,105705,105721,105722,105723,105724,3100003,106701,106702,106703,106705,106721,106722,106723,106724,3100010,107701,107702,107703,107705,107721,107722,107723,107724,3100004,108701,108702,108703,108705,108721,108722,108723,108724,3100005,109701,109702,109703,109705,109721,109722,109723,109724,3100006,110701,110702,110703,110705,110721,110722,110723,110724,3100011,111701,111702,111703,111706,111721,111722,111723,111724,111725,3100007,112701,112702,112703,112705,112721,112722,112723,112724,3100012,301702,301703,301704,301705,301706,301707,301708,301709,301710,3100013,3100014}
elseif typ == 1 then
array = {261701,305701,305702,305703,262701,263701,264701,271701,271702,271703,271704,272701,272702,272703,272704,273701,273702,273703,273704,274701,274702,274703,274704,302749,302750,302751,302752,303701,303702,303703,303704,304701,304702,304703,304704,313701,313702,313703,313704,313705,313706,313707,313708,313726,314701,314702,314703,314704,314705,314706,314707,314708,314727}
elseif typ == 2 then
array = {417100,417101,417102,417201,427001,427002,427003,427004,427201,427202,427203,427204,427205,427206,427207,427208,427209,427210,427301,437001,437002,437003,437004,437005,437006,437007,437103,437104,437109,437110,437201,437202,3100016,3100017,3100018,3100019}
end
end
local found = false
for i = 1, table.getn(array) do
if find_item(array[i]) >= 1 then
found = true
selling_test(array[i])
end
end
if found == true then
fast_equip_selling_rank(rank)
end
end
function selling_test(id)
if find_item(id) >= 1 then
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
end
the function has been made by many devs but this one in particular taken from @  files.
becareful it can sell your pet equipped weapons (not sure).
but it will defenantly sell anything that is lvl 1 ^^.
|
Thank's i'll Check it and see if there any way to sell pet's and remove it xD
|
|
|
07/23/2018, 20:39
|
#6
|
elite*gold: 0
Join Date: May 2011
Posts: 5,086
Received Thanks: 3,472
|
Code:
fuck_rappelz = { 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, 261701, 262701, 263701, 264701, 271701, 271702, 271703,
271704, 271721, 271722, 271723, 272701, 272702, 272703, 272704, 272721, 272722, 272723, 273701, 273702,
273703, 273704, 273721, 273722, 273723, 274701, 274702, 274703, 274704, 274721, 274722, 274723, 301702,
301703, 301704, 301705, 301706, 301707, 301708, 301709, 301710, 302701, 302705, 302709, 302713, 302717,
302721, 302725, 302729, 302733, 302737, 302741, 302745, 302749, 302750, 302751, 302752, 303701, 303702,
303703, 303704, 303705, 303706, 303707, 303708, 303721, 303722, 303723, 303724, 304701, 304702, 304703,
304704, 304721, 304722, 304723, 304724, 305701, 305702, 305703, 305704, 305705, 305706, 305707, 305708,
305709, 305710, 305711, 305712, 305713, 305714, 305715, 305716, 305717, 305718, 305721, 305722, 305723,
305724, 305725, 305726, 305727, 305728, 305729, 305730, 305731, 305732, 305733, 305734, 305735, 305736,
305737, 305738, 305740, 305741, 305742, 305743, 305744, 305745, 306701, 313701, 313702, 313703, 313704,
313705, 313706, 313707, 313708, 313721, 313722, 313723, 313724, 313725, 313726, 313727, 313728, 314701,
314702, 314703, 314704, 314705, 314706, 314707, 314708, 314709, 314710, 314711, 314712, 314721, 314722,
314723, 314724, 314725, 314726, 314727, 314728, 322701, 322702, 322703, 322704, 323701, 323702, 323703,
323704, 324701, 324702, 324703, 324704, 417100, 417101, 417102, 417201, 427001, 427002, 427003, 427004,
427301, 437001, 437002, 437003, 437004, 437005, 437006, 437007, 437201, 437202, 690007, 690107, 690207,
700112, 700156, 700157, 700212, 700256, 700257, 700312, 700507, 700607, 700657, 700707, 700757 }
function sell_non_dura()
local handle = 0
local vigor_list_count = table.getn( fuck_rappelz )
for i=1, vigor_list_count do
handle = get_item_handle_list( fuck_rappelz[i] )
if handle ~= 0 then
for y=1, table.getn( handle ) do
if is_erasable_item( handle[y] ) == 1 then
price = get_item_price(handle[y]) / 4
insert_gold( price )
delete_item(handle[y], 1)
end
end
end
end
end
This one was taken from the  I released on my site.
You won't be able to sell your pets with this one, it's completely secure to use. Just put the ItemIDs in the list with the totally not-sarcastic variable name and you're good to go.
You can call it like this:
Code:
dlg_menu( "<#FF0000>Sell R7 Non-Dura equipment", "sell_non_dura()")
|
|
|
07/24/2018, 10:15
|
#7
|
elite*gold: 0
Join Date: Jul 2017
Posts: 18
Received Thanks: 0
|
Is it possible to make a quick sale for etheral +0 R2-R7 items, but only armor, gloves, boots, helmets, weapons, shields and maybe R2-R6 rings, earrings, necklace? By R7 etheral items I mean all ancient, excile and lost souls set items only and only those without any enchantments (+0 and lvl1). I don't have my own server, just wonder if it can be done.
|
|
|
07/24/2018, 10:24
|
#8
|
elite*gold: 50
Join Date: Mar 2012
Posts: 1,036
Received Thanks: 428
|
Quote:
Originally Posted by Newbster1
Is it possible to make a quick sale for etheral +0 R2-R7 items, but only armor, gloves, boots, helmets, weapons, shields and maybe R2-R6 rings, earrings, necklace? By R7 etheral items I mean all ancient, excile and lost souls set items only and only those without any enchantments (+0 and lvl1). I don't have my own server, just wonder if it can be done.
|
Why u would make that script since those items are worthless at npc
|
|
|
07/24/2018, 11:55
|
#9
|
elite*gold: 0
Join Date: Sep 2015
Posts: 603
Received Thanks: 1,201
|
Quote:
Originally Posted by Newbster1
Is it possible to make a quick sale for etheral +0 R2-R7 items, but only armor, gloves, boots, helmets, weapons, shields and maybe R2-R6 rings, earrings, necklace? By R7 etheral items I mean all ancient, excile and lost souls set items only and only those without any enchantments (+0 and lvl1). I don't have my own server, just wonder if it can be done.
|
Yes, of course.
I've written a selfmade-script which contains the choice of all 3 soulstone-types,
non-dura-Equip, D1 Equip, D2, Equip, D3 Equip and masterclass-Equipment, separated in their bonuses.
All options separated + one "All in one"-option.
If you want to try its working, just go check on Arcane, they use it ^^
I've packed that in one function, but you can also use the function @  posted, copy it and fill in the ethereal-Item-ids instead of the non-dura items.
So to repeat myself: Yes, it is possible.
|
|
|
07/24/2018, 12:19
|
#10
|
elite*gold: 0
Join Date: Jul 2017
Posts: 18
Received Thanks: 0
|
Quote:
Originally Posted by アルカード
Why u would make that script since those items are worthless at npc
|
I play on a private server with a 10.000.000 bag and have farmed over 7% of my weight which is 750000+ weight. Now a lot of my items are etheral "left overs" after selling none etheral ones (R3-R7). It takes arround 1-2 minutes to load my game because of that. I know they are worthless, but selling them one by one would be a major Pain in the Ass... That's why I ask...
Quote:
Originally Posted by InkDevil
Yes, of course.
I've written a selfmade-script which contains the choice of all 3 soulstone-types,
non-dura-Equip, D1 Equip, D2, Equip, D3 Equip and masterclass-Equipment, separated in their bonuses.
All options separated + one "All in one"-option.
If you want to try its working, just go check on Arcane, they use it ^^
I've packed that in one function, but you can also use the function @  posted, copy it and fill in the ethereal-Item-ids instead of the non-dura items.
So to repeat myself: Yes, it is possible.
|
Maybe I'll check your private server later. Right now there's still an event going on the server I play and I want to get as much items from it as possible. Too bad the GM of this server is MiA and only responds to skype even though the servers website has a forum which is ignored by him, which really bugs me, cause I don't use skype -.-
|
|
|
07/24/2018, 12:42
|
#11
|
elite*gold: 0
Join Date: Sep 2015
Posts: 603
Received Thanks: 1,201
|
Quote:
Originally Posted by Newbster1
I play on a private server with a 10.000.000 bag and have farmed over 7% of my weight which is 750000+ weight. Now a lot of my items are etheral "left overs" after selling none etheral ones (R3-R7). It takes arround 1-2 minutes to load my game because of that. I know they are worthless, but selling them one by one would be a major Pain in the ***... That's why I ask...
Maybe I'll check your private server later. Right now there's still an event going on the server I play and I want to get as much items from it as possible. Too bad the GM of this server is MiA and only responds to skype even though the servers website has a forum which is ignored by him, which really bugs me, cause I don't use skype -.-
|
It's not my server, it's the server of @  .
I just worked a "bit" there
|
|
|
07/24/2018, 14:46
|
#12
|
elite*gold: 0
Join Date: Nov 2012
Posts: 947
Received Thanks: 258
|
Quote:
Originally Posted by Newbster1
Is it possible to make a quick sale for etheral +0 R2-R7 items, but only armor, gloves, boots, helmets, weapons, shields and maybe R2-R6 rings, earrings, necklace? By R7 etheral items I mean all ancient, excile and lost souls set items only and only those without any enchantments (+0 and lvl1). I don't have my own server, just wonder if it can be done.
|
you simply need to add the item id to the list.
|
|
|
06/18/2019, 12:52
|
#13
|
elite*gold: 0
Join Date: Jun 2014
Posts: 1
Received Thanks: 0
|
Hello all ; ) i need somme help just for selling items type (red potions, consumables drop etc....) in a lua script. *i paste my fonction after my message *
just work one by one item so i need to sell "how many i have in my inventory" in one fonction. If you can help me, thanks.
i use this:
potionseclats = { 602001, 602002, 602003, 602004, 602005, 602006, 602007, 602008, 602101, 602102,
602106, 602201, 602202, 602203, 602204, 602205, 602206, 602207, 602208, 602301,
602302, 602303, 602304, 602305, 602306, 602401, 602402, 602403, 602501, 602502,
602503, 602504, 602505, 602105, 602103, 602104, 602506 }
function venteautopotionseteclats()
local handle = 0
local vigor_list_count = table.getn( potionseclats )
for i=1, vigor_list_count do
handle = get_item_handle_list( potionseclats[i] )
if handle ~= 0 then
for y=1, table.getn( handle ) do
if is_erasable_item( handle[y] ) == 1 then
price = get_item_price(handle[y]) / 4
insert_gold( price )
delete_item(handle[y], 1)
end
end
end
end
end
|
|
|
 |
Similar Threads
|
[Selling] quick items for a quick sale !
08/30/2016 - Infestation Trading - 0 Replies
Skype: Andreas13337
Take all on the picture for 15$
http://i.imgur.com/zbU8GB9.png
|
SALE SALE SALE SALE
09/13/2014 - League of Legends Trading - 2 Replies
Hello everyone , First of all the original thread with all the tbm and feedback is
http://www.elitepvpers.com/forum/league-legends-t rading/3277007-2-0-referral-service-easyrefs-cheap -fast-effiecent-360-refs-per-day.html
Please do not ask for vouches , we will just ignore you .
EasyRefs.Net - Cheap And Fast League Referrals currently have 20% off on all the website products .
use "sale" promo code to get 20% off .
Current queue time is 4 days and raising every minute , orders coming...
|
SALE SALE SALE PSC to PAYPAL SALE SALE SALE
07/30/2014 - Trading - 0 Replies
Closed
|
SALE SALE SALE Psc To Paypal nur bis 23:00Uhr nur -15%!! SALE SALE SALE
07/29/2014 - Trading - 0 Replies
Clsed
|
[Selling] EUW gold 5 for sale cheap/quick sale
09/21/2013 - League of Legends Trading - 3 Replies
I am selling a Gold 5 EUW account, includes all champions and 34 skins( PFE & SGU, Eturnum nocturne, brolaf, Championship riven and lots of legecy and skins for a lot of champs) , 10 rune pages (support, ADC, AP, Jungle, and lots more) 10k IP, lots of Icons that are now unavailable.
Account
http://imgur.com/7MJUJKz,zyhe5xw,ANeAmai,BrPldSm# 0
All champion proof
http://imgur.com/7MJUJKz,zyhe5xw,ANeAmai,BrPldSm# 1
Some not all of icons (have harrowing PFE and championship riven
|
All times are GMT +1. The time now is 15:45.
|
|