CoderDojoSV / MinecraftMods

2 stars 2 forks source link

South Bay CoderDojo Minecraft Sessions #3

Open joedean opened 10 years ago

joedean commented 10 years ago

First session is planned to happen next week on the 28th of Jan. Overview:

Session Title: Learn to Program with Minecraft Plugins (1)

Description: If you enjoy creating in Minecraft, but sometimes feel the built-in capabilities of the game are not enough and you want to do something more? Then this Coderdojo session is for you. Since, Minecraft is based on the Java programming language this session will introduce you to Java, so you can code your first Minecraft plugin. Unfortunately, programming in Java can feel hard and confusing. This session will try to avoid the complications of the language and focus on the basics to get a simple plugin working. We'll start with setting up your own CraftBukkit server and then code a simple plugin using Java.

For beginners, there is a lot to learn and limited time. Beware that this session could turn into multiple sessions depending on how far we get in an hour and half.

Session prerequisites:

(1) Note: Material based on the book "Learn to Program with Minecraft Plugins" by Andy Hunt

Basic schedule (1) 6-6:30 - Env help, play, pizza arrives (2) 6:30 - 7:00 - Install CraftBukkit and learn how to start server and connect into a server. If they get this easily have them connect to each others servers and have fun! Maybe teach them about finite state machines.
(3) 7:00 - 8:00 - Code simple plugin (begginers - hello world, intermediates - flying creepers, gurus - Cow Shooter or surprise us!) (4) 8:00 - 8:30 - Q&A and/or show and tell

Note: not going to get to much into details of the code during this session. Will be breaking down coding details in future sessions. I'm working on getting handouts together with all the details so parents/mentors can help the kids that fall behind.

Also, would like to record this session so others can view it that can't make it. For those that missed this session and want to attend future sessions will know what they missed and can easily make up the information so they are not behind others that were able to attend. Does anyone have knowledge or ideas on best way to record / stream these sessions?

marcyDel commented 10 years ago

Ok, whew! that's a lot of stuff! Way to go Joe.

If there are any mentors that wish to learn what Joe is teaching, please contact me and I'll have some observer tickets set aside for the session. This way, we may be able to have more instructors trained to lead additional sessions at other venues.

If you do the video recording, we need to post handouts as well. We're launching the new CoderdojoSV website with a past projects section. The section will pull in the GitHub repository session title and description. If handouts and video links are included in the repository, people will be able to access them from the website link.

jayg4e commented 10 years ago

Hi Marcy, I would like to come in as an observer mentor. Also, when will the Eventbrite tickets be available for this? I'd like my son to attend this session.

Unfortunately I couldn't attend yesterday's mentor meeting. Will it be possible to send out short meeting notes?

Thank you,

Jayashree

On Jan 22, 2014, at 10:23 AM, marcyDel notifications@github.com wrote:

Ok, whew! that's a lot of stuff! Way to go Joe.

If there are any mentors that wish to learn what Joe is teaching, please contact me and I'll have some observer tickets set aside for the session. This way, we may be able to have more instructors trained to lead additional sessions at other venues.

If you do the video recording, we need to post handouts as well. We're launching the new CoderdojoSV website with a past projects section. The section will pull in the GitHub repository session title and description. If handouts and video links are included in the repository, people will be able to access them from the website link.

— Reply to this email directly or view it on GitHub.

manjuk commented 10 years ago

Even, I would like to attend as an observer.

On Wed, Jan 22, 2014 at 11:35 AM, jayg4e notifications@github.com wrote:

Hi Marcy, I would like to come in as an observer mentor. Also, when will the Eventbrite tickets be available for this? I'd like my son to attend this session.

Unfortunately I couldn't attend yesterday's mentor meeting. Will it be possible to send out short meeting notes?

Thank you,

Jayashree

On Jan 22, 2014, at 10:23 AM, marcyDel notifications@github.com wrote:

Ok, whew! that's a lot of stuff! Way to go Joe.

If there are any mentors that wish to learn what Joe is teaching, please contact me and I'll have some observer tickets set aside for the session. This way, we may be able to have more instructors trained to lead additional sessions at other venues.

If you do the video recording, we need to post handouts as well. We're launching the new CoderdojoSV website with a past projects section. The section will pull in the GitHub repository session title and description. If handouts and video links are included in the repository, people will be able to access them from the website link.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/CoderDojoSV/MinecraftMods/issues/3#issuecomment-33058708 .

linuxgeek commented 10 years ago

I can likely be a mentor for the session, if that's ok. I know linux and java well (and a little minecraft), and plan on going through all this before the session. I'd also like my son to attend.

Thanks, Oscar

tomtran-tt commented 10 years ago

Hi Marcy, I can be a mentor if needed. I have some java programming experience. My son Brandon would like to attend this class as well. Thanks

joedean commented 10 years ago

I posted initial draft of slides for the first "Learning to Code with Minecraft" session happening this Tuesday at 6pm in Campbell for all to review. Note: plugin code that will be covered in this session is all in https://github.com/joedean/bukkit-plugins. I will be filling in the empty slides with this code tomorrow.

