How to refresh the quantity of an item in stock? (market_refine_)
I tried @reloadscript @reloadbarterdb and even restarted the server, it didn't work.
The stock stays the same like the last time I purchased the item
//=Ore Exchanger
//============================================================
- marketshop market_refine_prt_in -1,1010:-1:999999,1011:-1:999999
- marketshop market_refine_payon -1,1010:-1:999999,1011:-1:999999
- marketshop market_refine_morocc_in -1,1010:-1:999999,1011:-1:999999
- marketshop market_refine_alberta_in -1,1010:-1:999999,1011:-1:999999
- marketshop market_refine_yuno_in01 -1,1010:-1:999999,1011:-1:999999
- marketshop market_refine_ein_in01 -1,1010:-1:999999,1011:-1:999999
- marketshop market_refine_lhz_in02 -1,1010:-1:999999,1011:-1:999999
prt_in,63,69,3 script Dietrich#ns_prt 4_M_02,{
mes "[" + strnpcinfo(1) + "]";
mes "We sell and exchange various ores used in smelting.";
next;
switch( select( "View basic smelting ores", "View advanced smelting ores", "Cancel" ) ) {
case 1:
mes "[" + strnpcinfo(1) + "]";
mes "Phracon and Emveretarcon are available for use in smelting low-level weapons.";
close2;
callshop "market_refine_" + strnpcinfo(4);
end;
case 2:
mes "[" + strnpcinfo(1) + "]";
mes "We are purifying Elunium Stone and Oridecon Stone, or exchanging Coins.";
close2;
callshop "barter_refine_1";
end;
case 3:
mes "[" + strnpcinfo(1) + "]";
mes "If you lack the materials used for smelting, come anytime.";
close;
}
end;
OnInit:
setunittitle getnpcid(0), "<OreRefiner>";
end;
}
Question
jamesandrew
How to refresh the quantity of an item in stock? (market_refine_)
I tried @reloadscript @reloadbarterdb and even restarted the server, it didn't work.
The stock stays the same like the last time I purchased the item
I'm using the latest git and pre renewal.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.