Wednesday, May 8, 2013

Minecraft Modding, AP Examming, and Final Program Projecting?!?



Parallel Structure?! Naw not really XD

Yo wazzup mah peoples! =D

I promised I would update with my modding adventures, and so I am doing just that.
A while back, I don’t recall if I mentioned this in my last post, I was spawning Enderdragons in the overworld.
Now, I thought it would be a good idea to increase the spawn probability of the dragons so  I would see them faster…
(I was worried that since I had modded the Dragon’s class file that I had made it unspawnable)

I was right, it was unspawnable..
So I changed it back and saved, and then…
BOOM!
Millions of Enderdragons spawned everywhere! @O@!

The game slowed to a laggy crawl, and I myself crawled and slowly built a Nether portal to escape the madness.

Crazy indeed.

Thank the good lord I was on creative mode!! xD
And thank goodness I had modified the Enderdragon class so they can no longer destroy blocks upon contact.
(Let me tell you, if you spawn them in the overworld they will TERRAFORM your land.
And by terraform, I mean to imply that they will obliterate your landscapes.
Perhaps good for mining, but not really, since they destroy everything.
You’d have to be pretty good at killing them for that to be and effective measure. lol)

 

 

Here is my first encounter with spawning Enderdragons in the overworld.
(NOT the one where I spawned a billion of them on accident..)









2013-04-22_16.26.42






2013-04-22_16.38.42



2013-04-22_16.41.00


 

2013-04-22_16.41.52

As you can see, there were quite a few of them.
It was hard to capture them all in a pic!! xD

 

2013-04-22_16.44.16

Here is an example of what happens when they dive in to attack you, the land is carved out like ‘twas nothing. O_O

 

2013-04-29_13.06.05

 

Pure, uncontrollable CARNAGE!! lol
Yeah, so that is why I made it so Enderdragons can’t destroy these kinds of blocks XD

As for when a million spawned….
2013-05-09_18.14.11

Spawning them isn’t hard, it’s killing them and stopping the lag that is the tricksy bit. –.-It

I tried changing their maximum health, but it still took too long to kill them, and they are so hard to catch. ;/

SO I tried changing their maximum health to zero and they all did the death animation simultaneously:

2013-05-09_18.20.08

2013-05-09_18.21.54

Which would have been nice if it had worked better!
Apparently this slowed down the game too, and I have no clue if any of it actually killed any of the dragons! @~@

I ended up just changing the code so when the Enderdragon is hit it sets itself to dead.

2013-05-09_18.35.52

 

I ended up going hunting and killing all the rest of the dragons with awesome eggs.
Yeah, totally awesome eggs Smile with tongue out




Some of the other mods I was working on earlier, all base-class mods, were making it so cows and wolfs spawn in the Nether, making something I dubbed “CakeSeed” which you can tempt chickens with, which will make the chickens poop out golden nuggets instead of eggs for that moment you feed them cakeseed.
2013-04-21_15.11.35
2013-04-21_15.20.16

2013-04-21_23.10.46
(…continuing talking about cakeseed…)
And, which can be harvested from cake, and can be planted as a cake.
And… yeah, it can be eaten when placed on the ground too, as it is just cake.
You can’t really tell the difference =P
2013-04-22_01.16.16
^Chickens laying golden nuggets since I am feeding them cakeseed

2013-04-22_01.18.28
^Some planted cakeseed. (notice the tilled ground underneath the cake, and the stone hoe in my hotbar)

 

 

I did, however, make a special graphic for the cakeseed :D
I couldn’t figure out how to include it in the source code, so I had to add into the .jar file manually after compiling.
(but I think I figured out what was wrong, I have to include the image in the jar/resources folder or whatever wherever it is)

2013-04-22_09.57.38
^There is my graphic for cakeseed! :D
Isn’t it lovely? ;)
I think I had just destroyed a cake to see if it would drop cakeseed as I expected it to do, and I think it worked in that image. (I don’t quite remember, but I think that is true)


Aside from trying to spawn enderdragons, I also tried to spawn Ghasts :O
2013-04-21_23.01.05
^Scenic Ghast picture, nice sunset and Ghast combo there ;p

