Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

I'm referring to the floating-point-esque numbers in parentheses that appear after the entity ID, at the end of the lines indicating that a player has logged in:

2011-04-21 23:49:37 [INFO] burpen [/192.168.1.2:45001] logged in with entity id 120884 at (26.5, 118.62000000476837, 72.5)
2011-04-21 23:49:45 [INFO] burpen [/192.168.1.2:45006] logged in with entity id 121098 at (25.5, 118.62000000476837, 83.5)
2011-04-21 23:49:53 [INFO] burpen [/192.168.1.2:45013] logged in with entity id 121638 at (20.5, 72.62000000476837, 79.5)

I believe these started appearing after the 1.5 server update, or one of the updates since then. I initially thought they denoted player location at time of login, but they don't match up with the values shown when I press F3 immediately after logging in. Moreover, the numbers change even when the player doesn't move (the three example lines were generated by standing in the same spot and repeatedly logging in/out).

I realize they might be part of some internal testing at Mojang that was left in for the most recent update(s), and in that case, they might not be terribly important. But if otherwise, I'm curious to see if anyone knows what these are.

share|improve this question
    
I would've answered with "player coordinates", but it's interesting you said that they didn't match up. –  Kevin Y Apr 22 '11 at 4:47
    
I would have said coordinates too. –  Andrew Lambert Apr 22 '11 at 5:53
    
Sometimes, lag can cause players to jump around as they're logging in or teleporting. Could that be it? –  Maxpm Apr 22 '11 at 6:57
    
Where you at the exact same place on logins? –  M'vy Apr 22 '11 at 9:08
    
@Maxpm I doubt it-- the lag in my case should be very minimal as the server is running on the same physical machine (and therefore the same subnet) as the client. –  Jason Plank Apr 22 '11 at 15:21
show 2 more comments

1 Answer

up vote 9 down vote accepted

Those are absolutely player coordinates — the .62 in the middle (y) coordinate is a dead giveaway. If you check your position using F3 while standing on any full block, you'll see your y coordinate always ends in .62000… (or occasionally .619999…). This is because the player's coordinates are reported from the "eyes" — the point where the camera sits in first-person view. A player's eyes are 1.62 blocks/meters above the ground.

Now, as to why they aren't accurate, I couldn't say. My best guess is that it's related to the "spawn radius" in SMP. When you die (or log in for the first time), you don't spawn at a fixed point in the world; there is about a chunk-sized area in which you can appear. It's possible that, when a returning player is added to the world, they are either initially placed in the spawn zone before being moved to their real location, or alternatively that the spawn radius is applied to their entry coordinates and reported in the log, but discarded before the player fully enters the world.

Update: A bugfix listed in Notch's blog post on the changes coming in 1.6 supports this theory:

  • Fixed players spawning in the wrong location and quickly lerping to the correct location

("Lerping" refers to linear interpolation, the type of math which controls player movement.)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.