By Developers, For Developers

Historical errata for Learn to Program with Minecraft Plugins

PDF PgPaper PgTypeDescriptionFixed onComments
51TYPO

Third last line of the page is “HelloWorld.jar” and should be “HelloWorldSingle.jar” instead

2014-10-06
346TYPO

Reading in a Kindle. Loc is 346 of 6493. Paragraph that starts “My system (Mac OS X)…” mentions three files where there are actually only two.

2014-10-13
42SUGGEST

I didn’t see anything asking people to delete HelloWorld.jar prior to building HelloWorldEZ.jar. Without that step both JAR files will exist in the plugins directory and apparently only one “wins”. [HelloWorld won in my case, but I’m not sure what the server is supposed to do with duplicate plugins.] Maybe not a big deal, but might save some frustration when people experiment with the code and don’t see the expected changes reflected in the game.

2014-10-20
35ERROR

When I type ./build.sh to build HelloWorld, it works fine except I get the following (ignorable) error message.
——————————————————————————-
~/Documents/Programming/code/HelloWorld $ ./build.sh
sh: User/Documents/Programming/server/CanaryMod.jar: unknown operand
Compiling with javac…
Creating jar file…
Deploying jar to C:/Users/Robotics User/Documents/Programming/server/plugins…
Completed Successfully.
——————————————————————————-
This is just an example - I get this error when I run any of the .sh files.

Thanks,
John (jhagenjr@gmail.com)

2014-10-27You've got a space in your home directory name. That can cause all manner of problems in general, but I can fix this one.
5OK

This is frustrating. You won’t allow hyperlinks in your bug reports? I deleted the H from http to get past this….

The link to download “the files that came with this book” mentioned first on page 5 is broken. I was able to find the source code at the pragmatic bookshelf website and found a difference between the correct link and the one printed. The printed link is missing the word “source”.

The printed link is:
ttp://media.pragprog.com/titles/ahmine2/code/ahmine2-code.zip

The correct link is:
ttps://pragprog.com/titles/ahmine2/SOURCE_code/ahmine2-code.zip

2015-01-08I'm not sure what your referring to; I just tried the printed link and it worked fine, and the "SOURCE_code" link you mention does not work. \n \n/\\ndy
53TYPO

Paragraph #5 (just below the “me.chat(…);” code) begins as follows:

State each message with a string (like …

I believe “State” is supposed to be “Start”.

naERROR

The ePub has leading spaces in the title — " Learn to Program …". This causes the book to sort incorrectly in iBooks.

64ERROR

When revisiting the BuildAHouse plugin to use a loop, the commands for building omit changing to the code/ folder:
$ cd Desktop
$ cd BuildAHouse

should be either:
$ cd Desktop
$ cd code/BuildAHouse

or:
$ cd Desktop
$ cd code
$ cd BuildAHouse

11SUGGEST

getWorld().setBlockAt is now deprecated in CanaryMod 1.2. Use World#setBlockAt instead per Canary docs.

81ERROR

Chapter 6 contains a few references to missing inheritance examples in chapter 5.

85SUGGEST

“Particle.Type.LAVASPARK” changed to just “Particle.Type.LAVA”

See forums.pragprog.com/forums/314/topics/13187

n/aSUGGEST

Busybox is also available from intgat.tigress.co.uk/rmy/files/busybox/busybox.exe (web access, instead of FTP)

naSUGGEST

Add warning about default setting “Hide extensions for known file types” in the explorer (to change this: open explorer, alt-x, folder options, view, unmark the above given setting), so that also “.txt” gets hidden. via Detlev Beutner.

4SUGGEST

Apparently “minus ell” is clear enough that it’s a lower-case “L” character, not the digit “1”.

10ERROR

Hi,
I am about to buy the current ebook in German. On the amazon preview there is the very first call for action something like got to (hyperlink) forums.pragprog.com/forums/382 an download the sourcecode there.
The link is a bit confusing (especially for a 10 year old beginner) as this is the forum and not the resources site. Should’nt you better replace it by the following link? (hyperlink) pragprog.com/titles/ahmine2/source_code
Think, I will buy the ebook anyway as the foreword sounds very promising and maybe write the first amazon review a bit later.
Regards
Andreas

Note: The above mentioned version and page number are incorrrect, I just typed in something as these fields are mandatory

4TYPO

hi, the link for download busybox don’t work at all, i tried everything.
plz can you help me, if not I bought the book for nothing.

Categories: