Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

MinecraftGPS


  • Please log in to reply
78 replies to this topic

#1

distantcam
  • Location: Chunk 0,0

Posted 16 October 2010 - 10:09 AM

Well, this is my latest creation, MinecraftGPS!

It's an app that constantly reads the players location from the level data file and shows that location as a set of coordinates.

The other feature is a bookmarking system, so you can bookmark a location and then use the relative coordinates to find your way back to that spot.

I hope some of you find it useful.  :iapprove:

Updated to 1.0. Fixed some math issues with chunk positions, improved the interface. Fixed other bugs.

NEW Updated to 1.1. Compass! New Style! Load worlds from any folder!

http://minecraftgps.codeplex.com/

http://i3.codeplex.c...wnloadId=172138

Register or log in to remove.

#2

jon99977
    jon99977

    Diamond Miner

  • Members
  • 712 posts
  • Location: Stuck in a cave, with no pick, and no way out...

Posted 16 October 2010 - 10:13 AM

http://www.minecraft...wforum.php?f=25

#3

coocoup
    coocoup

    Coal Miner

  • Members
  • 114 posts

Posted 16 October 2010 - 10:14 AM

That's pretty sweet. Where's the dl link?

#4

distantcam
  • Location: Chunk 0,0

Posted 16 October 2010 - 10:16 AM

coocoup said:

That's pretty sweet. Where's the dl link?

Doh! (Edits original post)

#5

VoidWhisperer
  • Location: Exploring some cave

Posted 16 October 2010 - 10:28 AM

Mmm... Interesting. I thought the level.dat file wasn't modified unless you saved. Was I wrong?
Posted Image
Posted Image

#6

VoidWhisperer
  • Location: Exploring some cave

Posted 16 October 2010 - 10:36 AM

I'm not copying this, but I'm adding a saved location box to my minecraft environment editor. Nice idea though :P.
Edit: Mine only gets X,Y,Z instead of NSEW :VV:
Posted Image
Posted Image

#7

distantcam
  • Location: Chunk 0,0

Posted 16 October 2010 - 10:41 AM

VoidWhisperer said:

Mmm... Interesting. I thought the level.dat file wasn't modified unless you saved. Was I wrong?

MinecraftGPS doesn't modify the level.dat file, it just reads it. And thankfully Minecraft updates the file regularly enough for this to work.

VoidWhisperer said:

Edit: Mine only gets X,Y,Z instead of NSEW :VV:

I just labeled them that way :P
X = NS
Y = Alt
Z = EW

#8

trotty88
    trotty88

    Out of the Water

  • Members
  • 6 posts

Posted 16 October 2010 - 10:51 AM

Awesome, TYVM

#9

VoidWhisperer
  • Location: Exploring some cave

Posted 16 October 2010 - 10:59 AM

Ah. :Pig: Nice. What programming language did you use?
Posted Image
Posted Image

#10

distantcam
  • Location: Chunk 0,0

Posted 16 October 2010 - 11:01 AM

C#, .NET 2.0, WinForms.

I'm hoping to see if it works on Mono at some point.

#11

VoidWhisperer
  • Location: Exploring some cave

Posted 16 October 2010 - 11:02 AM

I'm using C# for my program too :Pig:.
Posted Image
Posted Image

#12

everfalling

Posted 16 October 2010 - 11:08 AM

holy shit this is fantastically more easy to use in finding chunk 0,0 than the other methods i've seen described. fucking good work!

#13

VoidWhisperer
  • Location: Exploring some cave

Posted 16 October 2010 - 11:11 AM

Hey distant, can I have some help with something?:
I'm adding the positions and etc to settings in Properties.Settings.Default in the app so that they come up when you use the program the next time, but even after I add one and it shows up, if I close the app, it isn't there when I open it back up. Any suggestions as to what may be wrong?
Edit: Never mind. I didn't know you had to save the values to it in C#
Posted Image
Posted Image

#14

distantcam
  • Location: Chunk 0,0

Posted 16 October 2010 - 11:13 AM

VoidWhisperer said:

I'm using C# for my program too :).

Well, feel free to peruse the code and take what you want.

As for the property settings issue, I don't really use the settings stuff myself. I tend to do it old skool and just manage my own settings.

Do you know about http://stackoverflow.com/? You could try asking a question there.

everfalling said:

holy shit this is fantastically more easy to use in finding chunk 0,0 than the other methods i've seen described. fucking good work!

Thanks Everfalling. Yeah I added the chunk position panel after seeing posts about finding chunk 0,0 using cartographer etc, and they all seemed ham-fisted to me.

#15

VoidWhisperer
  • Location: Exploring some cave

Posted 16 October 2010 - 11:18 AM

What exactly is chunk 0,0? :Notch:
Posted Image
Posted Image

#16

distantcam
  • Location: Chunk 0,0

Posted 16 October 2010 - 11:22 AM

Apparently block 0,0,0 is a special block or something, and since it's on Chunk 0,0 people want to find it.

#17

VoidWhisperer
  • Location: Exploring some cave

Posted 16 October 2010 - 11:28 AM

I hate to be asking how you did yours *Pride issue much =P?* but.. How'd you get the chunk the player is in?
Posted Image
Posted Image

#18

distantcam
  • Location: Chunk 0,0

Posted 16 October 2010 - 11:31 AM

Player position x and z / 16 = chunk position.

Feel free to grab a copy of the code, it's open source.

#19

VoidWhisperer
  • Location: Exploring some cave

Posted 16 October 2010 - 11:33 AM

I saw. That's alot of code for just getting the chunk.
Posted Image
Posted Image

#20

distantcam
  • Location: Chunk 0,0

Posted 16 October 2010 - 11:37 AM

It's actually stripped down code from another project I'm working on.