This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
AfterLifeLochie's profile picture

CCDesk PR7.1.1 - CC Networked Emulation Environment

Started by AfterLifeLochie, 27 March 2013 - 10:00 AM
AfterLifeLochie #1
Posted 27 March 2013 - 11:00 AM
<!– MODERATOR, TURN AROUND. YOU HAVE JUST BROKEN THIS POST. YES, YOU. GO AWAY.
GO FIND AFTERLIFELOCHIE AND TELL HIM YOU WERE HERE. –>
<style>
#trickbox { background-color: rgb(95, 99, 93); border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; padding-left:5px; padding-right:5px; padding-top:15px; margin:0px; }
@font-face { font-family: prototype; src: url("http://ccdesk.afterlifelochie.net/Prototype.ttf"); }
</style>
<div id="trickbox">
<div style="width:655px; margin:0 auto; background: #FCFCFC; border: 1px solid #ccc; margin-bottom:15px; padding:5px;">
<table style="width:100%;"><tbody><tr>
<td><img src="http://cdn.afterlifelochie.net/deskcc/logo.png"></td>
<td><div style="text-align:center;">
<h1 style="font-size: 32px; font-weight:bold; font-family: 'prototype', Arial, sans-serif;">CCDesk</h1>
<h2 style="font-size:16px; font-weight:bold; font-family: 'prototype', Arial, sans-serif;">ComputerCraft Emulation Environment</h2>
<h3 style="font-size:12px; line-height:16px; background-color:#79c5f2;">
<b>Latest:</b> Prerelease 7.1.1 - 8th July (CC 1.53)<br />
<b>Next:</b> Prerelease 7.2 (CC 1.55)
</h3>
</div></td>
</tr></tbody></table>
</div>
<table style="width:100%;"><tbody><tr>
<td style="background: #FCFCFC; border: 1px solid #ccc; vertical-align: top; width: 50%;">
<div style="margin: 3px; font-weight: bold; text-align: center; font-size: 120%; background: #454546; border: 1px solid #CCC; padding: 5px; color:white;">What is CCDesk?</div>
<div style="padding: 0em 1em;">
<p>CCDesk is a user-extendable, flexible, in-development emulation environment and development workspace for ComputerCraft. CCDesk provides support for both Computers and the
native ComputerCraft peripherals and networking. Using CCDesk's open API (<i>info soon</i>), developers can quickly port ComputerCraft peripherals into the emulator and write
tools - such as inline-wiki search, for example - into the user workspace.</p>
<p><span><br /></span></p>
<p>The emulator supports "<i>Networked Mode</i>" - a TCP-driven emulator session sharing mode, allowing for a new level of shared
project development. Sessions can be shared between the internal Local Area Network, or even across the internet, and a dedicated server module for server hosts is
available for this purpose.</p>
</div>
</td>
<td style="background: #FCFCFC; border: 1px solid #ccc; vertical-align: top; width: 50%">
<div style="margin: 3px; font-weight: bold; text-align: center; font-size: 120%; background: #454546; border: 1px solid #CCC; padding: 5px; color:white;">Downloads</div>
<div style="padding: 0em 1em;">
<p><b>In This Release:</b><br />
Networking, woohoo! Work with your friends in a collaborative, experimental environment aross the great Internet!</p>
<p><span><br /></span></p>
<p><div style="color:rgb(236, 133, 108); text-align:center;"><b>Note: Please update your launcher before testing Prerelease 7.1.</b><br />Old launchers will not launch Prerelease 7 and above!</div></p>
<p><b>Desktop Download:</b> <a href="http://cdn.afterlifelochie.net/deskcc/applet/desktop.jar" style="color:#204066; text-decoration:underline;">Desktop Launcher v3</a>.</p>
<p><b>Online Version:</b> <a href="http://ccdesk.afterlifelochie.net/" style="color:#204066; text-decoration:underline;">Online Version Website v3</a>.</p>
<p><span><br /></span></p>
<p><b>Reporting Issues:</b> You can report issues with CCDesk at
<a href="https://bitbucket.org/AfterLifeLochie/deskcc/issues" style="color:#204066; text-decoration:underline;">the BitBucket tracker</a>. Please provide any crash screen as
well as your operating system and JRE. You can also poke me in <i>#ccdesk</i> on <i>irc.esper.net</i> about issues.</p>
</div>
</td>
</tr><tr>
<td style="background: #FCFCFC; border: 1px solid #ccc; vertical-align: top; width: 50%;">
<div style="margin: 3px; font-weight: bold; text-align: center; font-size: 120%; background: #454546; border: 1px solid #CCC; padding: 5px; color:white;">FAQ</div>
<div style="padding: 0em 1em;">
<ul>
<li><b>Q: I use a Mac - will this work for me?</b><p></p>
Mac is officially fully supported as of PR 6.2. The latest development version of LWJGL - version 2.9.x - fixes most Mac related issues.</li>
<li><b>Q: I want to do <i>x</i> with the emulator!</b><p></p>
It's great to hear you want to help extend the workspace! The Developer API will offer you all the tools and access you need to write and extend the emulator - you don't
need to modify internal classes or "mod" the emulator's internal files.</li>
<li><b>Q: Is this a copy of ComputerCraft Emulator?</b><p></p>
No. The code used to produce this emulator is completely unique - in order to have an open API, flexible code had to be written - including rendering.</li>
</ul>
</div>
</td>
<td style="background: #FCFCFC; border: 1px solid #ccc; vertical-align: top; width: 50%">
<div style="margin: 3px; font-weight: bold; text-align: center; font-size: 120%; background: #454546; border: 1px solid #CCC; padding: 5px; color:white;">FAQ</div>
<div style="padding: 0em 1em;">
<ul>
<li><b>Q: What's your time frame on the API?</b><p></p>
I'm unsure as of yet - the bulk of the emulator still needs work in order to offer proxy to plugins and modules. While the API is already there and in the distributed code,
it's both un-finalized - you can look at it as a reference, but I make no guarantees.</li>
<li>
<b>Q: What license is this emulator under?</b><p></p>
Due to the fact that this is an extension to ComputerCraft (because of the nature of the emulator's function), the emulator will remain closed-source. The public portions
of the emulator, and the API itself, will be provided through friendly interfaces which represent actual classes which should be accessed by your code. If you want to do
something outside the bounds, <i>PM me</i> - I don't bite. You're most welcome to decompile and poke around and learn how the emulator functions internally - <i>sharing
knowledge is caring</i>!</li>
</ul>
</div>
</td>
</tr></tbody></table>
<div style='text-align:center; font-size:10px;'><i>You love my HTML posts. No cats were stuffed down tubes to make this markup.</i></div></div>
lieudusty #2
Posted 27 March 2013 - 11:02 AM
Shiny looking!
Sammich Lord #3
Posted 27 March 2013 - 11:03 AM
Your cheating HTML posts :P/>
Engineer #4
Posted 27 March 2013 - 11:17 AM
Holy badoodles. This looks awesome!
Bubba #5
Posted 27 March 2013 - 11:28 AM
Looks like thomas' monopoly on the CC emulator market is over. I'm pretty excited to see what's in store for the API :)/>

Nice job!
AfterLifeLochie #6
Posted 27 March 2013 - 11:30 AM
I'm pretty excited to see what's in store for the API!
The API will allow you to write and alter the emulator internally (something like Forge does) and safely - you'll have access to rendering support, world ticking support, windows, computers and peripherals and user input. For the moment, the API is pretty rudimentary, but that will more than likely change in the next few releases where I'll add native CC peripherals and networking.
yaaay #7
Posted 27 March 2013 - 04:35 PM
Is this closed source since i wanna code one for mobiles
AfterLifeLochie #8
Posted 27 March 2013 - 04:46 PM
Is this closed source since i wanna code one for mobiles
Yes, this is closed source, although porting to mobile devices is on my todo-list.
theoriginalbit #9
Posted 27 March 2013 - 04:47 PM
I must say, this seems like it is going to be very, very, good! I cant wait for a desktop version :D/> and I love the html post. never even thought about doing it :P/>
Shnupbups #10
Posted 27 March 2013 - 08:19 PM
This may sound stupid, but where is the link to Prerelease 1 of the Web Applet?
theoriginalbit #11
Posted 27 March 2013 - 08:36 PM
This may sound stupid, but where is the link to Prerelease 1 of the Web Applet?
In the "Downloads" section. there is a link in the text.
GravityScore #12
Posted 27 March 2013 - 08:43 PM
Looks really epic Lochie, looking forward to a mobile version! I presume Android only though?

I reallyyyy hope the desktop version works on Mac… I sadly can't get the web version working for me on my Mac :(/>
Here's the crash report if you need it:
SpoilerSafari wouldn't let me copy and paste for some reason, so I just took a screenshot.
Nice HTML post too :P/>
theoriginalbit #13
Posted 27 March 2013 - 08:45 PM
Here's the crash report if you need it:
WOW! I couldn't even get the crash report to come up :P/>
AfterLifeLochie #14
Posted 27 March 2013 - 09:39 PM
Looks really epic Lochie, looking forward to a mobile version! I presume Android only though?

I reallyyyy hope the desktop version works on Mac… I sadly can't get the web version working for me on my Mac :(/>
Here's the crash report if you need it:
SpoilerSafari wouldn't let me copy and paste for some reason, so I just took a screenshot.
Nice HTML post too :P/>

I'm hoping to fix this exception (and most Mac issues) by updating the distributed LWJGL to 2.9.0 - which is a developer release, but appears to fix the issues. There are some OpenGL related issues on Fedora (and possibly other unix-like systems) which will also be fixed, hopefully.
nitrogenfingers #15
Posted 27 March 2013 - 11:06 PM
Of course, it's brilliant. Expected no less, received no less. Look forward to seeing this as it comes along. :)/>
Cranium #16
Posted 28 March 2013 - 02:25 AM
I'll be looking forward to great things coming on this. I don't see myself mucking about with the API that much, so anything will do as long as I can run this at my work computer. That's the only reason I want web emulators, is so I can run code at work.
superaxander #17
Posted 28 March 2013 - 04:19 AM
This is just cool!
AfterLifeLochie #18
Posted 28 March 2013 - 12:46 PM
PR2 should be out hopefully this weekend - with a much better launcher (pic) and fixed HTTP support (pic). Hoping to fix some more rendering quirks too (pic, red characters are mine and white are the correct places they should be), and get Mac users up and running.
FuuuAInfiniteLoop(F.A.I.L) #19
Posted 28 March 2013 - 01:27 PM
I posted a bug…
theoriginalbit #20
Posted 28 March 2013 - 06:01 PM
PR2 should be out hopefully this weekend - with a much better launcher (pic) and fixed HTTP support (pic). Hoping to fix some more rendering quirks too (pic, red characters are mine and white are the correct places they should be), and get Mac users up and running.
Cool cool…. 2 questions with the "Start Computer". can I press enter in the ID box and it close the form? Can I use labels in the id field and it resolve to an id if the label is in labels.txt?
oeed #21
Posted 28 March 2013 - 06:33 PM
This is one of the rare times when I wish I weren't using a Mac. I can't even use Java on Chrome…
Kingdaro #22
Posted 28 March 2013 - 06:35 PM
This is one of the rare times when I wish I weren't using a Mac. I can't even use Java on Chrome…
I'm not sure if the same applies for Mac as it does for Linux, but installing the package "default-jdk" fixed that issue for me.
oeed #23
Posted 28 March 2013 - 06:38 PM
This is one of the rare times when I wish I weren't using a Mac. I can't even use Java on Chrome…
I'm not sure if the same applies for Mac as it does for Linux, but installing the package "default-jdk" fixed that issue for me.

Because Chrome is (strangely) 32-bit, when almost all other OS X applications are 64-bit, Java isn't supported on it. And I can't really be bothered installing it on Safari or Firefox.
So anyway, I'm just using my PC to use it.
AfterLifeLochie #24
Posted 28 March 2013 - 06:40 PM
PR2 should be out hopefully this weekend - with a much better launcher (pic) and fixed HTTP support (pic). Hoping to fix some more rendering quirks too (pic, red characters are mine and white are the correct places they should be), and get Mac users up and running.
Cool cool…. 2 questions with the "Start Computer". can I press enter in the ID box and it close the form? Can I use labels in the id field and it resolve to an id if the label is in labels.txt?
Computers will only create if you've pressed the OK button. The "ID" box will actually become a multiform, allowing you to enter either a label or an ID (or pick from the list of labelled computers).
theoriginalbit #25
Posted 28 March 2013 - 06:43 PM
Computers will only create if you've pressed the OK button. The "ID" box will actually become a multiform, allowing you to enter either a label or an ID (or pick from the list of labelled computers).
ok cool :D/>
AfterLifeLochie #26
Posted 28 March 2013 - 08:00 PM
Have a lovely video of me doing some bugfixing. If you guys like this kind of stuff - and I know this video isn't the best, I should have used a faster snapshot interval - I'll keep making them. Anyway, this is me fixing depth and rendering layers for PR2 - which will hopefully be ready to go this weekend!

[youtube]http://www.youtube.com/watch?v=9D0AzkDXpoc[/youtube]
Tiin57 #27
Posted 29 March 2013 - 04:08 PM
Have a lovely video of me doing some bugfixing. If you guys like this kind of stuff - and I know this video isn't the best, I should have used a faster snapshot interval - I'll keep making them. Anyway, this is me fixing depth and rendering layers for PR2 - which will hopefully be ready to go this weekend!

[media]http://www.youtube.com/watch?v=9D0AzkDXpoc[/media]
Do this lots. Please and thank you.
AfterLifeLochie #28
Posted 29 March 2013 - 04:11 PM
Here's another video in the approach to PR2. It should be out today or tomorrow, at the latest. This is me fixing graphics and sprites so that characters don't look really strange, and tweaking up the website a little.

[youtube]http://www.youtube.com/watch?v=IR94uaFetBM[/youtube]
Tiin57 #29
Posted 29 March 2013 - 06:20 PM
PR2 looks pretty good, Lochie! Can't wait for the API!
AfterLifeLochie #30
Posted 29 March 2013 - 06:26 PM
PR2 looks pretty good, Lochie! Can't wait for the API!

Thanks!

You can watch the PR2 chapter of CCDesk - this is how updates and builds are pushed and finalized to the server. You're watching the actual birth of PR2!
[youtube]http://www.youtube.com/watch?v=e6coXfSYXCU[/youtube]
superaxander #31
Posted 29 March 2013 - 11:16 PM
That prerelease looks good
Kingdaro #32
Posted 30 March 2013 - 06:14 AM
I love how much better the color is on this. Though there are massive amounts of flickering on some programs with more drawing operations, it's only a beta, so that's to be expected.
AfterLifeLochie #33
Posted 30 March 2013 - 11:51 AM
I love how much better the color is on this. Though there are massive amounts of flickering on some programs with more drawing operations, it's only a beta, so that's to be expected.
If you can give me some examples of programs which flicker, that'd be greatly appreciated. I probably either did something wrong in my derpy rendering or something else somewhere, so tracking it down is a high priority.
Sammich Lord #34
Posted 31 March 2013 - 10:17 AM
How do you delete a computer in the desktop version?
AfterLifeLochie #35
Posted 31 March 2013 - 12:07 PM
How do you delete a computer in the desktop version?
Currently you can't. My bad. :P/>
Kingdaro #36
Posted 31 March 2013 - 12:11 PM
If you can give me some examples of programs which flicker, that'd be greatly appreciated. I probably either did something wrong in my derpy rendering or something else somewhere, so tracking it down is a high priority.
I only tested my Canvas program. The same would probably happen with oeed's OS, and maybe Lyqyd's, but to a lesser degree.
AfterLifeLochie #37
Posted 31 March 2013 - 12:16 PM
If you can give me some examples of programs which flicker, that'd be greatly appreciated. I probably either did something wrong in my derpy rendering or something else somewhere, so tracking it down is a high priority.
I only tested my Canvas program. The same would probably happen with oeed's OS, and maybe Lyqyd's, but to a lesser degree.
I haven't been able to replicate this issue at my end. The only thing I can suggest is that you ensure other OpenGL applications (such as Minecraft or other emulators) aren't open - it does have some strange resource issues. You should also try the Desktop version, as the browser itself may be doing something unusual - a common occurrence the last few days.

If this doesn't fix the problem, then I'll need to do more testing for the next release.
FuuuAInfiniteLoop(F.A.I.L) #38
Posted 31 March 2013 - 12:20 PM
crash: windows 8 pro and 7 ultimate, desktop and web version: When you click on throw unhandle crash, it crsah with this text
SpoilerIt would be greatly appreciated if you could report this screen's text, your operating system, and any other relevant information to AfterLifeLochie to assist debugging.

Submit reports at https://bitbucket.org/AfterLifeLochie/deskcc/issues

[SEVERE @net.deskcc.core] [net.deskcc.core.Emulator$3] This is a test exception.
java.lang.Exception: This is a test inner exception
at net.deskcc.core.Emulator$3.actionPerformed(Emulator.java:236)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
AfterLifeLochie #39
Posted 31 March 2013 - 12:31 PM
crash: windows 8 pro and 7 ultimate, desktop and web version: When you click on throw unhandle crash, it crsah with this text
This has been reported over and over and over. It's not a bug, it's an intended test function to make sure the emulator handles stopping correctly if it crashes.

Don't touch the debug menu unless you've been asked/need to. The options are there to test internals.
Shnupbups #40
Posted 31 March 2013 - 01:28 PM
I'm loving it! [/mcdonaldsad] This is great and I can't wait to see it improve over time with peripherals etc.
Dlcruz129 #41
Posted 31 March 2013 - 01:32 PM
Very nice!

That post… :blink:/>
Tiin57 #42
Posted 31 March 2013 - 01:34 PM
Very nice!

That post… :blink:/>
Lochie used his cheaty mod powers. :3
theoriginalbit #43
Posted 31 March 2013 - 01:41 PM
crash: windows 8 pro and 7 ultimate, desktop and web version: When you click on throw unhandle crash, it crsah with this text
This has been reported over and over and over. It's not a bug, it's an intended test function to make sure the emulator handles stopping correctly if it crashes.

Don't touch the debug menu unless you've been asked/need to. The options are there to test internals.
Gotta love people that don't read exceptions before posting :P/>
Engineer #44
Posted 31 March 2013 - 02:37 PM
I love this already! It is way better then CCemu, just because of the size of the screen. That is the thing what annoys me, but CCDesk is nice and big. Thanks AfterLifeLochie!
Shnupbups #45
Posted 31 March 2013 - 02:39 PM
I love this already! It is way better then CCemu, just because of the size of the screen. That is the thing what annoys me, but CCDesk is nice and big. Thanks AfterLifeLochie!
IKR? The size of PCs on CCEmu was SO annoying, when I tried this out I'm like: YES I CAN SEE WHAT I'M DOING!
theoriginalbit #46
Posted 31 March 2013 - 02:41 PM
IKR? The size of PCs on CCEmu was SO annoying, when I tried this out I'm like: YES I CAN SEE WHAT I'M DOING!
Without having to change the scale. :)/>

