Futurecraft Forums

A forum dedicated to communication and innovation!
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Welcome, one and all, to the Futurecraft Forums!

Share | 
 

 Tell31's Java adventure!

View previous topic View next topic Go down 
Go to page : Previous  1, 2, 3  Next
AuthorMessage
hyperlite
Captain
Captain
avatar

Posts : 1529
Join date : 2012-01-18

PostSubject: Re: Tell31's Java adventure!   Wed Jul 18, 2012 7:37 pm

Don't think anyone else is going to get that.
Back to top Go down
View user profile
Laibach
General
General
avatar

Posts : 2024
Join date : 2012-01-23
Age : 66
Location : Frozen Fields

PostSubject: Re: Tell31's Java adventure!   Wed Jul 18, 2012 7:58 pm

fr0stbyte124 wrote:
Dayman wrote:
Mackeroth? wrote:
Dayman wrote:
Mackeroth? wrote:
Keon wrote:
fr0stbyte124 wrote:
But for loops are your greatest ally.

NAY! While loops are indeed holier than your foul for loops.

The most superior loop there is could only be the fabled Loop-hole!

Yeah! Ownage!


...I don't think you know what they're talking about...


for is the best loop, for an infinite loops it's just for(;; ) versus while(true) and instead of:

int n;
while(n < 10){
n++
//code here
}

you can just put(I think I have the order wrong here):

for(int n = 0; n <10; n++){
//code here
}

In Python, if I needed an infinite loop I just went:

Code:
while 1>0:
#code here


Why is there no indent button?

That's what I would like to know.

and it's (I think) slightly less taxing on the system to put while(true) or for(;Wink instead of 1>0, because the system doesn't have to do as many evaluations or something.

although In python I doubt that matters.
Most high level languages will do basic optimization on your code, e.g. unrolling loops, tweaking variable scope, and so forth. Pretty much there's not going to be a difference between various ways of saying "repeat forever" or for vs while, so don't stress over it. There is a difference in C++, though.


oh, thanks!
Back to top Go down
View user profile
Keon
Lord/Lady Rear Admiral 1st
Lord/Lady Rear Admiral 1st
avatar

Posts : 3075
Join date : 2012-01-17
Location : Hahahaha.

PostSubject: Re: Tell31's Java adventure!   Wed Jul 18, 2012 9:03 pm

Hmmmmph.. None of you are doing interesting things. How about coding Elder Scrolls 6? That would be interesting.

_________________
fr0stbyte124 wrote:
You know, I was thinking we should have a 3D crafting grid for complex recipes, but Kielaran is right: why have three dimensions when you can have six? Truly I don't know how we ever got by with a measly two.


Mackeroth? wrote:
Now, if Fr0stbyte wrote that, someone would make a sig, guaranteed. So what are you going to do now?
Back to top Go down
View user profile
hyperlite
Captain
Captain
avatar

Posts : 1529
Join date : 2012-01-18

PostSubject: Re: Tell31's Java adventure!   Wed Jul 18, 2012 9:05 pm

Elder Scrolls 6: Written in Java

Fus ro... ???
Back to top Go down
View user profile
Laibach
General
General
avatar

Posts : 2024
Join date : 2012-01-23
Age : 66
Location : Frozen Fields

PostSubject: Re: Tell31's Java adventure!   Wed Jul 18, 2012 9:15 pm

Keon wrote:
Hmmmmph.. None of you are doing interesting things. How about coding Elder Scrolls 6? That would be interesting.


<paranoid>I'm making a <CLASSIFIED> that controls a <CLASSIFIED> that controls players in an <CLASSIFIED>, and all of it is<CLASSIFIED>.

Not sure if I'll get it done this decade, also I have no idea how I would go about creating the <CLASSIFIED></paranoid>

it would be 'Fus ro opensource/multiplatform' imo.
Back to top Go down
View user profile
fr0stbyte124
Super Developrator
Super Developrator
avatar

