Bug #2130
Updated by CyberTech over 4 years ago
<p>Both methods are returning NULL - using while loop and never returns anything but NULL (while loop never completes)<br /> </p> <blockquote> <p>function main()<br /> {<br /> variable index:myorder OrderIndex<br /> Me:UpdateMyOrders<br /> while !${Me:GetMyOrders[OrderIndex]}<br /> {<br /> wait 10<br /> echo ${OrderIndex}<br /> }<br /> echo Found ${OrderIndex.Used} orders<br /> }</p> </blockquote> <p>and similar for GetMarketOrders</p> <pre data-darkreader-inline-color="" style="color: rgb(0, 0, 0); overflow-wrap: break-word; white-space: pre-wrap; --darkreader-inline-color:#e8e6e3;"> pre-wrap;"> function main() { variable index:marketorder OrderIndex EVE:FetchMarketOrders[34] while !${EVE:GetMarketOrders[OrderIndex, 34](exists)} { wait 10 echo ${OrderIndex} } echo Found ${OrderIndex.Used} orders }</pre> <p> </p>