Jump to content

Coordinates change after reloading


Dirk Krebs

Recommended Posts

Yesterday I startet a new game with low world height (128). I built a simple house directly a the world spawn, with a campfire in the middle of the house on coordinates 0/57/0. When I loaded the game today the fire (and my house) where at 59/57/-15. They didn't move to another place, just the coordinates changed - what was 0/57/0 the day before now was 59/57/-15. I tried to restart the game 5 more times and everytime the coordinates changed as if the whole world moved.First I thougt it could depend on one of my new installed mods, but it still happened after deactivating all mods.

Maybe it depends on my setup, cause this doesn't happen in my other games. I play with these options:vint.thumb.jpg.cb32523ed02704925e9ca3f1d28e4dc4.jpg

Link to comment
Share on other sites

  • 3 months later...

I have experienced this same exact problem in my game. I have never found a way to fix it. It makes doing anything related to coordinates useless as whatever it is just breaks the next time you log into the game. Here are the details of the two instances that made me realize this was happening. And just like Dirk Krebs above, only the coordinates are changing, not the actual location of any of the things in the world. Also, I am not using any mods.

My Prospecting Grid Broke

I had planned to set up a prospecting grid with the help of the Coordinate Overlay where I would prospect every 50 blocks and waypoint the results on the world map. I performed 8 prospects in a rectangular area near my base. At that point, they were all exactly at the intersection of block combinations that were multiples of 50, so -400, 400; -450, 400; -500, 400 and so forth. I then had to exit the game. When I came back later, all of the coordinates for my prospecting grid had changed to such an extent that it had completely messed the thing up. I believe the change was somewhere in the range of 20 blocks in one direction and nearly 50 in another. I honestly don't remember exactly. Every single time I've logged into the game since I set up my grid, I have checked to see if the coordinates might have fixed themselves so I could continue as intended, but they never have. I have found a work around using the .debug wireframe chunk command to bring up the chunk border and use that to position my prospects for the time being as that doesn't move every log in, unlike the coordinate grid. However, I would like to position them every 50 blocks as I had originally intended and can't now because every time I log in it will mess up where I am placing things.

My /tp Commands Break

I have several /tp macro commands set up to travel easier between the parts of my base. Every time I log out and log back in again, these commands have to be reentered as they never stay the same. I can put the /tp command for right next to my bed when I log in and it works fine until I log out and back in again. The /tp command then will take me to a different place nearby, usually within about a hundred or so blocks of the actual spot I have set. This can sometimes mean it teleports me into a wall or into the air and I drop (from the same Y coordinate but I drop due to there being a lower area nearby). The Y coordinate seems to stay the same, but the X and Z coordinates can change randomly in every possible direction: east and west, north or south. I've appeared in all sorts of different positions around my base, I never know where it will be. It is quite annoying to have to reset these values every single play session in order to be able to use it reliably.

Edited by Robert Johnson
Link to comment
Share on other sites

Sounds like a very strange bug.  There's two coordinate systems in the game.   There's the "absolute" coordinate system, which is the real one.  those coordinates go up into the hundreds of thousands.    Then there's the one you normally see under the minimap, which is relative to your spawn point.   Normally this problem happens when people move the server spawn point (not your personal one, but the server one where new players arrive).   Everyone's coords get messed up when that happens.  But your case is different than that somehow.   I would be interesting to know if your world spawn also changes by the same amount, randomly.  Or even your personal spawn point when just you die.   The 'global' one would be hard to check in single player, if you've already set your personal spawn elsewhere.     I might also suggest a fresh install of the game, just in case.

Link to comment
Share on other sites

10 hours ago, redram said:

Sounds like a very strange bug.  There's two coordinate systems in the game.   There's the "absolute" coordinate system, which is the real one.  those coordinates go up into the hundreds of thousands.    Then there's the one you normally see under the minimap, which is relative to your spawn point. 

Umm, I don't think the coordinates under the minimap are relative to my spawn. What do you mean when you say 'relative'? Do you mean they are supposed to show 0 X and 0 Z when I am right over where I used the temporal gear? If that's how they are supposed to be then they are not like that. As far as I can tell, the coordinates from the coordinate overlay ARE the absolute coordinates you speak of. They are what I have been using the entire time. Initially in my world, I spawned at 0 X and 0 Z, right at the exact center of the world. When I would die up until I used my first (and only) temporal gear, it would respawn me right at that EXACT spot. Though I never checked what the coordinates were each time it happened, it was the exact same SPOT, whatever the coordinates might have been.

So as I travel away from the world center, they go either up or down in the positive or negative direction depending on where I go. For instance, my base is in the southwest quadrant of the world around -600, 600. And the coordinates keep getting larger into the X negatives if I go west or larger into the Z positives if I go south. Those are the coordinates that show under the minimap.

10 hours ago, redram said:

Normally this problem happens when people move the server spawn point (not your personal one, but the server one where new players arrive).   Everyone's coords get messed up when that happens. 

Yeah, I haven't ever done that, so I doubt it's that. I don't even know how to do that.

10 hours ago, redram said:

But your case is different than that somehow.   I would be interesting to know if your world spawn also changes by the same amount, randomly.  Or even your personal spawn point when just you die.   

