OpenMeridian / Meridian59

The MMORPG Meridian 59 - Server 103
openmeridian.org
Other
141 stars 74 forks source link

Prevent roomedit saving unused server move grids. #1368

Closed skittles1 closed 8 years ago

skittles1 commented 8 years ago

Server movement grids are now unused and comprise most of the .roo file size. It is unlikely they will be required again, so can be safely removed from the .roo files. The roomeditor can still output these if necessary in the future. Incremented roo version to 15.

Haven't opened and saved rooms due to potential conflicts with other pulls. Rooms with the server data removed require no server/client changes to open them.

skittles1 commented 8 years ago

Ogre client is still loading the grids, so this should wait until Shakrune is available to discuss it.

cyberjunk commented 8 years ago

I totally like the idea. The grids can be huge on some rooms and they are useless now. But we definitely must increment the ROO version for this. Parsers must be able to distinct whether the griddata is existant in the file they're currently loading or not. After incrementing the version for gridless files, it's not much more than adjusting the RooGrids.cs file in my implementation to skip loading according to version....

skittles1 commented 8 years ago

Re-opened, submitted grid loading changes to Ogre repo.