Posts: 14
Threads: 0
Joined: Nov 2011
Thanks: 0
Given 0 thank(s) in 0 post(s)
11-08-2011, 05:29 AM
(This post was last modified: 11-08-2011, 05:30 AM by Sebi.)
cClientHandle:
I added an if on line 644, it seems to create some issues, sometimes you can't place blocks, it turns out that packet contains wrong position! (negative rounding error) D:
Posts: 160
Threads: 31
Joined: Oct 2011
Thanks: 0
Given 0 thank(s) in 0 post(s)
11-08-2011, 05:55 AM
(This post was last modified: 11-08-2011, 06:00 AM by rs2k.)
Where's the error at? UI don't see any sort of rounding in cPacket_BlockPlace. It just reads the packet and puts the information it into a variable as far as I can tell.
Is it in AbsoluteToRelative in cWorld.h?
Posts: 160
Threads: 31
Joined: Oct 2011
Thanks: 0
Given 0 thank(s) in 0 post(s)
11-08-2011, 06:09 AM
(This post was last modified: 11-08-2011, 06:15 AM by rs2k.)
Hmm, that's odd. Certainly the wrong info, I wonder how the block is actually making it to the right place.
Edit:
Actually, I think that info is correct. When you floor a negative number its absolute value rises.
Posts: 14
Threads: 0
Joined: Nov 2011
Thanks: 0
Given 0 thank(s) in 0 post(s)
I am working on pickup physics in water and water-with-lava interaction. I will do some other stuff (block placement rules) but I will have my internet cut off today so I won't be able to commit for maybe week or two.
Posts: 160
Threads: 31
Joined: Oct 2011
Thanks: 0
Given 0 thank(s) in 0 post(s)
D: No internet for more than a few hours? I'd die!
Good luck and see you in a few weeks.