[phpBB Debug] PHP Warning: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
AI Challenge Forums • View topic - I've a timeout problem!

It is currently Mon Jan 21, 2019 4:18 am Advanced search

I've a timeout problem!

Share and discuss ideas for your entries here.

I've a timeout problem!

Postby markitos » Fri Nov 26, 2010 12:32 am

Posts: 1
Joined: Wed Nov 24, 2010 3:22 am

Re: I've a timeout problem!

Postby dimkadimon » Fri Nov 26, 2010 3:49 am

The code does not look slow to me. Perhaps it is crashing when helper_id is still -1 after the second for loop. This happens when no suitable helper planet is found, in which case you should not call IssueOrder().
Posts: 263
Joined: Wed Oct 06, 2010 11:34 pm
Location: Adelaide, Australia

Return to Strategy

Who is online

Users browsing this forum: No registered users and 2 guests