How easy is it to dance with tentacles? And what're the rules for the limbo?FlowerChild wrote: <dances>
The ongoing 1.3 update epic
- Foxy Boxes
- Posts: 421
- Joined: Sun Apr 01, 2012 1:52 pm
Re: 1.3 Discoveries
On the internet you can be whatever you want. It's surprising so many people choose to be stupid.
- FlowerChild
- Site Admin
- Posts: 18753
- Joined: Mon Jul 04, 2011 7:24 pm
Re: 1.3 Discoveries
Thanks man :)Urian wrote:Your pace remains awesome :D
I think the battle is just beginning though. I took a quick tour of my main world, and noticed a plethora of issues, just wandering around. My custom entities weren't displaying (Water Wheels, etc.), Turntables were spinning at warp speed, Platforms were moving in a very funky manner, etc.
I'm glad to be able to at least run it though, as it puts me back in the realm of visible progress instead of just staring at code.
Anyways, will return once more into the breach manyana :)
- Eriottosan
- Posts: 656
- Joined: Sat Nov 26, 2011 8:27 am
- Location: U.K.
Re: 1.3 Discoveries
FC, I am really impressed by how far along you are already. You really are some sort of Cthulhu god. It is a real inspiration (:. That being said - and I'm sure I don't have to say this, but I'm going to anyway - don't burn yourself out. Take as much time as you need to update - I'm sure the community here will agree with me in that I would much rather you update with as much time as you need to minimize the stress, than feeling under pressure to get it done. We have more than enough to amuse ourselves, no matter how long it takes. Thanks for everything, FC (:.
私は日本語が大好きだ。だから、私と話すとき、日本語で書けば、日本語で書いてください。
I like Japanese, can you tell?
I like Japanese, can you tell?
Re: 1.3 Discoveries
Will btw be multiplayer compatible after this update?
Re: 1.3 Discoveries
Congrats, that's a pretty impressive accomplishment! Being able to see block behaviors will certainly make the next phase easier. I'm glad to hear it went smoothly so far, hope that continues.
Re: 1.3 Discoveries
we can only hope... the optimistic part of me says "yes! its looking good for that!!!!" then the other, pessimistic part of me says "no! dont get youre hopes up ada221! they will be crushed!" while on the other hand the realistic part of me says "if FC puts it in, its in. akhuna matata"johnt wrote:Will btw be multiplayer compatible after this update?
edit: i just realized how strange it is to refer to yourself in third person using a username....
double edit: FC, you are a coding BEAST. thanks for all your hard work!
-I stopped playing Minecraft a long time ago; BTW is its own game to me
-even after these forums are gone, as long as I have the files, I will continue to play Better than Wolves
-even after these forums are gone, as long as I have the files, I will continue to play Better than Wolves
Re: 1.3 Discoveries
Don't worry. It's strange if you do it with your real name too ;)ada221 wrote:i just realized how strange it is to refer to yourself in third person using a username....
- FlowerChild
- Site Admin
- Posts: 18753
- Joined: Mon Jul 04, 2011 7:24 pm
Re: 1.3 Discoveries
No, no way it's going to be SMP with this first 1.3 release. I'm just focusing on getting the mod working as normal first, then I'll work on SMP later.
As I've said MANY times before, it's not automatic. There's a lot of work to do there.
As I've said MANY times before, it's not automatic. There's a lot of work to do there.
Re: 1.3 Discoveries
1.3 still requires both a client and server version of a mod for true multiplayer, correct? All 1.3 did was allow MP on a LAN with only a client side mod. My understanding is that people on a LAN with client side versions of a mod will be able to open their wolds to the LAN. Other's on the LAN will be able to join it, and depending on the permissions granted by the host, interact. Is that about how it works, or am I completely off base here.
- FlowerChild
- Site Admin
- Posts: 18753
- Joined: Mon Jul 04, 2011 7:24 pm
Re: 1.3 Discoveries
There will be NO SMP for the first 1.3 release of BTW. That included LAN play.
This is getting really tiresome guys.
This is getting really tiresome guys.
- RaustBlackDragon
- Posts: 1748
- Joined: Fri Oct 14, 2011 6:25 pm
Re: 1.3 Discoveries
That's entirely understandable FC, I'm scratching my head trying to understand just what the supposed "merge" accomplished to begin with. It's depressing and frustrating, and I totally sympathize.
What's the price of freedom now?
Can you cut me a deal?
A crate of wholesale liberty,
or a justice combo meal?
Can you cut me a deal?
A crate of wholesale liberty,
or a justice combo meal?
- FlowerChild
- Site Admin
- Posts: 18753
- Joined: Mon Jul 04, 2011 7:24 pm
Re: 1.3 Discoveries
Oi vey. Ok, following a hunch I had overnight, I just figured out why the inventories for the mod blocks aren't opening.
Turns out these are now handled through multiplayer packets sent between the local client and server you have running now while you're playing SP.
So while it looks like much of the code-base didn't change, the way all this is handled internally definitely has, and there's now a ton of obsolete dead-code hanging around that doesn't actually do anything, because it refers to a single-player system that no longer exists.
This is going to be FUN!!!! :)
Turns out these are now handled through multiplayer packets sent between the local client and server you have running now while you're playing SP.
So while it looks like much of the code-base didn't change, the way all this is handled internally definitely has, and there's now a ton of obsolete dead-code hanging around that doesn't actually do anything, because it refers to a single-player system that no longer exists.
This is going to be FUN!!!! :)
- Eriottosan
- Posts: 656
- Joined: Sat Nov 26, 2011 8:27 am
- Location: U.K.
Re: 1.3 Discoveries
Ah, FC, that's rather irritating. I am not looking forward to when I have to deal with it :/.
I hope you survive this "FUN!!!". Good luck wading through the code for whatever is actually still functioning :/.
I hope you survive this "FUN!!!". Good luck wading through the code for whatever is actually still functioning :/.
私は日本語が大好きだ。だから、私と話すとき、日本語で書けば、日本語で書いてください。
I like Japanese, can you tell?
I like Japanese, can you tell?
- RaustBlackDragon
- Posts: 1748
- Joined: Fri Oct 14, 2011 6:25 pm
Re: 1.3 Discoveries
FlowerChild wrote:Oi vey. Ok, following a hunch I had overnight, I just figured out why the inventories for the mod blocks aren't opening.
Turns out these are now handled through multiplayer packets sent between the local client and server you have running now while you're playing SP.
So while it looks like much of the code-base didn't change, the way all this is handled internally definitely has, and there's now a ton of obsolete dead-code hanging around that doesn't actually do anything, because it refers to a single-player system that no longer exists.
This is going to be FUN!!!! :)
...Wow, epic discovery, thanks for sharing it!
But to clarify, what sorts of dead code are you talking about? Are entire classes never referenced, or is it a bunch of unused functions?
What's the price of freedom now?
Can you cut me a deal?
A crate of wholesale liberty,
or a justice combo meal?
Can you cut me a deal?
A crate of wholesale liberty,
or a justice combo meal?
- FlowerChild
- Site Admin
- Posts: 18753
- Joined: Mon Jul 04, 2011 7:24 pm
Re: 1.3 Discoveries
It's basically what amounts to unused functions. Here's an example from BlockFurnace.java (obviously vanilla):RaustBlackDragon wrote: But to clarify, what sorts of dead code are you talking about? Are entire classes never referenced, or is it a bunch of unused functions?
Code: Select all
public boolean onBlockActivated(World par1World, int par2, int par3, int par4, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9)
{
if (par1World.isRemote)
{
return true;
}
TileEntityFurnace tileentityfurnace = (TileEntityFurnace)par1World.getBlockTileEntity(par2, par3, par4);
if (tileentityfurnace != null)
{
par5EntityPlayer.displayGUIFurnace(tileentityfurnace);
}
return true;
}
This confused me momentarily as my code for opening mod-block guis was indeed getting called, but it's on the server side, so I never see it. I dropped breakpoints in the multiplayer code for opening guis though, and running an in-game test on the furnace, saw that code was what was actually displaying the gui itself.
I don't have enough experience with the code base to say what other instances this will apply in, but this indicates to me that there are probably a lot of them and that the code is currently in some kind of hybrid state between SMP and SSP where some of it may or may not apply anymore.
I suspect there will be a shit-load of "gotchas!" like this as I move forward with the update. I suspect I'll just have to test every block one at a time and verify all their functionality is intact, resolving issues as I discover them. I may start up a new area in my main world and give the mod a full playthrough as I do this to make the whole experience more pleasant.
- Ethinolicbob
- Posts: 460
- Joined: Sat Feb 25, 2012 2:03 pm
Re: 1.3 Discoveries
Yeah I was having a look at the code and I immediately thought "fuck, no way BTW will be able to work as MP without a little bit of extra love."
And that goes for my stuff too...
*TIP MY HAT* Goodluck sir.
And that goes for my stuff too...
*TIP MY HAT* Goodluck sir.
- August West
- Posts: 51
- Joined: Wed May 16, 2012 12:31 pm
Re: 1.3 Discoveries
I think the problem here is that people really have no idea what the deal is with the merge. People just assume everything will work because they play on a 'server' now.FlowerChild wrote:There will be NO SMP for the first 1.3 release of BTW. That included LAN play.
This is getting really tiresome guys.
It would be nice if Mojang had given people some more information with regards to how mods will function. When there is no available information, people will inevitably come over here and ask about it.
To keep it sort of on topic: I used LAN with my little brother for the first time and it is fantastic. Neither of us are all that tech-savvy, so having the ability to simply click open to lan makes the whole process so much easier. Just being able to play the game with him is great. I tested Risugami's mods and as long as we both have them downloaded, they seem to function. Albeit a bit buggy; functional none-the-less. This is an exciting time for Minecraft.
Thanks for putting up with the shit storm, FC. There is some light at the end of the tunnel.
- FlowerChild
- Site Admin
- Posts: 18753
- Joined: Mon Jul 04, 2011 7:24 pm
Re: 1.3 Discoveries
Ah...I think I just figured out the thing with custom entities (Water Wheel etc) not displaying.
I was going in circles with this one as I thought it was strictly a display issue. Then I realized the collisions with such objects (like riding on moving Platforms) was also extremely weird and laggy (and THAT is the appropriate use of the term "lag" ;) ), so I inserted a few more breakpoints to try and track down the problem.
I'm not 100% on this yet, but it looks like old custom entities only exist on the server, and not the client by default.
Looks like I need to figure out how to get them to be properly transmitted to the client. It's not that they aren't being displayed. It's that the client doesn't even know they exist.
I was going in circles with this one as I thought it was strictly a display issue. Then I realized the collisions with such objects (like riding on moving Platforms) was also extremely weird and laggy (and THAT is the appropriate use of the term "lag" ;) ), so I inserted a few more breakpoints to try and track down the problem.
I'm not 100% on this yet, but it looks like old custom entities only exist on the server, and not the client by default.
Looks like I need to figure out how to get them to be properly transmitted to the client. It's not that they aren't being displayed. It's that the client doesn't even know they exist.
- Foxy Boxes
- Posts: 421
- Joined: Sun Apr 01, 2012 1:52 pm
Re: 1.3 Discoveries
What's the betting that's less to help the merge and more so they could get their precious ender chests to work?FlowerChild wrote:Oi vey. Ok, following a hunch I had overnight, I just figured out why the inventories for the mod blocks aren't opening.
Turns out these are now handled through multiplayer packets sent between the local client and server you have running now while you're playing SP.
On the internet you can be whatever you want. It's surprising so many people choose to be stupid.
- FlowerChild
- Site Admin
- Posts: 18753
- Joined: Mon Jul 04, 2011 7:24 pm
Re: 1.3 Discoveries
I'd ask people to keep uninformed random remarks out of this thread.Foxy Boxes wrote: What's the betting that's less to help the merge and more so they could get their precious ender chests to work?
I've got a lot of work ahead of me, and am currently helping myself in that process by posting up some of my observations. If the above kind of thing becomes the norm, I'll feel compelled to just shut the hell up to avoid the nonsense.
Bitching about the changes I'm dealing with, especially when you have no clue what you're talking about, doesn't help anyone.
- Ferrus.Manus
- Posts: 413
- Joined: Thu Jul 14, 2011 7:53 pm
Re: 1.3 Discoveries
Let's not create conspiracy theories without any solid data.Foxy Boxes wrote:What's the betting that's less to help the merge and more so they could get their precious ender chests to work?
Also does this means that Minecraft's already Byzantine GUI code got even more convoluted? Ouch. And FC, good luck on keeping your sanity through the update process and don't let whining idiots get to you and ruin your mood.
- Larmantine
- Posts: 333
- Joined: Tue Nov 08, 2011 3:28 pm
- Location: Latvia
Re: 1.3 Discoveries
My God. FC, you must be the most patient and tolerant person I know. So much work you have done and has to be done too. I would go off crazy if I were you. I guess the only explanation behind this is that you like doing this. Best of luck with it.
weldaSB wrote:Edit: grammer
- FlowerChild
- Site Admin
- Posts: 18753
- Joined: Mon Jul 04, 2011 7:24 pm
Re: 1.3 Discoveries
I like doing the part in between these parts. The update process itself I fucking loathe, but my general approach to that is to power through it as quickly as possible to get to the stuff I love again.Larmantine wrote:My God. FC, you must be the most patient and tolerant person I know. So much work you have done and has to be done too. I would go off crazy if I were you. I guess the only explanation behind this is that you like doing this. Best of luck with it.
I just love that stuff enough to tolerate the drudgery of doing this kind of work when I have to.
But yeah, having everything completely broken like this sucks ass :)
Re: 1.3 Discoveries
FC I thank you for the updates on your progress, they are much appreciated.
Foxy Boxes wrote:I don't often see, but when I do, it's what you did there.
Flowerchild wrote:never underestimate the value of a good cudgel
- FlowerChild
- Site Admin
- Posts: 18753
- Joined: Mon Jul 04, 2011 7:24 pm
Re: 1.3 Discoveries
Ok, yeah, I was right about the entities spawning on the server but that info not being passed over to the client. I managed to do a quick test by hacking the packet-handler code to recognize water-wheels, and that got them to display properly.
That aspect is going to be a LOT of work and may take some very nasty base-class edits, as I don't think modloader currently supports that kind of functionality, in which case, compatibility with other mods may be completely off the table until the official mod-API is released.
Anyways, if any other modders reading this have custom entities in their mods: good luck :)
That aspect is going to be a LOT of work and may take some very nasty base-class edits, as I don't think modloader currently supports that kind of functionality, in which case, compatibility with other mods may be completely off the table until the official mod-API is released.
Anyways, if any other modders reading this have custom entities in their mods: good luck :)