Mythruna

General Category => Tech Support => Topic started by: belgariad87 on September 18, 2012, 02:34:34 PM



Title: Groovy
Post by: belgariad87 on September 18, 2012, 02:34:34 PM
Paul i'm trying to learn groovy, but first things first i need to download it! And when i try it says something about the JAVA_HOME. did you come across this?
If anyone can help me, then thanks!


Title: Re: Groovy
Post by: Michael on September 18, 2012, 02:41:54 PM
Paul i'm trying to learn groovy, but first things first i need to download it! And when i try it says something about the JAVA_HOME. did you come across this?
If anyone can help me, then thanks!

Paul helped me, I can help you (directions in next post.) fist off, what system do you run? if you run on windows 7/vista i can help you.


Title: Re: Groovy
Post by: belgariad87 on September 18, 2012, 02:42:24 PM
Paul helped me, I can help you
Thanks. What should i do?


Title: Re: Groovy
Post by: Michael on September 18, 2012, 02:44:16 PM
do you run on windows 7 or windows vista? if you do not run on either of those, i really do not know.


Title: Re: Groovy
Post by: pspeed on September 18, 2012, 02:54:59 PM
Paul i'm trying to learn groovy, but first things first i need to download it! And when i try it says something about the JAVA_HOME. did you come across this?
If anyone can help me, then thanks!

I walked through this step by painful step with un, so I will let him provide more detail if needed.

These are the usual starting places:
http://groovy.codehaus.org/Installing+Groovy
http://groovy.codehaus.org/Tutorial+1+-+Getting+started

JAVA_HOME is an environment variable.  If that's where you are getting stuck, though, you are in for quite a struggle.

Note: if you just want to play with groovy a little bit then there is a groovy console built into Mythruna.  From the command line run the Mythruna.exe with the -script option.  Then in a single player non-fullscreen game, run the /script command.  A second window will pop up.  In there you can type groovy code and execute it.


Title: Re: Groovy
Post by: Iggyjeckel on September 18, 2012, 03:18:11 PM
Quick question, I have the eclipse ide with java sdk7, would these work or no?


Title: Re: Groovy
Post by: pspeed on September 18, 2012, 03:23:30 PM
Quick question, I have the eclipse ide with java sdk7, would these work or no?

Sure.  The IDE you use shouldn't matter.  Different ones will have different groovy helpers.  I code with just a programmer's editor so I can't comment on which one has more help.


Title: Re: Groovy
Post by: Michael on September 18, 2012, 03:24:25 PM
Quick question, I have the eclipse ide with java sdk7, would these work or no?

Sure.  The IDE you use shouldn't matter.  Different ones will have different groovy helpers.  I code with just a programmer's editor so I can't comment on which one has more help.

and what is the "programmer's editor"? is it the groovy console itself?


