Keep rooms, FTP file changes?

Login to reply  Page: « < 1 of 1 > »
28 May 2010 - 03:182630
Keep rooms, FTP file changes?
I am working on building rooms and objects in the MUD (TBA code). If I make changes to the actual code (say, changing classes or races) how do I make sure not to mess with what I have built in the game (rooms, mobs, objs etc)?

Is there a separate file for rooms and suchlike built inside the game itself?


28 May 2010 - 04:232631
All the World files are in the lib/world directory. Changing races/classes will not affect these files so you have nothing to worry about. Only when you change room/mob/obj/trig/etc. formats will you need to update how the World files are saved or read.


__________________
Rumble
The Builder Academy
tbamud.com 9091
28 May 2010 - 04:502632
So as long as I do not mess with lib/world, I won't hurt any of the changes I have made in-mud?


28 May 2010 - 10:562640
Correct. As a safety measure though, you should do backups regularly. Another good idea is using something like SVN or GIT to track changes. If you do break something, it's easier to revert back to an older version that worked. There's a bit of a learning curve getting used to version trackers, if you don't want to go that route, a simple backup is sufficent :).



Last edited by Axanon (28 May 2010 - 10:59)
Login to reply  Page: « < 1 of 1 > »