February 2003
- Announcing Game Programming Gems 4 Andrew Kirmse
- Secondary characters as a mechanic Brian Hook
- Secondary characters as a mechanic Caliban Tiresias Darklock
- Secondary characters as a mechanic Daniel.Harman@barclayscapital.com
- Secondary characters as a mechanic Paul Schwanz
- Secondary characters as a mechanic Sasha Hart
- Secondary characters as a mechanic Brian Hook
- Secondary characters as a mechanic Koster, Raph
- Secondary characters as a mechanic adam
- Secondary characters as a mechanic Ted L. Chen
- Secondary characters as a mechanic Brian Hook
- Secondary characters as a mechanic Rayzam
- Secondary characters as a mechanic Sasha Hart
- Secondary characters as a mechanic Michael Tresca
- Secondary characters as a mechanic Serafina Pechan
- Secondary characters as a mechanic Damion Schubert
- Secondary characters as a mechanic Sasha Hart
- Secondary characters as a mechanic Daniel.Harman@barclayscapital.com
- Secondary characters as a mechanic John Buehler
- Secondary characters as a mechanic Edward Glowacki
- Secondary characters as a mechanic Brian Hook
- Secondary characters as a mechanic Wes Connell
- Secondary characters as a mechanic Harrok
- Secondary characters as a mechanic Brian Hook
- Secondary characters as a mechanic Richard Aihoshi aka Jonric
- Secondary characters as a mechanic Brian Hook
- Secondary characters as a mechanic Sasha Hart
- Secondary characters as a mechanic Daniel.Harman@barclayscapital.com
- Secondary characters as a mechanic Adam
- Secondary characters as a mechanic Russ Whiteman
- Secondary characters as a mechanic Valerio Santinelli
- Secondary characters as a mechanic Adam Burr
- Secondary characters as a mechanic Valerio Santinelli
- Secondary characters as a mechanic Adam Burr
- Limited character lifespans Dan Shiovitz
- Limited character lifespans Richard Krush
- Limited character lifespans Hans-Henrik Staerfeldt
- Limited character lifespans Peter "Pietro" Rossmann
- Limited character lifespans shren
- Limited character lifespans Paul Cobb
- Limited character lifespans Rayzam
- Limited character lifespans Sasha Hart
- Limited character lifespans Paul Schwanz
- Limited character lifespans Damion Schubert
- Limited character lifespans David H. Loeser Jr.
- How to Find a VC Michael Tresca
- How to Find a VC Koster, Raph
- How to Find a VC Amanda Walker
- How to Find a VC Marc Fielding
- Re:Secondary characters as a mechanic Thiago Moraes
- AP Wire story on activism in MMOG games Marc Fielding
- MMORPG, buildings, is it bad to be just props? Chris
- MMORPG, buildings, is it bad to be just props? Paul Schwanz
- MMORPG, buildings, is it bad to be just props? Dave Rickey
- MMORPG, buildings, is it bad to be just props? John Buehler
- MMORPG, buildings, is it bad to be just props? Damion Schubert
- MMORPG, buildings, is it bad to be just props? John Buehler
- MMORPG, buildings, is it bad to be just props? ceo
- MMORPG, buildings, is it bad to be just props? Marian Griffith
- MMORPG, buildings, is it bad to be just props? Dave Rickey
- MMORPG, buildings, is it bad to be just props? Lee Sheldon
- MMORPG, buildings, is it bad to be just props? J C Lawrence
- MMORPG, buildings, is it bad to be just props? Paul Schwanz
- MMORPG, buildings, is it bad to be just props? J C Lawrence
- MMORPG, buildings, is it bad to be just props? Lee Sheldon
- MMORPG, buildings, is it bad to be just props? J C Lawrence
- MMORPG, buildings, is it bad to be just props? Ron Gabbard
- MMORPG, buildings, is it bad to be just props? Damion Schubert
- MMORPG, buildings, is it bad to be just props? Paul Schwanz
- MMORPG, buildings, is it bad to be just props? Zach Collins {Siege}
- MMORPG, buildings, is it bad to be just props? Amanda Walker
- MMORPG, buildings, is it bad to be just props? Amanda Walker
- MMORPG, buildings, is it bad to be just props? J C Lawrence
- MMORPG, buildings, is it bad to be just props? Chris Holko
- MMORPG, buildings, is it bad to be just props? Dave Rickey
- MMORPG, buildings, is it bad to be just props? Koster, Raph
- Predictive models for churn in subscription based games Scott A. Farley
- Predictive models for churn in subscription based games Damion Schubert
- Mud Servers on RedHat Linux 7.2 Coyote
- Protecting the Player's Suspension of Disbelief Ron Gabbard
- Protecting the Player's Suspension of Disbelief Sasha Hart
- Protecting the Player's Suspension of Disbelief Paul Schwanz
- Protecting the Player's Suspension of Disbelief Caliban Tiresias Darklock
- Protecting the Player's Suspension of Disbelief Damion Schubert
- Protecting the Player's Suspension of Disbelief Ron Gabbard
- Protecting the Player's Suspension of Disbelief Marc Fielding
- Protecting the Player's Suspension of Disbelief Serafina Pechan
- Asian markets research question Dr. Cat
- MUD-Dev conference J C Lawrence
- MUD-Dev conference J C Lawrence
- Re:Secondary characters as a mechanic Thiago Moraes
- Re:Secondary characters as a mechanic Sasha Hart
- Gaming 'is good for you' Daniel.Harman@barclayscapital.com
- Gaming 'is good for you' Daniel
- Skill vs Knowledge (was: Brand Loyalty) ceo
- Skill vs Knowledge (was: Brand Loyalty) Caliban Tiresias Darklock
- FW: Cultural impact on Muds (was: Star Wars Galaxies) Damion Schubert
- Cultural impact on Muds Matt Mihaly
- Justification for audit trails in guilds? Rudy Fink
- Justification for audit trails in guilds? Damion Schubert
- Justification for audit trails in guilds? Matt Mihaly
- Justification for audit trails in guilds? Marc Fielding
- Justification for audit trails in guilds? Matt Mihaly
- Justification for audit trails in guilds? eric
- Justification for audit trails in guilds? J C Lawrence
- Justification for audit trails in guilds? Matt Mihaly
- Justification for audit trails in guilds? eric
- Justification for audit trails in guilds? Matt Mihaly
- Justification for audit trails in guilds? Zach Collins {Siege}
- Justification for audit trails in guilds? eric
- Justification for audit trails in guilds? Matt Mihaly
- Justification for audit trails in guilds? Steven J. Owens
- Justification for audit trails in guilds? chrep@hotmail.com
- New issue of the Daedalus Project Koster, Raph
- New issue of the Daedalus Project Ola Fosheim Grøstad
- Movie-Making Games (Was Spam: Star Wars Galaxies: 1 character per server) Damion Schubert
- Movie-Making Games (Was Spam: Star Wars Galaxies: 1 character per server) Damion Schubert
- Threading and Queues (What Fun) Ben Chambers
- Threading and Queues (What Fun) Sean Miller
This is my first post to this mailing list--in fact, my very first
to any mailing list whatsoever--so I hope I'm doing this correctly.
<EdNote: Attribution added.>
On Sun, 16 Feb 2003 01:29:33 -0500
Ben Chambers <bjchamb@bellsouth.net> wrote:
> I was considering just looping but I feel that it could
> potentially introduce lag into the system.
Traditional asynchronous I/O need not introduce any lag into a
well-designed system. Calls to select() with well-managed fd_sets
can do what you what quite easily and efficiently. The Windows
Sockets library does support asynchronous I/O with FD_SETs, of
course, but it will require you to heavily utilize preprocessor
magic to generate portable source. So perhaps threading is the most
portable solution after all, as can assume that POSIX-threads
libraries will exist on nearly all modern platforms.
> I'm considering a system that uses two or three threads and has
> MySQL as a database.
This would, of course, introduce quite a bit of overhead. Queries to
databases will never be as quick as calling the member functions of,
say, your game objects. Threading would introduce synchronization
complexities--and let's not forget the context switching. Some
people may be eager to propose fork()ing, but that's even less
portable (you'd be constrained to *nixes), so I'd think you'd be
better off either threading or select()ing.
If you wish to be able to stuff your game data into a database,
merely design your MUD so that you can dump everything into, say,
CSV format. Then you can import it directly into any spreadsheet,
database, or whatever. Except MS Access, which has a lot of catching
up to do in the DBMS world.
Also, don't take this as a flame or insult, but perhaps you ought to
look into PostgreSQL. Unlike MySQL, Postgre fully supports
subselects and transactions and other incredibly useful
features--and it's free, too.
> Each space has a pointer to the head of two linked lists, delayed
> actions (for timed actions) and immediate actions.
Timed actions such as spellcasting? I'm sure you can imagine a
finite number of timed actions that will take place in your MUD;
therefore, you ought to hard-code them with appropriate status
flags, if possible. If you design your game well, it will be trivial
to add new timed actions via simple modifications to your code-base.
> Has anyone used threads like this before?
Yes, I have done exactly this, once before. I implemented a MUD
wherein I maintained a pair of queues--one for input and one for
output--which contained the incoming and outgoing messages,
respectively. One thread was spun off to block on accept(); another
was spun off to check for messages in the outgoing queue and send()
them, if any. Whenever the accept-thread received a new connection,
it spun off a thread to handle user input from the new connection
which would stuff each command from the player into the incoming
queue. The main thread handled parsing the commands, executing them,
shoving the results into the outgoing queue, updating the game world
every tick, etc..
As you can already imagine, this was not a particularly efficient
approach to asynchronous I/O. Using that design, you would have 2 +
n extra threads running at any given time, where n = the number of
player connections. Sure, modern processors can switch context
millions (billions?) of time per second, but that still constitutes
significant overhead.
Unless you're planning on running this on a 486 DX2 66MHz or
something like that, I don't think you need to be as concerned with
performance as you seem to be.
Regards,
Sean Miller - Threading and Queues (What Fun) szii@sziisoft.com
- Threading and Queues (What Fun) lynx@lynx.purrsia.com
- Threading and Queues (What Fun) Sean Miller
- A new game paradigm (was: Star Wars Galaxies) Marian Griffith
- A new game paradigm (was: Star Wars Galaxies) Scott Miller - Intelligent Life Games
- A new game paradigm (was: Star Wars Galaxies) Caliban Tiresias Darklock
- A new game paradigm (was: Star Wars Galaxies) Thomas Tomiczek
- A new game paradigm (was: Star Wars Galaxies) J C Lawrence
- A new game paradigm (was: Star Wars Galaxies) Scott Miller - Intelligent Life Games
- A new game paradigm (was: Star Wars Galaxies) Travis Casey
- A new game paradigm (was: Star Wars Galaxies) Caliban Tiresias Darklock
- MMORPG/MMOG Server design Weston Fryatt
- MMORPG/MMOG Server design Edward Glowacki
- MMORPG/MMOG Server design J C Lawrence
- MMORPG/MMOG Server design Edward Glowacki
- MMORPG/MMOG Server design J C Lawrence
- MMORPG/MMOG Server design Thomas Tomiczek
- MMORPG/MMOG Server design J C Lawrence
- MMORPG/MMOG Server design Bruce Mitchener
- MMORPG/MMOG Server design Thomas Tomiczek
- MMORPG/MMOG Server design Daniel.Harman@barclayscapital.com
- MMORPG/MMOG Server design J C Lawrence
- MMORPG/MMOG Server design ceo
- MMORPG/MMOG Server design Damion Schubert
- MMORPG/MMOG Server design Jeremy Noetzelman
- MMORPG/MMOG Server design Weston Fryatt
- MMORPG/MMOG Server design Jeremy Noetzelman
- MMORPG/MMOG Server design Weston Fryatt
- MMORPG/MMOG Server design J C Lawrence
- MMORPG/MMOG Server design Weston Fryatt
- MMORPG/MMOG Server design J C Lawrence
- MMORPG/MMOG Server design Damion Schubert
- MMORPG/MMOG Server design Derek Licciardi
- MMORPG/MMOG Server design J C Lawrence
- MMORPG/MMOG Server design ceo
- MMORPG/MMOG Server design J C Lawrence
- MMORPG/MMOG Server design Caliban Tiresias Darklock
- MMORPG/MMOG Server design Sean Kelly
- MMORPG/MMOG Server design John Buehler
- MMORPG/MMOG Server design Sean Kelly
- MMORPG/MMOG Server design Thomas Tomiczek
- MMORPG/MMOG Server design Keith Brewer
- MMORPG/MMOG Server design J C Lawrence
- MMORPG/MMOG Server design Mike Shaver
- MMORPG/MMOG Server design Keith Brewer
- MMORPG/MMOG Server design Crosbie Fitch
- MMORPG/MMOG Server design Mike Shaver
- MMORPG/MMOG Server design lynx@lynx.purrsia.com
- MMORPG/MMOG Server design Ted L. Chen
- Movie-Making Games (Was Spam: Star Wars Scott Jennings
- Movie-Making Games (Was Spam: Star Wars ceo
- Multithreading: AI, Sockets, Brains, Bodies, and Storage Brian Lindahl
- Multithreading: AI, Sockets, Brains, Bodies, and Storage J C Lawrence
- Multithreading: AI, Sockets, Brains, Bodies, and Storage J C Lawrence
- Multithreading: AI, Sockets, Brains, Bodies, and Storage Caliban Tiresias Darklock
- Perl - SOAP/XML - Slow? Tom Sullivan
- Perl - SOAP/XML - Slow? J C Lawrence
- Perl - SOAP/XML - Slow? Tom Sullivan
- Perl - SOAP/XML - Slow? J C Lawrence
- Perl - SOAP/XML - Slow? Mark Cheverton
- Perl - SOAP/XML - Slow? Daniel.Harman@barclayscapital.com
- Perl - SOAP/XML - Slow? Stephane Boisjoli
- Perl - SOAP/XML - Slow? Caliban Tiresias Darklock
- Hourly usage Peter Tyson
- Hourly usage lynx@lynx.purrsia.com
- Hourly usage Michael Tresca
- In this corner.representing SCS.The Tyrant! F. Randall Farmer
- MMORPG/MMOG P2P design Crosbie Fitch
- MMORPG/MMOG P2P design Mike Shaver
- MMORPG/MMOG P2P design Crosbie Fitch
- MMORPG/MMOG P2P design Felix A. Croes
- MMORPG/MMOG P2P design Crosbie Fitch
- MMORPG/MMOG P2P design Travis Nixon
- MMORPG/MMOG P2P design Crosbie Fitch
- MMORPG/MMOG P2P design Felix A. Croes
- MMORPG/MMOG P2P design Crosbie Fitch
- MMORPG/MMOG P2P design Felix A. Croes
- MMORPG/MMOG P2P design Crosbie Fitch
- MMORPG/MMOG P2P design Felix A. Croes
- MMORPG/MMOG P2P design Crosbie Fitch
- MMORPG/MMOG P2P design Amanda Walker
- MMORPG/MMOG P2P design Ted L. Chen
- MMORPG/MMOG P2P design Ben Hoyt
- MMORPG/MMOG P2P design Derek Licciardi
- MMORPG/MMOG P2P design Crosbie Fitch
- MMORPG/MMOG P2P design Ben Hoyt
- MMORPG/MMOG P2P design Felix A. Croes
- MMORPG/MMOG P2P design Crosbie Fitch
- MMORPG/MMOG P2P design Caliban Tiresias Darklock
- MMORPG/MMOG P2P design Ben Hoyt
- MMORPG/MMOG P2P design Ben Hoyt
- MMORPG/MMOG P2P design lynx@lynx.purrsia.com
- MMORPG/MMOG P2P design Crosbie Fitch
- MMORPG/MMOG P2P design lynx@lynx.purrsia.com
- MMORPG/MMOG P2P design Crosbie Fitch
- MMORPG/MMOG P2P design lynx@lynx.purrsia.com
- MMORPG/MMOG P2P design Crosbie Fitch
- MMORPG/MMOG P2P design lynx@lynx.purrsia.com
- MMORPG/MMOG P2P design Crosbie Fitch
- workload simulation (was: MMORPG/MMOG Server design) Mike Shaver
- MMORPG/MMOG Server design - intel-ligent choices of hardware ; ) ceo
- workload simulation (was: MMORPG/MMOG Server design) ceo
- Team management Peter Harkins
- Team management Tom Sullivan
- Team management Sanvean
- Team management Michael Tresca
- Virtual worlds meet LARPs Richard A. Bartle
- Virtual worlds meet LARPs Mark Cheverton
- Virtual worlds meet LARPs Richard A. Bartle
- Virtual worlds meet LARPs Lee Sheldon
- Skotos Kicks Off Associate Program Shannon Appelcline
- Infrastructure kat-Zygfryd