Welcome aboard Visitor...

Daily Screenshot

Server Costs Target


9% of target met.

Latest Topics

- Anyone still playing from a decade ago or longer? »
- Game still active. NICE! »
- Password resett »
- Darkspace Idea/Opinion Submission Thread »
- Rank Bug maybe? »
- Next patch .... »
- Nobody will remember me...but. »
- 22 years...asking for help from one community to another »
- DS on Ubuntu? »
- Medal Breakpoints »

Development Blog

- Roadmap »
- Hello strangers, it’s been a while... »
- State of DarkSpace Development »
- Potential planetary interdictor changes! »
- The Silent Cartographer »

Combat Kills

Combat kills in last 24 hours:
No kills today... yet.

Upcoming Events

- Weekly DarkSpace
05/04/24 +1.2 Days

Search

Anniversaries

No anniversaries today.

Social Media

Why not join us on Discord for a chat, or follow us on Twitter or Facebook for more information and fan updates?

Network

DarkSpace
DarkSpace - Beta
Palestar

[FAQ
Forum Index » » Developer Feedback » » Extractor-AI mining algorithm
 Author Extractor-AI mining algorithm
NoBoDx
Grand Admiral

Joined: October 14, 2003
Posts: 784
From: Germany / NRW
Posted: 2010-07-11 08:30   
since AI now can mine planets, i have this algorithm for em:
(dont know, if the already act like this)

1 Check every planet, if its friendly
2 Sort planets by current resources (fewest first)
3 check first friendly planet, if "enemy detected" or "blockade" or "current resource=max ressource"
4 if any of the above is true, skip planet and check next one
5 fly there and start mining
6 wait till cargo is full or 1 minute
7 drop cargo
8 repeat

this way extractor would fill up the most emptiest planet first, but avoiding dangers like mining a planet, currently under enemy siege
[ This Message was edited by: NoBoDx on 2010-07-11 08:31 ]
_________________
The only good 'ooman is a dead 'ooman. An' da only fing better than a dead 'ooman'z a dyin' 'ooman who tell you where ter find 'is mates.

SpaceAdmiral
Grand Admiral

Joined: May 05, 2010
Posts: 1005
Posted: 2010-07-11 12:45   
should give priority to non full-res sy planets
_________________


Eledore Massis [R33]
Grand Admiral
Templar Knights


Joined: May 26, 2002
Posts: 2694
From: tsohlacoLocalhost
Posted: 2010-07-11 16:17   
I think the current Mining AI is.


1 were moving to another planet to trade our resources
2 we have the planet selected and are jumping.
3 are the mining beams in range ?
3.1 (YES) Activate mining beam
3.2 (No) goto 3
4 repeat.

When the transport jumps to a new planet or moves away the mining beams will run out of range or arc limitations and deactivate..
_________________
DS Discordion

Page created in 0.008910 seconds.


Copyright © 2000 - 2024 Palestar Inc. All rights reserved worldwide.
Terms of use - DarkSpace is a Registered Trademark of PALESTAR