Unfortunately, unlike Enderdragons, Ghasts just keep on flying… Upwards.. forever.
(I think)
They just kept going higher and higher, and I couldn’t get them to launch fireballs at me.
I don’t know if they are incapable in the overworld, if they need lava to do so, or what, but I couldn’t figure it out.
(Though, I suppose if I look at the code for a Ghast I could figure out something at least.)


 2013-04-21_23.03.12



2013-04-21_23.09.51

The silly things just kept on flying away… like puffs in the wind, or clouds, or something.
IT was strange!! xD

I am also working on another mod, as these other ones were just for fun exploring what you can do with minecraft modding.
My current mod?

Well, it’s working already, but this is a small part of a major overhaul that I intend to draft out over the summer. (if I have time, which I might/should)

First thing I am doing and am halfway done with now?
Chicken eggs.
Yep, they spawn from Chickens all right.
But I have modded the game so that if you are holding a chicken egg in your hands (like it’s selected in your hotbar), then you take no fall damage and you fall in the same slow floating fashion as the chickens themselves do.
(yep! Awesome huh? :D)

I also made it so chicken eggs currently spawn lightning instead of baby chicklets, and do so 100% of the time rather than 1/8 of the time.
(This will be different in the final version of my mod)

The plan is as follows:

I will create a new Egg object that looks exactly like the normal egg object, and it will spawn rarely from chickens.
(The idea is that you won’t be able to tell if the chicken has spawned a rare egg that is a lightning egg or not)

This egg, not the other normal chicken eggs, WILL spawn lightning 100% of the time and WILL allow you to float like a chicken and take no fall damage.
(A very useful thing indeed.)

However, due to it’s rarity and usefulness in obliterating most mobs,
(Except creepers, pigs, and Endermen (well sometimes Enderment))
the player has to make a decision between using it as a weapon or as a tool.
(It is much more useful as a tool for floating down into ravines safely, or from the top of trees. Very useful for climbing trees, perhaps could even allow for new fortress designing mechanics, all based on the idea that members of the clan will ALWAYS carry an egg or two on them, so they can traverse the different sections of the fortress with ease.)

I do not have any ideas for other item mods or the like yet, but I will draft up some soon :>
OH WAIT! That is a tiny bit untrue.
I am working on making it so boats float in lava, and so they make you immune to fire while you ride them (else you’d catch on fire and your vision would be skewed with flames, very annoying and hard to navigate I’ll tell ya!))

The plan is to eventually replace the mod with an entire new Iron Boat, that is crafted from a normal boat, and which can be used in lava but will sink in water.
(okay, maybe it won’t sink in water, idk… I need to think about it :>
Lava is more dense than water, so the Iron boat would float more in Lava than water…)

I think if I can figure out how to do it, I want make a gigantic boat for a multiplayer server, a boat that can float on water and has a cockpit where one player can control it’s directions.
(And perhaps it will also have slots where crafted cannons can be placed, so one can build up an arsenal and load them with cannonballs.)

Speaking of which, it would make sense and it would be cool to make an extra large biome in which pirates spawn on their pirate ships, so a on a multiplayer server you can fight pirates and board THEIR ships and steal their loot, and then you can keep their ship as your own.

My true ambition is to create a meteorite that can crash into the minecraft world, and will scatter moonstone all over the land in the nearby biomes and oceans.
If you manage to collect enough moonstone you can create a portal to the moonrealm, where you will have to fight your way through the fortress there and defeat the boss.
Once defeated, you will earn yourself a space suit, which really is so you can dive underwater and not have the lack of oxygen kill you.
And so you can actually see what happens and is underwater.

I want to also add in a game mechanic whereby special chests spawn randomly underwater in the Ocean biome, chests that are nigh impossible to find if you don’t have the space suit from the moon realm.

Also, the moon realm will have it’s own special plants and biomes, and if you don’t defeat the boss and get the space suit within a certain span of time, you will begin to become infected and will slowly die.
(Like samus games kinda type genre)

Also, there will  be a secret uber hidden hard place to find on the moon realm, where you can find archaic symbols that give instructions on how to craft a moonstone crafting table, a table which allows you to craft special objects and the like from the native elements of the moon realm.
(Special potions, tools, etc)
These tools help on the moon realm specifically, and have some special applications down on earth too.
(Which I haven’t devised yet)

Only diamond tools are strong enough to mine the stones on the moon/planet, but once the other tools are crafted you can do much more and much more efficiently.

