21 posts
Posted 16 February 2016 - 02:14 AM
program links
btn:
http://pastebin.com/YkCL8GyAstartup:
http://pastebin.com/sb8N5V38in my singleplayer world,the button all can press
but in my SMP it didn't work!
i need help with this,thx
7083 posts
Location
Tasmania (AU)
Posted 16 February 2016 - 04:09 AM
It's
this bug. Long story short, monitor touches are a bit inaccurate in SMP. You'll need to make your buttons larger to compensate for this.
21 posts
Posted 16 February 2016 - 05:33 AM
please fix this bug!
8543 posts
Posted 16 February 2016 - 05:38 AM
I believe it already has been fixed. What version of ComputerCraft are you using?
21 posts
Posted 16 February 2016 - 06:42 AM
i use 1.74(1.7.10)
8543 posts
Posted 16 February 2016 - 05:44 PM
That version should not suffer from the bug posted above. What kind of server are you using for your multiplayer? Forge, Cauldron, MCPC+?
7083 posts
Location
Tasmania (AU)
Posted 17 February 2016 - 01:05 AM
I gave it a try on
Danny's server (MC 1.8.9 / CC 1.78 / Forge only), and it's certainly bugged there. Can't recall any reports of it working under earlier builds (other than one guy who, um, didn't seem to understand what the issue was in the first place).
To reproduce, you just run this code and attempt to draw horizontal lines:
local mon = peripheral.find("monitor")
mon.setTextScale(0.5)
term.redirect(mon)
while true do
local myEvent = {os.pullEvent("monitor_touch")}
paintutils.drawPixel(myEvent[3], myEvent[4], colours.white)
end
You'll find it's impossible to light up certain columns on the display.
Edited by
21 posts
Posted 17 February 2016 - 02:14 AM
My server is running Forge 1.7.10 1566
7083 posts
Location
Tasmania (AU)
Posted 17 February 2016 - 01:10 PM
Long story short, if I've got it right (and given that the same script lets you push all buttons in SSP, I'm fairly confident that I am), then your only short-term solution is to make your buttons larger. If a proper fix is ever to come, it'll be for MineCraft 1.8.9 or later.
21 posts
Posted 17 February 2016 - 02:34 PM
but the 1x1 monitor screen is small,i can't make the button lager,that i put near my door for a password key pad
3057 posts
Location
United States of America
Posted 17 February 2016 - 03:14 PM
but the 1x1 monitor screen is small,i can't make the button lager,that i put near my door for a password key pad
That can be changed. This bug cannot.