Open David-dp- opened 10 years ago
The 15 Dec delivery is said to fix this, but consider this screencap:
and this log snippet:
DEPLOYMENT : [00] from (21.0-168.0) at 2013-12-16-15-59-19.257 to (-455.0_79.0) at 2013-12-16-15-59-21.46 Orientation: 0.0 to 0.0
ILLEGALTOUCH : [GamerBoneInPile-[deployed]GamerBone-GamerTurn] from (-584.0_336.0) at 2013-12-16-15-59-35.432 to (-584.0_336.0) at 2013-12-16-15-59-35.579
The coordinates logged for the DEPLOYMENT are correct when compared to the grid, but those for my illegal touch are not. I touched the rightmost bone in my pile, which the grid shows at approx (140, -160).
Using the 2013-12-18 delivery, I also made these changes:
In Constants.java: public static final int bonePlaceDifference = 300; //TODO Replace with some multiple of bone length such as floor(1.8 * boneLength); was 720
In nonSpecificGameConfig, set the following as a temp workaround: "scrollInfoTimeoutInMilliseconds":2000
I then placed the 5-3 bone near the viewport center. When the opponent took his turn, my bone disappeared and his was barely visible on the right side.
When I scrolled rightward to have a better look, I found my bone. But it's now 600px rightward of where I placed it:
In the screencap above, the deployed bone’s center can be seen to be around (450, -180) but the log shows the X coordinate is about 100px off:
DEPLOYMENT : [0_0] from (281500.0) at 2013-12-13-10-27-16.909 to (565.0-190.0) at 2013-12-13-10-27-18.94 Orientation: 0.0 to 0.0
Then I touched my 5-3 bone at the far left of the pile. Its center is around (-220, -175) but the logged X and Y coords are way off:
ILLEGALTOUCH : [GamerBoneInPile-[deployed]GamerBone-GamerTurn] from (-605.0_338.0) at 2013-12-13-10-27-24.164 to (-605.0_338.0) at 2013-12-13-10-27-24.363