Cant wait to be able to move and close them…
Sammich Lord #47
Posted 31 March 2013 - 02:47 PM
IKR? The size of PCs on CCEmu was SO annoying, when I tried this out I'm like: YES I CAN SEE WHAT I'M DOING!
Without having to change the scale. :)/>

Cant wait to be able to move and close them…
I was able to move computers around.
AfterLifeLochie #48
Posted 31 March 2013 - 02:55 PM
IKR? The size of PCs on CCEmu was SO annoying, when I tried this out I'm like: YES I CAN SEE WHAT I'M DOING!
Without having to change the scale. :)/>

Cant wait to be able to move and close them…
Move computers by clicking and dragging the hotzone - the yellow margin.

Closing will be done via a Context Menu in PR3, operable by right-clicking the hotzone.
GravityScore #49
Posted 31 March 2013 - 03:05 PM
Fantastic desktop version, Lochie. No crashes on Mac! :D/>

Can't wait for peripherals.
theoriginalbit #50
Posted 31 March 2013 - 03:13 PM
I was able to move computers around.
Hmmm seems that I can now too…

Wait found a bug as to why i couldn't move it……..

Move computers by clicking and dragging the hotzone - the yellow margin. Closing will be done via a Context Menu in PR3, operable by right-clicking the hotzone.
I found why I cannot move it. and reported it.
AfterLifeLochie #51
Posted 31 March 2013 - 06:07 PM
So apparently Mac is causing me many levels of issues - most seem to relate back to rendering problems. At least it doesn't explode really badly! I'm also debugging that weird browser issue where the applet seems to render over all tabs - which is weird and unexpected, but hey, we're talking Java here.

A good place to be looking is the issue tracker right now. https://bitbucket.org/AfterLifeLochie/deskcc/issues
theoriginalbit #52
Posted 01 April 2013 - 01:10 AM
Woo hoo. new prerelease! :D/>
Dlcruz129 #53
Posted 01 April 2013 - 04:31 AM
You love my HTML posts. No cats were stuffed down tubes to make this markup.

Er… What?
spyman68 #54
Posted 01 April 2013 - 06:05 AM
Give me a reason why I should use this instead of CCEmu and I might download it, what I see from the online version is, it's an exact copy of CCEmu, but takes longer to load. That's pretty much the only difference I see.
Sammich Lord #55
Posted 01 April 2013 - 06:13 AM
Give me a reason why I should use this instead of CCEmu and I might download it, what I see from the online version is, it's an exact copy of CCEmu, but takes longer to load. That's pretty much the only difference I see.
Because of the fancy post and Lochie made it. Everybody knows when Lochie makes something you must use it. :P/>
spyman68 #56
Posted 01 April 2013 - 08:41 AM
I don't even know who Lochie is, so why should I use something he made?
Sammich Lord #57
Posted 01 April 2013 - 08:43 AM
I don't even know who Lochie is, so why should I use something he made?
Lochie is the lord of all things epic.
Tiin57 #58
Posted 01 April 2013 - 08:56 AM
I don't even know who Lochie is, so why should I use something he made?
Blegh. Lochie is one of the best web / system administrators you're likely to find. So trust him.
MysticT #59
Posted 01 April 2013 - 09:56 AM
Give me a reason why I should use this instead of CCEmu and I might download it, what I see from the online version is, it's an exact copy of CCEmu, but takes longer to load. That's pretty much the only difference I see.
Actually, you shouldn't. It's still a pre-release, so you can use it if you want to test and report bugs, but it's not yet suitable to replace CCEmu.
Now, when it gets finished, it will have some more features. Read the op again, there's an explanation of it's features (like the api and peripherals support).

btw, nice work Lochie, really looking forward to see this completed.
oeed #60
Posted 01 April 2013 - 12:58 PM
Yea, at the moment I'm not really using it because of three main things.
1. I'm on a Mac, I haven't really run in to any problems with this, however.
2. You can't use this with out an internet connection, and mine is horrendous.
3. Feature wise, it's not really any different to CCEmu.

Now, when it get's peripherals and this API, it will be a different story.
But good work.
AfterLifeLochie #61
Posted 01 April 2013 - 01:06 PM
Give me a reason why I should use this instead of CCEmu and I might download it, what I see from the online version is, it's an exact copy of CCEmu, but takes longer to load. That's pretty much the only difference I see.
As MysticT said so perfectly, you probably shouldn't yet. There is still a lot of work to be done, a long list of issues to be fixed completely, and who knows what else - aside the features to add.

Peripherals are, in fact, partially supported, and I'm spending today doing optimization of core emulation code. Hopefully I can stamp out some of these weird issues I've been having regarding load speed and performance - which stem from LWJGL. I had hoped using 2.9.0 LWJGL would fix most issues, and it has - as the emulator does now run - albeit buggily - on Mac, but it's introduced some performance issues I do need to address.

Other than that, you can expect Monitors and Disk Drives next - assuming everything continues to run to plan.

You love my HTML posts. No cats were stuffed down tubes to make this markup.

Er… What?
"Cats down tubes" is an old joke. Do not concenrn yourself too much. :P/>
oeed #62
Posted 01 April 2013 - 01:36 PM
I'm interested to know what interface (graphical that is) you are using to load and unload the discs for the drive, will it essentially be the ComputerCraft one?
AfterLifeLochie #63
Posted 01 April 2013 - 01:46 PM
I'm interested to know what interface (graphical that it) you are using to load and unload the discs for the drive, will it essentially be the ComputerCraft one?
I'm not sure yet on the specifics - designing how they'll function is next on my to-do list.
theoriginalbit #64
Posted 01 April 2013 - 03:44 PM
So Lochie. Do you think that its really fair that you are able to do a post that we are not? :P/> all that html goodness all because you are a mod and we are stuck with horrible looking text… :P/>
Tiin57 #65
Posted 01 April 2013 - 03:45 PM
So Lochie. Do you think that its really fair that you are able to do a post that we are not? :P/> all that html goodness all because you are a mod and we are stuck with horrible looking text… :P/>
It's totally not fair and he knows it. Possibly enjoys it as well.
Cranium #66
Posted 01 April 2013 - 03:52 PM
Don't complain about the html post. Just bask in it's splendor.
oeed #67
Posted 01 April 2013 - 03:55 PM
You could just request a moderator to set the html of your post, if they are willing that it. (I presume they can do that)