Posts : 1835
Join date : 2011-10-13

PostSubject: Re: Tell31's Java adventure!   Wed Jul 18, 2012 11:57 pm

Dayman wrote:
Keon wrote:
Hmmmmph.. None of you are doing interesting things. How about coding Elder Scrolls 6? That would be interesting.


<paranoid>I'm making a <CLASSIFIED> that controls a <CLASSIFIED> that controls players in an <CLASSIFIED>, and all of it is<CLASSIFIED>.

Not sure if I'll get it done this decade, also I have no idea how I would go about creating the <CLASSIFIED></paranoid>
I would use quicksort.
Back to top Go down
View user profile
Dux Tell31
Recruit
Recruit
avatar

Posts : 378
Join date : 2012-01-05
Location : That is out of the question

PostSubject: Re: Tell31's Java adventure!   Thu Jul 19, 2012 4:32 pm

Day 4

Spoiler:
 
Back to top Go down
View user profile
hyperlite
Captain
Captain
avatar

Posts : 1529
Join date : 2012-01-18

PostSubject: Re: Tell31's Java adventure!   Thu Jul 19, 2012 4:46 pm

Back to top Go down
View user profile
Keon
Lord/Lady Rear Admiral 1st
Lord/Lady Rear Admiral 1st
avatar

Posts : 3075
Join date : 2012-01-17
Location : Hahahaha.

PostSubject: Re: Tell31's Java adventure!   Thu Jul 19, 2012 5:05 pm

Spelling. U haz it not. Boolean.

Oh great. You got me thinking. I now need to work out the logic gates of a trinary (No, spellcheck, I did not mean urinary.) system.

_________________
fr0stbyte124 wrote:
You know, I was thinking we should have a 3D crafting grid for complex recipes, but Kielaran is right: why have three dimensions when you can have six? Truly I don't know how we ever got by with a measly two.


Mackeroth? wrote:
Now, if Fr0stbyte wrote that, someone would make a sig, guaranteed. So what are you going to do now?
Back to top Go down
View user profile
Laibach
General
General
avatar

Posts : 2024
Join date : 2012-01-23
Age : 66
Location : Frozen Fields

PostSubject: Re: Tell31's Java adventure!   Thu Jul 19, 2012 5:06 pm

tell31 wrote:
Day 4

Spoiler:
 

Lol, that's bigger than any one file I've ever done.

so you came up with all of that code in 4 days?
wait, I thought it was a lot more complicated then it is, do you have a class for importing pictures? or will you have to do that on your own.


Last edited by Dayman on Thu Jul 19, 2012 5:09 pm; edited 1 time in total
Back to top Go down
View user profile
Keon
Lord/Lady Rear Admiral 1st
Lord/Lady Rear Admiral 1st
avatar

Posts : 3075
Join date : 2012-01-17
Location : Hahahaha.

PostSubject: Re: Tell31's Java adventure!   Thu Jul 19, 2012 5:07 pm

Dayman wrote:
tell31 wrote:
Day 4

Spoiler:
 

Lol, that's bigger than any one file I've ever done.

so you came up with all of that code in 4 days?

I like trains.

_________________
fr0stbyte124 wrote:
You know, I was thinking we should have a 3D crafting grid for complex recipes, but Kielaran is right: why have three dimensions when you can have six? Truly I don't know how we ever got by with a measly two.


Mackeroth? wrote:
Now, if Fr0stbyte wrote that, someone would make a sig, guaranteed. So what are you going to do now?
Back to top Go down
View user profile
Laibach
General
General
avatar

Posts : 2024
Join date : 2012-01-23
Age : 66
Location : Frozen Fields

PostSubject: Re: Tell31's Java adventure!   Thu Jul 19, 2012 5:13 pm

Keon wrote:
Dayman wrote:
tell31 wrote:
Day 4

Spoiler:
 

Lol, that's bigger than any one file I've ever done.

