Welcome aboard Visitor...

Daily Screenshot

Server Costs Target

Time running out!

54% 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
03/30/24 +1.9 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 » » Basic Scripting Discussion » » Nifty.
 Author Nifty.
Pope
Fleet Admiral

Joined: June 11, 2002
Posts: 2449
From: World of tomorrow
Posted: 2004-05-07 09:27   
I just stumbled upon this while on a different errand.. looks interesting for AI Design tho.

http://www.inf.puc-rio.br/~roberto/docs/corosblp.pdf
_________________


Patriarch
Cadet

Joined: November 26, 2003
Posts: 252
From: Germany
Posted: 2004-05-07 17:37   
you are right its really interesting,
hmm i think i go sleep and have a dream of this essay
_________________


  Goto the website of Patriarch
Chromix
Cadet

Joined: June 29, 2001
Posts: 3052
Posted: 2004-05-08 00:57   
Coroutines are an advanced topic,
you can solve about all problems you ecounter in DarkSpace scripts without the usage of coroutines. In some cases it leads to a better design when using coroutines though.
There is just one drawback, error handing using pcall. It just doesn't work that well with coroutines.
_________________


  Email Chromix
Pope
Fleet Admiral

Joined: June 11, 2002
Posts: 2449
From: World of tomorrow
Posted: 2004-05-08 09:06   
pcall seems to me like it should only be used in rare cases to probe for specific conditions, or as sort of a top level exception handler.
what i was thinking about the coroutines was that they might provide a way for ai agents to interoperate on an atomic operation level.

_________________


Antdizzle


Joined: February 07, 2003
Posts: 860
Posted: 2004-05-08 12:58   
i didn't read it since there wasn't any pictures
_________________


Pope
Fleet Admiral

Joined: June 11, 2002
Posts: 2449
From: World of tomorrow
Posted: 2004-05-08 13:02   
O<->O

^ there's your picture, granted, its a bit lacking in detail.
_________________


Page created in 0.010954 seconds.


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