Like I said above, when I first started the world, I spawned at 0 X and 0 Z. And up until I used that first temporal gear I would always, without fail, spawn right back there on that exact spot every single time (though as I said, I never looked at the coordinates as I assumed they wouldn't ever change like this). It was so reliable, I actually put a little straw hut with a bed nearby so I could have a place to huddle in and hide if it happened at night. So the game at least never moved the world respawn point up until I didn't use it anymore and had my personal one set.

And as far as my personal spawn, I can confirm that, no, when I die I return exactly to where I used my last temporal gear. It has never changed. So it doesn't affect when the game respawns you itself, but it sure the heck does in the other two instances I mentioned above, with trying to create the grid and when /tp-ing.

I didn't start trying to do the prospecting grid or make the /tp macros until after I had already used a temporal gear so that is when I started noticing this issue. I have nothing beforehand to compare it to, unfortunately.

10 hours ago, redram said:

I might also suggest a fresh install of the game, just in case.

So, what would I have to take out of the install folder to ensure the game doesn't erase my world if I were to reinstall? Is there anything else that I would need to make sure I grabbed, too? Like my character file? Or does the game keep all that stuff and just reinstalls the game program files? I've already put almost 100 hours into this world and don't want to have to start over.

Also, does this mean the world file itself is broken and can never get the coordinates to go back to the way they are supposed to be? That would suck.

Edited by Robert Johnson
Link to comment
Share on other sites

20 hours ago, Robert Johnson said:

Umm, I don't think the coordinates under the minimap are relative to my spawn. What do you mean when you say 'relative'?

When you spawn into the world, you are at 'actual' coordinates of about 500k, 500k.  But nobody wants to look at that many zeros all the time, so you get 'fake' coords for world spawn of 0,0.  So that you don't have to read such huge numbers.  World spawn is what everyone's coords under the minimap are relative to.  In the beginning the world spawn is also your personal spawn, so they're the same thing at that point.  Eventually, if you reset your spawn with a temporal gear, that becomes your personal spawn.  However if another player were to join, their spawn would be the world spawn point, not your personal spawn point.  0,0 is always the world spawn.  And in most cases the world spawn will be about 500k,500k, in the 'real' coordinate system, which you never seen except in the cntrl-F3 menu.

21 hours ago, Robert Johnson said:

So, what would I have to take out of the install folder to ensure the game doesn't erase my world if I were to reinstall?

iirc, you can leave the vintagestorydata folder and it's content untouched.   I believe it's the plain Vintagestory folder that has to go.  But I think if you use the normal uninstall function (assuming you're on windows), it will automatically leave whatever is unnecessary to delete.  Or give you a prompt.  I think most games work that way.

21 hours ago, Robert Johnson said:

Also, does this mean the world file itself is broken and can never get the coordinates to go back to the way they are supposed to be? That would suck.

I do not know.  I'm not a coder.  I'm trying to give some simplistic advice and a possible thing to try, but if that doesn't work I have not idea if there's any way to fix it.  You'd have to ask Tyron at that point.

Link to comment
Share on other sites

27 minutes ago, redram said:

When you spawn into the world, you are at 'actual' coordinates of about 500k, 500k.  But nobody wants to look at that many zeros all the time, so you get 'fake' coords for world spawn of 0,0.  So that you don't have to read such huge numbers.  World spawn is what everyone's coords under the minimap are relative to.  In the beginning the world spawn is also your personal spawn, so they're the same thing at that point.  Eventually, if you reset your spawn with a temporal gear, that becomes your personal spawn.  However if another player were to join, their spawn would be the world spawn point, not your personal spawn point.  0,0 is always the world spawn.  And in most cases the world spawn will be about 500k,500k, in the 'real' coordinate system, which you never seen except in the cntrl-F3 menu.

Huh, I never thought about it that way. If your world is 1M x 1M blocks, if one were to spawn at the center of that plot of land (assuming that's how it worked), then one would indeed spawn at 500K in both directions. I just assumed coordinates started counting from the center outward, so that when we would get to the edge of a 1M x 1M world it would be 500K on all sides, but apparently these 'absolute' coordinates start from one of the sides or corners. Relative coordinates would say 500K at the edge, but I wasn't aware that there was another set hidden from us that was different. Thanks for clearing that up.

But that still doesn't explain why they would change once I've used a gear, or why they randomly change every time I log out and back in again. Would reinstalling the game really fix something like that? I guess I'll try it and cross my fingers. I'll back everything up just in case it decides to wipe stuff you or I weren't expecting. I'll recheck once I have done so to see if the problem is fixed and if not I'll definitely post here again with an update. Thanks, I'll keep in touch.

Edited by Robert Johnson
Link to comment
Share on other sites

Ya like I said, it's a weird bug.  Mods are my go-to-blame thing normally for weird bugs but since you're not using them, I'm at a loss there.   There's been some other cases where people had really weird bugs, and a reinstall fixed it.  That's why I tossed it out there.

Link to comment
Share on other sites

I was about to report the same thing, for me its kinda game breaking as i use these values to prospect chunks say every 50 or 100 blocks and having the co-ordinates 'shifting' gives my OCD a bad time lol. Hopefully this issue is addressed before the next update. 

Actually i read a bit more and just discovered that its normal for waypoint values to change once you change your spawn point, kinda a bummer this happens to be honest. Oh well ignore my particular comment for now, but would be good if changing your spawn point wouldn't shift all your waypoint values.

Edited by David McGuire
Link to comment
Share on other sites

  • 1 year later...

I think I may have found the issue. If anyone else can confirm this...

My coordinates changed after doing this: I wanted to change the default world spawn. I used the command /serverconfig defaultSpawn [x y? z] and that did not work. next I used /serverconfig setspawnhere after using this, we test killed someone and they spawned about 50 or so blocks away. I continued to use this trying to move around so as to get the spawn point where I wanted it to be. I believe what I am seeing is that the command did not move the spawn location to where I was standing but moved the entire map coordinates so that where I was standing was centered over the original spawn location.   Anyone else verify this ? 

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.