Jump to content




ComputerCraft 1.76 Beta Information (Minecraft 1.8) (Updated December 24th)


76 replies to this topic

#61 HPWebcamAble

  • Members
  • 933 posts
  • LocationWeb Development

Posted 23 December 2015 - 08:24 PM

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?

#62 Lupus590

  • Members
  • 1,932 posts
  • LocationUK

Posted 23 December 2015 - 10:14 PM

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.

#63 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,067 posts
  • LocationTasmania (AU)

Posted 23 December 2015 - 11:33 PM

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.

#64 Creator

    Mad Dash Victor

  • Members
  • 2,168 posts
  • LocationYou will never find me, muhahahahahaha

Posted 23 December 2015 - 11:45 PM

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.

#65 CoderPuppy

  • Members
  • 121 posts

Posted 24 December 2015 - 01:57 AM

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.

#66 dan200

  • Administrators
  • 542 posts
  • LocationCambridge, England

Posted 24 December 2015 - 05:07 PM

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

#67 ScoutCD10

  • Members
  • 18 posts

Posted 24 December 2015 - 05:27 PM

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

#68 dan200

  • Administrators
  • 542 posts
  • LocationCambridge, England

Posted 24 December 2015 - 05:41 PM

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!

#69 Wojbie

  • Members
  • 630 posts
  • LocationKinda lost

Posted 24 December 2015 - 05:41 PM

Roger Roger. Lets break all the things!

Edited by Wojbie, 24 December 2015 - 05:42 PM.


#70 dan200

  • Administrators
  • 542 posts
  • LocationCambridge, England

Posted 24 December 2015 - 08:53 PM

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 :)

#71 Creator

    Mad Dash Victor

  • Members
  • 2,168 posts
  • LocationYou will never find me, muhahahahahaha

Posted 24 December 2015 - 09:28 PM

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!

#72 SquidDev

  • Members
  • 1,353 posts
  • LocationDoes anyone put something serious here?

Posted 24 December 2015 - 09:57 PM

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.


#73 oli414

  • Members
  • 29 posts
  • LocationThe Netherlands

Posted 25 December 2015 - 12:13 PM

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

#74 Wojbie

  • Members
  • 630 posts
  • LocationKinda lost

Posted 27 December 2015 - 03:37 PM

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.

#75 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,067 posts
  • LocationTasmania (AU)

Posted 27 December 2015 - 10:27 PM

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

#76 apemanzilla

  • Members
  • 1,421 posts

Posted 28 December 2015 - 07:22 PM

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.


#77 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,442 posts

Posted 28 December 2015 - 07:42 PM

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





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users