←  Beta Testing

ComputerCraft | Programmable Computers for Minecraft

»

ComputerCraft 1.76 Beta Information (Minec...

Locked

HPWebcamAble's Photo HPWebcamAble 23 Dec 2015

View PostDannySMc, on 21 December 2015 - 09:35 AM, said:

Hello,

I was using CC1.76pre6, we then updated to 1.76pre8, and it crashed, the error log is fairly large, it seems every computer in the world crashed...?

here is the error log:
http://pastebin.com/YC8PTaLV

Any more information you need just ask!

Looks like something to do with Thread.sleep(), couldn't tell you what exactly though.

I don't think every computer crashed, Minecraft just dumped a log of every thread. I guess every computer has its own thread?
Quote

Lupus590's Photo Lupus590 23 Dec 2015

View PostHPWebcamAble, on 23 December 2015 - 08:24 PM, said:

I guess every computer has its own thread?

Every computer shares one Lua VM. Every computer is one coroutine, which can be thought of as a thread, but is very different from a thread.
Quote

Bomb Bloke's Photo Bomb Bloke 23 Dec 2015

Last I heard (and for what it's worth), each computer's coroutine is assigned its own thread. That certainly seems to be what the log is reporting.
Quote

Creator's Photo Creator 23 Dec 2015

View PostBomb Bloke, on 23 December 2015 - 11:33 PM, said:

Last I heard (and for what it's worth), each computer's coroutine is assigned its own thread. That certainly seems to be what the log is reporting.

I think that every computer gets its own coroutine. This is why there is the 10 second rule. If a coroutine operates for too long, the other pcs can't do anything.
Quote

CoderPuppy's Photo CoderPuppy 24 Dec 2015

View PostCreator, on 23 December 2015 - 11:45 PM, said:

View PostBomb Bloke, on 23 December 2015 - 11:33 PM, said:

Last I heard (and for what it's worth), each computer's coroutine is assigned its own thread. That certainly seems to be what the log is reporting.

I think that every computer gets its own coroutine. This is why there is the 10 second rule. If a coroutine operates for too long, the other pcs can't do anything.

Yes, but coroutines are implemented as threads in LuaJ.
Quote

dan200's Photo dan200 24 Dec 2015

Just dropped another version. I'm hoping to do the final release later today, so please let me know if there's any problems!
Quote

ScoutCD10's Photo ScoutCD10 24 Dec 2015

From dan's twitter
"Dropped a new ComputerCraft beta, featuring cross-dimensional Ender Modems"
Quote

dan200's Photo dan200 24 Dec 2015

Yeah, I renamed Long Range modems to Ender Modems and made them work between dimensions. I'd appreciate if people could test this feature, it was quite a risky thing to add last minute!
Quote

Wojbie's Photo Wojbie 24 Dec 2015

Roger Roger. Lets break all the things!
Edited by Wojbie, 24 December 2015 - 05:42 PM.
Quote

dan200's Photo dan200 24 Dec 2015

Aaand the update is released, on ComputerCraft's 4 year anniversary. Thank you to everyone who participated in the testing.

http://www.computerc...utercraft-1-76/

If you find any bugs which slipped through the testing, go ahead and post them on the GitHub and we'll get them in 1.77 :)
Quote

Creator's Photo Creator 24 Dec 2015

View Postdan200, on 24 December 2015 - 08:53 PM, said:

Aaand the update is released, on ComputerCraft's 4 year anniversary. Thank you to everyone who participated in the testing.

http://www.computerc...utercraft-1-76/

If you find any bugs which slipped through the testing, go ahead and post them on the GitHub and we'll get them in 1.77 :)

Thanks Dan. This is amazing. I remember last year, when you said it was 3 years since the beginning of CC. It was amazing then, it is amazing now!
Quote

SquidDev's Photo SquidDev 24 Dec 2015

View PostCreator, on 24 December 2015 - 09:28 PM, said:

View Postdan200, on 24 December 2015 - 08:53 PM, said:

Aaand the update is released, on ComputerCraft's 4 year anniversary. Thank you to everyone who participated in the testing.

http://www.computerc...utercraft-1-76/

If you find any bugs which slipped through the testing, go ahead and post them on the GitHub and we'll get them in 1.77 :)

Thanks Dan. This is amazing. I remember last year, when you said it was 3 years since the beginning of CC. It was amazing then, it is amazing now!

Has it already been a year. Wow! Thanks Dan for this update!
Edited by SquidDev, 24 December 2015 - 09:57 PM.
Quote

oli414's Photo oli414 25 Dec 2015

Thanks for ComputerCraft Dan, Lua was the second thing I learned regarding programming thanks to ComputerCraft. ComputerCraft really is a great mod which combined two amazing things, Minecraft and programming. I've been able to teach countless people the basics of programming using ComputerCraft.

Let's try out those new Ender Modems :-D
Quote

Wojbie's Photo Wojbie 27 Dec 2015

Interesting note about Ender modems.
If message is from different dimension modem_message distance value is set to nil.
This is great way to detect where message was from.
Quote

Bomb Bloke's Photo Bomb Bloke 27 Dec 2015

I found it rather more interesting that they work with regular Wireless Modems, meaning that one computer running the Repeat script through an Ender Modem effectively gives all regular modems unlimited wireless range across all dimensions. You still need to construct at least one GPS cluster per dimension (because of the distance thing), but that's it.

http://www.computerc...iki/Ender_Modem
Quote

apemanzilla's Photo apemanzilla 28 Dec 2015

View PostBomb Bloke, on 27 December 2015 - 10:27 PM, said:

I found it rather more interesting that they work with regular Wireless Modems, meaning that one computer running the Repeat script through an Ender Modem effectively gives all regular modems unlimited wireless range across all dimensions. You still need to construct at least one GPS cluster per dimension (because of the distance thing), but that's it.

http://www.computerc...iki/Ender_Modem
So, as long as either modem is in range, messages can be sent? I used to think it was the sending modem's range that mattered.
Edited by apemanzilla, 28 December 2015 - 07:23 PM.
Quote

Lyqyd's Photo Lyqyd 28 Dec 2015

It's always been the greater of the two ranges; most GPS setups depend on this behavior.
Quote
Locked