Again Schedule for the session will be as follows: 6-6:30 = Make sure environments are setup, play and eat pizza (optional) 6:30-7 = Create a server and learn about finite state machines in Minecraft (official start time) 7-8 = Create plugins (HelloWorld, Cowabunga, PigsFly, GetCreative) (official end time) 8-8:30 = Show and Tell by connecting to their server (optional)

marcyDel commented 10 years ago

Joe,

Looks great!

I had a lot of trouble with Eventbrite this round. I’m making personal calls to make sure. Due to the rom capacity. We won’t have any space for drop ins. Please make sure other On-site employees know this.

Question: Might there be a spot to put parents, who would rather not be in the room, so we can accommodate more kids?

Let me know as soon as you can.

Marcy

On Jan 27, 2014, at 12:44 AM, Joseph Dean notifications@github.com wrote:

I posted initial draft of slides for the first "Learning to Code with Minecraft" session happening this Tuesday at 6pm in Campbell for all to review. Note: plugin code that will be covered in this session is all in https://github.com/joedean/bukkit-plugins. I will be filling in the empty slides with this code tomorrow.

Again Schedule for the session will be as follows: 6-6:30 = Make sure environments are setup, play and eat pizza (optional) 6:30-7 = Create a server and learn about finite state machines in Minecraft (official start time) 7-8 = Create plugins (HelloWorld, Cowabunga, PigsFly, GetCreative) (official end time) 8-8:30 = Show and Tell by connecting to their server (optional)

— Reply to this email directly or view it on GitHub.

tomtran-tt commented 10 years ago

Hi Joe,

From past experience, it's really helpful for the kids if we have a print out of the commands and the codes they need to type so they don't have switch between the code editor and the pdf while typing. The slides look great but might not be printer friendly not sure if you want to upload a pdf with just the commands and codes so we can print it out. Thanks -Tom

marcyDel commented 10 years ago

Great suggestion! Joe do you have time to do? It helps both mentors and participants.

tomtran-tt commented 10 years ago

Hi Joe/Marcy, I am typing up the commands and sample codes and will upload the pdf after I am done. I will also print out a few copy to hand out tomorrow.

marcyDel commented 10 years ago

I will print out copies of install instructions and bring along.

linuxgeek commented 10 years ago

Was just going through all the setup.

Have all the attendees seen the pre-setup at the beginning of this thread? Will they have downloaded/installed java, and downloaded the craftbukkit.jar?

And, there may be some confusion, because on joe's site, he named it more sensibly then if they went out and downloaded the files from the sites he mentions. joe's setup / files from internet craftbukkit.jar = craftbukkit-1.6.4-R2.0.jar start-minecraft-server.sh = craftbukkit.sh

Everything will work fine, but you'll probably want to rename "craftbukkit-1.6.4-R2-0.jar" to "craftbukkit.jar", or else the script won't find it. Just a heads up, so that the mentors know why people have differently named files when checking their setup.

tomtran-tt commented 10 years ago

I just committed the coderdojo_minecraft_handout.pdf and printed 20 copies for tomorrow. I will work from San Francisco tomorrow and probably won't be there until 7PM but my wife will drop my son off with the handouts by 6:00. Thanks -Tom

marcyDel commented 10 years ago

@tomtran-tt . Looks like another bunch of info is available for print. I Assume Minecraft theme version is for projector, so we should make copies of "print friendly" version.

We need 30 copies .

@tomtran-tt do you have time to print all, or do you need me to do as well. Perhaps we each print 15? Let's coordinate.

@joedean between Tom and I, we'll cover getting everyone slides.

Marcy

cornof commented 10 years ago

Hi,

I'm installing the software for tonight. I have a MacBook Air running 10.6.8... So a couple of questions 1) Can I use Java 6? (I can bring a desktop Mac with Java 7). I am going to try it anyways.

2) When installing the Bukkit from Joe's link (http://wiki.bukkit.org/Setting_up_a_server) The site doesn't have a link to the "CraftBukkit - Recommended Build" from the Mac instructions. Can one use the

link under Windows or Linux? The files have the same name, but I want to be sure.

Thanks,

Dawn


