Java-Gaming.org Hi !
Featured games (81)
games approved by the League of Dukes
Games in Showcase (513)
Games in Android Showcase (119)
games submitted by our members
Games in WIP (576)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  disk-based mud  (Read 2202 times)
0 Members and 1 Guest are viewing this topic.
Offline MickeyB

Senior Duke




my game will work, my game will work!


« Posted 2004-01-13 22:09:40 »

opinions?  

I have coded 2 diferent systems, both ram based.  I have considered(just to do it, like climbing that mountain) building a disk-based version.  


MickeyB

Current Project: http://www22.brinkster.com/mbowles/
Online kevglass

JGO Kernel


Medals: 186
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #1 - Posted 2004-01-14 04:47:33 »

Could you be a bit more specific on what you mean?

A) At runtime the game is always synced to disk?
B) At runtime the game is in RAM, but then persisted to disk at certain key points?
C) Something else all together?

Kev

Offline Breakfast

Senior Duke




for great justice!


« Reply #2 - Posted 2004-01-14 08:16:04 »

Perhaps he is diversifying from a game where you play a male sheep to one where you play an inanimate circular object?  Grin
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #3 - Posted 2004-01-14 09:03:26 »

Quote
Could you be a bit more specific on what you mean?


Normally, IIRC, a disk-based MUD is one where you use HD + RAM instead of just RAM, thereby implementing your own memory-management system; this is a good opportunity to also implement semi-continuous synch to disk, so both your A and B often go hand in hand.

MUD's often have hundreds of thousands (sometimes millions) of mud-objects; the OS isn't anywhere near as intelligent at managing this as the MUD could be, and paging performance can be improved considerably. The last time I tried this, I found the same was still true of java (1.2.x I think) - that if you know a lot about the lifecycle of your "objects" (which may or may not be implemented on a 1-1 mapping with java objects) you can do a lot better virtual mem mgmt than OS + JVM would do for you automatically. Then again, some OS's (e.g. linux) can be incredibly bad at virtual mem mgmt even today, so this is not saying much!

malloc will be first against the wall when the revolution comes...
Offline MickeyB

Senior Duke




my game will work, my game will work!


« Reply #4 - Posted 2004-01-14 10:48:41 »

blahblah... is where I think I am trying to go.  I guess to rephrase my question...

What is a good, baseline for when an object should go back to disk and out of ram?  Obviously if there is noone near that room, the room and static objects(non-mobiles) in that room don't need to be in ram yet.


MickeyB

Current Project: http://www22.brinkster.com/mbowles/
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #5 - Posted 2004-01-14 11:29:54 »

Quote

What is a good, baseline for when an object should go back to disk and out of ram?  Obviously if there is noone near that room, the room and static objects(non-mobiles) in that room don't need to be in ram yet.


1. Go to kanga.nu
2. Subscribe to MUD-DEV mailing list
3. Post this question there
4. Await detailed feedback from lots of other MUD-developers. Although, if it's been asked before on the list, you should google for

"MUD-DEV" disk-based [etc]

although if someone on-list rmembers a thread on it, they'll probably provide links and possibly search-terms.

malloc will be first against the wall when the revolution comes...
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #6 - Posted 2004-01-14 11:30:15 »

Quote
Perhaps he is diversifying from a game where you play a male sheep to one where you play an inanimate circular object?  Grin



P.S. LOL

malloc will be first against the wall when the revolution comes...
Offline MickeyB

Senior Duke




my game will work, my game will work!


« Reply #7 - Posted 2004-01-14 15:56:22 »

thanks!

MickeyB

Current Project: http://www22.brinkster.com/mbowles/
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Longarmx (39 views)
2014-10-17 03:59:02

Norakomi (29 views)
2014-10-16 15:22:06

Norakomi (24 views)
2014-10-16 15:20:20

lcass (28 views)
2014-10-15 16:18:58

TehJavaDev (57 views)
2014-10-14 00:39:48

TehJavaDev (56 views)
2014-10-14 00:35:47

TehJavaDev (47 views)
2014-10-14 00:32:37

BurntPizza (64 views)
2014-10-11 23:24:42

BurntPizza (36 views)
2014-10-11 23:10:45

BurntPizza (78 views)
2014-10-11 22:30:10
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!