I'm not familiar at all with IP.Board but maybe if you have a certain number of posts or up votes you can post HTML topics.
theoriginalbit #68
Posted 01 April 2013 - 04:04 PM
Don't complain about the html post. Just bask in it's splendor.
But I want to do my own :(/> :P/>


I'm not familiar at all with IP.Board but maybe if you have a certain number of posts or up votes you can post HTML topics.
I'm pretty sure if it was based on post count, if anyone could do it, it would be me… I have over 3000 and am sitting on the top of the "top posters" except for casper who cheated his 100,000…
AfterLifeLochie #69
Posted 01 April 2013 - 06:25 PM
So back on topic, I'm about to release PR 3.2, which hopefully addresses issues regarding system performance only - eg, the "fps" and other CPU munching issues. Please let me know if this does improve performance so I can continue bug fixing.

Thanks to all of you for all your support - the API and working Monitor peripherals are next on the to-do list!
theoriginalbit #70
Posted 01 April 2013 - 06:33 PM
the API and working Monitor peripherals are next on the to-do list!
wasn't closable computers on the list for PR3?
AfterLifeLochie #71
Posted 01 April 2013 - 06:47 PM
the API and working Monitor peripherals are next on the to-do list!
wasn't closable computers on the list for PR3?
Those have actually been added but aren't included in PR 3.1 or PR 3.2, which were bug and resource fixing mostly. This means I'll probably end up going PR 3.3 and who knows from there.
Dlcruz129 #72
Posted 01 April 2013 - 06:52 PM
You love my HTML posts. No cats were stuffed down tubes to make this markup.
Er… What?
"Cats down tubes" is an old joke. Do not concenrn yourself too much. :P/>/>/>
Oh good. As a matter of fact, when I opened the thread, I was thinking, "I swear to god, if any cats were stuffed down a tube during the making of this program, I will go on a rampage."

Thanks for saving me from being banned. :P/>/>
Dlcruz129 #73
Posted 01 April 2013 - 06:54 PM
Don't complain about the html post. Just bask in it's splendor.
But I want to do my own :(/>/> :P/>/>


I'm not familiar at all with IP.Board but maybe if you have a certain number of posts or up votes you can post HTML topics.
I'm pretty sure if it was based on post count, if anyone could do it, it would be me… I have over 3000 and am sitting on the top of the "top posters" except for casper who cheated his 100,000…

It's a mod thing. If I was good at HTML I would be jealous. (Note: I do know HTML, but I have no artistic skill, for anything, period.)
theoriginalbit #74
Posted 01 April 2013 - 07:07 PM
If I was good at HTML I would be jealous.
And I am jealous.
amtra5 #75
Posted 01 April 2013 - 08:16 PM
Could you pleaseeeeeeeeeeee port to iOS? I really want to use this on my iPad :D/>
theoriginalbit #76
Posted 01 April 2013 - 08:42 PM
Could you pleaseeeeeeeeeeee port to iOS? I really want to use this on my iPad :D/>
You do not know how much work is required to go and 'port' a Java application to any mobile device, let alone an iOS device… its not as simple as pressing a button and bang its ported, it essentially requires an entire remake of program and all its apis from the bottom up… it is a little easier for an Android device, however even that is harder than you would expect… imho iOS is the hardest of the lot to port… there are lots of other design choices that need to be made and its not just a simple 'port'…
oeed #77
Posted 01 April 2013 - 11:56 PM
Yea, it is almost impossible to port. You would literally have to completely rewrite it.
AfterLifeLochie #78
Posted 02 April 2013 - 12:02 AM
Could you pleaseeeeeeeeeeee port to iOS? I really want to use this on my iPad :D/>
It's not going to be possible to port to iOS because I don't want to relearn Objective-C, and code ComputerCraft and the Emulator again from scratch in that language. Java applications can't be ported to iOS because iOS doesn't run Java. Android, does however - and so they'll get a port eventually.

SpoilerAlso, spoiler for next release.
theoriginalbit #79
Posted 02 April 2013 - 12:38 AM
It's not going to be possible to port to iOS because I don't want to relearn Objective-C, and code ComputerCraft and the Emulator again from scratch in that language.
Should talk to someone that knows Obj-C *wink* *wink* :P/>/>
AfterLifeLochie #80
Posted 02 April 2013 - 12:44 AM
It's not going to be possible to port to iOS because I don't want to relearn Objective-C, and code ComputerCraft and the Emulator again from scratch in that language.
Should talk to someone that knows Obj-C *wink* *wink* :P/>
I know Objective C - but the fact of the matter is, you're practically shooting yourself in the foot by having to rewrite CC and the Emulator, an incredibly daunting and ridiculously insane task. While being possible, it's well and truly something that only someone with way too much spare time would be able to do, because you're rewriting just about everything in a chaotic flurry. Pass, thanks. :P/>
Shnupbups #81
Posted 02 April 2013 - 12:53 AM
Those screenshots! Me want! Awesome!!!!

Anyways, in PR4 or PR3.3 can you add copy paste into the terminal? Currently I can't paste things so I have to manually type PB codes etc. and I'm a very lazy guy, so that's a lot to ask.

EDIT: also found bug (on Windows 7 Home Premium and desktop version). If you have not maximised the window and you move a computer the top of the computer will look weird whilst dragging it. I used an advanced computer on ID 0 with HTTP enabled on the latest version of CCDesk.
Dlcruz129 #82
Posted 02 April 2013 - 04:00 AM
Could you pleaseeeeeeeeeeee port to iOS? I really want to use this on my iPad :D/>/>

That would require learning *shudders* Objective-C.
theoriginalbit #83
Posted 02 April 2013 - 04:05 AM
That would require learning *shudders* Objective-C.
Objective-C is awesome and actually has been around for a very long time, iirc around the same time as C++ (i.e. before Java and its copy C++++ (a.k.a. C#))… so its an oldie and a goodie… square brackets FTW!
nutcase84 #84
Posted 02 April 2013 - 11:08 AM
Screenies please!
Tiin57 #85
Posted 02 April 2013 - 11:09 AM
Screenies please!
-.-
http://ccdesk.afterlifelochie.net
There's your damn screenies.
theoriginalbit #86
Posted 02 April 2013 - 11:39 AM
Screenies please!
You are too obsessed with screenshots… not everything needs it :P/>
InDieTasten #87
Posted 02 April 2013 - 01:09 PM
would be cool to have more computers at one moment and options for peripherals. would be cool to get this like vmware.
theoriginalbit #88
Posted 02 April 2013 - 01:16 PM
would be cool to have more computers at one moment and options for peripherals. would be cool to get this like vmware.
You can have more than one computer at a time…. peripherals are being added, be patient, it is a prerelease after all…
AfterLifeLochie #89
Posted 02 April 2013 - 04:42 PM
Screenies please!
would be cool to have more computers at one moment and options for peripherals. would be cool to get this like vmware.

It's already possible to add more than one computer. New -> Computer.

With regards to peripherals, review the thread and you'll see the Spoiler where I included a screenshot of Peripheral Properties and Computer Properties.
InDieTasten #90
Posted 02 April 2013 - 05:05 PM
It's already possible to add more than one computer. New -> Computer.

With regards to peripherals, review the thread and you'll see the Spoiler where I included a screenshot of Peripheral Properties and Computer Properties.
yeah, i didn't noticed the spoiler with the screenshot of peripheral properties. i saw the New -> Computer option but didn't knew how to switch between them ;)/>

and hey, great work man! pretty impressing

~InDieTasten
Lachee #91
Posted 02 April 2013 - 05:05 PM
Can you create an offline one? I cannot be connected to the internet all the time and since RP2 hasn't updated, i have kept 1.4.7
AfterLifeLochie #92
Posted 02 April 2013 - 05:26 PM
Can you create an offline one? I cannot be connected to the internet all the time and since RP2 hasn't updated, i have kept 1.4.7
Offline mode is coming in a future launcher update - which will have to be downloaded manually in the future.
Stary2001 #93
Posted 03 April 2013 - 03:22 PM
This is awesome, the 2 windows on top of each other becoming unmovable bug just has to be fixed, then I will use this!
AfterLifeLochie #94
Posted 03 April 2013 - 03:23 PM
This is awesome, the 2 windows on top of each other becoming unmovable bug just has to be fixed, then I will use this!
Window bugs are being finalized now, I hope - and then PR5 will hopefully have the start of the API and fixed "Peripheral Properties".
ETHANATOR360 #95
Posted 03 April 2013 - 03:47 PM
Is this closed source since i wanna code one for mobiles
Yes, this is closed source, although porting to mobile devices is on my todo-list.
are you going to port to ios (even though android would be alot easier)
Bubba #96
Posted 03 April 2013 - 04:04 PM
are you going to port to ios (even though android would be alot easier)

*facepalm* Did you even read the posts above you? Please do so if not.
theoriginalbit #97
Posted 03 April 2013 - 04:07 PM
are you going to port to ios (even though android would be alot easier)
Please, please, please tell me you're joking…


-snip-
Wow your logo is "in your face" pink!
Bubba #98
Posted 03 April 2013 - 04:09 PM
-snip-
Wow your logo is "in your face" pink!

Lol. I know. It's beautiful :D/>

Edit: I also need and crave attention. So thank you for noticing!
AfterLifeLochie #99
Posted 04 April 2013 - 11:41 AM
Apparently there's an NPE issue with Wireless Modems which is apparently making them un-usable.

I'll probably fix this today once I find out what the issue actually is…
Cranium #100
Posted 04 April 2013 - 12:05 PM
Apparently there's an NPE issue with Wireless Modems which is apparently making them un-usable.

I'll probably fix this today once I find out what the issue actually is…
Oh, that's simple! You forgot to feed the Rednet Gnomes. They died, and now they can't carry messages to and from computers. You monster…
mzxs #101
Posted 04 April 2013 - 02:27 PM
hey can you add it so i can resize the windows like CC emulator does?
AfterLifeLochie #102
Posted 04 April 2013 - 03:03 PM
hey can you add it so i can resize the windows like CC emulator does?
Scaling is a bit funky at present, but it will be added later on. The default scaling, though, will be as it is now.
remiX #103
Posted 04 April 2013 - 03:16 PM
Bug:
Not sure if this has been reported but while using the edit program, and you want to scroll, up is down and down is up
AfterLifeLochie #104
Posted 04 April 2013 - 03:25 PM
Bug:
Not sure if this has been reported but while using the edit program, and you want to scroll, up is down and down is up
I just tested this and I don't have this behaviour - arrow keys and PgUp / PgDown functions correctly. Unless you have a strange keyboard I don't see why this would happen - I don't translate or adjust keyboard events for computers.
remiX #105
Posted 04 April 2013 - 03:26 PM
Mouse scrolling.
Didn't actually test my keyboard
AfterLifeLochie #106
Posted 04 April 2013 - 03:32 PM
Mouse scrolling.
Didn't actually test my keyboard
Ah, that makes more sense. And yes - this is because mouse is reported as "backwards" to CC for some reason.

Fixed for next release.
AfterLifeLochie #107
Posted 05 April 2013 - 09:29 PM
After spending the day doing more debugging, rewriting and testing, the API and fully functional peripherals are almost ready for release. API documentation will be on the writing tomorrow, and then a release by Sunday, hopefully.

I've also rewritten the CCDesk Website. It's now 100% less unattractive and includes a lot of the information from this thread. Go, explore!
Cranium #108
Posted 06 April 2013 - 04:43 AM
<!– MODERATOR, TURN AROUND. YOU HAVE JUST BROKEN THIS POST. YES, YOU. GO AWAY.
GO FIND AFTERLIFELOCHIE AND TELL HIM YOU WERE HERE. –>
I did nothing. I just quoted to see how you did that, seeing as how I am learning html.

By the way, IE 8 does not let me run CCDesk. Not sure if it's my version, or if it's an isue with my work proxy or filtering system, but I only get the CCDesk logo.
AfterLifeLochie #109
Posted 06 April 2013 - 11:37 AM
<!– MODERATOR, TURN AROUND. YOU HAVE JUST BROKEN THIS POST. YES, YOU. GO AWAY.
GO FIND AFTERLIFELOCHIE AND TELL HIM YOU WERE HERE. –>
I did nothing. I just quoted to see how you did that, seeing as how I am learning html.

By the way, IE 8 does not let me run CCDesk. Not sure if it's my version, or if it's an isue with my work proxy or filtering system, but I only get the CCDesk logo.
Last time someone was there, they accidentally submitted and all the markup went full derp. Right click the page and View Source next time. :P/>

Sounds like an issue at your work. Have you tried using the desktop launcher?
KleptoKat #110
Posted 07 April 2013 - 12:07 AM
That post… Beautiful. That website… Gorgeous. That utility… Beyond incredible.

Nice job, can't wait for the API.
ETHANATOR360 #111
Posted 07 April 2013 - 09:17 AM
i wish this had an option to import programs for cc emulator, but otherwise nice work
lieudusty #112
Posted 07 April 2013 - 09:23 AM
Yay the site doesn't look terrible anymore! :D/>
RustikGaming #113
Posted 07 April 2013 - 10:51 AM
@AfterLifeLochie a simple solution for mac users that have Java 1.7 and don't want to uninstall it download the file located here and run it to launch CCDesk. Just be sure to place this file wherever you have your desktop.jar located (e.g. desktop.jar is on the desktop so place your new launch file CCDesk.sh on the desktop and run it). Please tell me if you encounter any problems with this method.

Note: all this file does is access java 1.6 on your mac system and uses it to launch desktop.jar

P.S. If you have trouble launching this file using terminal then download this application here (TextWrangler) and open your new launch file with it and click on the #! button at the top of the screen and select "Run" not "Run…", "Run in Terminal", or "Run File…" just "Run"
AfterLifeLochie #114
Posted 07 April 2013 - 12:51 PM
@AfterLifeLochie a simple solution for mac users that have Java 1.7 and don't want to uninstall it download the file located here and run it to launch CCDesk. Just be sure to place this file wherever you have your desktop.jar located (e.g. desktop.jar is on the desktop so place your new launch file CCDesk.sh on the desktop and run it). Please tell me if you encounter any problems with this method.

Note: all this file does is access java 1.6 on your mac system and uses it to launch desktop.jar

P.S. If you have trouble launching this file using terminal then download this application here (TextWrangler) and open your new launch file with it and click on the #! button at the top of the screen and select "Run" not "Run…", "Run in Terminal", or "Run File…" just "Run"
I've had to remove your link as we're not supposed to distribute actual executable scripts such as that on the forums. As far as starting in debugging, there is actually a debug launcher which I've been using. If people have issues then they've mostly been getting in touch with me to get it fixed.

This emulator works without tweaking on Mac with JRE 1.7 - because I'm using the very latest LWJGL. Please don't try and run it in 1.6 unless you actually have issues with it.
Tiin57 #115
Posted 07 April 2013 - 01:07 PM
By the way, Lochie, your post seems to be messed up on mobile.
AfterLifeLochie #116
Posted 07 April 2013 - 01:11 PM
By the way, Lochie, your post seems to be messed up on mobile.
That's entirely possible - mobile view probably turns it into HTML-goop.
RustikGaming #117
Posted 07 April 2013 - 01:39 PM
@AfterLifeLochie a simple solution for mac users that have Java 1.7 and don't want to uninstall it download the file located here and run it to launch CCDesk. Just be sure to place this file wherever you have your desktop.jar located (e.g. desktop.jar is on the desktop so place your new launch file CCDesk.sh on the desktop and run it). Please tell me if you encounter any problems with this method.

Note: all this file does is access java 1.6 on your mac system and uses it to launch desktop.jar

P.S. If you have trouble launching this file using terminal then download this application here (TextWrangler) and open your new launch file with it and click on the #! button at the top of the screen and select "Run" not "Run…", "Run in Terminal", or "Run File…" just "Run"
I've had to remove your link as we're not supposed to distribute actual executable scripts such as that on the forums. As far as starting in debugging, there is actually a debug launcher which I've been using. If people have issues then they've mostly been getting in touch with me to get it fixed.

This emulator works without tweaking on Mac with JRE 1.7 - because I'm using the very latest LWJGL. Please don't try and run it in 1.6 unless you actually have issues with it.

ok sorry about that dude was just trying to help
Tiin57 #118
Posted 07 April 2013 - 02:13 PM
Lochie: Fix the goop. Fix it nao.
AfterLifeLochie #119
Posted 08 April 2013 - 03:38 PM
PR5 is now out - the CCDesk API is open for business! You can download the documentation and instructions for PR5 API development here.

There's also a long list of bugs that are now fixed - such as the emulator not closing, wrong mousewheel scroll behaviour fixed, and other performance tweaks!
superaxander #120
Posted 08 April 2013 - 08:00 PM
PR5 is now out - the CCDesk API is open for business! You can download the documentation and instructions for PR5 API development here.

There's also a long list of bugs that are now fixed - such as the emulator not closing, wrong mousewheel scroll behaviour fixed, and other performance tweaks!
Yay let's code some stuff!
AfterLifeLochie #121
Posted 09 April 2013 - 06:10 PM
Apparently there's issues with rendering on Mac again. If you have these issues, try and delete the `Application Support/.ccdesk` folder, and restart the program. If this doesn't help, launch the launcher in a Console or XTerm with `java -jar desktop.jar` and let me know if there's any crashes.
theoriginalbit #122
Posted 09 April 2013 - 06:19 PM
Not getting any rendering bugs except for the black background again. deleted the folder ran again, same problem. only exception raised is first run where it cannot find the manifest file.
AfterLifeLochie #123
Posted 09 April 2013 - 06:31 PM
The loader will probably throw an exception if it can't read the manifest - and should theoretically download everything and the manifest, so that's okay.

Strange, people have reported not being able to see anything at all - although I have no idea how this bug has actually been reintroduced, let alone what causes it.
theoriginalbit #124
Posted 09 April 2013 - 06:39 PM
Hmmm very odd. wonder what Java and OSX they have…..
Dlcruz129 #125
Posted 09 April 2013 - 06:40 PM
Yes! It was a pain in the ass scrolling in edit.
AfterLifeLochie #126
Posted 09 April 2013 - 06:48 PM
Yes! It was a pain in the ass scrolling in edit.
That should be fixed now. For some reason CC uses "down" events as '3' and "up" events as '4' - and not the other way around. I don't know why.
Dlcruz129 #127
Posted 09 April 2013 - 06:52 PM
Yes! It was a pain in the ass scrolling in edit.
That should be fixed now. For some reason CC uses "down" events as '3' and "up" events as '4' - and not the other way around. I don't know why.

Weird. By the way, congrats on making Admin!
AfterLifeLochie #128
Posted 09 April 2013 - 06:59 PM
Yes! It was a pain in the ass scrolling in edit.
That should be fixed now. For some reason CC uses "down" events as '3' and "up" events as '4' - and not the other way around. I don't know why.

Weird. By the way, congrats on making Admin!
Thanks!

I'm currently working on state-saving - open computers, computer properties and peripheral properties should (hopefully!) be able to be saved and reloaded dynamically between emulator sessions - meaning you can resume your last session from where it was last!
superaxander #129
Posted 10 April 2013 - 12:45 AM
Yes! It was a pain in the ass scrolling in edit.
That should be fixed now. For some reason CC uses "down" events as '3' and "up" events as '4' - and not the other way around. I don't know why.

Weird. By the way, congrats on making Admin!
Thanks!

I'm currently working on state-saving - open computers, computer properties and peripheral properties should (hopefully!) be able to be saved and reloaded dynamically between emulator sessions - meaning you can resume your last session from where it was last!
You weren't admin before? O.o Since when you are?
theoriginalbit #130
Posted 10 April 2013 - 12:53 AM
You weren't admin before? O.o Since when you are?
Today I noticed the change.
superaxander #131
Posted 10 April 2013 - 12:53 AM
You weren't admin before? O.o Since when you are?
Today I noticed the change.
I thought he was from the beginning on
Dlcruz129 #132
Posted 10 April 2013 - 06:48 AM
Have a lovely video of me doing some bugfixing. If you guys like this kind of stuff - and I know this video isn't the best, I should have used a faster snapshot interval - I'll keep making them. Anyway, this is me fixing depth and rendering layers for PR2 - which will hopefully be ready to go this weekend!

[media]http://www.youtube.com/watch?v=9D0AzkDXpoc[/media]

Yay! Free source code! :P/>
theoriginalbit #133
Posted 10 April 2013 - 06:52 AM
Yay! Free source code! :P/>
What an annoying way to get it.
Sammich Lord #134
Posted 10 April 2013 - 06:53 AM
You weren't admin before? O.o Since when you are?
Today I noticed the change.
I thought he was from the beginning on
He got it yesterday when Cloudy made him a admin while banning LuaEclipser.
Simon #135
Posted 10 April 2013 - 06:56 AM
Is there an option (desktop version) to have it not update?
At my school, mediafire is blocked and it says that it failed to update.
SadKingBilly #136
Posted 10 April 2013 - 07:14 AM
If you don't mind, I feel I have to tell you that I have fallen head-over-heels in love with you. Partially because CCDesk is amazing, and partially because dat cheaty HTML post.
TableCraft0R #137
Posted 11 April 2013 - 09:21 PM
how do i launch a specific file and directory
because i am working on an Lua IDE.
theoriginalbit #138
Posted 11 April 2013 - 09:25 PM
you will have to change where your IDE points to, so that it points to the CCDesk support directory.
AfterLifeLochie #139
Posted 11 April 2013 - 09:32 PM
how do i launch a specific file and directory
because i am working on an Lua IDE.
I don't know what you mean - are you talking Java here?

If so - you'll have to invent this yourself. I don't offer "launch other application" capability.
TableCraft0R #140
Posted 11 April 2013 - 09:58 PM
how do i launch a specific file and directory
because i am working on an Lua IDE.
I don't know what you mean - are you talking Java here?

If so - you'll have to invent this yourself. I don't offer "launch other application" capability.
Yes,Talking about Java
For clarity, I am making an Lua IDE that will launch your applet if the user pressed Test application.
AfterLifeLochie #141
Posted 12 April 2013 - 10:20 PM
CCDesk PR6 is out - fixing several security and sandboxing issues, and problems with the launcher. It now also provides visual feedback when starting up, so you're not left waiting with a blank screen.

You will need to download the latest version of the launcher, as the previous one (PR1 -> PR5) won't work with Prerelease 6 and above, due to security changes.

(Edit: Developers, note – the CCDesk API changed. The next API specification and javadocs are up at the CCDesk site.)
Edited on 12 April 2013 - 08:41 PM
oeed #142
Posted 12 April 2013 - 10:30 PM
You've done a really nice job on this. Is there anyway we can have a resource monitor for each computer to check for any possible leaks, issues etc?
AfterLifeLochie #143
Posted 12 April 2013 - 10:36 PM
You've done a really nice job on this. Is there anyway we can have a resource monitor for each computer to check for any possible leaks, issues etc?
You'd have to implement that Lua-side, as I'm not actually responsible for the Lua environment (and files which are left open are automatically closed by CC on computer shutdown anyway). Just replace the fs and io open functions with wrappers.
TehSomeLuigi #144
Posted 13 April 2013 - 07:18 AM
I'm trying to create a plugin here for my peripherals (HTTP Server - in the peripherals forum) but I'm having this problem. I tried it with the demo and the same problem occurs.

Here it is:
Spoiler[INFO] [net.deskcc.core.Emulator] StartEmulator shutdown failed!
Emulator shutdown failed!
[net.deskcc.core.Emulator] This computer is identified as `83de2d7b44848fb60d581a05c12c0e6f65e9f2ff`.
[INFO] [net.deskcc.core.Emulator] Obtaining root working directory
[INFO] [net.deskcc.core.registry.PluginRegistry] Plugin at class `SimplePlugin` loading.
[SEVERE] [net.deskcc.core.registry.PluginRegistry] Could not initiate specified class.
java.lang.ClassNotFoundException: Could not define class.
at net.deskcc.util.JARClassLoader.findClass(JARClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at net.deskcc.core.registry.PluginRegistry.importPlugin(PluginRegistry.java:98)
at net.deskcc.core.registry.PluginRegistry.loadPlugin(PluginRegistry.java:64)
at net.deskcc.core.Emulator.<init>(Emulator.java:587)
at net.deskcc.applet.EmulatorAppletWrapper.<init>(EmulatorAppletWrapper.java:11)
at net.deskcc.applet.EmulatorApplet.init(EmulatorApplet.java:30)
at net.deskcc.web.WebAppletProxy.swapApplet(WebAppletProxy.java:200)
at net.deskcc.web.WebAppletProxy.startApplet(WebAppletProxy.java:171)
at net.deskcc.web.UpdateThread.run(UpdateThread.java:281)
at java.lang.Thread.run(Thread.java:662)
java.lang.NullPointerException
at net.deskcc.util.AppletConsoleHandler.publish(AppletConsoleHandler.java:113)
at java.util.logging.Logger.log(Logger.java:481)
at java.util.logging.Logger.doLog(Logger.java:503)
at java.util.logging.Logger.log(Logger.java:592)
at net.deskcc.core.registry.PluginRegistry.importPlugin(PluginRegistry.java:101)
at net.deskcc.core.registry.PluginRegistry.loadPlugin(PluginRegistry.java:64)
at net.deskcc.core.Emulator.<init>(Emulator.java:587)
at net.deskcc.applet.EmulatorAppletWrapper.<init>(EmulatorAppletWrapper.java:11)
at net.deskcc.applet.EmulatorApplet.init(EmulatorApplet.java:30)
at net.deskcc.web.WebAppletProxy.swapApplet(WebAppletProxy.java:200)
at net.deskcc.web.WebAppletProxy.startApplet(WebAppletProxy.java:171)
at net.deskcc.web.UpdateThread.run(UpdateThread.java:281)
at java.lang.Thread.run(Thread.java:662)
[SEVERE] [net.deskcc.core.registry.PluginRegistry] Could not initiate specified plugin.
java.lang.Exception: Failed to load specified class.
at net.deskcc.core.registry.PluginRegistry.loadPlugin(PluginRegistry.java:66)
at net.deskcc.core.Emulator.<init>(Emulator.java:587)
at net.deskcc.applet.EmulatorAppletWrapper.<init>(EmulatorAppletWrapper.java:11)
at net.deskcc.applet.EmulatorApplet.init(EmulatorApplet.java:30)
at net.deskcc.web.WebAppletProxy.swapApplet(WebAppletProxy.java:200)
at net.deskcc.web.WebAppletProxy.startApplet(WebAppletProxy.java:171)
at net.deskcc.web.UpdateThread.run(UpdateThread.java:281)
at java.lang.Thread.run(Thread.java:662)
java.lang.NullPointerException
at net.deskcc.util.AppletConsoleHandler.publish(AppletConsoleHandler.java:113)
at java.util.logging.Logger.log(Logger.java:481)
at java.util.logging.Logger.doLog(Logger.java:503)
at java.util.logging.Logger.log(Logger.java:592)
at net.deskcc.core.registry.PluginRegistry.loadPlugin(PluginRegistry.java:79)
at net.deskcc.core.Emulator.<init>(Emulator.java:587)
at net.deskcc.applet.EmulatorAppletWrapper.<init>(EmulatorAppletWrapper.java:11)
at net.deskcc.applet.EmulatorApplet.init(EmulatorApplet.java:30)
at net.deskcc.web.WebAppletProxy.swapApplet(WebAppletProxy.java:200)
at net.deskcc.web.WebAppletProxy.startApplet(WebAppletProxy.java:171)
at net.deskcc.web.UpdateThread.run(UpdateThread.java:281)
at java.lang.Thread.run(Thread.java:662)
[INFO] [net.deskcc.core.Emulator] Binding to canvas
[INFO] [net.deskcc.core.Emulator] Canvas creation completed
[INFO] [net.deskcc.core.managers.TickManager] Starting tick thread
[INFO] [net.deskcc.core.Emulator] Canvas resize has occured. New canvas size is {790,555}.

What am I doing wrong?
MudkipTheEpic #145
Posted 13 April 2013 - 09:32 AM
Finally got it to work for me! The computer's weren't showing up, but once I resized the window they worked!

Could you have making a new CPU auto-resize canvas to how big it already is? That might fix it… :/
AfterLifeLochie #146
Posted 13 April 2013 - 02:10 PM
Finally got it to work for me! The computer's weren't showing up, but once I resized the window they worked!

Could you have making a new CPU auto-resize canvas to how big it already is? That might fix it… :/
Strange – what OS and JRE are you using? I thought I fixed this a while back.


I'm trying to create a plugin here for my peripherals (HTTP Server - in the peripherals forum) but I'm having this problem. I tried it with the demo and the same problem occurs.

Here it is:
Spoiler[INFO] [net.deskcc.core.Emulator] StartEmulator shutdown failed!
Emulator shutdown failed!
[net.deskcc.core.Emulator] This computer is identified as `83de2d7b44848fb60d581a05c12c0e6f65e9f2ff`.
[INFO] [net.deskcc.core.Emulator] Obtaining root working directory
[INFO] [net.deskcc.core.registry.PluginRegistry] Plugin at class `SimplePlugin` loading.
[SEVERE] [net.deskcc.core.registry.PluginRegistry] Could not initiate specified class.
java.lang.ClassNotFoundException: Could not define class.
at net.deskcc.util.JARClassLoader.findClass(JARClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at net.deskcc.core.registry.PluginRegistry.importPlugin(PluginRegistry.java:98)
at net.deskcc.core.registry.PluginRegistry.loadPlugin(PluginRegistry.java:64)
at net.deskcc.core.Emulator.<init>(Emulator.java:587)
at net.deskcc.applet.EmulatorAppletWrapper.<init>(EmulatorAppletWrapper.java:11)
at net.deskcc.applet.EmulatorApplet.init(EmulatorApplet.java:30)
at net.deskcc.web.WebAppletProxy.swapApplet(WebAppletProxy.java:200)
at net.deskcc.web.WebAppletProxy.startApplet(WebAppletProxy.java:171)
at net.deskcc.web.UpdateThread.run(UpdateThread.java:281)
at java.lang.Thread.run(Thread.java:662)
java.lang.NullPointerException
at net.deskcc.util.AppletConsoleHandler.publish(AppletConsoleHandler.java:113)
at java.util.logging.Logger.log(Logger.java:481)
at java.util.logging.Logger.doLog(Logger.java:503)
at java.util.logging.Logger.log(Logger.java:592)
at net.deskcc.core.registry.PluginRegistry.importPlugin(PluginRegistry.java:101)
at net.deskcc.core.registry.PluginRegistry.loadPlugin(PluginRegistry.java:64)
at net.deskcc.core.Emulator.<init>(Emulator.java:587)
at net.deskcc.applet.EmulatorAppletWrapper.<init>(EmulatorAppletWrapper.java:11)
at net.deskcc.applet.EmulatorApplet.init(EmulatorApplet.java:30)
at net.deskcc.web.WebAppletProxy.swapApplet(WebAppletProxy.java:200)
at net.deskcc.web.WebAppletProxy.startApplet(WebAppletProxy.java:171)
at net.deskcc.web.UpdateThread.run(UpdateThread.java:281)
at java.lang.Thread.run(Thread.java:662)
[SEVERE] [net.deskcc.core.registry.PluginRegistry] Could not initiate specified plugin.
java.lang.Exception: Failed to load specified class.
at net.deskcc.core.registry.PluginRegistry.loadPlugin(PluginRegistry.java:66)
at net.deskcc.core.Emulator.<init>(Emulator.java:587)
at net.deskcc.applet.EmulatorAppletWrapper.<init>(EmulatorAppletWrapper.java:11)
at net.deskcc.applet.EmulatorApplet.init(EmulatorApplet.java:30)
at net.deskcc.web.WebAppletProxy.swapApplet(WebAppletProxy.java:200)
at net.deskcc.web.WebAppletProxy.startApplet(WebAppletProxy.java:171)
at net.deskcc.web.UpdateThread.run(UpdateThread.java:281)
at java.lang.Thread.run(Thread.java:662)
java.lang.NullPointerException
at net.deskcc.util.AppletConsoleHandler.publish(AppletConsoleHandler.java:113)
at java.util.logging.Logger.log(Logger.java:481)
at java.util.logging.Logger.doLog(Logger.java:503)
at java.util.logging.Logger.log(Logger.java:592)
at net.deskcc.core.registry.PluginRegistry.loadPlugin(PluginRegistry.java:79)
at net.deskcc.core.Emulator.<init>(Emulator.java:587)
at net.deskcc.applet.EmulatorAppletWrapper.<init>(EmulatorAppletWrapper.java:11)
at net.deskcc.applet.EmulatorApplet.init(EmulatorApplet.java:30)
at net.deskcc.web.WebAppletProxy.swapApplet(WebAppletProxy.java:200)
at net.deskcc.web.WebAppletProxy.startApplet(WebAppletProxy.java:171)
at net.deskcc.web.UpdateThread.run(UpdateThread.java:281)
at java.lang.Thread.run(Thread.java:662)
[INFO] [net.deskcc.core.Emulator] Binding to canvas
[INFO] [net.deskcc.core.Emulator] Canvas creation completed
[INFO] [net.deskcc.core.managers.TickManager] Starting tick thread
[INFO] [net.deskcc.core.Emulator] Canvas resize has occured. New canvas size is {790,555}.

What am I doing wrong?

Make sure your JAR file has a custom MANIFEST.MF file at the root of the JAR - and not in /META-INF/, and that the class name is a full path (eg, net.afterlifelochie.package.entry becomes net/afterlifelochie/package/entry). If you still have issues, PM me your code as a ZIP and I'll check I've not made an error somewhere.
TehSomeLuigi #147
Posted 14 April 2013 - 01:36 AM
Finally got it to work for me! The computer's weren't showing up, but once I resized the window they worked!

Could you have making a new CPU auto-resize canvas to how big it already is? That might fix it… :/
Strange – what OS and JRE are you using? I thought I fixed this a while back.


I'm trying to create a plugin here for my peripherals (HTTP Server - in the peripherals forum) but I'm having this problem. I tried it with the demo and the same problem occurs.

Here it is:
Spoiler[INFO] [net.deskcc.core.Emulator] StartEmulator shutdown failed!
Emulator shutdown failed!
[net.deskcc.core.Emulator] This computer is identified as `83de2d7b44848fb60d581a05c12c0e6f65e9f2ff`.
[INFO] [net.deskcc.core.Emulator] Obtaining root working directory
[INFO] [net.deskcc.core.registry.PluginRegistry] Plugin at class `SimplePlugin` loading.
[SEVERE] [net.deskcc.core.registry.PluginRegistry] Could not initiate specified class.
java.lang.ClassNotFoundException: Could not define class.
at net.deskcc.util.JARClassLoader.findClass(JARClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at net.deskcc.core.registry.PluginRegistry.importPlugin(PluginRegistry.java:98)
at net.deskcc.core.registry.PluginRegistry.loadPlugin(PluginRegistry.java:64)
at net.deskcc.core.Emulator.<init>(Emulator.java:587)
at net.deskcc.applet.EmulatorAppletWrapper.<init>(EmulatorAppletWrapper.java:11)
at net.deskcc.applet.EmulatorApplet.init(EmulatorApplet.java:30)
at net.deskcc.web.WebAppletProxy.swapApplet(WebAppletProxy.java:200)
at net.deskcc.web.WebAppletProxy.startApplet(WebAppletProxy.java:171)
at net.deskcc.web.UpdateThread.run(UpdateThread.java:281)
at java.lang.Thread.run(Thread.java:662)
java.lang.NullPointerException
at net.deskcc.util.AppletConsoleHandler.publish(AppletConsoleHandler.java:113)
at java.util.logging.Logger.log(Logger.java:481)
at java.util.logging.Logger.doLog(Logger.java:503)
at java.util.logging.Logger.log(Logger.java:592)
at net.deskcc.core.registry.PluginRegistry.importPlugin(PluginRegistry.java:101)
at net.deskcc.core.registry.PluginRegistry.loadPlugin(PluginRegistry.java:64)
at net.deskcc.core.Emulator.<init>(Emulator.java:587)
at net.deskcc.applet.EmulatorAppletWrapper.<init>(EmulatorAppletWrapper.java:11)
at net.deskcc.applet.EmulatorApplet.init(EmulatorApplet.java:30)
at net.deskcc.web.WebAppletProxy.swapApplet(WebAppletProxy.java:200)
at net.deskcc.web.WebAppletProxy.startApplet(WebAppletProxy.java:171)
at net.deskcc.web.UpdateThread.run(UpdateThread.java:281)
at java.lang.Thread.run(Thread.java:662)
[SEVERE] [net.deskcc.core.registry.PluginRegistry] Could not initiate specified plugin.
java.lang.Exception: Failed to load specified class.
at net.deskcc.core.registry.PluginRegistry.loadPlugin(PluginRegistry.java:66)
at net.deskcc.core.Emulator.<init>(Emulator.java:587)
at net.deskcc.applet.EmulatorAppletWrapper.<init>(EmulatorAppletWrapper.java:11)
at net.deskcc.applet.EmulatorApplet.init(EmulatorApplet.java:30)
at net.deskcc.web.WebAppletProxy.swapApplet(WebAppletProxy.java:200)
at net.deskcc.web.WebAppletProxy.startApplet(WebAppletProxy.java:171)
at net.deskcc.web.UpdateThread.run(UpdateThread.java:281)
at java.lang.Thread.run(Thread.java:662)
java.lang.NullPointerException
at net.deskcc.util.AppletConsoleHandler.publish(AppletConsoleHandler.java:113)
at java.util.logging.Logger.log(Logger.java:481)
at java.util.logging.Logger.doLog(Logger.java:503)
at java.util.logging.Logger.log(Logger.java:592)
at net.deskcc.core.registry.PluginRegistry.loadPlugin(PluginRegistry.java:79)
at net.deskcc.core.Emulator.<init>(Emulator.java:587)
at net.deskcc.applet.EmulatorAppletWrapper.<init>(EmulatorAppletWrapper.java:11)
at net.deskcc.applet.EmulatorApplet.init(EmulatorApplet.java:30)
at net.deskcc.web.WebAppletProxy.swapApplet(WebAppletProxy.java:200)
at net.deskcc.web.WebAppletProxy.startApplet(WebAppletProxy.java:171)
at net.deskcc.web.UpdateThread.run(UpdateThread.java:281)
at java.lang.Thread.run(Thread.java:662)
[INFO] [net.deskcc.core.Emulator] Binding to canvas
[INFO] [net.deskcc.core.Emulator] Canvas creation completed
[INFO] [net.deskcc.core.managers.TickManager] Starting tick thread
[INFO] [net.deskcc.core.Emulator] Canvas resize has occured. New canvas size is {790,555}.

What am I doing wrong?

Make sure your JAR file has a custom MANIFEST.MF file at the root of the JAR - and not in /META-INF/, and that the class name is a full path (eg, net.afterlifelochie.package.entry becomes net/afterlifelochie/package/entry). If you still have issues, PM me your code as a ZIP and I'll check I've not made an error somewhere.


I used the example plugin, I attached you the compiled jar of that at the issue tracker, maybe I compiled it wrong or something.
AfterLifeLochie #148
Posted 14 April 2013 - 01:46 PM
I used the example plugin, I attached you the compiled jar of that at the issue tracker, maybe I compiled it wrong or something.

Now that I have the plugin I can debug this – there is an issue I've confirmed, but as to why it's occurring I don't know yet. Theoretically speaking it should be functioning, and you're the only person who has managed to export something which causes this. Hang tight!

EDIT: This issue is now officially fixed as of PR6.1 due to a mystery compile-time issue. Hopefully this fixes plugins!
Spongy141 #149
Posted 14 April 2013 - 04:21 PM
Wow looks very nice!
superaxander #150
Posted 14 April 2013 - 09:52 PM
I use this all the time in replacement of cc-emu because of the peripheral system!
superaxander #151
Posted 14 April 2013 - 11:54 PM
When going to a different tab the applet stays on top. This is really anoying. Is it possible to fix that?
AfterLifeLochie #152
Posted 14 April 2013 - 11:56 PM
When going to a different tab the applet stays on top. This is really anoying. Is it possible to fix that?
It's a render or AWT-related bug I've yet to come up with a fix for. It's being investigated, though.
theoriginalbit #153
Posted 14 April 2013 - 11:57 PM
I'm assuming its the same bug as the one that causes all your menu drop-downs to float on the top when switching applications too?
AfterLifeLochie #154
Posted 14 April 2013 - 11:59 PM
I'm assuming its the same bug as the one that causes all your menu drop-downs to float on the top when switching applications too?
I think so. It's likely some behaviour I've missed or something in the launcher distribution – this is going to require a lot of digging.
oeed #155
Posted 15 April 2013 - 12:01 AM
When going to a different tab the applet stays on top. This is really anoying. Is it possible to fix that?

Oh is that universal? Odd how it does that. I presumed it was as I was using OS X, obviously not.
AfterLifeLochie #156
Posted 15 April 2013 - 12:03 AM
When going to a different tab the applet stays on top. This is really anoying. Is it possible to fix that?

Oh is that universal? Odd how it does that. I presumed it was as I was using OS X, obviously not.
No. Originally I assumed it to be a Webkit issue, as this happens in Chrome and in Safari.

Either the canvas, the internal panel, or something else is causing the internal LWJGL canvas to be on top.
theoriginalbit #157
Posted 15 April 2013 - 12:11 AM
Yeh its definitely not just webkit, since I get it with the app.

Btw I cannot remember if i commented on the report or not, but still getting the loading issue on Safari even after deleting the support files.
superaxander #158
Posted 15 April 2013 - 12:41 AM
When going to a different tab the applet stays on top. This is really anoying. Is it possible to fix that?

Oh is that universal? Odd how it does that. I presumed it was as I was using OS X, obviously not.
No. Originally I assumed it to be a Webkit issue, as this happens in Chrome and in Safari.

Either the canvas, the internal panel, or something else is causing the internal LWJGL canvas to be on top.
I use firefox btw
AfterLifeLochie #159
Posted 15 April 2013 - 12:53 AM
Btw I cannot remember if i commented on the report or not, but still getting the loading issue on Safari even after deleting the support files.
Which report was that? And what do you mean by 'loading issue' exactly?
theoriginalbit #160
Posted 15 April 2013 - 01:00 AM
I cant remember which report, but here is the screenshot again, http://puu.sh/2zRos
This happens in in Safari, Chrome, Opera and Firefox….
I've deleted the support folder, didn't fix it.
OSX 10.8.3
Java 1.6.0_43
AfterLifeLochie #161
Posted 15 April 2013 - 01:04 AM
I cant remember which report, but here is the screenshot again, http://puu.sh/2zRos
This happens in in Safari, Chrome, Opera and Firefox….
I've deleted the support folder, didn't fix it.
OSX 10.8.3
Java 1.6.0_43
Did you submit a bug report in the tracker? I'm going to tell you, again, to launch in a console or XTerm – I've told you enough times how to do that, now. :P/>
theoriginalbit #162
Posted 15 April 2013 - 01:06 AM
Did you submit a bug report in the tracker? I'm going to tell you, again, to launch in a console or XTerm – I've told you enough times how to do that, now. :P/>
Pretty sure I did report it. I didn't realise that you could start a web based applet with the console.
AfterLifeLochie #163
Posted 15 April 2013 - 01:08 AM
Did you submit a bug report in the tracker? I'm going to tell you, again, to launch in a console or XTerm – I've told you enough times how to do that, now. :P/>
Pretty sure I did report it. I didn't realise that you could start a web based applet with the console.
Wait – is it only happening inside the applet? Weird, I'm sure I fixed that a while back. I'll do some more digging again. Does the desktop version do this, too?
theoriginalbit #164
Posted 15 April 2013 - 01:10 AM
Nope the desktop version is working perfectly fine, its just the web applet.
AfterLifeLochie #165
Posted 15 April 2013 - 01:12 AM
Nope the desktop version is working perfectly fine, its just the web applet.
The only thing I can suggest is turning on the Applet Console for web browsers - in the Java Control Panel there's an option for it somewhere. I'm not sure about the specifics for Mac as I don't use it often, but if you can determine some sort of crash in that console then it's the likely cause of all these browser issues.
theoriginalbit #166
Posted 15 April 2013 - 01:16 AM
Ok I'll report it when I find it.
TehSomeLuigi #167
Posted 15 April 2013 - 05:33 AM
Thanks for the help, I ported my first peripheral to CCDesk now. Good luck with the project, I'll be keeping an eye on it!
jesusthekiller #168
Posted 16 April 2013 - 09:55 PM
Nice!
AfterLifeLochie #169
Posted 17 April 2013 - 11:29 AM
Thanks for the support guys! It's good to see people porting peripherals and testing the new API out.

There's going to be another update tonight hopefully - no spoilers on new features, though bugs due to terminal funkyness (such as mouse clicking), a monitor rendering issue, and active-window highlighting are fixed completely this release. It's also no longer possible to have windows become "stuck" on each other, and dragging windows can be done on the first click now.

For developers, unfortunately, this change will break most plugins for PR6.1 and so you'll need to tweak them - only simple modifications (such as static-access changes) need to be made. Be sure to update your `deskcc-core.jar` file in your IDE before submitting bugs.
ScruffyRules #170
Posted 18 April 2013 - 06:03 AM
I Love it! :P/>
AfterLifeLochie #171
Posted 20 April 2013 - 06:47 PM
CCDesk Prerelease 6.2 is out - with 100% more bugfixes, window display fixing, mouse-event fixes, render improvements and a proper splash-screen interface – and teasers for the next update!

As always, you can download the latest Developer API from the CCDesk site. Please remember – if you find bugs, report them at the tracker. Go wild!
jesusthekiller #172
Posted 21 April 2013 - 02:21 AM
I've started using CCDesk instead of CCEmu and I can tell difference: It's way better :D/>

PS Yay update
jesusthekiller #173
Posted 21 April 2013 - 09:01 AM
Fount a bug:

Spoiler

If you click somewhere in that area, your active computer changes into computer which should be closed a long time ago (actually hides and shows old one). Clicking again undoes is.

PS: This "LinuxOS" is classified :P/>
amtra5 #174
Posted 21 April 2013 - 09:03 PM
Can anyone tell me how you can create/use a monitor in ccdesk? I don't want do go in game every time just to test something with monitors :(/>
theoriginalbit #175
Posted 21 April 2013 - 09:08 PM
Can anyone tell me how you can create/use a monitor in ccdesk? I don't want do go in game every time just to test something with monitors :(/>
Right click the computers border -> peripheral properties -> put a monitor on one of the sides.
Dlcruz129 #176
Posted 23 April 2013 - 01:26 PM
Can't wait to see what Connect to Server will do!
superaxander #177
Posted 23 April 2013 - 11:52 PM
Just a note: if the crash emulator button is suppositie to crash and show a crash screen. It doesn't. I can only see the error cause i run Java from the commandline because I can't seem to find a way to uninstall the headless version of openjdk.
jesusthekiller #178
Posted 24 April 2013 - 01:57 AM
Maybe apt-get purge openjdk-version_here ?
superaxander #179
Posted 24 April 2013 - 02:52 AM
oh and also my screen flickers when I close it. I am using ubuntu
Espen #180
Posted 02 May 2013 - 09:05 AM
Hey AfterLifeLochie,

I don't know if there were some posts about the following mouse bugs since your last post that might've been gobbled up due to "the missing week" incident.
So if these issues were already mentioned, my apologies. ^_^/>


CC only creates mouse_drag events if the mouse is dragged from one pixel to another pixel.
CCDesk creates mouse_drag events on all mouse movements, even when they are only happening within the same pixel.

CC's mouse_scroll event returns the proper coordinates for x and y.
CCDesk's mouse_scroll event returns the coordinates x + 1 and y + 1.

CC's mouse coordinates won't surpass screen coordinates, even if the mouse is dragged outside of the screen.
CCDesk's mouse coordinates can surpass screen coordinates by 1 if the mouse is dragged outside of the screen.
theoriginalbit #181
Posted 02 May 2013 - 09:43 AM
-snip-
You missed one… mouse_click can be received on normal computers in CCDesk :)/>

Btw, his bug tracker is a better place to post them, that way rollbacks or a large amount of comments wont mean that he could miss it. Plus BitBucket I'm pretty sure allows non-registered users to report bugs, unlike GitHub! :D/>
Espen #182
Posted 02 May 2013 - 10:46 AM
Plus BitBucket I'm pretty sure allows non-registered users to report bugs, unlike GitHub! :D/>
Oh, I wasn't aware of that. It sure looks like it, thanks for mentioning it. :)/>
AfterLifeLochie #183
Posted 02 May 2013 - 04:35 PM
Plus BitBucket I'm pretty sure allows non-registered users to report bugs, unlike GitHub! :D/>/>
Oh, I wasn't aware of that. It sure looks like it, thanks for mentioning it. :)/>/>
Mouse click events will be the death of me.

These things will hopefully be fixed when I'm done writing PR7. I may end up fixing it and pushing it in a PR6.x update, but PR7 is completely different to PR6.
theoriginalbit #184
Posted 02 May 2013 - 08:52 PM
Mouse click events will be the death of me.
I would have said this project will be the death of you :P/>
AfterLifeLochie #185
Posted 02 May 2013 - 10:33 PM
Mouse click events will be the death of me.
I would have said this project will be the death of you :P/>
Not quite. PR7's source code is only 12-thousand lines or so and it's not even a quarter finished. No big deal. :P/>
leftshiftadri #186
Posted 03 May 2013 - 08:44 AM
Wow, great!
I think this will replace ccemu ;)/>
Doesn't work on my mac for some reason(just created a Issue…), but does a great job on Linux!
Definetly has potential!
Dlcruz129 #187
Posted 03 May 2013 - 10:26 AM
I think that this has already surpassed CCEmu.
GravityScore #188
Posted 03 May 2013 - 10:44 AM
Doesn't work on my mac for some reason(just created a Issue…), but does a great job on Linux!

Try running it through the terminal. It fixed any issues for me. :P/>

Open up Terminal (under /Applications/Utilities) and type:

java -jar 

Then drag and drop the .jar file you downloaded into the Terminal window, and it's full path should appear. Then hit enter and it'll run!

You may want to make a simple shell script to run it, so you can just double click on the shell script instead of typing that into terminal every time. Put your ccdesk.jar file in a reliable place (say, in /Applications), and put this inside a file called "Launch CCDesk.command" or something like that (just make sure there's a .command at the end):

java -jar /Applications/ccdesk.jar &amp;

The &amp; at the end will stop a Terminal window from lingering around after you double click the file.
AfterLifeLochie #189
Posted 07 May 2013 - 07:16 AM
In light of the (accidental) server derpyness here, there's been calls to setup an official CCDesk Wiki, now that I'm back from my "vacation". There appear to be quite a few bugs to do with mouse events and computers, which should be fixed when I'm done rewriting the majority of the emulator due to the whole server/client split.

Anyway, to elaborate - things are really getting there. I'm starting an official changelog and a few other things over on the Wiki, which should allow you all to keep track and understand my crazy ramblings, as well as setting up a server and other cool things you can do later down the track – feel free to jump in and edit stuff if you like!

To further update you, here's a screenshot of the emulators happily chatting together with an external server. I'm still alive and working flat out to get stuff done - and it's evidently starting to pay off – the networked emulation frontier is nearing fast!

Spoiler

(Whoops, I dun double-posted.)
amtra5 #190
Posted 07 May 2013 - 07:33 AM
Maybe you could add a link from CCDesk to CC in minecraft. Then when the servers come out, you can attend Lua lessons(from somewhere like CCU) even outside/inside of minecraft :D/> :P/>
Kingdaro #191
Posted 07 May 2013 - 11:02 AM
CCDesk servers? Holy christ that's amazing.
Dlcruz129 #192
Posted 07 May 2013 - 05:00 PM
CCDesk servers? Holy christ that's amazing.

Indeed. This will be fantastic for collaborative projects!!!

@Lochie: I'm assuming mouse/key events update in real-time?
AfterLifeLochie #193
Posted 07 May 2013 - 05:05 PM
CCDesk servers? Holy christ that's amazing.

Indeed. This will be fantastic for collaborative projects!!!

@Lochie: I'm assuming mouse/key events update in real-time?
Everything updates in real-time - the only difference between emulators being which ones you have open.

(Yes, I can open PC 1, you can open PC 2, and we can work separately. If I want to see what you're doing, I open PC 1 and the terminal buffer &amp; data to show me what PC 1 looks like at that exact moment is sent to me.)
Kingdaro #194
Posted 07 May 2013 - 05:06 PM
It's like playing on a CC server in minecraft, but without having to use optifine! :lol:/>
AfterLifeLochie #195
Posted 07 May 2013 - 05:14 PM
It's like playing on a CC server in minecraft, but without having to use optifine! :lol:/>
You don't actually have all of Minecraft's overhead now. Cloudy and I were discussing the purely theoretical ability to connect CCDesk to a real Minecraft server, either via a fake-client or an actual module on top of CC - emphasis on theoretical.
Fenthis #196
Posted 09 May 2013 - 10:58 PM
So I wanted to emulate our server, which has cc-get installed in the rom. However, unpacking the jar causes it not to be able to find the rom, causing an error complaining about the CC install:


dan200.computer.core.FileSystemException: Unable to mount virtual filesystem. Please ensure you have installed ComputerCraft correctly.


Any ideas how to set that up right?
Engineer #197
Posted 10 May 2013 - 04:53 AM
So I wanted to emulate our server, which has cc-get installed in the rom. However, unpacking the jar causes it not to be able to find the rom, causing an error complaining about the CC install:


dan200.computer.core.FileSystemException: Unable to mount virtual filesystem. Please ensure you have installed ComputerCraft correctly.


Any ideas how to set that up right?
Create a folder in the .ccdesk directory called "mods". After that you make another directory in "mods" called "computercraft". Then you make another folder in "computercraft" called "lua" and there you can put the new rom along with the bios.lua
Fenthis #198
Posted 10 May 2013 - 03:11 PM
Create a folder in the .ccdesk directory called "mods". After that you make another directory in "mods" called "computercraft". Then you make another folder in "computercraft" called "lua" and there you can put the new rom along with the bios.lua

So I tried this, and I can't see the file I added in the rom:




~/.ccdesk/mods/computercraft/lua/rom$ ls
apis  help  programs  startup  test
~/.ccdesk/mods/computercraft/lua/rom$ cat test
this is a test

Any idea what I am doing wrong?
Engineer #199
Posted 10 May 2013 - 03:36 PM
Create a folder in the .ccdesk directory called "mods". After that you make another directory in "mods" called "computercraft". Then you make another folder in "computercraft" called "lua" and there you can put the new rom along with the bios.lua

So I tried this, and I can't see the file I added in the rom:




~/.ccdesk/mods/computercraft/lua/rom$ ls
apis  help  programs  startup  test
~/.ccdesk/mods/computercraft/lua/rom$ cat test
this is a test

Any idea what I am doing wrong?
You should put your rom programs here:
.ccdesk/mods/computercraft/rom/programs/programname

Worked for me :3
Fenthis #200
Posted 10 May 2013 - 04:10 PM
You should put your rom programs here:
.ccdesk/mods/computercraft/rom/programs/programname

Worked for me :3

I also tried putting something in that directory with no luck. :/
Fenthis #201
Posted 10 May 2013 - 04:17 PM
Figured it out, it wants the directory named ComputCraft, NOT computercraft. Case matters. Derp. Thanks for the help, you pointed me in the right direction. :)/>
AfterLifeLochie #202
Posted 11 May 2013 - 03:35 AM
Figured it out, it wants the directory named ComputCraft, NOT computercraft. Case matters. Derp. Thanks for the help, you pointed me in the right direction. :)/>
Paths are case-sensitive, but I'm likely to change where you need to put custom ROM files in the future.

An update - after a long day of tinkering and cleaning code, chatting on the server is done - check out the screenshot. Next up - event system overhaul!
Spoiler
Zudo #203
Posted 12 May 2013 - 04:32 AM
It is slightly glitchy on Debian Linux (specifically Linux Mint) and it does not seem to support computer labels. Apart from that, I love it!
Cloudy #204
Posted 13 May 2013 - 07:49 AM
CCDesk networking rocks. https://twitter.com/AfterLifeLochie/status/333906081023684608
AfterLifeLochie #205
Posted 18 May 2013 - 07:33 PM
While it's been a flat-out crazy week for me, as always, I can finally announce that PR7 client &amp; server will be ready pretty soon. Unfortunately, I've had to scrap some features and rewrite them, and some aren't yet completely rewritten - but I can't hold you all in limbo for much longer, I fear.

If PR7 doesn't come out today or tomorrow, expect it in the next week. There are just a few critical bugs to sort out - and then finishing the website update, so that won't take much longer (hopefully!).
unobtanium #206
Posted 18 May 2013 - 10:24 PM
<!– MODERATOR, TURN AROUND. YOU HAVE JUST BROKEN THIS POST. YES, YOU. GO AWAY.
GO FIND AFTERLIFELOCHIE AND TELL HIM YOU WERE HERE. –>

Laughed so hard :D/>
I accually wanted to know how you were making the nice text fields :P/>
AfterLifeLochie #207
Posted 18 May 2013 - 11:14 PM
<!– MODERATOR, TURN AROUND. YOU HAVE JUST BROKEN THIS POST. YES, YOU. GO AWAY.
GO FIND AFTERLIFELOCHIE AND TELL HIM YOU WERE HERE. –>

Laughed so hard :D/>
I accually wanted to know how you were making the nice text fields :P/>
Some really simple HTML tweaking usually does the job.

For developers - I'm not sure if the API is going to be entirely stable this release, as it's fundamentally been split into two. You don't need to complete a custom manifest file any-more either - so long as you use plugin_<name>.class anywhere in your bundle, and use the new @Plugin annotation, the emulator will find and load the plugin dynamically (yay, reflection magic!). If you're writing plugins which need network integration, you should use good 'ol Paket250CustomPayload, which behaves in the same way as Minecraft's implementation. Woo!

There's also a few more security based tweaks - it was noted that it wasn't possible to open the AWT Event Queue from a plugin, which made showing AWT or Swing dialogues impossible - this has now been fixed. While this release is uber-buggy and experimental, there's a huge change.
yaaay #208
Posted 19 May 2013 - 01:23 AM
Its Glitchy

Please Show me the bbcode i might fix it fir ya

<html>
AfterLifeLochie #209
Posted 19 May 2013 - 01:48 AM
Its Glitchy

Please Show me the bbcode i might fix it fir ya

<html>
You can't insert HTML into your posts, obviously. It's also not BBCode, it's inline-HTML, and it works fine on all browsers. (I've been doing this for years now.)
Bwham #210
Posted 24 May 2013 - 01:23 AM
Hmm… Hoped I could use the online version on my iPod, but I should have known, it needs java! Gotta find the rip-off version again… Sigh looks good though!
AfterLifeLochie #211
Posted 24 May 2013 - 09:16 PM
Hmm… Hoped I could use the online version on my iPod, but I should have known, it needs java! Gotta find the rip-off version again… Sigh looks good though!
Unfortunately, Apple doesn't run Java applets. If it did, I'd still have to port stuff around in order to make the emulator actually work on an Apple filesystem. Fun fun!

Almost 24-hours ago, I tweeted this "spoiler" of the final stage of the next update. While you won't have to update to the latest launcher immediately when PR7 is released, after a few updates are released to PR7, you be notified your old launcher isn't compatible any-more and that you do need to update. It's going to be possible to select a version from the list as well, so development version updates aren't pushed to you immediately. On top of this, there's more user-interface tweaks and I'm fixing the majority of the 17 or so bugs on the tracker today or tomorrow. It's been a ridiculously long month of hard work, but we're nearly ready to push an update.

On top of this, CCDesk clicked 1000 downloads (1k) last night. This is the first of many milestones, and I'm excited to see this continuing to grow and expand.
Dlcruz129 #212
Posted 25 May 2013 - 10:10 AM
Ooh, news board, exciting. :P/>
Great job, and congrats on 1k downloads!
theoriginalbit #213
Posted 25 May 2013 - 01:47 PM
Can I just say again my appreciation for this! I love the little things, and how much time and effort you're putting in it. And congrats on the 1k mark.

P.S. I love how ⌘+Q actually works unlike other Java applications *cough* Minecraft *cough* *cough* CC-Emu *cough*
AfterLifeLochie #214
Posted 26 May 2013 - 01:39 AM
After a month of long work, sweat and angry breaks, CCDesk PR7 with networking is released - networking, woohoo! Work with your friends in a collaborative, experimental environment across the great Internet! You will need to download the updated launcher (v3) before using CCDesk PR7. The new launcher allows you to switch between PR6.2 and PR7.0 and shows a beautiful new news-panel. If you want to setup a dedicated server, the latest server release is here. You may also need these helpful server-setup instructions on the CCDesk Wiki.

The CCDesk Website is now the hub for all accounts. While there aren't many features present, you will need an account to connect to non-local CCDesk servers.

Unfortunately, without having put in many more hours of work yet, CCDesk PR7.0 has some pretty severe limitations in this first release. Some events are fuzzy, and switching servers (apparently) requires a client restart. These somewhat serious bugs and issues will be fixed before the next release.

(I've re-written this post four times while struggling with the loginserver and accidentally closing this window, euck.)
Imgoodisher #215
Posted 26 May 2013 - 10:21 AM
I tried to start a server to work on a program with somebody, but I can not get everything to work together properly. I downloaded the deskcc-server.jar, put it in a folder, copied computercraft.jar from the ccdesk/bin folder in my appdata (because computercraft is distributed as a zip, not a jar), and used the command in the wiki in a .bat file to run it. The server starts up correctly, but when I try to connect to it the server says

[INFO] [net.deskcc.server.core.EmulatorServer] CCDesk Server starting up.
[INFO] [net.deskcc.server.core.EmulatorServer] Scanning for plugins.
[INFO] [net.deskcc.server.core.EmulatorServer] Starting processing and tick task
s.
[INFO] [net.deskcc.server.core.EmulatorServer] Emulator server is now listening
on port 16672.
[INFO] [net.deskcc.server.managers.TickManager] Starting tick thread
[INFO] [net.deskcc.server.core.TCPServer] Handling connection: /127.0.0.1:16672

[INFO] [net.deskcc.server.core.TCPServerClient] Server-side socket shutdown: `Lo
gin failure: Bad login`.
[INFO] [net.deskcc.server.core.TCPServerClientReadThread] Read thread halted. [I
NFO] [net.deskcc.server.core.TCPServerClientReadThread] Read thread halted. [INF
O] [net.deskcc.server.core.TCPServer] Removing client /127.0.0.1
I assume this is because it wants me to login, but I don't see anywhere to put a username or password. The server also doesn't generate any config files to edit like it tells me to in the getting started section

EDIT: Fixed that problem (had to use the local ip address thing instead of 127.0.0.1), but now I have another problem. I already registered on the site but when I try to log in it says invalid username and/or password though I can log in on the site with the same info. When I click the 'No account?' page it sends me to a page saying 'Not Found'
alakazard12 #216
Posted 26 May 2013 - 10:37 AM
When we try signing in to the server it doesn't work. It says "Invalid username and/or password combonation." We have account though,
AfterLifeLochie #217
Posted 26 May 2013 - 05:09 PM
I tried to start a server to work on a program with somebody, but I can not get everything to work together properly. I downloaded the deskcc-server.jar, put it in a folder, copied computercraft.jar from the ccdesk/bin folder in my appdata (because computercraft is distributed as a zip, not a jar), and used the command in the wiki in a .bat file to run it. The server starts up correctly, but when I try to connect to it the server says

I assume this is because it wants me to login, but I don't see anywhere to put a username or password. The server also doesn't generate any config files to edit like it tells me to in the getting started section

EDIT: Fixed that problem (had to use the local ip address thing instead of 127.0.0.1), but now I have another problem. I already registered on the site but when I try to log in it says invalid username and/or password though I can log in on the site with the same info. When I click the 'No account?' page it sends me to a page saying 'Not Found'
When we try signing in to the server it doesn't work. It says "Invalid username and/or password combonation." We have account though,

Fixed now. Apparently I didn't update (globally) the hashing method cross server. A reminder - usernames and passwords are case sensitive.
alakazard12 #218
Posted 26 May 2013 - 09:21 PM
Fixed now. Apparently I didn't update (globally) the hashing method cross server. A reminder - usernames and passwords are case sensitive.

Just a suggestion: How about not making usernames case-sensitive? Sometimes I forgot if I capitalized my username or not. :P/>
russjr08 #219
Posted 27 May 2013 - 05:11 AM
Hmm, I'm still getting incorrect username/password, and I know I'm not typing it in wrong.. :?
alakazard12 #220
Posted 27 May 2013 - 08:10 AM
Hmm, I'm still getting incorrect username/password, and I know I'm not typing it in wrong.. :?

Did you make an account on the website? Also, username and password are BOTH case sensetive.
Kingdaro #221
Posted 27 May 2013 - 04:50 PM
Fixed now. Apparently I didn't update (globally) the hashing method cross server. A reminder - usernames and passwords are case sensitive.

Just a suggestion: How about not making usernames case-sensitive? Sometimes I forgot if I capitalized my username or not. :P/>
Case-sensitivity allows for many, many more possible usernames to be used. It shouldn't be dropped because you have a crappy memory.
russjr08 #222
Posted 27 May 2013 - 11:07 PM
Hmm, I'm still getting incorrect username/password, and I know I'm not typing it in wrong.. :?

Did you make an account on the website? Also, username and password are BOTH case sensetive.
Yes, I made the account from the website. And I saw that its case-sensitive, however I'm still sure that I'm typing it in correctly.

Edit: I made a second account, this time with a simpler password. Still not working.
ElvishJerricco #223
Posted 28 May 2013 - 12:55 AM
Who's testing this on Mac OS? It's a miserable mess on my MacBook Pro. When I close the program, it crashes in a frightening way that immediately halts the entire operating system in what appears to be a kernel panic. I haven't the slightest idea how this is possible (and I'm pretty good at figuring this stuff out), but on top of the crashes, the UI looks buggy. Buttons don't look right, and more importantly, the canvas with the computer screen doesn't show up until you resize the window. And when it does show up it is anywhere but the right location. It's sometimes too far up and above the menu bar, and sometimes too far down. Always too far to the right.
theoriginalbit #224
Posted 28 May 2013 - 01:16 AM
Who's testing this on Mac OS?
Yep, I'm running it on Mac. Works perfectly file (minus a few glitches). Your problems sound like you're running CCEmu.
Which OS X and Java version?
ElvishJerricco #225
Posted 28 May 2013 - 01:42 AM
Who's testing this on Mac OS?
Yep, I'm running it on Mac. Works perfectly file (minus a few glitches). Your problems sound like you're running CCEmu.
Which OS X and Java version?

OS X 10.8.3
java v1.7.0_06

I'm using CCDesk PR6.2
AfterLifeLochie #226
Posted 28 May 2013 - 02:10 AM
Who's testing this on Mac OS?
Yep, I'm running it on Mac. Works perfectly file (minus a few glitches). Your problems sound like you're running CCEmu.
Which OS X and Java version?

OS X 10.8.3
java v1.7.0_06

I'm using CCDesk PR6.2
The errors you're describing can't actually (afaik) be caused directly by Java code. I need a full dump - open the "Debug" and use the "Crash Emulator" button - that way I can get accurate details about the system.
theoriginalbit #227
Posted 28 May 2013 - 03:30 AM
Who's testing this on Mac OS?
Yep, I'm running it on Mac. Works perfectly file (minus a few glitches). Your problems sound like you're running CCEmu.
Which OS X and Java version?

OS X 10.8.3
java v1.7.0_06

I'm using CCDesk PR6.2
The errors you're describing can't actually (afaik) be caused directly by Java code. I need a full dump - open the "Debug" and use the "Crash Emulator" button - that way I can get accurate details about the system.
The computers displaying off the top and right, well anything canvas related, can be caused by 1.7 on Mac. The whole canvas system is stuffed up in 1.7…
Also ElvishJerricco what do you mean by kernel panic? A grey overlay on the screen with Multilanguage message telling you to hold the power button for 10 seconds is a kernel panic, is that what's happening?
AfterLifeLochie #228
Posted 28 May 2013 - 07:12 AM
Hmm, I'm still getting incorrect username/password, and I know I'm not typing it in wrong.. :?

Did you make an account on the website? Also, username and password are BOTH case sensetive.
Yes, I made the account from the website. And I saw that its case-sensitive, however I'm still sure that I'm typing it in correctly.

Edit: I made a second account, this time with a simpler password. Still not working.
It's now fixed. Apparently I was storing hashes and userdata wrongly, meaning authentication just went out the window - this data can't be recovered or restored. You will all need to re-register your accounts, my apologies.
russjr08 #229
Posted 28 May 2013 - 08:51 AM
Hmm, I'm still getting incorrect username/password, and I know I'm not typing it in wrong.. :?

Did you make an account on the website? Also, username and password are BOTH case sensetive.
Yes, I made the account from the website. And I saw that its case-sensitive, however I'm still sure that I'm typing it in correctly.

Edit: I made a second account, this time with a simpler password. Still not working.
It's now fixed. Apparently I was storing hashes and userdata wrongly, meaning authentication just went out the window - this data can't be recovered or restored. You will all need to re-register your accounts, my apologies.

No problem! It's working now and that's all that matters, after all, that's what betas are for, right? ;)/>

Edit: Oh dear… Looks like ElvishJerricco was right… I'm getting a kernel panic too (Weird thing? It doesn't even have the multilingual screen at first. It hard reboots, then the screen pops up..). I would love to get you the details from the "Crash Emulator" button, but that crashes more than the app… :3 Any other way of getting those details to you?

So far trying to close it causes a Kernel Panic. Attempting to kill the process and see if that causes one..

Edit 2: Killing the process doesn't cause a Kernel Panic. (kill -9 pid)
ElvishJerricco #230
Posted 28 May 2013 - 01:45 PM
The computers displaying off the top and right, well anything canvas related, can be caused by 1.7 on Mac. The whole canvas system is stuffed up in 1.7…
Also ElvishJerricco what do you mean by kernel panic? A grey overlay on the screen with Multilanguage message telling you to hold the power button for 10 seconds is a kernel panic, is that what's happening?

I believe one of the 10.8.x versions changed the kernel panic screen. What I'm getting is not that terrifying overlay that takes a second to cover the screen, but instead it hard reboots the computer and the white boot up screen has a message saying there was a crash, press a key to continue.

The errors you're describing can't actually (afaik) be caused directly by Java code. I need a full dump - open the "Debug" and use the "Crash Emulator" button - that way I can get accurate details about the system.

Using Crash Emulator crashes the program with no kernel panic. No window or anything like that shows up and there's no log file to speak of. I've just now tried launching the program with the script I wrote to launch FTB under java 6 (FTB won't even open under java 7) and that worked perfectly. No problems, no crashes. Except that resizing the window is incredibly slow (it lags). But that might be because of the console output. Outputting to a terminal is surprisingly slow, CCDesk outputs a message every time the window resizes, and my launcher script opens in a terminal window.
ElvishJerricco #231
Posted 28 May 2013 - 02:45 PM
Y'know, it's probably LWJGL's natives. The version of LWJGL that MC uses crashes on launch on a mac under java 7 if you don't use the .app launcher (which I assume is tuned to run java 6). But that was a problem with the JVM. I imagine native code could probably cause a kernel panic if the java side doesn't hold up its end of the bargain, which Java 7 isn't allowing.
AfterLifeLochie #232
Posted 28 May 2013 - 04:32 PM
Y'know, it's probably LWJGL's natives. The version of LWJGL that MC uses crashes on launch on a mac under java 7 if you don't use the .app launcher (which I assume is tuned to run java 6). But that was a problem with the JVM. I imagine native code could probably cause a kernel panic if the java side doesn't hold up its end of the bargain, which Java 7 isn't allowing.
That's likely the case - The only reason I can come up with is a natives issue. It may be worth removing all and installing just the Mac ones, or running under Java 6. As far as the terminal spammy-ness, you could always /dev/null the things.
Dlcruz129 #233
Posted 28 May 2013 - 07:48 PM
Woot, CCDesk PR7!
ElvishJerricco #234
Posted 29 May 2013 - 12:17 AM
Spoke too soon. Running under Java 6, closing the program caused the same kernel panic crash. It worked fine while it was running though.
ElvishJerricco #235
Posted 29 May 2013 - 12:29 AM
Ok I'm going to give my full report and experiences now. These are very strange problems to me. I do not believe this program should be stating that it supports Mac OS X 10.8

I run a late 2009 27" i5 quad core iMac, and a 2008 15" Core 2 Duo MacBook Pro. I've noticed that these two both behave differently.

iMac, Java 7, no launch script:
Launching the program is no problem. I presume it loads under Java 7 and it shows up just fine. When I start CCDesk, the grey background does not appear. The menu bar does, but the rest of the screen keeps the launch UI until you give it a reason to repaint the canvas. Resizing the window is laggy. The canvas is drawn in the wrong location. Closing the program does not crash the computer.

iMac, Java 6 launch script:
Launching the program is no problem. Starting CCDesk appears to work fine. Resizing the window is still laggy, and it also causes the canvas to be completely black and not show anything. Closing the program does not crash the computer.

MacBook, Java 7, not launch script:
Ultimately exactly the same as the iMac on Java 7, except closing the program causes a kernel panic.

MacBook, Java 6 launch script:
Everything seems to work flawlessly, except closing the program causes a kernel panic.


All these reports are identical in CCDesk 7 and 6.2
Xtansia #236
Posted 29 May 2013 - 01:00 AM
I found some reports of Kernel Traps with OSX &amp; Java 7 with LWJGL 2.9 when closing the window.
But it was reported as fixed in a changelog on April 14.
Supposedly caused by a Nvidia driver crash.
I don't know if it is the same issue or if it's even relevant, but the more you know. :)/>
russjr08 #237
Posted 29 May 2013 - 03:23 AM
I found some reports of Kernel Traps with OSX &amp; Java 7 with LWJGL 2.9 when closing the window.
But it was reported as fixed in a changelog on April 14.
Supposedly caused by a Nvidia driver crash.
I don't know if it is the same issue or if it's even relevant, but the more you know. :)/>
Ah, that explains why there was mentions of the GeForce driver in the Kernel Panic report to Apple screen.
samdeman22 #238
Posted 30 May 2013 - 12:51 PM
I may have missed something, where are the computers files saved? if I make a program where does it save to? please tell me there's a place :3
M4sh3dP0t4t03 #239
Posted 30 May 2013 - 03:29 PM
I may have missed something, where are the computers files saved? if I make a program where does it save to? please tell me there's a place :3
It saves it in a folder called .ccdesk(or something like that) in the appdata folder(the folder where you're .minecraft folder is)
Cozzimoto #240
Posted 30 May 2013 - 10:24 PM
is there no modems on these computers? it would be very nice for writing coding involving rednet
AfterLifeLochie #241
Posted 01 January 1970 - 01:00 AM
is there no modems on these computers? it would be very nice for writing coding involving rednet
Switch to version 6.2 and right click the computer frame to open peripheral settings.
Cozzimoto #242
Posted 01 January 1970 - 01:00 AM
ok good to know, i used Computercraft Emulator and how there was already a modem peripheral attached to all computers, i like this improvement where you can select where to put your peripherals, and monitor support, YAY!!!!

i didnt notice i could right click till literally 1 min after i made my post, i so derpd! -_-/>'
AfterLifeLochie #243
Posted 01 January 1970 - 01:00 AM
Amidst bugfixing for PR 7.1, I've started up the de-facto permissions and commands plugin, CCDesk-Essentials. It's over here on Github - anyone is welcome to fork the code and contribute commands or ideas into the project. CCDesk by default only has a limited permissions and security set, as well as only basic core-operation commands - and this will hopefully extend that as an optional module.

Also, if you were the user who submitted this bug, can you please clarify - it doesn't actually make any sense to any of us.
MathManiac #244
Posted 01 January 1970 - 01:00 AM
Looks great!
samdeman22 #245
Posted 01 January 1970 - 01:00 AM
I may have missed something, where are the computers files saved? if I make a program where does it save to? please tell me there's a place :3
It saves it in a folder called .ccdesk(or something like that) in the appdata folder(the folder where you're .minecraft folder is)
Never did find that, I dont have a computercraft installation you see, or minecraft for that matter, I turned HTTP on and then I just uploaded to pastebin, that's good enough for me.
jesusthekiller #246
Posted 01 January 1970 - 01:00 AM
Quick question: Why is "bit.tobits" function missing?

It was removed D:
theoriginalbit #247
Posted 01 January 1970 - 01:00 AM
Quick question: Why is "bit.tobits" function missing?
It was removed D:
Grab the old CC mod before they put the bit api in the Java files, and just copy it out into your program.
MathManiac #248
Posted 01 January 1970 - 01:00 AM
Kinda with there's a video on operating CCDesk and making plugins – the resources I found weren't easy to follow through with me, especially when I feel like I made a mistake. :wacko:/>
AfterLifeLochie #249
Posted 01 January 1970 - 01:00 AM
Kinda with there's a video on operating CCDesk and making plugins – the resources I found weren't easy to follow through with me, especially when I feel like I made a mistake. :wacko:/>
The plugin API in 7.0 is undocumented due to the fact the documentation between 6.2 and 7.0 became practically obsolete. If you follow the demo plugin shipped with the 6.2 docs, you should be fine.

Edit: If you're working with 7.0, you can follow this open plugin I'm working on for instructions
Edited by
jesusthekiller #250
Posted 01 January 1970 - 01:00 AM
-snip-
Grab the old CC mod before they put the bit api in the Java files, and just copy it out into your program.

Or google it up :P/>
cheetah #251
Posted 01 January 1970 - 01:00 AM
When I start it, it hangs on "Setting up environment".

OS: Ubuntu 12.04
Java: oracle-java-8
Desktop Environment: Unity
MysticT #252
Posted 01 January 1970 - 01:00 AM
When I start it, it hangs on "Setting up environment".

OS: Ubuntu 12.04
Java: oracle-java-8
Desktop Environment: Unity
I would recommend using another java version. Java 8 is still in development, so it still has some bugs (last time I tried, sorting didn't work, and some other stuff). I'm not sure if that's the problem you are having, but it's worth trying. Use OpenJDK 7, it works for me (on ubuntu 13.04, should work the same on 12.04).
jesusthekiller #253
Posted 01 January 1970 - 01:00 AM
Works in 12.04 LTS :P/>
AfterLifeLochie #254
Posted 01 January 1970 - 01:00 AM
Greetings everyone! After a week of chaos back here, I've finally had my first day in this week to do some serious programming. I've spent the morning fixing up mouse and keyboard events, and I've made a few network-protocol adjustments for efficiency. There are still many more bugfixes and features to (re) write in for the next update, but it's in the works.

For developers; documentation should be ready for PR 7.1 developers shortly. Documentation wasn't released in PR 7.0 due to the fact methods had seriously been overhauled and documentation was terribly incorrect.

To give you some more speculation-fuel, here's a screenshot of an upcoming feature - who knows what this will be! I've been tweeting some other screenshots and hints over the last few days.
Spoiler
jesusthekiller #255
Posted 01 January 1970 - 01:00 AM
Uuu! Update is coming :D/>
AfterLifeLochie #256
Posted 01 January 1970 - 01:00 AM
After a few days of dropping spoilers on Twitter, #computercraft and #ccdesk, I can officially announce the next feature for CCDesk - Minecraft Integration.

Yes, you can now seamlessly control and interact with your Computers and Turtles outside the Minecraft world using the CCDesk Client and CCDesk Minecraft Mod extension. This mod runs a dedicated CCDesk Server and hooks to Computers and Turtles linked with a CCDesk Adapter - a new Modem-shaped peripheral. You can even shutdown, start and reboot your computers with the touch of a button - all within the ComputerCraft API restrictions!

Here's a short demonstration video - stay tuned!
[youtube]http://www.youtube.com/watch?v=QwXZjg4zREY[/youtube]
superaxander #257
Posted 01 January 1970 - 01:00 AM
…Awesome minecraft connection…using peripheral…AWESOME!
MCGamer20000 #258
Posted 01 January 1970 - 01:00 AM
Either my internet is breaking my downloads again, or the launcher.jar file on the website is missing the Main-Class information in the META-INF.

C:\Users\silly_000\Downloads>java -jar launcher.jar
no main manifest attribute, in launcher.jar
MysticT #259
Posted 01 January 1970 - 01:00 AM
Either my internet is breaking my downloads again, or the launcher.jar file on the website is missing the Main-Class information in the META-INF.

C:\Users\silly_000\Downloads>java -jar launcher.jar
no main manifest attribute, in launcher.jar
Yeah, I noticed that too. You can start it using:

java -cp ./ccdesk.jar net.deskcc.web.DesktopAppletProxy
AfterLifeLochie #260
Posted 01 January 1970 - 01:00 AM
Either my internet is breaking my downloads again, or the launcher.jar file on the website is missing the Main-Class information in the META-INF.

C:\Users\silly_000\Downloads>java -jar launcher.jar
no main manifest attribute, in launcher.jar
Either my internet is breaking my downloads again, or the launcher.jar file on the website is missing the Main-Class information in the META-INF.

C:\Users\silly_000\Downloads>java -jar launcher.jar
no main manifest attribute, in launcher.jar
Yeah, I noticed that too. You can start it using:

java -cp ./ccdesk.jar net.deskcc.web.DesktopAppletProxy

Strange, it appears you've managed to obtain the Web Launcher binary and not the Desktop Launcher – you should have the file desktop.jar. This was probably my bad.
MCGamer20000 #261
Posted 01 January 1970 - 01:00 AM
Either my internet is breaking my downloads again, or the launcher.jar file on the website is missing the Main-Class information in the META-INF.
 C:\Users\silly_000\Downloads>java -jar launcher.jar no main manifest attribute, in launcher.jar 
Either my internet is breaking my downloads again, or the launcher.jar file on the website is missing the Main-Class information in the META-INF.
 C:\Users\silly_000\Downloads>java -jar launcher.jar no main manifest attribute, in launcher.jar 
Yeah, I noticed that too. You can start it using:
 java -cp ./ccdesk.jar net.deskcc.web.DesktopAppletProxy 
Strange, it appears you've managed to obtain the Web Launcher binary and not the Desktop Launcher – you should have the file desktop.jar. This was probably my bad.
I clicked "Download Launcher" on the website and it gave me the launcher.jar. Also, where do I download the server module?
TumbaBit #262
Posted 01 January 1970 - 01:00 AM
I would really really like to be able to resize the emulator. Currently i just have small window with just my wallpaper all around it which makes me sad :(/>
AfterLifeLochie #263
Posted 01 January 1970 - 01:00 AM
I would really really like to be able to resize the emulator. Currently i just have small window with just my wallpaper all around it which makes me sad :(/>/>
There's nothing stopping you from resizing it.
theoriginalbit #264
Posted 01 January 1970 - 01:00 AM
Hey Lochie, where is the computercraft.cfg?
AfterLifeLochie #265
Posted 01 January 1970 - 01:00 AM
Hey Lochie, where is the computercraft.cfg?
There isn't one, because it's running as a library and not as a mod.

What do you want to change?
theoriginalbit #266
Posted 01 January 1970 - 01:00 AM
Wanted to check the disk space you're allowing to computers. Without having to actually open CCDesk, make a computer and then use fs.getFreeSpace. It would have been quicker to just check the config.
AfterLifeLochie #267
Posted 01 January 1970 - 01:00 AM
Wanted to check the disk space you're allowing to computers. Without having to actually open CCDesk, make a computer and then use fs.getFreeSpace. It would have been quicker to just check the config.
Currently, they're given infinite space. This will change in PR7.1, though.
theoriginalbit #268
Posted 01 January 1970 - 01:00 AM
Currently, they're given infinite space. This will change in PR7.1, though.
Yeh I ended up finding that out the long way :P/> … changeable how?
AfterLifeLochie #269
Posted 01 January 1970 - 01:00 AM
Currently, they're given infinite space. This will change in PR7.1, though.
Yeh I ended up finding that out the long way :P/> … changeable how?
There's a whole fully-developed configuration system coming next release - you'll be able to actually change Computercraft properties and emulator settings.
theoriginalbit #270
Posted 01 January 1970 - 01:00 AM
ahh, cool :)/>
jesusthekiller #271
Posted 01 January 1970 - 01:00 AM
Yay :D/>
AfterLifeLochie #272
Posted 01 January 1970 - 01:00 AM
As an update-spoiler, per usual, here's another sneak-peek at the upcoming changes. The next fix should be off the press by the end of the week, as stuff is starting to get less-chaotic for me. A huge number of bugs have already been fixed - mostly mouse and input issues.

SpoilerFret not, you will not longer have to guess what peripherals and devices are connected to your computers!
superaxander #273
Posted 01 January 1970 - 01:00 AM
-Snipped out awesomeness-
Oh! Nice! …You're creative with the feature ideas!
filippe999 #274
Posted 01 January 1970 - 01:00 AM
Can i use this to compile turtle programs?
Upgrade_Windows #275
Posted 01 January 1970 - 01:00 AM
This really helpful and I can't wait for the next version. Thanks.
AfterLifeLochie #276
Posted 01 January 1970 - 01:00 AM
After a long coding-spree and bugfixing, and accidentally getting burnt out, CCDesk Prerelease 7.1 is out on the shelves! I've fixed a long list of issues, including broken mouse events in computers, weird scrolling behaviour and strange appearances of computers. I've also retweaked a significant quantity of the user-interface to make it more friendly and use-able. You'll need to download the updated launcher before running PR7.1.

As usual, have fun, report bugs, proper!

(In the event you're looking for it, here's the 7.1 Server module. Please read the manual before asking questions, it may help with answers.)
Zudo #277
Posted 01 January 1970 - 01:00 AM
Has anyone else found the wiki?
theoriginalbit #278
Posted 01 January 1970 - 01:00 AM
Has anyone else found the wiki?
Here… I didn't know the link, I literally took a guess at what it was, and it filled in the rest. :P/>
Zudo #279
Posted 01 January 1970 - 01:00 AM

[INFO] [net.deskcc.server.core.TCPServer] Handling connection: /127.0.0.1:16672
[INFO] [net.deskcc.server.core.TCPServerClient] Server-side socket shutdown: `Login failure: Bad login`. <-- What is this? How can I login?
[INFO] [net.deskcc.server.core.TCPServer] Removing client /127.0.0.1

'Login Failure: Bad Login'
How can I login to the server?
AfterLifeLochie #280
Posted 01 January 1970 - 01:00 AM

[INFO] [net.deskcc.server.core.TCPServer] Handling connection: /127.0.0.1:16672
[INFO] [net.deskcc.server.core.TCPServerClient] Server-side socket shutdown: `Login failure: Bad login`. <-- What is this? How can I login?
[INFO] [net.deskcc.server.core.TCPServer] Removing client /127.0.0.1

'Login Failure: Bad Login'
How can I login to the server?

I tweeted you the solution to this problem - if you're connecting using 'localhost' or '127.0.0.1', try the network adapter's address (eg, 192.168.1.2). 'localhost' is buggy.
Zudo #281
Posted 01 January 1970 - 01:00 AM

[INFO] [net.deskcc.server.core.TCPServer] Handling connection: /127.0.0.1:16672
[INFO] [net.deskcc.server.core.TCPServerClient] Server-side socket shutdown: `Login failure: Bad login`. <-- What is this? How can I login?
[INFO] [net.deskcc.server.core.TCPServer] Removing client /127.0.0.1

'Login Failure: Bad Login'
How can I login to the server?

I tweeted you the solution to this problem - if you're connecting using 'localhost' or '127.0.0.1', try the network adapter's address (eg, 192.168.1.2). 'localhost' is buggy.

Ok, thanks
Zudo #282
Posted 01 January 1970 - 01:00 AM
Another problem:
When I press a key or click outside of a computer, I get disconnected. Is this a bug?

[INFO] [net.deskcc.server.core.TCPServerClient] Server-side socket shutdown: `Operation KEYDOWN_MOUSE_UNSUBSCRIBED_COMPUTER not permitted.`.
[INFO] [net.deskcc.server.core.TCPServerClientReadThread] Read thread halted.
[INFO] [net.deskcc.server.core.TCPServer] Removing client /192.168.0.19
amtra5 #283
Posted 01 January 1970 - 01:00 AM
GPS works! (in 6.2)
Spoiler
wolfhowl42 #284
Posted 01 January 1970 - 01:00 AM
Greatest Program Ever. Absolutely Love using it.
AfterLifeLochie #285
Posted 01 January 1970 - 01:00 AM
GPS works! (in 6.2)
Spoiler

That's great to see - PR 7.2 should hopefully have Peripherals fixed when it comes out!
amtra5 #286
Posted 01 January 1970 - 01:00 AM
New Version!
cant_delete_account #287
Posted 01 January 1970 - 01:00 AM
Compiled with Java 7? Do you need the features from Java 7 or could you compile it with Java 6? I am running Mac OS X with Java 6 and Java 7 has some weird-ish-compatibility-stuff with Mac OS X. Otherwise I'll just try and run it with a script that runs it from the Java 7 JRE, but it would be nice not to have to open Terminal to start it.
Also, I get this error when creating a new session, and then I can't create computers:
Spoiler

[INFO] [net.deskcc.server.core.EmulatorServer] CCDesk Server starting up.
[INFO] [com.almworks.sqlite4java.Internal] [sqlite] DB[1]: instantiated [/Users/odenschmit/Library/Application Support/ccdesk/data/session/server.db]
[SEVERE] [net.deskcc.server.core.EmulatorServer] Error creating or connecting to database.
java.lang.AssertionError: Error attempting to perform SQL connect operation.
at net.deskcc.common.database.SQLiteDBC.connect(SQLiteDBC.java:65)
at net.deskcc.server.core.EmulatorServer.<init>(EmulatorServer.java:241)
at net.deskcc.client.desktop.core.DesktopEmulatorClient.startServer(DesktopEmulatorClient.java:584)
at net.deskcc.client.desktop.applet.WindowWelcomeScreen$3.actionPerformed(WindowWelcomeScreen.java:160)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6505)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.awt.EventQueue$3.run(EventQueue.java:686)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:702)
at java.awt.EventQueue$4.run(EventQueue.java:700)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:699)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
com.almworks.sqlite4java.SQLiteException: [-91] cannot load library: com.almworks.sqlite4java.SQLiteException: [-91] sqlite4java cannot find native library
at com.almworks.sqlite4java.SQLite.loadLibrary(SQLite.java:97)
at com.almworks.sqlite4java.SQLiteConnection.open0(SQLiteConnection.java:1314)
at com.almworks.sqlite4java.SQLiteConnection.open(SQLiteConnection.java:258)
at com.almworks.sqlite4java.SQLiteConnection.open(SQLiteConnection.java:269)
at net.deskcc.common.database.SQLiteDBC.connect(SQLiteDBC.java:63)
at net.deskcc.server.core.EmulatorServer.<init>(EmulatorServer.java:241)
at net.deskcc.client.desktop.core.DesktopEmulatorClient.startServer(DesktopEmulatorClient.java:584)
at net.deskcc.client.desktop.applet.WindowWelcomeScreen$3.actionPerformed(WindowWelcomeScreen.java:160)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6505)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.awt.EventQueue$3.run(EventQueue.java:686)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:702)
at java.awt.EventQueue$4.run(EventQueue.java:700)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:699)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
[INFO] [net.deskcc.server.core.EmulatorServer] Emulator server is now listening on port 16672.
[INFO] [net.deskcc.server.managers.TickManager] Starting tick thread
Mandrake Fernflower #288
Posted 01 January 1970 - 01:00 AM
Have some of the show stopping bugs in the CCDesk server been fixed yet?
AfterLifeLochie #289
Posted 01 January 1970 - 01:00 AM
Have some of the show stopping bugs in the CCDesk server been fixed yet?
Yes, although the fix isn't yet released. Hopefully it will be out by the end of today, due to the fact I'm trying to get Peripherals absolutely finalized and working.
AfterLifeLochie #290
Posted 01 January 1970 - 01:00 AM
Whoa – it's been about two weeks since I've posted update details. Here's a few screenshots of some of the new features to come in CCDesk PR 7.1.2