so you came up with all of that code in 4 days?

I like trains.

wait a minute.. did we just say trinary within 1 minute of each other..?
Back to top Go down
View user profile
Dux Tell31
Recruit
Recruit
avatar

Posts : 378
Join date : 2012-01-05
Location : That is out of the question

PostSubject: Re: Tell31's Java adventure!   Thu Jul 19, 2012 6:02 pm

Dayman wrote:
tell31 wrote:
Day 4

Spoiler:
 

Lol, that's bigger than any one file I've ever done.

so you came up with all of that code in 4 days?
wait, I thought it was a lot more complicated then it is, do you have a class for importing pictures? or will you have to do that on your own.


Ya, thats about right. Although I did use Standard Draw for displaying everything in a window and such. But its still got some logic bugs that absolutely refuse to go away.

For example in the code above, the red parts are supposed to make it so someone can't put more than one(1) "X" or "O" in a spot. But its not working...

Any suggestions?

I used Oracle cheers .



B.T.W. If you try and run this code without "Standard Draw" and replacing the code in green (which is the images for "X" and "O"), IT WILL CRASH!!!
Back to top Go down
View user profile
hyperlite
Captain
Captain
avatar

Posts : 1529
Join date : 2012-01-18

PostSubject: Re: Tell31's Java adventure!   Thu Jul 19, 2012 6:07 pm

I like spaghetti.

Edit: Make NIM

You won't beat the computer, go play it


Last edited by hyperlite on Thu Jul 19, 2012 6:19 pm; edited 1 time in total
Back to top Go down
View user profile
Laibach
General
General
avatar

Posts : 2024
Join date : 2012-01-23
Age : 66
Location : Frozen Fields

PostSubject: Re: Tell31's Java adventure!   Thu Jul 19, 2012 6:15 pm

tell31 wrote:
Dayman wrote:
tell31 wrote:
Day 4

Spoiler:
 

Lol, that's bigger than any one file I've ever done.

so you came up with all of that code in 4 days?
wait, I thought it was a lot more complicated then it is, do you have a class for importing pictures? or will you have to do that on your own.


Ya, thats about right. Although I did use Standard Draw for displaying everything in a window and such. But its still got some logic bugs that absolutely refuse to go away.

For example in the code above, the red parts are supposed to make it so someone can't put more than one(1) "X" or "O" in a spot. But its not working...

Any suggestions?

I used Oracle cheers .



B.T.W. If you try and run this code without "Standard Draw" and replacing the code in green (which is the images for "X" and "O"), IT WILL CRASH!!!

Oracle? you mean the java distribution?

or do you mean netbeans...?

also, I'm not familiar with arrays yet, but I don't think(I'm probably wrong) that you can just go "someArray[]++"
Back to top Go down
View user profile
Tell
Recruit
Recruit
avatar

Posts : 220
Join date : 2012-02-25
Age : 102
Location : Winterhold

PostSubject: Re: Tell31's Java adventure!   Sun Oct 14, 2012 3:23 pm

Alright its been about 3 months since we took the java corse back in july and I've just made/almost done my first mod in minecraft! All it does is add a "Steel" block in to the game. Next I'm going to be working to add steel items such as pickaxes. The only problem is that I'm a very bad texture person so I need a person to texture a steel block for me and then all share the mod with you guys!
Back to top Go down
View user profile
Iv121
General
General
avatar

Posts : 2396
Join date : 2012-02-05
Age : 22
Location : -> HERE ! <-

PostSubject: Re: Tell31's Java adventure!   Sun Oct 14, 2012 3:32 pm

16x16 , 32x32 , animated ? Pick your choice and let me know ...
Back to top Go down
View user profile
The Schmetterling
DEV
DEV
avatar

Posts : 3123
Join date : 2011-08-31
Location : I'm a butterfly.

PostSubject: Re: Tell31's Java adventure!   Sun Oct 14, 2012 5:03 pm

Iv121 wrote:
16x16 , 32x32 , animated ? Pick your choice and let me know ...

For steel, it would be a simple matter of darkening normal iron (because iron is not white), and making steel what iron is now. It took me 30 seconds on Photoshop when I did a similar thing ages ago. I then tried to turn a boat into a pick. Didn't go so well.

_________________



Noli timere tenebras quam lucem, id est tortor.


Spoiler:
 



Mackeroth est abiit. Hinc abiit, et misit me in profundum subconscious!
Back to top Go down
View user profile
Tell
Recruit
Recruit
avatar

Posts : 220
Join date : 2012-02-25
Age : 102
Location : Winterhold

PostSubject: Re: Tell31's Java adventure!   Sun Oct 14, 2012 5:51 pm

Just do what the Schmetterling said, make the iron block but like two shades darker.
Back to top Go down
View user profile
Iv121
General
General
avatar

Posts : 2396
Join date : 2012-02-05
Age : 22
Location : -> HERE ! <-

PostSubject: Re: Tell31's Java adventure!   Sun Oct 14, 2012 6:11 pm

Yep 30 secs ... I thought you'd like a wholey new texture ... here I just uploaded it , a nice methalish color:

Right click on this image and press "save picture":

This picture is a preview:



Srsly I can do much more than tweaking brightness and contrast ...
Back to top Go down
View user profile
Tiel+
Lord/Lady Rear Admiral 1st
Lord/Lady Rear Admiral 1st
avatar

Posts : 5497
Join date : 2012-02-20
Age : 20
Location : AFK

PostSubject: Re: Tell31's Java adventure!   Sun Oct 14, 2012 6:26 pm

Yet that seems the only thing you did with that texture..? confused
Back to top Go down
View user profile
Tell
Recruit
Recruit
avatar

Posts : 220
Join date : 2012-02-25
Age : 102
Location : Winterhold

PostSubject: Re: Tell31's Java adventure!   Sun Oct 14, 2012 8:39 pm

Okay so I tryed running minecraft with the mod and stuff but it ran in to a problem. So far I think its Mod loader and it trying to load mods that are not there. If any one know's how to fix this please tell me.

Here's the code of what happend
Spoiler:
 
Back to top Go down
View user profile
Last_Jedi_Standing
Moderator
Moderator
avatar

Posts : 3033
Join date : 2012-02-19
Age : 104
Location : Coruscant

PostSubject: Re: Tell31's Java adventure!   Sun Oct 14, 2012 9:19 pm

Looks like it's broken.

_________________
Spoiler:
 

Back to top Go down
View user profile
Tell
Recruit
Recruit
avatar

Posts : 220
Join date : 2012-02-25
Age : 102
Location : Winterhold

PostSubject: Re: Tell31's Java adventure!   Sun Oct 14, 2012 10:26 pm

I reinstalled mod loader and that fixed it. All most likely put out the mod tomarrow so get ready!
Back to top Go down
View user profile
Iv121
General
General
avatar

Posts : 2396
Join date : 2012-02-05
Age : 22
Location : -> HERE ! <-

PostSubject: Re: Tell31's Java adventure!   Mon Oct 15, 2012 1:15 am

Tiel wrote:
Yet that seems the only thing you did with that texture..? confused

That's what they asked for ...
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: Tell31's Java adventure!   

Back to top Go down
 
Tell31's Java adventure!
View previous topic View next topic Back to top 
Page 2 of 3Go to page : Previous  1, 2, 3  Next
 Similar topics
-
» Verify command when used with Java,JUNIT and Eclipse
» STP's Share Your Adventure Photo Contest
» opera browser not loading the page using selenium Rc(Java)
» JAVA tunnel Based UAE Solution Available in Just $149 @ VoIP
» [Help] Java input Username field as a timestamp

Permissions in this forum:You cannot reply to topics in this forum
Futurecraft Forums :: General Area :: Off-Topic Area-
Jump to: