Quote:
Originally Posted by ryuchetval
Oh well, I am using an 5165 source and not willing to change so I am just trying to make my ideas come to implementation in my own style. As long as it works it shouldn't be a problem since there are a lot of possible dynamic maps that can be made.
|
"As long as it works" usually isn't a methodology I encourage. With a server, your main goal is performance. If that means more planning and complicated code to achieve that, then so be it. Making additional files is unnecessary (unless your database is flat-file, then you will need to create additional files for saving house and furniture data). Regarding maps, all that is required is that you load the house map (so a copy exists for the player loading it). First, you'd load the save file for the house; then, if the player has a house, you would load the map and teleport the team to the house. Once every individual has left the house, the map is disposed of. Some map systems won't be able to handle this system efficiently, so you might have to replace it. You really need to know what you're doing though to do so.