Spoiler

The Virtual Network Editor allows for wired-networks containing peripherals and other virtual devices.




Peripheral building and adding is simpler. Better networking access, cleaner injection points.




The new Computer Properties dialogues allow resizing, re-labelling, changing HTTP and peripheral settings.




CCDesk Server doesn't crash invisibly in the background - will warn the local client there's been a failure.




CCDesk tasks can't 'go rogue' - the watchdog will warn about tasks that are taking too long or are stuck.
TorakTu #291
Posted 01 January 1970 - 01:00 AM
Whoa – it's been about two weeks since I've posted update details. Here's a few screenshots of some of the new features to come in CCDesk PR 7.1.2

Spoiler

The Virtual Network Editor allows for wired-networks containing peripherals and other virtual devices.




Peripheral building and adding is simpler. Better networking access, cleaner injection points.




The new Computer Properties dialogues allow resizing, re-labelling, changing HTTP and peripheral settings.




CCDesk Server doesn't crash invisibly in the background - will warn the local client there's been a failure.




CCDesk tasks can't 'go rogue' - the watchdog will warn about tasks that are taking too long or are stuck.

I love the direction your trying to go with this. Are you going to be able to add a Floppy peripheral to it as well ?

I need it because of the nature of computercraft. I need to be able to run my code off the floppy disk drives.

