HOLY CRAP Do I have a lot of work on my hands.

This forum is for anything that doesn't specifically have to do with Better Than Wolves
User avatar
RaustBlackDragon
Posts: 1748
Joined: Fri Oct 14, 2011 6:25 pm

HOLY CRAP Do I have a lot of work on my hands.

Post by RaustBlackDragon »

Oh boy, MCP60 is out! Time for me to-

Code: Select all

    public EntityWolf(World par1World)
    {
        super(par1World);
        looksWithInterest = false;
        texture = "/mob/wolf.png";
        setSize(0.6F, 0.8F);
        moveSpeed = 0.3F;
        func_48084_aL().func_48664_a(true);
        tasks.addTask(1, new EntityAISwimming(this));
        tasks.addTask(2, field_48146_a);
        tasks.addTask(3, new EntityAILeapAtTarget(this, 0.4F));
        tasks.addTask(4, new EntityAIAttackOnCollide(this, moveSpeed, true));
        tasks.addTask(5, new EntityAIFollowOwner(this, moveSpeed, 10F, 2.0F));
        tasks.addTask(6, new EntityAIMate(this, moveSpeed));
        tasks.addTask(7, new EntityAIWander(this, moveSpeed));
        tasks.addTask(8, new EntityAIBeg(this, 8F));
        tasks.addTask(9, new EntityAIWatchClosest(this, net.minecraft.src.EntityPlayer.class, 8F));
        tasks.addTask(9, new EntityAILookIdle(this));
        field_48105_bU.addTask(1, new EntityAIOwnerHurtByTarget(this));
        field_48105_bU.addTask(2, new EntityAIOwnerHurtTarget(this));
        field_48105_bU.addTask(3, new EntityAIHurtByTarget(this, true));
        field_48105_bU.addTask(4, new EntityAITargetNonTamed(this, net.minecraft.src.EntitySheep.class, 16F, 200, false));
*Brain explodes*


Yeah, the new AI guy really outdid himself in this patch. The code format is... barely recognizable. It's NUTS. AWESOME... but NUTS.

Looks like I've got a full day of coding ahead of me! With any luck though, I'll be done before the end of the day and I can get to work on MMC.

In retrospect, I can't believe I didn't see this coming. Granted, I thought that most of this would be in inherited classes, and it was, technically, but it still needs to be called here. I think I actually envy the position of tech mods right now, they largely don't have to deal with this.

My heart goes out to DrZhark. Poor bastard.
What's the price of freedom now?
Can you cut me a deal?
A crate of wholesale liberty,
or a justice combo meal?
User avatar
FurkeyRefills
Posts: 482
Joined: Wed Jul 06, 2011 11:49 am
Location: England

Re: HOLY CRAP Do I have a lot of work on my hands.

Post by FurkeyRefills »

I bet updating for a villager mod would be worse ;)
FlowerChild wrote:I've made another decision... Fuck being a plug-in.
User avatar
Poppycocks
Posts: 825
Joined: Thu Dec 22, 2011 2:11 pm

Re: HOLY CRAP Do I have a lot of work on my hands.

Post by Poppycocks »

RaustBlackDragon wrote:Oh boy, MCP60 is out! Time for me to-
Spoiler
Show

