Jump to content




Gamax92's CCLite ComputerCraft Emulator (Updated for CC1.75)


132 replies to this topic

#81 sziberov(KAYOver)

  • Banned
  • 39 posts

Posted 01 May 2014 - 03:12 PM

How To Install One OS on this emulator?

#82 apemanzilla

  • Members
  • 1,421 posts

Posted 01 May 2014 - 04:56 PM

Same way as on a computer.

#83 lebalusch

  • Members
  • 49 posts

Posted 26 May 2014 - 10:00 PM

Oh this is Great just what I needed for some easy programming. saves loading up my game every time. Thank you.

Is there any current way of making a monitor screen at all so I can have one mini screen for a terminal and one for a networked monitor?

#84 Graypup

  • Members
  • 90 posts

Posted 06 June 2014 - 09:12 PM

Invalid escape sequences? Those break the chat program too.

#85 gamax92

  • Members
  • 157 posts

Posted 13 June 2014 - 01:11 AM

Pushed some changes to CCLite:
fs.find filters out lua patterns
fs.find cleans the path
fs.find returns directories
fs.getSize returns correct size
fs.combine keeps "*"
fs.open doesn't attempt to open directories
improved "Invalid Path" checks
fs.getDir works properly for "../../.." -> "../.."
fs.getName rewritten

Now, you are able to do this:
fs.exists("???||||<><>?ro**m/prog?*???rams") -> true

fs.find still has a few bugs:
fs.find won't return say ".apples" if you search for "*****.*"

The "Invalid escape sequences" is a case of "LuaJIT does this (5.2 support), Lua and LuaJ doesn't".
LuaJIT complains about them since its a 5.2 feature.

EDIT: and fixed the side effect, turns out fs.find wasn't written properly in the first place.

Edited by gamax92, 11 July 2014 - 03:12 PM.


#86 AlphaD

  • New Members
  • 1 posts

Posted 14 June 2014 - 09:07 PM

This is very good!
Sorry, how I can attach a wifi modem using the cclite apis?

#87 gamax92

  • Members
  • 157 posts

Posted 15 June 2014 - 03:07 PM

cclite.peripheralAttach("what side","wirelessModem")

I really need to mention this in the front post.

#88 lebalusch

  • Members
  • 49 posts

Posted 15 June 2014 - 09:27 PM

Does cclite.peripheralAttach("what side","monitor") work then?

#89 Lignum

  • Members
  • 558 posts

Posted 15 June 2014 - 09:28 PM

View Postlebalusch, on 15 June 2014 - 09:27 PM, said:

Does cclite.peripheralAttach("what side","monitor") work then?
No, it doesn't.

#90 mistertimn

  • Members
  • 34 posts
  • LocationVancouver, BC

Posted 10 July 2014 - 04:22 AM

At last! An emulator that finally works on my computer. Had to use the .love file instead of the .app on my MacBook. The .app would launch, then immediately close before it had a chance to appear in my dock. Not sure why.

Anyways, thank you thank you a thousand times thank you.

#91 Chickenbreadlp

  • Members
  • 73 posts
  • LocationGermany

Posted 31 July 2014 - 10:22 PM

I tryed the emulator and its a good one too. BUT there is some sort of Bug which write "inf" under the bottom bar from my OS. Which was pretty suprising for me, because on the mod in Minecraft it dosn't show this "inf".

#92 Alice

  • Members
  • 429 posts
  • LocationBehind you.

Posted 02 August 2014 - 05:23 AM

Just a question. Can you tell me the code that would allow me to use the Love2d "require()" function?

#93 gigagames

  • Members
  • 55 posts

Posted 17 August 2014 - 10:22 AM

Hello,
i have an Problem whit this Emulator !
Im using Win 7 (Ultimate) 64 bit
Im have test it whit the CCLite Multi Computer Builds for 64 and 32 bit
With and Without admin rights

So my Problem:
If i go in some Folders and write edit ... i doint get the save button
if i in the "non named folder (>)" im became the Save button but if i press save i got :
Error saving to "filename"

if im try using pastebin get ... Name i got "pastebin:101: attempt to index local "file" (a nil value)

so im cant do Nothing ! why ? what do im wrong

Edited by gigagames, 17 August 2014 - 10:45 AM.


#94 MKlegoman357

  • Members
  • 1,170 posts
  • LocationKaunas, Lithuania

Posted 17 August 2014 - 02:24 PM

Are you trying to edit files inside the /rom folder? Could you show us a screenshot maybe, or reproduction steps of this error?

#95 gigagames

  • Members
  • 55 posts

Posted 17 August 2014 - 03:06 PM

View PostMKlegoman357, on 17 August 2014 - 02:24 PM, said:

Are you trying to edit files inside the /rom folder? Could you show us a screenshot maybe, or reproduction steps of this error?
Steps :
Download for Win 64bit
Unzip it, Starting cclite-frames-64 (i have try with and without admin rights)
Pressing New - Normal Computer - (ID 0) Ok - Writing edit test - press some randome buttons - press STRG and try to Save
Then i became "Error saving to Test"
then i try pastebin:
pastebin get .. ta
"Connecting to pastebin.com... Success,
pastebin:101: attempt to index local 'file' (a nil value)"

if i go cd rom - edit test - pressing STRG i doint became "Save" im only became Exit and Print


Problem fixed, it was a "Windows" Problem, i must change the %appdata% path, i doint know why THIS program doint like my old appdata path, but now its works

Edited by gigagames, 18 August 2014 - 06:20 PM.


#96 lebuildman

  • Members
  • 39 posts

Posted 19 September 2014 - 09:48 PM

Created a Help File for CCLite API (http://pastebin.com/7yrh8fWg)

Add it to the "rom/help" of the Emulator. It will help many people using the CCLite!

#97 gamax92

  • Members
  • 157 posts

Posted 18 April 2015 - 08:41 PM

It's been a while, hasn't it.

Just updated CCLite to 1.73, and fixed up a lot of bugs:
Spoiler

EDIT:
Also wtf is with dan200 and GravityScore putting backslashes in their lua patterns?
Like ... it doesn't do anything, you can remove them and it still works the same way.
They also are escaping stuff that aren't even lua pattern elements ...

EDIT2:
oops... I accidently the windows builds, they should be fixed now.
Also added a couple more fixes

Edited by gamax92, 18 April 2015 - 11:14 PM.


#98 GravityScore

  • Members
  • 796 posts
  • LocationLand of Meh

Posted 19 April 2015 - 05:19 AM

View Postgamax92, on 18 April 2015 - 08:41 PM, said:

Also wtf is with dan200 and GravityScore putting backslashes in their lua patterns?
Like ... it doesn't do anything, you can remove them and it still works the same way.
They also are escaping stuff that aren't even lua pattern elements ...

Because every normal regex engine uses backslashes to escape special characters, and its hard to break old habits. Plus I'm too lazy to look up what actually are the characters I need to escape, so I just escape everything I think needs it.

#99 gamax92

  • Members
  • 157 posts

Posted 20 April 2015 - 01:32 AM

heh, okay

#100 gamax92

  • Members
  • 157 posts

Posted 20 April 2015 - 07:49 PM

Sorry for the double post, but another update:
Spoiler

Thanks to this guy for not having reported this very old bug. But seriously, I am listening, and will fix things for you. You just gotta tell me about things.

EDIT: I accidentally did something really bad, it had really bad results, I am going to not do that now, fixed a really bad thing.

Edited by gamax92, 21 April 2015 - 02:52 AM.






2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users