So, I'm using a mix of Zilal Tutortial #3 - Muds, and AbyssDragon parser. So I'm trying to develop a few in game commands to edit/create/delete rooms offline without adding any new code. Maybe save it and load it within a text file.
I just need some help getting started, can someone help me?
ID:160074
![]() Nov 22 2008, 11:01 am
|
|
![]() Nov 27 2008, 10:40 am
|
|
Bump, need help or can someone guide me somewhere..
|
Lundex wrote:
So, I'm using a mix of Zilal Tutortial #3 - Muds, and AbyssDragon parser. So I'm trying to develop a few in game commands to edit/create/delete rooms offline without adding any new code. Maybe save it and load it within a text file. Its a bit hard to help without knowing how your rooms are set up. In order for this to occur, you need to have some sort of system for saving and loading content. What you need then, is: 1) Use either the existing savefile format, MySQL DB (See my SimpleMySQL lib), XML (See Deadrons XML library) or your own format for storing information on stuff you create. I'd probably go with savefiles unless you have a reason not to. 2) A system to create rooms and assign their properties 3) A system to save rooms when the world shuts down and load them when the world starts up |