BuildCraft|Core

BuildCraft|Core

7M Downloads

Cant see each others pipes.

bqobd opened this issue ยท 21 comments

commented

Fresh installation of Forg 9.10.1.871 (minecraft 1.6.2) and buildcraft-A-1.6.2-4.1.2.

Me and my friends can not see each others pipes on my server? we have to reconnect to make them appear..

i have tried this on both 1.6.2 & 1.6.4.... same problem

commented

so i guess that this is a serverside problem? cant play whitout this mod!! :)

commented

do you have optifine installed?

commented

nope.. do i have to install that to get it work? :)

commented

have the same effect (without optifine) - forge 9.11.1.953, bc 4.1.2.2.2788

commented

Known, attempted fixes have had no effect.

commented

normally the block change is automatically synct, but it seem that the order of the packets is not correct (its where your PR comes in play)

currently its like that:

onItemUse
  placePipe
    -> "update packet"
  ...
notifyBlockChange
  -> "create packet" (default block sync)

with the PR you add a manual create before update. I think its not the best solution but it seems to work.

Perhaps the "sendUpdateToClient" should be defered (kind of "mark block for update/sync the next tick"?)

commented

mayby something at the mojang end of things, mincraft may not realise it has a changed block to send

commented

Download this: https://github.com/BuildCraft/BuildCraft/archive/master.zip
Run ant
Find jar file in bin folder

commented

@Flow86 tried that already, no difference. And no, I don't think a manual block creation packet is the answer, that's just a kludge.

commented

Hah, but it does help me find the problem. The wrong update flag is being used when placing the pipe.

commented

Hi CJ. Yeah I know it's a kludge, but I'm glad it helped you narrow the problem down. Are you referring to the update flag on the setBlock in BlockGenericPipe being 1? That was the odd bit I mentioned as It has been that way since the 1.5.2 builds (or earlier) and those worked for placement sync

commented

Pretty sure that function was added in 1.5, and that's probably when it got the incorrect flag.

commented

Can someone please help me how i can update these files so i can test it out? im new to github :)

commented

Sorry for dumb questions but.. "Run ant"?

commented

could you otherwise just link a jenkins to this repository, that way new versions get build automaticly on jenkins and people can download it easy without needing to compile it

commented

Okey... so the only way to get this "fix" before a new release of buildcraft (so i can download a proper .jar file of this mod) is to learn the "Apache Ant" something.. and this "git"... thing.. but i will give it a try!!..... maybe a new version of minecraft and buildcraft is out by then ;)

Edit: gah.. cant get it work. Can some one please do it and send me a link? :)

commented

Read the README

commented

You don't need to learn anything. ConvertJaguar pointed you to the source so you don't need git, and you only need to run ant not learn how to write anything for it.

commented

I believe someone had an unofficial jenkins. Google buildcraft jenkins

commented

Sorry guys! :/

And thanks alot for the help and the link 50Wliu! and a realy good mod! ๐Ÿ‘