Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Converting maps..
#1
Is it possible to convert the client side maps to work with the server?
Reply
#2
Of course, theres already a sub in MS that does bascially that.
Reply
#3
Well, how to I use that sub?

I was mapping on my game, and for some reason, about 15 maps just, were no longer there. But I have them client side.

So I need to convert them to work with the server, so I don't have to redo them.
Reply
#4
If your Clients MapRec and your Servers MapRec is EXACLY the same, then its just copy paste. Else make a big loop ^^
Reply
#5
I tried that before, it didn't work..

[EDIT] I have something server side, that's not client side.

So how do I go about converting the maps?
Reply
#6
Um.. I dunno what you mean by that Dave. Lol.
Reply
#7
I have a map converter app... i'm going home tomorrow because the semester is over for me, but try to catch me on GTalk tomorrow night.

Basically what dave is saying is that you take the old UDT... for instance

Data1
Data2
Data3

And you put that into the "OldMapRec" UDT, and then you put all of your current stuff into the MapRec UDT (both of these are in the converter)... e.g.,

Data1
Data2
Data3
Data4



Then, you would just simply do this

Map(i).Data1 = OldMap(i).Data1
Map(i).Data2 = OldMap(i).Data2
Map(i).Data3 = OldMap(i).Data3
Map(i).Data4 = 0

4 would be zero, because it wouldn't have gotten a value from the previous maprec, because data4 never existed. but yeah, just get in touch with me tomorrow and i can send it your way.
Reply
#8
I posted a working source code that did exacly that. I'l try to find it here... Just a min. Oooh, yes, yes. I have it here. I'll upload it, just one more minute... Ok, here it is, Just reuploaded it to the net: MapConverter
Reply
#9
Well, it turns out that my maps are fine. The reason they disappeared, is because Sonire's computer went into hibernation, and for some reason, I couldn't get the maps or something. But he logged into the server when he got home, and all my maps are still there. However, I will keep a copy of your map converter for future issues, DM. Thanks everyone.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)