If you do implement this will it mean we can save our code to it ? That of course would save the code on our windows computer.

Looking forward to the next update. As it is, I can't use any of the 7.x versions because they don't work for me. 6.2 was the only one that does so far.

EDIT UPDATE : Correction, the drive in 6.2 doesn't work…

[attachment=1271:nodriveyet.png]
AfterLifeLochie #292
Posted 01 January 1970 - 01:00 AM
I love the direction your trying to go with this. Are you going to be able to add a Floppy peripheral to it as well ?

I need it because of the nature of computercraft. I need to be able to run my code off the floppy disk drives.

If you do implement this will it mean we can save our code to it ? That of course would save the code on our windows computer.

Looking forward to the next update. As it is, I can't use any of the 7.x versions because they don't work for me. 6.2 was the only one that does so far.

Yes, Floppy Disks will be available in one of the next few releases. I'm currently rewriting the launcher again to try and reduce the number of future launcher-based updates required. Your code is already saved to the local computer - but I have considered allowing Floppy Drives to utilize real system paths (undecided).

Have you submitted a report about 7x versions not working? It may help if you submit a report and run the emulator from a command-line or console so any output can be grabbed.
TorakTu #293
Posted 01 January 1970 - 01:00 AM
I love the direction your trying to go with this. Are you going to be able to add a Floppy peripheral to it as well ?

