I checked that also just incase but nodda. I could have sworn I had a backup that had this stored proc but I checked every db backup I've got on my backup drive
on a side note im currently trying to make an auto sell vendor only have one item listed for testing but im not getting any errors in any logs or anything it thinks that its "working" but it dont remove the item nor update the ruppees. and i will be releasing this auto sell script after its all sorted out.
function get_module_name()
return "auto_sell"
end
function auto_sell()
dlg_title("AutoSell Npc")
dlg_text("Currently in testing")
dlg_menu("Sell Rank 1 items", "NPC_Auto_Sell_R1()")
dlg_menu( "<#FF0000>End", "" )
dlg_show()
end
function NPC_Auto_Sell_R1()
dlg_title( "AutoSell Npc" )
dlg_text( "In Testing" )
dlg_menu( "test", "Sell_R1()" )
dlg_show()
end
function Sell_R1()
local gold = get_value( "gold" )
if ID == 111701 then
remove_item(111701,1)
set_value( "gold", gold + 80811000)
update_gold_chaos()
end
end