Cant see each others pipes.
bqobd opened this issue ยท 21 comments
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
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"?)
mayby something at the mojang end of things, mincraft may not realise it has a changed block to send
Download this: https://github.com/BuildCraft/BuildCraft/archive/master.zip
Run ant
Find jar file in bin folder
@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.
Hah, but it does help me find the problem. The wrong update flag is being used when placing the pipe.
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
Pretty sure that function was added in 1.5, and that's probably when it got the incorrect flag.
Can someone please help me how i can update these files so i can test it out? im new to github :)
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
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? :)
Read the README
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.