I need it because of the nature of computercraft. I need to be able to run my code off the floppy disk drives.

If you do implement this will it mean we can save our code to it ? That of course would save the code on our windows computer.

Looking forward to the next update. As it is, I can't use any of the 7.x versions because they don't work for me. 6.2 was the only one that does so far.

Yes, Floppy Disks will be available in one of the next few releases. I'm currently rewriting the launcher again to try and reduce the number of future launcher-based updates required. Your code is already saved to the local computer - but I have considered allowing Floppy Drives to utilize real system paths (undecided).

Have you submitted a report about 7x versions not working? It may help if you submit a report and run the emulator from a command-line or console so any output can be grabbed.

Wow your fast, I was updating my answer when you replied. lol

Maybe I should clarify, I can get 7.x to come up, but it just sits there. I can't right click any of the computers to bring up the peripherals menu like I can in 6.2. I even did exactly as you did in the video about the peripheral with lua, and even the icon never shown indication of changing color.

I didn't see that you had not added peripherals yet until an earlier post. I saw your video on youtube and loved what your showing, but when I try to access any of the peripherals that I create with the lua command, it just doesn't see it. So I figured it was just not ready yet. I did some looking around at your other comments and thats when I found out that you hadn't added peripherals yet.

So It's my fault for not reading first. I apologize.
AfterLifeLochie #294
Posted 01 January 1970 - 01:00 AM
I love the direction your trying to go with this. Are you going to be able to add a Floppy peripheral to it as well ?

