15-07-2008, 05:28 PM
DFA Wrote:Data path consistencyFileExist() function, imo, should already add the app.path.
I'm really unsatisfied with the way we are doing our data paths in MSE...
For example, server-side LoadShops contains
FileName = App.Path & "\Data\shops\shop" & i & ".dat"
and CheckShops has
FileExist("\Data\shops\shop" & i & ".dat")
its a minor inconsistency that can be found all over the source..what do you guys think?
we need data paths
example..
GamePath = App.Path
MapPath = GamePath & "/maps/"
========================================
Dave, i added that in for MSE2.32
thanks again everyone
All paths used on the game should be relative.