From: linuxgeek notifications@github.com To: CoderDojoSV/MinecraftMods MinecraftMods@noreply.github.com Sent: Monday, January 27, 2014 8:45 PM Subject: Re: [MinecraftMods] South Bay CoderDojo Minecraft Sessions (#3)

Was just going through all the setup. Have all the attendees seen the pre-setup at the beginning of this thread? Will they have downloaded/installed java, and downloaded the craftbukkit.jar? And, there may be some confusion, because on joe's site, he named it more sensibly then if they went out and downloaded the files from the sites he mentions. joe's setup / files from internet craftbukkit.jar = craftbukkit-1.6.4-R2.0.jar start-minecraft-server.sh = craftbukkit.sh Everything will work fine, but you'll probably want to rename "craftbukkit-1.6.4-R2-0.jar" to "craftbukkit.jar", or else the script won't find it. Just a heads up, so that the mentors know why people have differently named files when checking their setup. — Reply to this email directly or view it on GitHub.

joedean commented 10 years ago

Awesome! Thankyou! On Jan 28, 2014 1:20 AM, "marcyDel" notifications@github.com wrote:

@tomtran-tt https://github.com/tomtran-tt . Looks like another bunch of info is available for print. I Assume Minecraft theme version is for projector, so we should make copies of "print friendly" version.

We need 30 copies .

@tomtran-tt https://github.com/tomtran-tt do you have time to print all, or do you need me to do as well. Perhaps we each print 15? Let's coordinate.

@joedean https://github.com/joedean between Tom and I, we'll cover getting everyone slides.

Marcy

Reply to this email directly or view it on GitHubhttps://github.com/CoderDojoSV/MinecraftMods/issues/3#issuecomment-33462160 .

linuxgeek commented 10 years ago

@cornof I think JDK1.6 should work. Here's the instructions for JDK1.7 MacOSX install: http://docs.oracle.com/javase/7/docs/webnotes/install/mac/mac-jdk.html. The .jar file is what you want.

joedean commented 10 years ago

@linuxgeek I tested JAN 1.6 and it works fine. Just need to make sure Java and Java are same version. I will be checking en vs at 6pm.

joedean commented 10 years ago

@linuxgeek I tested Java 1.6 and it works fine. Just need to make sure Java and Javac are same version. I will be checking en vs at 6pm.

cornof commented 10 years ago

Thanks! I'll be there early as well.


From: Joseph Dean notifications@github.com To: CoderDojoSV/MinecraftMods MinecraftMods@noreply.github.com Cc: Dawn M dawn_murakami@yahoo.com Sent: Tuesday, January 28, 2014 10:01 AM Subject: Re: [MinecraftMods] South Bay CoderDojo Minecraft Sessions (#3)

@linuxgeek I tested Java 1.6 and it works fine. Just need to make sure Java and Javac are same version. I will be checking en vs at 6pm. — Reply to this email directly or view it on GitHub.

tomtran-tt commented 10 years ago

Hi Marcy/Joe,

I printed out 20 copies of the coderdojo_minecraft_handout.pdf version for my wife to drop it off tomorrow, it should have most of the info, can you take a look and let me know if you still want me to print 15 copies of the friendly version. As mentioned I am working from SF today and most like won't make it there until 7PM though.

-Tom

linuxgeek commented 10 years ago

@joedean Good point. will make sure & check that.

marcyDel commented 10 years ago

@tomtran-tt No worries. I will get copies of printer friendly version and bring tonight.

Marcy

joedean commented 10 years ago

South Bay Coderdojo Minecraft Session 2

  1. I have created two scripts to validate environments before session, one mac/linux friendly the other windows friendly. (https://github.com/joedean/coderdojo-mcplugins) (Note: Still finishing up second script and will be doing major QA on these scripts over the weekend.)
  2. I stumbled upon http://www.computercraft.info/ mod watching my son play and we are planning to use this to teach the kids about programming. I really like this mod because you have to build the computer in Minecraft to start programming. This introduces the kids into all the different components of a computer and basics on how it works. (e.g., cpu, ram, disk, etc). Then it will enable a robot that they can program into the game to help them build stuff in Minecraft. And for the more advanced kids it comes with a full Lua interpreter so they can be coding on this inside the game! Unfortunately, this is all going to require installing forge instead of craftbukkit. I really like how this will introduce the kids into basic concepts of computer hardware in addition to some of the same type of concepts (e.g., command line) I attempted last session, but it will be more inside the game of Minecraft. Instead of being frustrated because they are not in the game!
  3. Working on updating my scripts to make sure the forge environment is properly setup and that this mod is properly installed.

Anyone have thoughts, suggestions on this idea? Once the kids have developed more programming experience using Computer Craft then I would move them back toward making plugins etc. Also, if enough interest from the more advanced kids, I can do a different sessions focusing on continuing the plugin development. Hoping to get this all setup by end of this weekend...

linuxgeek commented 10 years ago

Wow, that's an extremely cool idea! Is the building a computer mod already completed, or is this something you'd have to make?

My first impression is that this sounds very ambitious, but doable.

For the linux/mac script, it might be worthwhile to add something to suggest java locations. For example: locate -b "\javac" Will find the exact filename "javac", and report where it is. I guess you could add a chosen selection to the path. It might be kinda cool to display the commands as they are run.

For instance,

echo "Your system is set to look for things in only certain places" echo "Here is the list: $PATH" echo "I can't find javac in the path of places to look for it". echo "I'll see if I can find it by looking everywhere for that exact name by running this:" echo "locate -b "\javac" echo "These seem to match". echo "But only these are java6 or greater".

do java version check

... echo "I'll add that selection to the path using this:" echo "export PATH=$PATH:"$location""

Anyways, you get the idea. I could try to add some of this if you'd like. I can do this on linux/mac, but batch files are too cumbersome for me to try and do this. Looks good what you have now. Your minecraft idea made me think we could do a similar thing with the install, teaching as we go.

joedean commented 10 years ago

Minecraft Session 2 Overview

Topic:

Craft a Computer

Description:

Using the computer craft mod, we will be going through crafting a computer in Minecraft, teaching each of the basic components that make up a computer. I will also be demonstrating the real life computer components on either a raspberry pi or an old laptop. After we craft the computer we will navigate the command line to some pre-installed programs and run them. Then we will craft a turtle using the computer and learn how to program the turtle to automate mining.

More advanced users can explore the Lua programming language and go through the code from existing programs. For intermediate and beginners this will be reviewed in more detail during future sessions.

Prerequisites:

  1. Mac / Linux Users download and run the minecraft.sh shell script as follows

$ ./minecraft.sh check_env

  1. Windows Users download and run the mincraft.bat batch file from command prompt as follows

C:\ minecraft.bat

(Note: Run minecraft.bat from command prompt. Do not just double click the .bat file.)

When the script finishes if will print out something like

----------------------------------------
Version 0.1 - Username
30/s08933/s90/20934/93es
----------------------------------------

Send this to event organizer so we know your environment is setup correctly. If you do not get this then there is a problem with your environment and you will need to fix the environment based on feedback provided by the script.

More details and thoughts about this second session

This session will not be using craftbukkit and creating plugins like we did during the first session. This sessions focus will be on teaching the kids about computer hardware and how to craft a computer in Minecraft. It requires additional components to install and a new mod environment. The script does automatically install and configure for this new environment. So all kids will need to run the script even if they were configured last time.

Although: If any of the kids went crazy and created there own craftbukkit plugin during the past month, I would love for them to do a show and tell on it... but we can play that by ear.

What do you think... I'm kinda switching gears a bit from the last session. I plan to return to plugins, but once the kids get more experience. I'm bummed to switch off plugins, but i feel this is the right thing to do based on the last session. Maybe later in the year we'll return to the plugins, etc. I may also take a poll after this session and let majority vote which direction I should head.... Java coding with plugins or Lua programming with turtles... thoughts?

cornof commented 10 years ago

Just ran your script, it looks like it crashed. Here's the dialog.

Dawn

MacBook-Air-2:minecraft modding dawn$ ./minecraft.sh check_env % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 12064152 132 12064152 11.5M 0 0 805k 0 --:--:-- 0:00:14 --:--:-- 173014523906 132 14523906 13.8M 0 0 908k 0 --:--:-- 0:00:15 --:--:-- 193816043788 132 16043788 15.3M 0 0 942k 0 --:--:-- 0:00:16 --:--:-- 184716923380 132 16923380 16.1M 0 0 937k 0 --:--:-- 0:00:17 --:--:-- 166618788976 132 18788976 17.9M 0 0 985k 0 --:--:-- 0:00:18 --:--:-- 171720173900 132 20173900 19.2M 0 0 1004k 0 --:--:-- 0:00:19 --:--:-- 158620675122 132 20675122 19.7M 0 0 979k 0 --:--:-- 0:00:20 --:--:-- 119921781238 132 21781238 20.7M 0 0 983k 0 --:--:-- 0:00:21 --:--:-- 112023097886 132 23097886 22.0M 0 0 997k 0 --:--:-- 0:00:22 --:--:-- 121024686268 132 24686268 23.5M 0 0 1018k 0 --:--:-- 0:00:23 --:--:-- 114226327856 132 26327856 25.1M 0 0 1044k 0 --:--:-- 0:00:24 --:--:-- 120228379100 132 28379100 27.0M 0 0 1082k 0 --:--:-- 0:00:25 --:--:-- 150729493436 132 29493436 28.1M 0 0 1082k 0 --:--:-- 0:00:26 --:--:-- 150630576486 132 30576486 29.1M 0 0 1080k 0 --:--:-- 0:00:27 --:--:-- 145631540794 132 31540794 30.0M 0 0 1076k 0 --:--:-- 0:00:28 --:--:-- 134832588224 132 32588224 31.0M 0 0 1074k 0 --:--:-- 0:00:29 --:--:-- 122233530612 132 33530612 31.9M 0 0 1069k 0 --:--:-- 0:00:30 --:--:-- 100434722814 132 34722814 33.1M 0 0 1071k 0 --:--:-- 0:00:31 --:--:-- 101535285462 132 35285462 33.6M 0 0 1056k 0 --:--:-- 0:00:32 --:--:-- 92135644876 132 35644876 33.9M 0 0 1034k 0 --:--:-- 0:00:33 --:--:-- 79836118698 132 36118698 34.4M 0 0 1018k 0 --:--:-- 0:00:34 --:--:-- 68836922486 132 36922486 35.2M 0 0 1012k 0 --:--:-- 0:00:35 --:--:-- 665k Archive: coderdojo-mcplugins.zip 7fc6b3ea8c11dfb8a9ce68b06130f5db76d1fa7a creating: coderdojo-mcplugins-master/ inflating: coderdojo-mcplugins-master/README.md
creating: coderdojo-mcplugins-master/bin/ inflating: coderdojo-mcplugins-master/bin/minecraft.bat
inflating: coderdojo-mcplugins-master/bin/minecraft.sh
creating: coderdojo-mcplugins-master/lib/ inflating: coderdojo-mcplugins-master/lib/check_environment.rb
inflating: coderdojo-mcplugins-master/lib/jruby-complete.jar
creating: coderdojo-mcplugins-master/minecraft/ inflating: coderdojo-mcplugins-master/minecraft/ComputerCraft1.58.zip
inflating: coderdojo-mcplugins-master/minecraft/forge-1.6.4-9.11.1.965-installer.jar
creating: coderdojo-mcplugins-master/server/ inflating: coderdojo-mcplugins-master/server/craftbukkit.jar
inflating: coderdojo-mcplugins-master/server/start-minecraft-server.sh
Hello! Please enter your Minecraft user name: Warlock_5969 Please be patience while I inspect your environment... TypeError: can't convert nil into String join at org/jruby/RubyFile.java:1931 join at org/jruby/RubyFile.java:831 check_forge at lib/check_environment.rb:60 run at lib/check_environment.rb:17 (root) at lib/check_environment.rb:185 _forge at lib/check_environment.rb:60 run at lib/check_environment.rb:17 (root) at lib/check_environment.rb:185

joedean commented 10 years ago

oops i see the problem... will fix that one up tonight. thanks!

valeriefreitas commented 10 years ago

We also had a problem with the script. Computer craft seem to install fine. It runs and my son was able to do things with it. However, when he runs the script he gets an error:

1.7.045 \Intel\iCLS was unexpected at this time.

My son looked at the script and he thinks maybe that the script is looking for a bukkit plugins folder on his computer and since computer craft is a minecraft forge mod, then maybe the script is looking for the wrong files and in the wrong place. He thinks it should be looking for the .mods directory in the .minecraft folder and from there it should look for the computer craft mod inside the mods folder. Maybe it should also be checking that the version of forge and the version of computer craft are compatible.

Valerie

On Thu, Feb 20, 2014 at 3:37 PM, Joseph Dean notifications@github.comwrote:

oops i see the problem... will fix that one up tonight. thanks!

Reply to this email directly or view it on GitHubhttps://github.com/CoderDojoSV/MinecraftMods/issues/3#issuecomment-35683072 .

joedean commented 10 years ago

@valeriefreitas

Thanks for the feedback... The script actually ignores craftbukkit, sublime text, and javac because these technologies are not used in the next session. It installs forge with computer craft mod. It also assumes that minecraft 1.6.4 was run at least once on the machine. Unfortunately, it appears to only be working for Linux and not on Mac or Windows. I will fix it up tonight. This is the problem with updating a script at 3am... you break stuff :-)

I'll let you know when i get the fix out... thanks.

joedean commented 10 years ago

The script has been updated. Instead of maintaining a windows batch file and a shell script I've decided to make this one script packaged up in a jar. Note: I'm assuming they have run Minecraft on the machine and that Java is installed.

Instructions

  1. Download the jar from www.simplecupofjoe.com/downloads/coderdojo.html
  2. Run the jar from command prompt (Note: Windows users should not have a space in path when running below command! e.g., move jar file to c:\ and run command from there, to be safe) $ java -jar coderdojo-0.1.1.jar
  3. email success message like below
    -------------------------
    Version 0.1.1 - coderdojo
    xunih-bufir-fyzak-durog-nulil-namyd-saseh-milyp-texox
    -------------------------
    
joedean commented 10 years ago

@marcyDel why is this issue closed? Also I put installation instructions on the webpage so you don't have to resend out an email with instructions.... although you should send out an email saying that the script is fixed up... thanks.

marcyDel commented 10 years ago

Sorry Joe, I thought I was replying and canceling my reply. As a non-coder, I have made many gitHub noob errors. Yes, I will send out a reminder to check updates.

I would assume this script is only getting participants ready for the computer craft session on Tuesday.

Will there also be a script to prepare their systems for potential plug in session in the future? No rush on this, just curious.

Marcy

joedean commented 10 years ago

script is geared for Tuesday... Script can easily be altered to prepare for plugin in sessions... just ran out of time. It actually will work with plugin sessions for mac and linux... just struggling with windows! So, had to simplify for Tuesday.

On Fri, Feb 21, 2014 at 9:42 AM, marcyDel notifications@github.com wrote:

Sorry Joe, I thought I was replying and canceling my reply. As a non-coder, I have made many gitHub noob errors. Yes, I will send out a reminder to check updates.

I would assume this script is only getting participants ready for the computer craft session on Tuesday.

Will there also be a script to prepare their systems for potential plug in session in the future? No rush on this, just curious.

Marcy

Reply to this email directly or view it on GitHubhttps://github.com/CoderDojoSV/MinecraftMods/issues/3#issuecomment-35754099 .

iTweak0r commented 10 years ago

I run the .jar script in admin mode or not, here's what comes up:

C:\>java -jar coderdojo-0.1.1.jar
Please be patient while I inspect your environment...
Checking Minecraft User Name... ←[32msuccess←[0m
Checking Java Version... ←[32msuccess←[0m
Checking Minecraft... ←[32msuccess←[0m
Checking Forge...
Make sure minecraft has run at least once in 1.6.4 mode
When the simple forge installer dialog comes up select 'Install client' and click 'Ok'

It goes through the wizard and installs forge :fire:

Exception in thread "main" org.jruby.exceptions.RaiseException: (EACCES) Permiss
ion denied - C:\Users\USERNAME~1\AppData\Local\Temp\coderdojo.json20140221-5140-1di
7065
        at org.jruby.RubyFile.unlink(org/jruby/RubyFile.java:1096)
        at RUBY.remove_file(jar:file:/C:/coderdojo-0.1.1.jar!/META-INF/jruby.hom
e/lib/ruby/1.9/fileutils.rb:1416)
        at RUBY.platform_support(jar:file:/C:/coderdojo-0.1.1.jar!/META-INF/jrub
y.home/lib/ruby/1.9/fileutils.rb:1421)
        at RUBY.remove_file(jar:file:/C:/coderdojo-0.1.1.jar!/META-INF/jruby.hom
e/lib/ruby/1.9/fileutils.rb:1415)
        at RUBY.remove(jar:file:/C:/coderdojo-0.1.1.jar!/META-INF/jruby.home/lib
/ruby/1.9/fileutils.rb:1404)
        at RUBY.remove_entry(jar:file:/C:/coderdojo-0.1.1.jar!/META-INF/jruby.ho
me/lib/ruby/1.9/fileutils.rb:780)
        at RUBY.postorder_traverse(jar:file:/C:/coderdojo-0.1.1.jar!/META-INF/jr
uby.home/lib/ruby/1.9/fileutils.rb:1458)
        at RUBY.remove_entry(jar:file:/C:/coderdojo-0.1.1.jar!/META-INF/jruby.ho
me/lib/ruby/1.9/fileutils.rb:778)
        at RUBY.mv(jar:file:/C:/coderdojo-0.1.1.jar!/META-INF/jruby.home/lib/rub
y/1.9/fileutils.rb:525)
        at RUBY.fu_each_src_dest(jar:file:/C:/coderdojo-0.1.1.jar!/META-INF/jrub
y.home/lib/ruby/1.9/fileutils.rb:1525)
        at RUBY.fu_each_src_dest0(jar:file:/C:/coderdojo-0.1.1.jar!/META-INF/jru
by.home/lib/ruby/1.9/fileutils.rb:1541)
        at RUBY.fu_each_src_dest(jar:file:/C:/coderdojo-0.1.1.jar!/META-INF/jrub
y.home/lib/ruby/1.9/fileutils.rb:1523)
        at RUBY.mv(jar:file:/C:/coderdojo-0.1.1.jar!/META-INF/jruby.home/lib/rub
y/1.9/fileutils.rb:508)
        at RUBY.prepare!(check_environment.rb:161)
        at RUBY.check!(coderdojo.rb:133)
        at RUBY.check!(coderdojo.rb:176)
        at RUBY.run(check_environment.rb:235)
        at RUBY.(root)(check_environment.rb:256)

Then that happens :frowning:

Is this on your side? I'm on Windows 8.1.

If it's an error on my side, couldn't it be a bit nicer about it?

joedean commented 10 years ago

@iTweak0r yea working with troubles in windows 8.x right now... will have an updated version soon ... sorry about that.

cornof commented 10 years ago

My transcript from trying  v.1 and v.2

MacBook-Air-2:minecraft modding dawn$ java -jar coderdojo-0.1.1.jar Exception in thread "main" org.jruby.exceptions.RaiseException: (NameError) method 'to_yaml' not defined in Object     at org.jruby.RubyModule.remove_method(org/jruby/RubyModule.java:2344)     at RUBY.(eval)(file:/Users/dawn/minecraft modding/coderdojo-0.1.1.jar!/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:47)     at org.jruby.RubyModule.module_eval(org/jruby/RubyModule.java:2316)     at RUBY.yamler=(file:/Users/dawn/minecraft modding/coderdojo-0.1.1.jar!/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:43)     at RUBY.(root)(file:/Users/dawn/minecraft modding/coderdojo-0.1.1.jar!/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:82)     at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1083)     at RUBY.(root)(file:/Users/dawn/minecraft modding/coderdojo-0.1.1.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1)     at RUBY.require(file:/Users/dawn/minecraft modding/coderdojo-0.1.1.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55) MacBook-Air-2:minecraft modding dawn$ chmod +x cod* MacBook-Air-2:minecraft modding dawn$ ls -l total 48952 -rwxr-xr-x@ 1 dawn  staff  25056086 Feb 21 15:04 coderdojo-0.1.2.jar -rwxr-xr-x@ 1 dawn  staff      1196 Feb 20 15:08 minecraft.sh MacBook-Air-2:minecraft modding dawn$ java -jar coderdojo-0.1.2.jar Exception in thread "main" org.jruby.exceptions.RaiseException: (NameError) method 'to_yaml' not defined in Object     at org.jruby.RubyModule.remove_method(org/jruby/RubyModule.java:2344)     at RUBY.(eval)(file:/Users/dawn/minecraft modding/coderdojo-0.1.2.jar!/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:47)     at org.jruby.RubyModule.module_eval(org/jruby/RubyModule.java:2316)     at RUBY.yamler=(file:/Users/dawn/minecraft modding/coderdojo-0.1.2.jar!/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:43)     at RUBY.(root)(file:/Users/dawn/minecraft modding/coderdojo-0.1.2.jar!/META-INF/jruby.home/lib/ruby/1.9/yaml.rb:82)     at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1083)     at RUBY.(root)(file:/Users/dawn/minecraft modding/coderdojo-0.1.2.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1)     at RUBY.require(file:/Users/dawn/minecraft modding/coderdojo-0.1.2.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55)


From: Joseph Dean notifications@github.com To: CoderDojoSV/MinecraftMods MinecraftMods@noreply.github.com Cc: Dawn M dawn_murakami@yahoo.com Sent: Friday, February 21, 2014 12:54 PM Subject: Re: [MinecraftMods] South Bay CoderDojo Minecraft Sessions (#3)

@iTweak0r yea working with troubles in windows 8.x right now... will have an updated version soon ... sorry about that. — Reply to this email directly or view it on GitHub.

joedean commented 10 years ago

@iTweak0r code is updated... now try.

cornof commented 10 years ago

I passed! It didn't like the space in the pathname...

MacBook-Air-2:minecraft_modding dawn$ java -jar coderdojo-0.1.2.jar Please be patient while I inspect your environment... Checking Minecraft User Name... success Checking Java Version... success Checking Minecraft... success Checking Forge... success

Checking ComputerCraft... success

Version 0.1.2 - Warlock_5969

xitiz-zerus-bozah-doled-furip-fedyd-ciloz-daluc-duxax


From: Joseph Dean notifications@github.com To: CoderDojoSV/MinecraftMods MinecraftMods@noreply.github.com Cc: Dawn M dawn_murakami@yahoo.com Sent: Friday, February 21, 2014 3:28 PM Subject: Re: [MinecraftMods] South Bay CoderDojo Minecraft Sessions (#3)

@iTweak0r code is updated... now try. — Reply to this email directly or view it on GitHub.

linuxgeek commented 10 years ago

edit: It did not like the characters I used to symbolize actual key presses. Hopefully this looks better.

I find the easiest way to launch this in windows is to have the user open up a command window, (ie Run->cmd).

Then type "java[space]-jar[space]".

Then find the jar file that you want to launch, and drag it into the command window. It will automagically put the full path in the command window with quotes around it. The quotes around it, negate the issue of spaces and other similar characters.

@joedean It might be useful to keep the shell script to check java, and then launch the jar. In Windows, could use batch file to launch the command window with what to type. In the command window it would echo this: Enter the text below and wait, java[spacebar]-jar[spacebar][find and drag in coderdojo-0.1.2.jar file here][enter]

It will look something like this: java -jar "C:\temp\coderdojo-0.1.2.jar"

Maybe overkill, but I thought I'd mention it. It sounds awkward the way I described it so that's not so great. ;)

valeriefreitas commented 10 years ago

@joedean is the link the same for the updated windows 8 version?

On Fri, Feb 21, 2014 at 3:28 PM, Joseph Dean notifications@github.comwrote:

@iTweak0r https://github.com/iTweak0r code is updated... now try.

Reply to this email directly or view it on GitHubhttps://github.com/CoderDojoSV/MinecraftMods/issues/3#issuecomment-35784720 .

joedean commented 10 years ago

@valeriefreitas v1.2 has windows 8 updates... It includes color output to be "nicer".

@linuxgeek Maybe I should just have the batch script launch the command prompt and run java automatically. Assuming there is a way to keep the command prompt up when script completes... I'll need to Google that. Although, I like your thought of having them type it in with instructions, it is nicer that the kids get used to command prompts and running java commands from a jar. When my kids really wanted to play Minecraft on my Linux box they were able to figure this out on there own and of course, had the help of Google... They just needed the incentive! :-)

valeriefreitas commented 10 years ago

@joedean

I think we've reached success on Windows 8!

My son's transcript:

Please be patient while I inspect your environment... Checking Minecraft User Name... Please enter your Minecraft user name: alexfreitas Checking Minecraft User Name: success Checking Java Version... success Checking Minecraft... success Checking Forge... Make sure minecraft has run at least once in 1.6.4 mode When the simple forge installer dialog comes up select 'Install client' and clic k 'Ok' Installing Forge: success Checking ComputerCraft...

Installing ComputerCraft: success

Version 0.1.2 - alexfreitas xovat-tybag-kohah-tuhov-loder- sivyn-dehuv-nicik-duxux

On Fri, Feb 21, 2014 at 8:04 PM, Joseph Dean notifications@github.comwrote:

@valeriefreitas https://github.com/valeriefreitas v1.2 has windows 8 updates... It includes color output to be "nicer".

@linuxgeek https://github.com/linuxgeek Maybe I should just have the batch script launch the command prompt and run java automatically. Assuming there is a way to keep the command prompt up when script completes... I'll need to Google that. Although, I like your thought of having them type it in with instructions, it is nicer that the kids get used to command prompts and running java commands from a jar. When my kids really wanted to play Minecraft on my Linux box they were able to figure this out on there own and of course, had the help of Google... They just needed the incentive! :-)

Reply to this email directly or view it on GitHubhttps://github.com/CoderDojoSV/MinecraftMods/issues/3#issuecomment-35793990 .

joedean commented 10 years ago

Slides for tomorrow nights session are pushed to repo

linuxgeek commented 10 years ago

When is the minecraft session? Tonight(tuesday) or tomorrow(wednesday) night? It doesn't show up on coderdojo calendar. I see the first minecraft session, and today's 6-week session, but I don't see the 2nd session of minecraft.

Oscar

joedean commented 10 years ago

@linuxgeek it's tonight at 6pm-8pm....

@cornof can you send another email to avoid confusion? Include link to setup script in email.... @marcyDel can you update the coderdojo calendar?

What is the kid count for tonight? Couple of my son's friends have bailed out last second....

thanks

cornof commented 10 years ago

I'm at work today, won't be able to send the email out until I get home around 2pm

dawn


From: Joseph Dean notifications@github.com To: CoderDojoSV/MinecraftMods MinecraftMods@noreply.github.com Cc: Dawn M dawn_murakami@yahoo.com Sent: Tuesday, February 25, 2014 11:38 AM Subject: Re: [MinecraftMods] South Bay CoderDojo Minecraft Sessions (#3)

@linuxgeek it's tonight at 6pm-8pm.... @cornof can you send another email to avoid confusion? Include link to setup script in email.... @marcyDel can you update the coderdojo calendar? What is the kid count for tonight? Couple of my son's friends have bailed out last second.... thanks — Reply to this email directly or view it on GitHub.

linuxgeek commented 10 years ago

So, the 6 week sessions AND the minecraft session are tonight?!

You probably have enough mentors at minecraft, so I'll stay at int. scratch. I see a list of mentors for scratch intermediate (at 4 with me), but I don't see a list of mentors for minecraft.

Sorry for figuring this out so late. I assumed we wouldn't be having multiple sessions tonight and at different locations.

Oscar

joedean commented 10 years ago

Minecraft Session 3 Overview

Topic:

Introduction to ComputerCraft Turtle Programming with Lua

Description:

An introduction to the Lua programming language using Minecraft ComputerCraft mod. Planning to teach the basics of the Lua programming language and how to use this language to control turtles. The turtles can then be used to automate mining, crafting, farming, etc.

More advanced users can create Lua programs and share them with everyone after

Prerequisites:

  1. Download and run environment check script When the script finishes if will print out something like
----------------------------------------
Version 0.1.3 - Username
30/s08933/s90/20934/93es
----------------------------------------

Send this to event organizer so we know your environment is setup correctly. If you do not get this then there is a problem with your environment and you will need to fix the environment based on feedback provided by the script.

More details and thoughts about this third session

I plan to use the materials put together by @nuclearsandwich to introduce Lua. Mostly the awesome language intro page he put together. Then spend most of the time going through a couple of turtle programs together. The goal is to enable the kids to build turtle programs on their own throughout the next month before the fourth session.

valeriefreitas commented 10 years ago

What is the date of this session?

On Wed, Mar 12, 2014 at 7:14 AM, Joseph Dean notifications@github.comwrote:

Minecraft Session 3 Overview Topic:

Introduction to ComputerCraft Turtle Programming with Lua Description:

An introduction to the Lua programming language using Minecraft ComputerCraft mod. Planning to teach the basics of the Lua programming language and how to use this language to control turtles. The turtles can then be used to automate mining, crafting, farming, etc.

More advanced users can create Lua programs and share them with everyone after Prerequisites:

  1. Download and run [environment check script ( http://www.simplecupofjoe.com/downloads/coderdojo.html) When the script finishes if will print out something like

Version 0.1.3 - Username

30/s08933/s90/20934/93es

Send this to event organizer so we know your environment is setup correctly. If you do not get this then there is a problem with your environment and you will need to fix the environment based on feedback provided by the script. More details and thoughts about this third session

I plan to use the materials put together by @nuclearsandwichhttps://github.com/nuclearsandwichto introduce Lua. Mostly the awesome language introhttp://coderdojosv.github.io/mobile-games/section-00/docs/introduction.htmlpage he put together. Then spend most of the time going through a couple of turtle programs together. The goal is to enable the kids to build turtle programs on there own throughout the next month before the fourth session.

Reply to this email directly or view it on GitHubhttps://github.com/CoderDojoSV/MinecraftMods/issues/3#issuecomment-37412555 .