I need it because of the nature of computercraft. I need to be able to run my code off the floppy disk drives.

If you do implement this will it mean we can save our code to it ? That of course would save the code on our windows computer.

Looking forward to the next update. As it is, I can't use any of the 7.x versions because they don't work for me. 6.2 was the only one that does so far.

Yes, Floppy Disks will be available in one of the next few releases. I'm currently rewriting the launcher again to try and reduce the number of future launcher-based updates required. Your code is already saved to the local computer - but I have considered allowing Floppy Drives to utilize real system paths (undecided).

Have you submitted a report about 7x versions not working? It may help if you submit a report and run the emulator from a command-line or console so any output can be grabbed.

Wow your fast, I was updating my answer when you replied. lol

Maybe I should clarify, I can get 7.x to come up, but it just sits there. I can't right click any of the computers to bring up the peripherals menu like I can in 6.2. I even did exactly as you did in the video about the peripheral with lua, and even the icon never shown indication of changing color.

I didn't see that you had not added peripherals yet until an earlier post. I saw your video on youtube and loved what your showing, but when I try to access any of the peripherals that I create with the lua command, it just doesn't see it. So I figured it was just not ready yet. I did some looking around at your other comments and thats when I found out that you hadn't added peripherals yet.

So It's my fault for not reading first. I apologize.

