Re: Modeling events that occur in a game world



But you would avoid constantly accessing the slow hard drive!

DB != disk. A good DB only goes to disk when RAM is not available.

Which DBs can you imbed completely in memory like this?


I did not suggest that
everything be hooked up to the DB. The general strategy and planning
would sort of be processed in the background, in an independent
process from the here-and-now game engine. The primary (visable)
process would generally take care of instinct-oriented behavior, but
strategy etc. would come from the DB-driven strategy engine. Even
though your enemy might be running for cover at the moment, he/she/it
should still be working on a counter-attack strategy.

I see what you're saying, and if you had a small footprint /
completely in-memory DB, this could work nicely. Still though, it
seems easier to me to just objects and strategy pattern. This would
be all in memory, and it would avoid the chore of hooking up to a
database. I would rather use objects that represent the problem
domain than table structures that represent a database. After all, my
ogre is implementing a strategy, not a table!

jordan



.



Relevant Pages

  • Re: Out of memory?
    ... Extensive disk testing needs to read / write to the disk and aren't ... Having so many database problems ... is read into memory but it can exceed the available memory. ... I suspect your AD got corrupt in a bad way (I recall your previous ...
    (microsoft.public.windows.server.sbs)
  • Re: Modeling events that occur in a game world
    ... A good DB only goes to disk when RAM is not available. ... Which DBs can you imbed completely in memory like this? ... In biz apps a database is usually available and assumed available. ...
    (comp.object)
  • Re: CLOS and databases
    ... J> all my data in a database. ... J> using a database (not directly allocating memory), ... The hard part would probably be defgeneric and defmethod. ... J> disk, until it exaust the entire system. ...
    (comp.lang.lisp)
  • Re: Out of memory?
    ... Diags are usually pretty good about memory and cpu test and the disk ... Having so many database problems ... I suspect your AD got corrupt in a bad way (I recall your previous ...
    (microsoft.public.windows.server.sbs)
  • Creating A DataSet Programmatically
    ... disk, that's actually quite a loaded question. ... DataSet in memory whenever you like, ... As for reading into a database, there are a number of ways ... access the data that it stores (presently it stores only ...
    (microsoft.public.dotnet.framework.aspnet)