Jump to content




[LanteaCraft / SGCraft] == ccDHD ==

lua computer utility

354 replies to this topic

#301 darkdragon

  • Members
  • 16 posts
  • LocationQueensland (AU)

Posted 25 December 2017 - 11:53 PM

ok sorry about this but now that is fixed why is ccdhd getting 944 attempt to call nil

#302 Dog

  • Members
  • 1,177 posts
  • LocationEarth orbit

Posted 26 December 2017 - 04:07 AM

What versions of ccDHD, MC, CC, and SGCraft are you using?

#303 Bomb Bloke

    Hobbyist Coder

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

Posted 26 December 2017 - 04:56 AM

929:

local random, unpack = math.random, table.unpack

I'm not 100% certain you can get away with this - I believe you'll need to use "unpack or table.unpack" instead of just "table.unpack".

#304 darkdragon

  • Members
  • 16 posts
  • LocationQueensland (AU)

Posted 26 December 2017 - 04:42 PM

i am using ccdhd 2.0 mc 1.7.10 and SGCraft-1.13.3-mc1.7.10

Edited by darkdragon, 26 December 2017 - 04:42 PM.


#305 Dog

  • Members
  • 1,177 posts
  • LocationEarth orbit

Posted 26 December 2017 - 04:49 PM

View Postdarkdragon, on 26 December 2017 - 04:42 PM, said:

i am using ccdhd 2.0 mc 1.7.10 and SGCraft-1.13.3-mc1.7.10
What version of CC? If you're not running 1.75 I recommend you update to that version. That *should* solve all your problems. In the mean time, I've applied the fixes recommended by Bomb Bloke for older versions of CC (although more errors could crop up - I've been lazy and haven't tested in 1.6x since I added hashing/encryption).


View PostBomb Bloke, on 26 December 2017 - 04:56 AM, said:

929:

local random, unpack = math.random, table.unpack

I'm not 100% certain you can get away with this - I believe you'll need to use "unpack or table.unpack" instead of just "table.unpack".
Thanks, again, BB. Fixes applied.

#306 darkdragon

  • Members
  • 16 posts
  • LocationQueensland (AU)

Posted 26 December 2017 - 10:09 PM

ok i have it all working but what fuel and how do i get it in to the gate please as if can do with out naquadah and original dhd attached would be good

Edited by darkdragon, 26 December 2017 - 11:25 PM.


#307 darkdragon

  • Members
  • 16 posts
  • LocationQueensland (AU)

Posted 26 December 2017 - 10:25 PM

and is thier a way with out the original dhd and how hard would it be to have iris close on incoming wormholes that has to have the idc or person on other end open it

#308 Dog

  • Members
  • 1,177 posts
  • LocationEarth orbit

Posted 26 December 2017 - 11:37 PM

ccDHD is designed for the gate to be powered externally - either manually with naquadah or by way of a mod that provides IC2 or RF power to the gate. (EDIT: although the pictures show the power adapter under the base block, they can be placed under any of the five bottom blocks and they will work).

As for automatically closing the iris - you have two choices:
1. In ccDHD settings there is a switch to make the iris automatically close on all incoming calls.
2. If the address is in your address book, you can selectively have the iris automatically open or close (or do nothing) for each individual address in the address book.

ccDailer (install on an advanced wireless pocket computer) acts as an IDC with some restrictions. Both gates that are connected must have either ccDHD/gateLiaison or gateBuddy installed - then the remote gate iris can be opened with the proper iris password (which is also set in ccDHD settings - if the remote gate is running gateBuddy, any password will open the iris).

Edited by Dog, 26 December 2017 - 11:38 PM.


#309 darkdragon

  • Members
  • 16 posts
  • LocationQueensland (AU)

Posted 26 December 2017 - 11:53 PM

so settings for ccdhd is that with edit startup or does it create a file in mc folder

#310 Dog

  • Members
  • 1,177 posts
  • LocationEarth orbit

Posted 27 December 2017 - 12:00 AM

While you're in ccDHD, click on the word 'DHD' at the top left, then select settings from the drop down menu. Don't forget to click 'Save' at the top, right of the settings screen once you have everything set the way you want.

#311 darkdragon

  • Members
  • 16 posts
  • LocationQueensland (AU)

Posted 27 December 2017 - 01:45 AM

thank you

#312 Dog

  • Members
  • 1,177 posts
  • LocationEarth orbit

Posted 27 December 2017 - 01:49 AM

You're very welcome :)

If you have any other questions, comments, or concerns, please let me know.

#313 PhoenixIO

  • Members
  • 7 posts

Posted 06 January 2018 - 01:48 AM

Is there any possibility for an update of this awesome program to/for version 1.8 of computer craft

#314 Dog

  • Members
  • 1,177 posts
  • LocationEarth orbit

Posted 06 January 2018 - 04:25 PM

Hi PhoenixIO - welcome to the CC forums :)

ccDHD should work fine with the 1.8x branch of CC but, to the best of my knowledge, neither LanteaCraft of SGCraft support CC 1.8x yet. Unless I've missed an update (which is quite possible), you'll have to wait until one of those mods adds support for CC 1.8x. As far as I'm aware, the latest LanteaCraft only supports MC 1.7.10 (CC 1.75) and the latest SGCraft to support CC is 1.13.2 for MC 1.8.9 (CC 1.79).

#315 PhoenixIO

  • Members
  • 7 posts

Posted 07 January 2018 - 05:48 PM

someone did a port to 1.12 for SGCraft (https://minecraft.cu...rojectID=241583 it is post #46) I went into a 1.7.10 testing world and set up ccDHD and then went to my 1.12 world and did the same setup procedure and got this error on the ccDHD computer: startup : 4263 bad argument #2 (expected number, got number)

#316 Dog

  • Members
  • 1,177 posts
  • LocationEarth orbit

Posted 08 January 2018 - 03:27 AM

Without knowing more, it almost looks to me like there's a problem in the build of CC you are using (expected number, got number). Are you using CC 1.80pr1 or a different build? I'd like to duplicate your setup and do some testing.

EDIT: I've tested with CC 1.80pr1 and get the same error. I'll need some time to do some research before I have an answer.

EDIT2: The error appears to be related to this bug in CC 1.80pr1. The bug has been fixed but a new build hasn't been released by dan200 yet. I believe one of the other forum members has released updated, unofficial builds, but I'm not sure where to get those. If I can find a link to the unofficial builds I'll post it here.

Edited by Dog, 08 January 2018 - 04:31 AM.


#317 PhoenixIO

  • Members
  • 7 posts

Posted 08 January 2018 - 04:02 AM

thank you for doing the testing. I can't wait to get the program up and running in my 1.12.2 world thank you for building such an awesome program

#318 Dog

  • Members
  • 1,177 posts
  • LocationEarth orbit

Posted 08 January 2018 - 04:49 PM

You're very welcome. I fixed the bug in my copy of CC 1.80pr1 and ccDHD works well - so once a new release is dropped you should be able to use ccDHD without issue. If you'd like to try an unofficial build of CC so you can get things going sooner, you can try the unofficial builds by Crazed Programmer here.

#319 PhoenixIO

  • Members
  • 7 posts

Posted 08 January 2018 - 11:04 PM

yes, the new version worked for me as well. Thank you again for your help

#320 PhoenixIO

  • Members
  • 7 posts

Posted 10 January 2018 - 02:43 AM

I don't know if this is just my setup but for me, the program is getting stuck after opening/closing the iris and well as terminating calls ( it gets stuck in the Disconnecting phase) This happens with all three modems (Ender, Wireless, Wired) If I could get some help that would be awesome





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users