Title: Re: Groovy
Post by: Michael on September 18, 2012, 03:28:25 PM
*Flips out in rage...*
ONO!!! I forgot how to install groovy!  >:(  :-\. I remember some. Paul can you tell me where I messed up xD
Quote
GROOVY_HOME        C:\Users\Michael\Scripting\groovy-2.0.1\bin\groovy
GROOVY_HOME\bin   C:\Users\Michael\Scripting\groovy-2.0.1\bin
PATH                     %GROOVY_HOME%\bin%PATH%
JAVA_HOME            C:\Program Files (x86)\Java\jdk1.7.0_07

Idiot, I should've just looked at the location, not delete and try to replace  :-[ I have a headache...


Title: Re: Groovy
Post by: Iggyjeckel on September 18, 2012, 03:29:44 PM
What else is needed, I can look it up but figured id ask


Title: Re: Groovy
Post by: Michael on September 18, 2012, 03:37:17 PM
Paul's mad at me xD

I should be ashamed at myself  :-[
making paul frustrated


Title: Re: Groovy
Post by: pspeed on September 18, 2012, 04:46:16 PM
and what is the "programmer's editor"? is it the groovy console itself?

A programmer's editor is a text editor with some features useful for programing.

You should have all of the PMs I sent you on how to get things setup... so I'm not going to repeat them.


Title: Re: Groovy
Post by: Michael on September 18, 2012, 05:00:32 PM
and what is the "programmer's editor"? is it the groovy console itself?

A programmer's editor is a text editor with some features useful for programing.

You should have all of the PMs I sent you on how to get things setup... so I'm not going to repeat them.

Dx I deleted them!
I didn't expect to need them again!

*super delicious epic fail*
I may figure it out :P


Title: Re: Groovy
Post by: Michael on September 18, 2012, 05:02:11 PM
any way to restore them  ???


Title: Re: Groovy
Post by: Michael on September 18, 2012, 05:57:27 PM
and what is the "programmer's editor"? is it the groovy console itself?

A programmer's editor is a text editor with some features useful for programing.

You should have all of the PMs I sent you on how to get things setup... so I'm not going to repeat them.

Dx I deleted them!
I didn't expect to need them again!

*super delicious epic fail*
I may figure it out :P

NOO i completely forgot :'(


Title: Re: Groovy
Post by: belgariad87 on September 18, 2012, 06:30:14 PM
... ok well I guess I'll just figure it out. I'm downloading the JDK 7 pack now so lets hope that will work this time when i declare it as the environment variable path.


Title: Re: Groovy
Post by: Michael on September 18, 2012, 06:53:50 PM
I'm so sorry that I forgot, school just interfered and erased my memory on installation xP

I'm pretty sure I got it all right, except I have a tiny error in the calculations in i feel in one of the environment variables...
i remember what the names of the variables are supposed to be..
i think it is more located at the center of my GROOVY variables......
it should come to me................
I will tell you if I find out!


Title: Re: Groovy
Post by: Michael on September 18, 2012, 06:56:03 PM
I'm so sorry that I forgot, school just interfered and erased my memory on installation xP

I'm pretty sure I got it all right, except I have a tiny error in the calculations in i feel in one of the environment variables...
i remember what the names of the variables are supposed to be..
i think it is more located at the center of my GROOVY variables......
it should come to me................
I will tell you if I find out!

I FOUND OUT!!!!

I will post the way to install..

in a new topic so whomever wants to install groovy can!!


Title: Re: Groovy
Post by: belgariad87 on September 18, 2012, 06:58:03 PM
Well i believe mine is working. but go ahead, I'm sure paul will inspire many to try Groovy


Title: Re: Groovy
Post by: Michael on September 18, 2012, 07:09:30 PM
Topic at http://mythruna.com/forum/index.php?topic=1001.0


Title: Re: Groovy
Post by: belgariad87 on September 19, 2012, 02:46:41 PM
Note: if you just want to play with groovy a little bit then there is a groovy console built into Mythruna.  From the command line run the Mythruna.exe with the -script option.  Then in a single player non-fullscreen game, run the /script command.  A second window will pop up.  In there you can type groovy code and execute it.
I thought i'd try to do what you said with mythruna, but I'm unfortunately new to this and can't seem to find the command line. I will google it in a second but if you can tell me that would be nice.


Title: Re: Groovy
Post by: Michael on September 19, 2012, 02:58:40 PM
Note: if you just want to play with groovy a little bit then there is a groovy console built into Mythruna.  From the command line run the Mythruna.exe with the -script option.  Then in a single player non-fullscreen game, run the /script command.  A second window will pop up.  In there you can type groovy code and execute it.
I thought i'd try to do what you said with mythruna, but I'm unfortunately new to this and can't seem to find the command line. I will google it in a second but if you can tell me that would be nice.

I think he means this:
select non-fullscreen, go to single-player, press enter, and type "/script" not sure lemme test it.


Title: Re: Groovy
Post by: Michael on September 19, 2012, 03:01:55 PM
Note: if you just want to play with groovy a little bit then there is a groovy console built into Mythruna.  From the command line run the Mythruna.exe with the -script option.  Then in a single player non-fullscreen game, run the /script command.  A second window will pop up.  In there you can type groovy code and execute it.
I thought i'd try to do what you said with mythruna, but I'm unfortunately new to this and can't seem to find the command line. I will google it in a second but if you can tell me that would be nice.

I think he means this:
select non-fullscreen, go to single-player, press enter, and type "/script" not sure lemme test it.
no.. thats not it... I really don't know, tried to help. I don't think google will be of any help.


Title: Re: Groovy
Post by: BenKenobiWan on September 19, 2012, 03:11:08 PM
From your windows desktop, search for "cmd"
Run cmd.

Open the directory with the Mythruna .exe in it. (Type "CD [directory path here]". a path is like "C:\users\Ben...")
Type the name of the Mythruna .exe into cmd (Mythruna-#########), a space and then -script. It should open Mythruna.


Title: Re: Groovy
Post by: belgariad87 on September 19, 2012, 03:38:39 PM
From your windows desktop, search for "cmd"
Run cmd.

Open the directory with the Mythruna .exe in it. (Type "CD [directory path here]". a path is like "C:\users\Ben...")
Type the name of the Mythruna .exe into cmd (Mythruna-#########), a space and then -script. It should open Mythruna.
Thanks ben, I forgot about that. I will try that next time i get on my computer (since the folder i keep mythruna in doesn't feel like letting me change its name to one with no spaces atm)


Title: Re: Groovy
Post by: pspeed on September 19, 2012, 06:00:15 PM
From your windows desktop, search for "cmd"
Run cmd.

Open the directory with the Mythruna .exe in it. (Type "CD [directory path here]". a path is like "C:\users\Ben...")
Type the name of the Mythruna .exe into cmd (Mythruna-#########), a space and then -script. It should open Mythruna.
Thanks ben, I forgot about that. I will try that next time i get on my computer (since the folder i keep mythruna in doesn't feel like letting me change its name to one with no spaces atm)

Note that the windows command line also support tab completion.  So you can type "CD C:\us" tab and it will finish the "users" for you for example.  Tab again to get the next us... name.  This makes it easier to traverse directories with spaces in them since the command line will automatically quote them.  For example "CD C:\Pro" tab should fill out "C:\Program Files" properly quoted.


Title: Re: Groovy
Post by: belgariad87 on September 19, 2012, 07:10:44 PM
i've never heard of that. sounds very helpful


Title: Re: Groovy
Post by: Moonkey on September 19, 2012, 09:17:38 PM
i've never heard of that. sounds very helpful
Your computer specs beat my laptop a bit :).
My new laptop has
Gpu: ATI mobility radeon HD 5820.
Cpu: i7 + forgot rest. (8 cores :D)
Ram: 6 gb's
Disk space: 500Gb + extra hard-drive space for 500GB + 500GB (1 TB :)) space.


Title: Re: Groovy
Post by: belgariad87 on September 20, 2012, 05:00:39 AM
i've never heard of that. sounds very helpful
Your computer specs beat my laptop a bit :).
My new laptop has
Gpu: ATI mobility radeon HD 5820.
Cpu: i7 + forgot rest. (8 cores :D)
Ram: 6 gb's
Disk space: 500Gb + extra hard-drive space for 500GB + 500GB (1 TB :)) space.
Thats a badass laptop!  :o yea mine said i7 something but i thought it was just quad core... might be wrong about that.


Title: Re: Groovy
Post by: Moonkey on September 20, 2012, 04:53:35 PM
i've never heard of that. sounds very helpful
Your computer specs beat my laptop a bit :).
My new laptop has
Gpu: ATI mobility radeon HD 5820.
Cpu: i7 + forgot rest. (8 cores :D)
Ram: 6 gb's
Disk space: 500Gb + extra hard-drive space for 500GB + 500GB (1 TB :)) space.
Thats a badass laptop!  :o yea mine said i7 something but i thought it was just quad core... might be wrong about that.
Actually. It isn't. I barely meet Recommended specs for Borderlands 2. My brothers (Except my little brother) all barely meet Recommended. An update for Borderlands 2 came out for the graphics card too. :) My brother installed it. (Haven't played Bl 2 yet though).


Title: Re: Groovy
Post by: belgariad87 on September 20, 2012, 06:56:22 PM
actually, it would be. you just need a tad more RAM and a better Graphics card, but that rivals desktops, which means to me its great


Title: Re: Groovy
Post by: Moonkey on September 20, 2012, 09:11:16 PM
actually, it would be. you just need a tad more RAM and a better Graphics card, but that rivals desktops, which means to me its great
It doesn't load as fast as I'd like. Max it can get is 2.8-2.9 Ghz. It has a built in booster. When I open a game, the cpu power boosts up to 2.5-2.9. It's really cool. (When my laptop is idle, it goes into power-saver mode and goes down to 1.6 Ghz for less heat :).