No problems - peripherals had to be rewritten when networking was added between 6.2 and 7.x, and the really buggy right-click terminal menu was removed for… being buggy – It's been replaced with a few new controls, and generally the videos I've been pushing are 'hacked together' demonstrations of upcoming features and code. The peripheral API and framework has actually been left present since 6.2, and I've been changing it over time, as well as the plugin framework, to try and make 'universal'-sided peripherals and plugins easier to implement and develop with, without setting fire to the workspace.

Apparently there are a few bugs still with Mac not finding the SQLite drivers; I'm still messing with the launcher to see if this is an issue I can correct (or if I have to start working around nasty JRE bugs again).
TorakTu #295
Posted 01 January 1970 - 01:00 AM
No problems - peripherals had to be rewritten when networking was added between 6.2 and 7.x, and the really buggy right-click terminal menu was removed for… being buggy – It's been replaced with a few new controls, and generally the videos I've been pushing are 'hacked together' demonstrations of upcoming features and code. The peripheral API and framework has actually been left present since 6.2, and I've been changing it over time, as well as the plugin framework, to try and make 'universal'-sided peripherals and plugins easier to implement and develop with, without setting fire to the workspace.

Apparently there are a few bugs still with Mac not finding the SQLite drivers; I'm still messing with the launcher to see if this is an issue I can correct (or if I have to start working around nasty JRE bugs again).

I'm on Windows 7 x64 just in case you needed this info.

Either way, kudos to your quick responses. I look forward to your next update.

EDIT UPDATE : I have a request. If say I have the desktop.jar file on my desktop. And I add a peripheral of a disk drive.. can you have that peripheral point to a folder on my desktop called disk ? If I have more then one disk drive, have your program understand each folder as disk0, disk1, disk2 etc etc.. put them all into a folder named peripherals. I hope I am explaining this right. This way, if I wanted to just copy and past code directly into that folder from somewhere else, then it would show up in your emulator under the disk drive of that computer. It would be a lot easier to use this way.

EXAMPLE :
%PATH% = ( the path to my desktop )
%PATH%\peripherals\disk0\ ( my code on the floppy drive here )
if I have another computer labeled 1 or whatever number…
%PATH%\peripherals\disk1\

If I put your program desktop.jar into a folder somewhere on my computer.. then it can create the peripherals folder in that same folder that desktop.jar file is located.

Here is an example of what happens in regular minecraft.. when typing dir.. you see the disk show up.. ONLY if I add the peripheral disk drive..

[attachment=1272:floppy.jpg]

So under %PATH%\peripherals\disk0\ you can put sub folders for floppies here.

%PATH%\peripherals\disk0\floppy0\ ( code here )

%PATH%\peripherals\disk0\floppy1\ ( code here )

If you label the disk… say "label disk test" then it could change the folder name from floppy1 or whatever to show up as :

%PATH%\peripherals\disk0\test\ ( code here )

see what I am getting at ?
AfterLifeLochie #296
Posted 01 January 1970 - 01:00 AM
No problems - peripherals had to be rewritten when networking was added between 6.2 and 7.x, and the really buggy right-click terminal menu was removed for… being buggy – It's been replaced with a few new controls, and generally the videos I've been pushing are 'hacked together' demonstrations of upcoming features and code. The peripheral API and framework has actually been left present since 6.2, and I've been changing it over time, as well as the plugin framework, to try and make 'universal'-sided peripherals and plugins easier to implement and develop with, without setting fire to the workspace.

Apparently there are a few bugs still with Mac not finding the SQLite drivers; I'm still messing with the launcher to see if this is an issue I can correct (or if I have to start working around nasty JRE bugs again).

I'm on Windows 7 x64 just in case you needed this info.

Either way, kudos to your quick responses. I look forward to your next update.

EDIT UPDATE : I have a request. If say I have the desktop.jar file on my desktop. And I add a peripheral of a disk drive.. can you have that peripheral point to a folder on my desktop called disk ? If I have more then one disk drive, have your program understand each folder as disk0, disk1, disk2 etc etc.. put them all into a folder named peripherals. I hope I am explaining this right. This way, if I wanted to just copy and past code directly into that folder from somewhere else, then it would show up in your emulator under the disk drive of that computer. It would be a lot easier to use this way.

EXAMPLE :
%PATH% = ( the path to my desktop )
%PATH%\peripherals\disk0\ ( my code on the floppy drive here )
if I have another computer labeled 1 or whatever number…
%PATH%\peripherals\disk1\

If I put your program desktop.jar into a folder somewhere on my computer.. then it can create the peripherals folder in that same folder that desktop.jar file is located.

Here is an example of what happens in regular minecraft.. when typing dir.. you see the disk show up.. ONLY if I add the peripheral disk drive..

[attachment=1272:floppy.jpg]

So under %PATH%\peripherals\disk0\ you can put sub folders for floppies here.

%PATH%\peripherals\disk0\floppy0\ ( code here )

%PATH%\peripherals\disk0\floppy1\ ( code here )

If you label the disk… say "label disk test" then it could change the folder name from floppy1 or whatever to show up as :

%PATH%\peripherals\disk0\test\ ( code here )

see what I am getting at ?
I could theoretically have Disk Drives configurable to point to any directory in local-servers only – not just something in the %PATH%. Remote servers wouldn't have the ability to set a custom path (for obvious security reasons); they'd be restricted to the already-existing /computer/disk/ datastore path.
TorakTu #297
Posted 01 January 1970 - 01:00 AM
I could theoretically have Disk Drives configurable to point to any directory in local-servers only – not just something in the %PATH%. Remote servers wouldn't have the ability to set a custom path (for obvious security reasons); they'd be restricted to the already-existing /computer/disk/ datastore path.

Correct. Local is what I am refering too. That would be perfect. :D/>

At least this way each computer you create in CCDesk would have the ability to have its own disk drive.

Also on a side note, as cool as the feature to tie into minecraft itself is.. I just do not see myself using it. Yet…
figgycity50 #298
Posted 01 January 1970 - 01:00 AM
Your cheating HTML posts :P/>
I think you'll find he is an admin, so he may be able to do so without cheating. But how do I know (I have never been staff on this forum)
jesusthekiller #299
Posted 01 January 1970 - 01:00 AM
It was a joke, sherlock…
Dlcruz129 #300
Posted 01 January 1970 - 01:00 AM
I tried to run CCDesk 7.1.2, but it told me to upgrade the launcher, but I'm using the most recent build of the launcher.
TorakTu #301
Posted 01 January 1970 - 01:00 AM
I tried to run CCDesk 7.1.2, but it told me to upgrade the launcher, but I'm using the most recent build of the launcher.

Confirmed - I just tried it myself and got the same error.
AfterLifeLochie #302
Posted 01 January 1970 - 01:00 AM
7.1.2 isn't actually released, those are pre-testing uploads to make sure the new launcher actually works as prescribed.

Also, I like teasing you. 7.1.2 is there but you can't get it - even if you did, there's no software in the open that can run it yet. Patience, grasshoppers.
TorakTu #303
Posted 01 January 1970 - 01:00 AM
7.1.2 isn't actually released, those are pre-testing uploads to make sure the new launcher actually works as prescribed.

Also, I like teasing you. 7.1.2 is there but you can't get it - even if you did, there's no software in the open that can run it yet. Patience, grasshoppers.

I like coders with a sense of humor.. :)/>

Keep up the good work.
TheOddByte #304
Posted 01 January 1970 - 01:00 AM
As an update-spoiler, per usual, here's another sneak-peek at the upcoming changes. The next fix should be off the press by the end of the week, as stuff is starting to get less-chaotic for me. A huge number of bugs have already been fixed - mostly mouse and input issues.

SpoilerFret not, you will not longer have to guess what peripherals and devices are connected to your computers!

Awesome! This is the first time I've checked out CCDesk, I have just used CCemu before
margeobur #305
Posted 01 January 1970 - 01:00 AM
Great emulator! How do I add peripherals though?
TheOddByte #306
Posted 01 January 1970 - 01:00 AM
Uhhm.. I think I just spotted a bug..
SpoilerI first created a regular computer then I disconnected from the server, then I went and connected to internal server and launched it as an advanced computer and this happens with everything I write..
jamd315 #307
Posted 01 January 1970 - 01:00 AM
How do I add peripherals? e.g. a printer
TorakTu #308
Posted 01 January 1970 - 01:00 AM
How do I add peripherals? e.g. a printer

The only peripheral that I know you can add is the Monitor. I tried to add a modem, but that doesn't work. Same with the other peripheral options you "see" in the menu. And the only way to do that is in the LEGACY 6.x version. ( NOTE the 6.x stuff is for minecraft 1.5.2. ) When you launch the launcher you will see the drop down menu. Choose the 6 LEGACY. The 7.x doesn't work yet. As he stated in an above post, he has been teasing us with the 7.x stuff. ( Which is for the Minecraft 1.6.2 )
RepeaterCreeper #309
Posted 01 January 1970 - 01:00 AM
This looks very useful. B)/>
H4X0RZ #310
Posted 01 January 1970 - 01:00 AM
If I try to start the legacy version (6) it stops at loading the graphics. I'm waiting 5 minutes now… Is that a bug?
AfterLifeLochie #311
Posted 01 January 1970 - 01:00 AM
If I try to start the legacy version (6) it stops at loading the graphics. I'm waiting 5 minutes now… Is that a bug?
Possibly – the launcher is currently broken due to the ComputerCraft download links via Mediafire no longer being direct. I'm working on a fix as I speak.
Zudo #312
Posted 01 January 1970 - 01:00 AM
When is the next update going to come?
Mitchfizz05 #313
Posted 01 January 1970 - 01:00 AM
"<!–cached-Tue, 20 Aug 2013 03:16:52 +0000–><!– MODERATOR, TURN AROUND. YOU HAVE JUST BROKEN THIS POST. YES, YOU. GO AWAY. GO FIND AFTERLIFELOCHIE AND TELL HIM YOU WERE HERE. –>"
What's this? I just wanted to read your HTML markup because I was bored. =(
Did I break the post?
theoriginalbit #314
Posted 01 January 1970 - 01:00 AM
"<!–cached-Tue, 20 Aug 2013 03:16:52 +0000–><!– MODERATOR, TURN AROUND. YOU HAVE JUST BROKEN THIS POST. YES, YOU. GO AWAY. GO FIND AFTERLIFELOCHIE AND TELL HIM YOU WERE HERE. –>"
What's this? I just wanted to read your HTML markup because I was bored. =(
Did I break the post?
No… last I checked you weren't a moderator… he did this just incase a moderator attempted to edit his post. You're not editing, just reading.
AfterLifeLochie #315
Posted 01 January 1970 - 01:00 AM
When is the next update going to come?
I'm still working on the next update. There's a few more UI changes to be made, and then it should be ready for release - hopefully the API should be working for developers, too.
BigTwisty #316
Posted 01 January 1970 - 01:00 AM
Does this work on computers that do not have Minecraft installed? I'd love to be able to test Lua code I'm working on during lunch, but I can't install Minecraft on my work PC.
theoriginalbit #317
Posted 01 January 1970 - 01:00 AM
Does this work on computers that do not have Minecraft installed? I'd love to be able to test Lua code I'm working on during lunch, but I can't install Minecraft on my work PC.
Indeed it does. :)/>
pocketpc #318
Posted 01 January 1970 - 01:00 AM
I can't get CCDesk to run. I downloaded and ran desktop.jar, and all I got was a command prompt window that closed as soon as it opened. I did manage to nab a screenshot, but I can't figure out how to upload it. All it said was "Error: Could not find or load main class [path]\desktop.jar". I'm using Java 7 Update 40 64 bit on Windows 8 Enterprise.
Zudo #319
Posted 01 January 1970 - 01:00 AM
How do you close computers on pr7.1.1?
AfterLifeLochie #320
Posted 01 January 1970 - 01:00 AM
I have decided due to issues that will not be discussed here, that I am indefinitely shutting down the update services and systems for CCDesk, and postponing the release of the next - and any, if any - future updates to CCDesk. You can read over the full reason, and the future of the project here, if you so desire.

Closed by self until further such notice.