XiozZe / XioScript

XioScript
11 stars 16 forks source link

Avoid infinite loop #88

Closed Trebia closed 8 years ago

Trebia commented 8 years ago

I have noticed thaat the supply option might lead to an infite loop. Having 2 warehouses suppying the same product and allowing the script internal buy that might lead to the situation where one warehouse buys the other and viceversa, reaching to increasing demand and sales.

XiozZe commented 8 years ago

Due to a number of these bugs but also some game changing hacks (which I'm not going to give away), the automatic contract accumulation of the warehouse supply function will be abolished.