Code: Select all

    public EntityWolf(World par1World)
    {
        super(par1World);
        looksWithInterest = false;
        texture = "/mob/wolf.png";
        setSize(0.6F, 0.8F);
        moveSpeed = 0.3F;
        func_48084_aL().func_48664_a(true);
        tasks.addTask(1, new EntityAISwimming(this));
        tasks.addTask(2, field_48146_a);
        tasks.addTask(3, new EntityAILeapAtTarget(this, 0.4F));
        tasks.addTask(4, new EntityAIAttackOnCollide(this, moveSpeed, true));
        tasks.addTask(5, new EntityAIFollowOwner(this, moveSpeed, 10F, 2.0F));
        tasks.addTask(6, new EntityAIMate(this, moveSpeed));
        tasks.addTask(7, new EntityAIWander(this, moveSpeed));
        tasks.addTask(8, new EntityAIBeg(this, 8F));
        tasks.addTask(9, new EntityAIWatchClosest(this, net.minecraft.src.EntityPlayer.class, 8F));
        tasks.addTask(9, new EntityAILookIdle(this));
        field_48105_bU.addTask(1, new EntityAIOwnerHurtByTarget(this));
        field_48105_bU.addTask(2, new EntityAIOwnerHurtTarget(this));
        field_48105_bU.addTask(3, new EntityAIHurtByTarget(this, true));
        field_48105_bU.addTask(4, new EntityAITargetNonTamed(this, net.minecraft.src.EntitySheep.class, 16F, 200, false));
*Brain explodes*
:D

But hey, at least there's finally something resembling an actual AI in.
User avatar
RaustBlackDragon
Posts: 1748
Joined: Fri Oct 14, 2011 6:25 pm

Re: HOLY CRAP Do I have a lot of work on my hands.

Post by RaustBlackDragon »

Poppycocks wrote:
RaustBlackDragon wrote:Oh boy, MCP60 is out! Time for me to-
Spoiler
Show

Code: Select all

    public EntityWolf(World par1World)
    {
        super(par1World);
        looksWithInterest = false;
        texture = "/mob/wolf.png";
        setSize(0.6F, 0.8F);
        moveSpeed = 0.3F;
        func_48084_aL().func_48664_a(true);
        tasks.addTask(1, new EntityAISwimming(this));
        tasks.addTask(2, field_48146_a);
        tasks.addTask(3, new EntityAILeapAtTarget(this, 0.4F));
        tasks.addTask(4, new EntityAIAttackOnCollide(this, moveSpeed, true));
        tasks.addTask(5, new EntityAIFollowOwner(this, moveSpeed, 10F, 2.0F));
        tasks.addTask(6, new EntityAIMate(this, moveSpeed));
        tasks.addTask(7, new EntityAIWander(this, moveSpeed));
        tasks.addTask(8, new EntityAIBeg(this, 8F));
        tasks.addTask(9, new EntityAIWatchClosest(this, net.minecraft.src.EntityPlayer.class, 8F));
        tasks.addTask(9, new EntityAILookIdle(this));
        field_48105_bU.addTask(1, new EntityAIOwnerHurtByTarget(this));
        field_48105_bU.addTask(2, new EntityAIOwnerHurtTarget(this));
        field_48105_bU.addTask(3, new EntityAIHurtByTarget(this, true));
        field_48105_bU.addTask(4, new EntityAITargetNonTamed(this, net.minecraft.src.EntitySheep.class, 16F, 200, false));
*Brain explodes*
:D

But hey, at least there's finally something resembling an actual AI in.
It's awesome, to be sure, but updating is NOT going to be fun :(
What's the price of freedom now?
Can you cut me a deal?
A crate of wholesale liberty,
or a justice combo meal?
User avatar
Poppycocks
Posts: 825
Joined: Thu Dec 22, 2011 2:11 pm

Re: HOLY CRAP Do I have a lot of work on my hands.

Post by Poppycocks »

Yeah... I can see that you'll have to redo practically everything.

All I can do is wish you strong nerves and good luck.
User avatar
RaustBlackDragon
Posts: 1748
Joined: Fri Oct 14, 2011 6:25 pm

Re: HOLY CRAP Do I have a lot of work on my hands.

Post by RaustBlackDragon »

Poppycocks wrote:Yeah... I can see that you'll have to redo practically everything.

All I can do is wish you strong nerves and good luck.
Thank you, I'm going to need both. GREATLY.

I also hope that I'm overreacting in my initial impressions when I say that the new wolves are horrible.

Yes, they're smarter, but in the process they've become exceptionally creepy and robotic. The way they move their heads now, the way they turn as if they're a 18-wheeler, their torsos making wide swings around the head...

I'm grateful that there appears to be an option to turn the new AI off for individual mobs. I'm actually currently SORELY tempted to do that for my mod. Seriously.
What's the price of freedom now?
Can you cut me a deal?
A crate of wholesale liberty,
or a justice combo meal?
User avatar
Poppycocks
Posts: 825
Joined: Thu Dec 22, 2011 2:11 pm

Re: HOLY CRAP Do I have a lot of work on my hands.

Post by Poppycocks »

RaustBlackDragon wrote:
Poppycocks wrote:Yeah... I can see that you'll have to redo practically everything.

All I can do is wish you strong nerves and good luck.
Thank you, I'm going to need both. GREATLY.

I also hope that I'm overreacting in my initial impressions when I say that the new wolves are horrible.

Yes, they're smarter, but in the process they've become exceptionally creepy and robotic. The way they move their heads now, the way they turn as if they're a 18-wheeler, their torsos making wide swings around the head...

I'm grateful that there appears to be an option to turn the new AI off for individual mobs. I'm actually currently SORELY tempted to do that for my mod. Seriously.
You could do that.

Or give them the ability to shoot lasers from their eyes.
Dr. Kylstein
Posts: 67
Joined: Thu Feb 09, 2012 8:05 pm

Re: HOLY CRAP Do I have a lot of work on my hands.

Post by Dr. Kylstein »

RaustBlackDragon wrote: I also hope that I'm overreacting in my initial impressions when I say that the new wolves are horrible.

Yes, they're smarter, but in the process they've become exceptionally creepy and robotic. The way they move their heads now, the way they turn as if they're a 18-wheeler, their torsos making wide swings around the head...

I'm grateful that there appears to be an option to turn the new AI off for individual mobs. I'm actually currently SORELY tempted to do that for my mod. Seriously.
You mean you never realized? They were always robots. ;p
Image
User avatar
FlowerChild
Site Admin
Posts: 18753
Joined: Mon Jul 04, 2011 7:24 pm

Re: HOLY CRAP Do I have a lot of work on my hands.

Post by FlowerChild »

Dr. Kylstein wrote: You mean you never realized? They were always robots. ;p
You've got me wondering what Dung is going to look like in that texture pack now :)
User avatar
jorgebonafe
Posts: 2714
Joined: Mon Sep 19, 2011 3:22 am
Location: Brasil

Re: HOLY CRAP Do I have a lot of work on my hands.

Post by jorgebonafe »

FlowerChild wrote:You've got me wondering what Dung is going to look like in that texture pack now :)
Something like this, most likely :P
Spoiler
Show
Image
Better Than Wolves was borne of anal sex. True Story.
User avatar
Ribky
Posts: 965
Joined: Thu Dec 01, 2011 12:08 am
Location: CONFIDENTIAL

Re: HOLY CRAP Do I have a lot of work on my hands.

Post by Ribky »

FlowerChild wrote:
You've got me wondering what Dung is going to look like in that texture pack now :)
Sorta like this I reckon

EDIT: Blargh... ninja'd

Image
The spice must flow...

[03:28] <Detritus_> Weird, I'm still logged in her
User avatar
ThatOneDude
Posts: 370
Joined: Mon Sep 19, 2011 9:16 pm

Re: HOLY CRAP Do I have a lot of work on my hands.

Post by ThatOneDude »

Dr. Kylstein wrote:
RaustBlackDragon wrote: I also hope that I'm overreacting in my initial impressions when I say that the new wolves are horrible.

Yes, they're smarter, but in the process they've become exceptionally creepy and robotic. The way they move their heads now, the way they turn as if they're a 18-wheeler, their torsos making wide swings around the head...

I'm grateful that there appears to be an option to turn the new AI off for individual mobs. I'm actually currently SORELY tempted to do that for my mod. Seriously.
You mean you never realized? They were always robots. ;p
Image
Texture pack!?
Quality comes before quantity.
User avatar
PureZaros
Posts: 151
Joined: Mon Jul 04, 2011 9:35 pm
Location: With a herd of alpaca in the La Raya mountains

Re: HOLY CRAP Do I have a lot of work on my hands.

Post by PureZaros »

ThatOneDude wrote:
Texture pack!?
Pretty sure it's Glimmar's Steampunk.
Spoiler
Show
FlowerChild wrote:
Panda wrote:Edit: Thanks for the sticky good sir. <3
I really wish more women said things like this.
User avatar
FlowerChild
Site Admin
Posts: 18753
Joined: Mon Jul 04, 2011 7:24 pm

Re: HOLY CRAP Do I have a lot of work on my hands.

Post by FlowerChild »

Arg...fuck me.

The "lot of work" for this update just hit me, not from the AI, but from MCP deciding to rename all the deobfuscated paramaters for functions as "par1, par2, par3, etc". instead of the former "i, j, k, etc.".

For the love of the gods, why?!!!!! Man, I really hate it when those guys just rename variables for shits and giggles. What a fucking mess.
User avatar
Battlecat
Posts: 499
Joined: Tue Jul 05, 2011 2:04 pm

Re: HOLY CRAP Do I have a lot of work on my hands.

Post by Battlecat »

Oh crap, that sounds hideous!
User avatar
ilovekintoki
Posts: 162
Joined: Tue Jul 05, 2011 4:57 am

Re: HOLY CRAP Do I have a lot of work on my hands.

Post by ilovekintoki »

Dr. Kylstein wrote:-snip-
Reminds me of this fella:

Image
User avatar
FlowerChild
Site Admin
Posts: 18753
Joined: Mon Jul 04, 2011 7:24 pm

Re: HOLY CRAP Do I have a lot of work on my hands.

Post by FlowerChild »

Battlecat wrote:Oh crap, that sounds hideous!
Yeah. It's pretty damn nasty. I do semi-automatic mergings with new versions by running a diff between files, and at present they're lighting up like a fucking Christmas tree due to pretty much everything changing due to the renaming.

I popped into the #mcp channel to find out if it was intentional, and turns out it was due to them wanting to support custom naming of parameters in the future.

Fuck me. This is going to be nasty.
User avatar
RaustBlackDragon
Posts: 1748
Joined: Fri Oct 14, 2011 6:25 pm

Re: HOLY CRAP Do I have a lot of work on my hands.

Post by RaustBlackDragon »

FlowerChild wrote:
Battlecat wrote:Oh crap, that sounds hideous!
Yeah. It's pretty damn nasty. I do semi-automatic mergings with new versions by running a diff between files, and at present they're lighting up like a fucking Christmas tree due to pretty much everything changing due to the renaming.

I popped into the #mcp channel to find out if it was intentional, and turns out it was due to them wanting to support custom naming of parameters in the future.

Fuck me. This is going to be nasty.
I wish you the best of luck. I wish EVERYONE the best of luck. This update is pretty scary IMHO, I'm not sure if I like it.
What's the price of freedom now?
Can you cut me a deal?
A crate of wholesale liberty,
or a justice combo meal?
User avatar
Battlecat
Posts: 499
Joined: Tue Jul 05, 2011 2:04 pm

Re: HOLY CRAP Do I have a lot of work on my hands.

Post by Battlecat »

The update is already sounding rough enough without the MCP crew making a unilateral decision to entirely change their naming scheme. That's a real shame if you ask me and I wish you both luck with the update.

Sounds like the API can't come soon enough, I really hope it lives up to expectations and actually helps.
User avatar
FlowerChild
Site Admin
Posts: 18753
Joined: Mon Jul 04, 2011 7:24 pm

Re: HOLY CRAP Do I have a lot of work on my hands.

Post by FlowerChild »

Battlecat wrote: Sounds like the API can't come soon enough, I really hope it lives up to expectations and actually helps.
Amen to that. I'd very much like to start just working off the actual code for the game. This isn't the first time that I've had strong "wtf?!" reactions to MCP renamings, but this is definitely the worst by far.

I really don't think they keep in mind the impact that this kind of stuff will have on the people that use their code. Having almost every parameter and variable in the game suddenly change names on you is just mental.
User avatar
FlowerChild
Site Admin
Posts: 18753
Joined: Mon Jul 04, 2011 7:24 pm

Re: HOLY CRAP Do I have a lot of work on my hands.

Post by FlowerChild »

Ok, it looks like my only real option here is to manually integrate each and every base-class modification I make into the new version, checking over each and every one as I go.

That's around 50 different files I'll need to do that for.

<sobs>
User avatar
FlowerChild
Site Admin
Posts: 18753
Joined: Mon Jul 04, 2011 7:24 pm

Re: HOLY CRAP Do I have a lot of work on my hands.

Post by FlowerChild »

Omfg god. To give you guys an idea: it just took me about 15 minutes to port the code over for powering cake to 1.2.3.

That is probably one of the simplest base-class edits I make.

2 down (got BlockCactus done too!), around 50 to go.

<sobs more intensely>
User avatar
Schmitty
Posts: 72
Joined: Sat Jan 07, 2012 8:43 pm

Re: HOLY CRAP Do I have a lot of work on my hands.

Post by Schmitty »

God damn that sounds rough FC. I wish you the best of luck (and patience) to do this.
Leaves from the vine, Falling so slow
Like fragile, tiny shells, Drifting in the foam
Little soldier boy, Come marching home
Brave soldier boy, Comes marching home
User avatar
morvelaira
Posts: 2406
Joined: Tue Jul 05, 2011 1:56 am
Location: Seattle

Re: HOLY CRAP Do I have a lot of work on my hands.

Post by morvelaira »

*holds FC and rocks gently*

There, there, darling. It will be okay in the end. There, there.
She-who-bears the right of Prima Squee-ti
I make BTW videos! http://www.youtube.com/user/morvelaira
The kitten is traumatized by stupid. Please stop abusing the kitten.
User avatar
Battlecat
Posts: 499
Joined: Tue Jul 05, 2011 2:04 pm

Re: HOLY CRAP Do I have a lot of work on my hands.

Post by Battlecat »

That's even worse than I could have imagined. Makes my issues with file format changes at work seem insignificant by comparison.

Take care not to burn yourself out and good luck once again!
Post Reply