Project

General

Profile

Bug #2130

Updated by CyberTech over 4 years ago

<p>Both methods are returning NULL - using while loop and never returns anything but NULL&nbsp; (while loop never completes)<br /> 
 &nbsp;</p> 

 <blockquote> 
 <p>function main()<br /> 
 {<br /> 
 &nbsp; &nbsp; variable index:myorder OrderIndex<br /> 
 &nbsp; &nbsp; Me:UpdateMyOrders<br /> 
 &nbsp; &nbsp; while !${Me:GetMyOrders[OrderIndex]}<br /> 
 &nbsp; &nbsp; {<br /> 
 &nbsp; &nbsp; &nbsp; &nbsp; wait 10<br /> 
 &nbsp; &nbsp; &nbsp; &nbsp; echo ${OrderIndex}<br /> 
 &nbsp; &nbsp; }<br /> 
 &nbsp; &nbsp; 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() 
 { 
 &nbsp; &nbsp; variable index:marketorder OrderIndex 
 &nbsp; &nbsp; EVE:FetchMarketOrders[34] 
 &nbsp; &nbsp; while !${EVE:GetMarketOrders[OrderIndex, 34](exists)} 
 &nbsp; &nbsp; { 
 &nbsp; &nbsp; &nbsp; &nbsp; wait 10 
 &nbsp; &nbsp; &nbsp; &nbsp; echo ${OrderIndex} 
 &nbsp; &nbsp; } 
 &nbsp; &nbsp; echo Found ${OrderIndex.Used} orders 
 }</pre> 

 <p>&nbsp;</p> 

Back