I am not sure how I want to design the portal, but I think it will require netherrack, obsidian, and moonstone…
And a torch pathway that leads to the portal.
The portal is ignited by placing a single torch at it’s doorstep.
When thus done, all the torches in a 50 km radius will disappear, and the day will instantaneously turn to night, and the portal will glow and swirl a chalky moonstone color.
The luminescence from the portal will be epic, I assure you :)

These are just my ideas.
Do I have what it takes to make these mods?
Currently no, but I do have the curiosity and desire to make them.

But like so many other hobbyists and noobs, I may not have the time to do all of this.
But I will report on what I do accomplish here, don’t worry :>
Thanks for reading! :D
I will update again soon (I think)!

Sincerely,

~James Dodon
(P.s. My final project in programming class is aiming to be a 2d minecraft like game…
I have a feeling game programming, even simple 2d game programming, is going to be a lot harder than I had anticipated… lol. But I have complete control over what happens, and can add in any features I wish. (Which is why I bought minecraft btw, because of the awesome modding scene. Totally unheard of in any other games ever)
As far as AP exams go, I have done Calculus and Chemistry, and now only have English (tomorrow morning) and Macroeconomics (next Thursday) left.
Chem sucked, Calc was pretty good, English will be okay (idk if I can get the 5 but I will try, it is possible), and Macro… well, we will see when I get there :)
That is all for now! XD
I will post my final project progress here as well,
Stay tuned! ;)

~James)

Tuesday, April 30, 2013

AP coursework

Hello dear readers! ;)

How is life? Hopefully you are pushing yourself to achieve your dreams and maximum potential, if there is such a thing as a maximum, and are enjoying the challenges and rewards of life.

Life is so beautiful, and the interaction betwixt individuals so fun at times.
Although, at this stage in my life I don't like group projects all that much.

What have I been up to?
Ya know, a million AP Calculus mock exams (in-class @~@)
A million AP Lit essays, and some AP Chem and Macroecon studying.
What else?

Well... To be honest, I also played some Minecraft and modded it too :P
(I'll post the pictures later)
Modding MC is really quite fun XD
Although, I am not following the community standards (of modders), and am modifying the base classes of the game.
(the main components if the game that the game comes with, versus adding new ones)

I also am working on my final project in programming, it's going to be epic! :D
I'm going to be writing it in Processing, the javascript first for prototyping the game engine and dynamics, and then in actual Java Processing as the project matures.

It's going to have similar aspects to both Animal Crossing and Minecraft, Mario, Legend of Zelda, etc.

So basically a giant map that you can explore, and it will have a storyline and enemies.
More importantly, it will have a plethora of options for customization :D
So users can create their own versions of a set of general objects in-game.
(trust me, it's going to be cool ;>)

For instance, if there is a shirt object in-game, then the user can make a shirt object using a well documented format and by supplying the specifications for the shirt constructor in a separate text file, which will be linked to the main text file which loads all the objects and general object types that exist in the game.

This process is going to heavily rely on OOP, and I think I might get some inspiration from modding MC.
But probably not, I am pretty self reliant when it comes to coding. :)

So yeah! I'll post pictures of what I have gotten so far! :>
This I'd going to be great!! ^u^

Thanks for reading!! :D

~James D.
Random piccy :p



- Posted using BlogPress from my iPortal

Sunday, March 17, 2013

Nanana come on come on I like it like it...

Hello peoples!! :D
How art thou and thine kinsmen?
Lol, okay in all seriousness, just a quick update on my life :>

Programming is fun but until I tackle a great and challenging program I think my learning has reached a plateau at the moment.

Economics, well... I need to self study for the AP and for the practice exam my teacher will give me when I return from spring break O_o
I'll be ready though I think :p

During the spring break I'll be out in California, getting my patriarchal blessing and saying hi to people I know and whatnot ;)

I am currently trying to learn Cantonese and Esperanto.
I would also try to learn French, Portuguese, and Japanese, but I think I barely have time for canto and Esperanto :/

Maybe after the APs are done :>
Them I can write programs that teach the subjects I understand best :p
(I do want to make a major educational game one day, so this would be a good prelude to that effort)

I still practice drawing every once in a blue moon, like you saw yesterdayish or so. (Okay like last week xD)

Did you guess who it was that I drew? :PPP
It was...



Kennedy of course!! XD
Who else would you think of animafying when you are bored? ;}
I still have a long way to go, as evidenced by the drawing I did, but I will keep practicing little by little until I grow really old and die.
:p lol

