How does T3D determine terrain version?
by Netwyrm · in Torque 3D Professional · 07/08/2011 (11:09 am) · 1 replies
Let me preface this by saying it is most likely something stupid and obvious, but the problem crops up again and again for me.
I have a three-fork development setup--I have a dedicated server build, a client build, and an editor build used to edit and build out level maps as the others do not contain the editing toolsets. The process is supposed to work like this:
1) Work on the level in the editor, adjusting terrain and adding models.
2) Copy the contents of the level folder and the model folder from the editor to the matching folders in the client and server trees, by selecting all (ctl A) and pasting (ctl V).
3) A dialog comes up asking what to do with all the identical items which exist. I first confirm that I do want to merge the folders, then hit the checkbox in the next dialog which is labeled "Do this for all XXX items" and press "Copy and Replace".
It seems pretty simple--but it doesn't work. When the server is launched and the client logs in and starts loading, a dialog will popup. This morning, the particular message was "Terrain files do not match". I repeated this at least three times, to be certain I had hit "copy and replace" etc. I finally got it working by first completely deleting the contents of the destination levels folders, and then performing the paste step, at which point the client was able to successfully complete the login and get to the game level.
Am I doing something wrong? I am a longtime Mac user, and I have completely screwed up with Windows copy and paste before (Macs replace whole directories, Windows merges them), so I am most likely just being stupid, but I didn't think it would hurt to ask if there is something particular to the way the terrain files are matched on client and server that I was impacting by using copy and paste steps.
I don't think versioning should matter, but this is the AFX+USAISK for T3D 1.1 B3 codebase, and the operating system is Windows 7 Home 64.
I have a three-fork development setup--I have a dedicated server build, a client build, and an editor build used to edit and build out level maps as the others do not contain the editing toolsets. The process is supposed to work like this:
1) Work on the level in the editor, adjusting terrain and adding models.
2) Copy the contents of the level folder and the model folder from the editor to the matching folders in the client and server trees, by selecting all (ctl A) and pasting (ctl V).
3) A dialog comes up asking what to do with all the identical items which exist. I first confirm that I do want to merge the folders, then hit the checkbox in the next dialog which is labeled "Do this for all XXX items" and press "Copy and Replace".
It seems pretty simple--but it doesn't work. When the server is launched and the client logs in and starts loading, a dialog will popup. This morning, the particular message was "Terrain files do not match". I repeated this at least three times, to be certain I had hit "copy and replace" etc. I finally got it working by first completely deleting the contents of the destination levels folders, and then performing the paste step, at which point the client was able to successfully complete the login and get to the game level.
Am I doing something wrong? I am a longtime Mac user, and I have completely screwed up with Windows copy and paste before (Macs replace whole directories, Windows merges them), so I am most likely just being stupid, but I didn't think it would hurt to ask if there is something particular to the way the terrain files are matched on client and server that I was impacting by using copy and paste steps.
I don't think versioning should matter, but this is the AFX+USAISK for T3D 1.1 B3 codebase, and the operating system is Windows 7 Home 64.
About the author
My adventures in T3D are chronicled at http://www.worldofantra.com. Please be aware the subject is sword-and-sorcery, and the occasional bloody or bare body part may be in scope.
Torque Owner Netwyrm
Canopic Games
Hi ho.
Although much of what I read about the issue suggested several programs which restore XP behavior, somehow that just seemed to make it even worse.
Solution: Always delete content of destination folders before pasting.
Now, it's Friday evening, which means I have two days to Torque... onwards and upwards!