Oh yah, this last weekend was father and sons campout for my church so my dad and I went down to Pui O :)
It was beautiful!!
(Although there were a trillion Mosquitos @0@!!)



If I didn't know better I'd say that I had found my new home lol ;)
Okay, we get the point, it was pretty pretty there :p

Anyway, I tried to verbally teach someone object oriented programming last Friday and that was the biggest fail I've ever experienced.
He's really intelligent, but he wanted me to convert his convoluted program into object oriented code so he could see the transition :|
His program is so weird and complex that I don't want to touch it.
I want to rewrite it so it's simpler and easier to understand.
His method of writing tic tac toe, while it mostly works, is really really overcomplicated and uses a ton of unnecessary algebra to do things.
@_@
Yeah: I'm just going to guide and have him write a simple object oriented program... I think :)

As far as our group coding project goes, I think he's already started working on it :o
He's pretty intelligent and I don't doubt he had itchy coding fingers lol

But maybe he didn't I am not sure.

Anyway, things in my other classes seem to be going okay.
Except Chemistry seems a bit sucky still, I think I did terrible on a test I took.
But he had me go into the back and the sounds were quite loud still :/
Oh well.
Make up tests can be like that *shrug*

I have an advertising commercial project in Econ, so that should be interesting... Well, I think I have to go now. :(

Thanks for reading!! ^u^

Sincerely,

~James



- Posted using BlogPress from my iPortal Mini

Friday, March 15, 2013

Twas twice told true, twice testily too

Hello dear readers! :D
How are you? :)

Yesterday was Thursday which means I had anime club!! :P
Unfortunately everyone left shortly after meeting because there was nothing to do :/

I tried to convince them that drawing manga or discussing anime/manga was something we could do, but alas to no avail.

So I stayed and practiced converting real life into anime
Here is the result:



(Can you guess who? :p
hint: a famous American president answer at the end of this post)

Not the best drawing of him, but good practice nonetheless :)

Anyway, it seems my interests and desire to be great in so many different areas of profession and study makes it hard to focus and get anything substantive done in any of them :/

I think I might have to buckle down and focus on my majors for the time being

Although...
I love math, but I also love love English and history, and my English professor suggested to me that I perhaps major in the humanities.
I agree with his analysis of my interests and capabilities, but maybe he doesn't see the vibrant life that both math and English have and share.
Both are creative and fun endeavors that liberate the soul.
Both are subjects that take years of careful diligence, study, and practice to master.
Just like programming, art, pretty much everything really.

Maybe I am better at one thing than another, for instance I don't know very much of ap chemistry right now, but I love most subjects equally. :)

I have too many passions perhaps.. *shrug*


People don't understand.
Knowledge is power, but more so power over the mastery of oneself and one's endeavors than mastery over those selfsame things in others.

The more one knows the more they can see reality for what it truly is, the more the invisible structures of this reality and of our society becomes visible.
But more importantly it gives their creative endeavors an intellectual flare that exponentially increases its quality and potential.

Knowledge allows you to manipulate your operations to achieve great things, every little nougat of information, every morsel, feeds and enkindles that fire deep inside the heart of your work and breathes into it new life bolder and more audacious than before.

Knowledge gives you the resources and understanding necessary to apply and use those resources to achieve great and masterful things.

Knowledge is the power to achieve one's potential and to help others achieve theirs.

Knowledge is one of the most beautiful endeavors, and is one that all mankind can benefit from.

On that note my friends, let us dance amongst the stars and pursue those two great and noble endeavors:
The pursuit of knowledge and the pursuit of love.





~James



- Posted using BlogPress from my iPortal Mini

Monday, March 4, 2013

Alone in the Abyss

Alone in the Abyss we slip and slink About...

Hello readers! XD
Weird transition, I know lol :)
But I am here typing as I go to school to tell you about my life as of late :>

Our parents are out of town so we are taking care of the pets and ourselves, which isn't too bad but which takes time and focus.

I had a debate competition this last Saturday, which turned out to be a really fun experience, even if my team lost all except the friendly match.
It's interesting to see some great debaters speak, the difference is self evident.

I'm not the best debater and I've only just joined debate club, but it is a fun and intriguing sport to say the least :)

I still think they should have intellectual sports, where teams of people come together and in 40 mins research and write some epic speech or something or... ehhh..
Whoops xD I need to think about this more lol *shrug* :)

Anyway, there isn't much else to say for this post :0
So.. 'Til next time! ^.^
Thanks for reading!

Sincerely,

~James


- Posted using BlogPress from my iPortal Mini

Monday, February 4, 2013

Programming aspirations

Hello readers! :P

I am currently experimenting with classes in Processing.js, and have a desire to create a clone of the bubble shooter game thing.

(Where you have a cannon at the bottom and the bubbles/balls bounce off the walls and collide with some at the top of the screen, either resting there or destroying them if they are the same color)

I am devising ways to loop through a Ball[] array to do collision detection, and to check the colors of the colliding balls.

I want to build my own library for use with processing.js, one that will find much use in future students hands than in my own I think.
I like to create tools for myself, sure, but I don't know if I'll use them or move on to another language like Java instead. *shrug*

Since my ambition is to become a professor of pure mathematics at a university, I downloaded Moodle to my computer and have my own server running on my localhost.
It's pretty awesome :P
Only I use it right now, but I am using it to imagine how I would want to run my own classes and courses.
What kind of projects I would value, etc.

I think it would be cool to have students' grades be used in my class as economic resources, where there are a few little 'nation'-like groups in my class that compete and wage war, academically, against one another to win and perhaps get some fabulous reward idk.
Students will be able to transfer their 'Grade Points' into a virtual currency which will be allowed every two, three weeks, or just every week.

The little nations will have their own newspapers and forums, their own competitions, strategies, and study sessions.

Each will produce their own compendium of great works by the end of the course, which they will attempt to get published, along with a little bit that is a reflection on what the class experiment was like for them.

It should be fun, unorthodox, and should cause them to want to get the best grades possible.
I will ask the groups to share their techniques and unique ways of doing certain types of math problems with the rest of the class.
Although, that could be viewed as an economic resource and advantage over the other mini-nations...

Hmm...

Either way, the little Moodle server I have running is pretty spunky, I admit, and I will use it to create a database of my ideas and the like.

So what local servers do I have on my laptop now?
Moodle, Opensim, and Minecraft xD

Idk why, but they are all cool and useful in their own ways :)

I was thinking about how processingjs has limited saving ability, and considered how to save certain data as string versions of the hexadecimal.
And that perhaps an external program could be used to convert these strings into the actual files composed of the hexadecimal data.

Probably this urge comes from my game-hacking background, even if it seems stupid to do something that could be done easier in another language, that other language is not processing and I want to devise a way to do it in processing, and so I will.
I don't care how hard it is, if I want to do it I will.
I'm doing it for the sake of doing it, for fun, and because I think it's cool lol.

How much work that actually entails I do not know as of yet.

Well I must leave you with this for now,

Thanks for reading! :P

Sincerely,
~James



- Posted using BlogPress from my iPortal Mini

Saturday, February 2, 2013

A Mossy Mind

Oh woe my dear readers,
I have fallen victim to emotions of sadness and regret.
However, I am stabilizing myself by realigning my thoughts with the long term and what is truly important.
(Or trying and failing miserably to lol)

In order to write whatever I want and actually feel on this blog, I must ask my Parents and Sisters, if they are reading this, that they never associate what I write here with me and never ever approach me about it.
I would not be writing it here if I wanted to discuss it with you.
Which I don't.
If you cannot acquiesce to what I have asked of you, then I ask you to remove yourself from hence and ponder this no more.

So, with no further ado, let me continue with my thoughts...

So there is a girl that likes me, and I kinda liked her, but I liked other people more.. #teen_drama lol
I bore myself with this crap |_|

Anyway, today she met my sister to go ice skating.
Well, I was invited too.
And I wanted to go but it was too late.
....
Long story short, she and my sister had a great time and ended up ice skating and singing karaoke and I ended up doing nothing.
But that's not necessarily sad, though I feel so sad I missed out on such an opportunity for fun.
The girl told my sister she has gotten herself a boyfriend.
O.o

Ahh screw it, I'm going to rage code now haha ;}

Ttyl,

~James




- Posted using BlogPress from my iPortal Mini