Jump to content




Variable Size Quarry (now with Super Ore Quarry™)

turtle

594 replies to this topic

#541 Mr_TC

  • New Members
  • 2 posts

Posted 21 August 2015 - 06:13 PM

 civilwargeeky, on 20 August 2015 - 12:28 AM, said:

Stuff
There is no output other than 'Cannot serialize type function' when using the pastebin code.
The output I am referencing above is what is printed out when uncommenting line 813 in the code.
It manages to dig one block before the error happens.
I am using the latest FTB Direwolf20 modpack pack. Might that have an influence?

#542 civilwargeeky

  • Members
  • 393 posts

Posted 30 August 2015 - 07:20 PM

To both of you I would just like to say I'm really sorry for taking so long to investigate and respond. It usually doesn't take me this long to find time for coding and things :\
Anyway,

 teddybird, on 20 August 2015 - 08:58 PM, said:

Thanks for your response wargeeky. I am using CC version 1.74. I also tried to reproduce the issue. And it happens every time i try to use your repeater program.

I have tried on a flat world with all computers and the turtle on the same y coordinate and all about 40-50 blocks apart. Also tried in my normal world again. With my turtle being at y=30, repeater at y=50, and the receiver at y= 80.
I have also tried using the repeater as some kind of satellite at y=200, cause i read on some forums wireless modems get more range the highter they are up. up to 381 blocks i believe? All gave me the same results.

The program versions i used are:
Quarry 3.6.4: http://pastebin.com/rpXRAZs4
Quarry Receiver 3.6.4: http://pastebin.com/6smzHGJY
Quarry Repeater 1.0.3: http://pastebin.com/Te359WA2

I've been working on fixing this, but the error and my solution to it makes no sense. I've been able to reproduce the error, and for me fixing it involves going to every repeater and pressing a key, then enter. This is just setting a blank channel, and there is nothing in that area of the code that would do anything... I don't really understand why it doesn't work all the time, since it should work fine in both directions. I may try some looking back at old code to see if I can figure it out, but for now I can't fix it :(

 Mr_TC, on 21 August 2015 - 06:13 PM, said:

 civilwargeeky, on 20 August 2015 - 12:28 AM, said:

Stuff
There is no output other than 'Cannot serialize type function' when using the pastebin code.
The output I am referencing above is what is printed out when uncommenting line 813 in the code.
It manages to dig one block before the error happens.
I am using the latest FTB Direwolf20 modpack pack. Might that have an influence?

So, I went and uncommented the line that tells me everything it saves when it does, and discovered that in CC 1.74 there is a new table called "_ENV" that contains the current environment (I guess, I didn't really look into yet) and also contains functions. I simply added it to the list of excluded functions and now the program works fine. Please redownload :)

#543 bonafide666

  • New Members
  • 2 posts

Posted 05 September 2015 - 07:40 AM

Hello Guys. Was hoping for a little help with this program. Everything is working fine for the turtle but i cans seem to get the computer program to work. When i type in recieve channel 8 (or any other number for that matter) nothing seems to happen. Having seen youtube videos on how to use the program it seems that it might be because of rednet? i have a wireless modem on the top of the computer and 9 monitor blocks to the left of it. On the turtle the modem seems to be on but on the compute the modem dosent turn red. Do you have to manually turn on the modem? and if so how? ive tried the newest version and 4 versions back of both the turlt and computer program but to no avail. Any and all help will be greatly appreciated. I have also teted this both on a server ( as part of Ultra modded survival modpack) and in single player (again in ultra modded survival modpack) Could the pack not allow rednet? and if o where can i check this. Thanks again in advance :)

#544 HPWebcamAble

  • Members
  • 933 posts
  • LocationWeb Development

Posted 05 September 2015 - 09:30 PM

 bonafide666, on 05 September 2015 - 07:40 AM, said:

- snip -

What version of CC are you using?
Also note that wireless modems have a limited range, around 100 or so blocks (Depending on their height in the world)

#545 civilwargeeky

  • Members
  • 393 posts

Posted 06 September 2015 - 03:10 AM

 bonafide666, on 05 September 2015 - 07:40 AM, said:

-snip-
If you can't figure it out, please try watching this video.

If you have watched the whole video and it still doesn't work, then come back here and tell me what is broken.

A couple other things: Make sure you are using wireless modem, not wired. Make sure that you are using the receiver program, not repeater or quarry. Make sure you have started the receiver, and want to set the receive channel for the screen, use "RECEIVE [side] [number]" like "RECEIVE COMPUTER 8"

Hope I helped

Edited by civilwargeeky, 06 September 2015 - 03:11 AM.


#546 HPWebcamAble

  • Members
  • 933 posts
  • LocationWeb Development

Posted 06 September 2015 - 05:03 AM

 civilwargeeky, on 06 September 2015 - 03:10 AM, said:

want to set the receive channel for the screen, use "RECEIVE [side] [number]" like "RECEIVE COMPUTER 8

COMPUTER isn't a side :P

#547 civilwargeeky

  • Members
  • 393 posts

Posted 06 September 2015 - 05:53 AM

 HPWebcamAble, on 06 September 2015 - 05:03 AM, said:

 civilwargeeky, on 06 September 2015 - 03:10 AM, said:

want to set the receive channel for the screen, use "RECEIVE [side] [number]" like "RECEIVE COMPUTER 8

COMPUTER isn't a side :P
It is in my case :P
COMPUTER is the default side (the main screen). Since all other screens are already named peripherals, I just used COMPUTER as the name of the screen that already exists (and isn't a handily named peripheral).

#548 bonafide666

  • New Members
  • 2 posts

Posted 06 September 2015 - 06:20 AM

 HPWebcamAble, on 05 September 2015 - 09:30 PM, said:

 bonafide666, on 05 September 2015 - 07:40 AM, said:

- snip -

What version of CC are you using?
Also note that wireless modems have a limited range, around 100 or so blocks (Depending on their height in the world)

Im using CC 1.7.4. The turtle has been tested standing around 10 blocks from the computer so sadly that is not it.

 civilwargeeky, on 06 September 2015 - 03:10 AM, said:

 bonafide666, on 05 September 2015 - 07:40 AM, said:

-snip-
If you can't figure it out, please try watching this video.

If you have watched the whole video and it still doesn't work, then come back here and tell me what is broken.

A couple other things: Make sure you are using wireless modem, not wired. Make sure that you are using the receiver program, not repeater or quarry. Make sure you have started the receiver, and want to set the receive channel for the screen, use "RECEIVE [side] [number]" like "RECEIVE COMPUTER 8"

Hope I helped

thanks for the help so far. I have rewatched your video and the only new thing i found was that you labeled your computer. tried that out and it did not work. I have uploaded a video to youtube of the setup to show the error / problem. here is the link: http://youtu.be/SN6viuWVLm0

Also thought i would link to the modpack m using a that might have something to do with it. The Modpack is: http://www.technicpa...101.698929/mods

Thanks again everyone for the replies and ad looking forward to your responses.

#549 HPWebcamAble

  • Members
  • 933 posts
  • LocationWeb Development

Posted 06 September 2015 - 06:54 AM

Ah, so its the computer terminal? Interesting...

Why not just do it like this:
receive <id> [side]
Where <id> is required, but [side] isn't. So if the user doesn't provide [side], it just uses the terminal.
Just a thought :)

#550 civilwargeeky

  • Members
  • 393 posts

Posted 06 September 2015 - 11:45 PM

 bonafide666, on 06 September 2015 - 06:20 AM, said:

-snip-

thanks for the help so far. I have rewatched your video and the only new thing i found was that you labeled your computer. tried that out and it did not work. I have uploaded a video to youtube of the setup to show the error / problem. here is the link: http://youtu.be/SN6viuWVLm0

Also thought i would link to the modpack m using a that might have something to do with it. The Modpack is: http://www.technicpa...101.698929/mods

Thanks again everyone for the replies and ad looking forward to your responses.
:D
Hopefully this is the issue: In your video, you spelled "RECEIVE" wrong both times. The first time you put "RECIEVE" and the second you put "RECEIVER", neither of which are commands :)
I hope this spelling is the only issue. Please get back with me if it works properly.

#551 theminstrell

  • New Members
  • 1 posts

Posted 17 September 2015 - 07:46 AM

Hi! I found a problem when I'm using OreQuarry feature. My turtles throw mined coal out together with cobblestone, dirt and gravel when they clean their inventories. I'm using standard -oreQuarry true option with no putting blocks (f.e.: dirt, stone, gravel) into the inventory. How can I get rid of this problem?

#552 civilwargeeky

  • Members
  • 393 posts

Posted 18 September 2015 - 10:24 PM

 theminstrell, on 17 September 2015 - 07:46 AM, said:

Hi! I found a problem when I'm using OreQuarry feature. My turtles throw mined coal out together with cobblestone, dirt and gravel when they clean their inventories. I'm using standard -oreQuarry true option with no putting blocks (f.e.: dirt, stone, gravel) into the inventory. How can I get rid of this problem?
Hi! I was actually consolidating my code database today (so I can write code in a more structured way), and I noticed that I had a commit in my "UnofficialQuarryFeatures" branch titled "Quarry dumps excess coal ಠ_ಠ". I have added this change to the release branch, so the issue should hopefully (maybe) be fixed. Please redownload and let me know if the issue is fixed (also if it is not fixed. Please, let me know whether or not it worked).

Edited by civilwargeeky, 18 September 2015 - 10:25 PM.


#553 danilox6

  • New Members
  • 1 posts

Posted 23 September 2015 - 08:25 AM

Looks like maxSlots at line 2062 isn't defined. I guess you meant inventoryMax. Nice job by the way!

#554 civilwargeeky

  • Members
  • 393 posts

Posted 24 September 2015 - 03:28 AM

 danilox6, on 23 September 2015 - 08:25 AM, said:

Looks like maxSlots at line 2062 isn't defined. I guess you meant inventoryMax. Nice job by the way!
Thanks! Fixed and pushed.

#555 GantradiesDracos

  • Members
  • 5 posts

Posted 27 October 2015 - 06:36 AM

hey, erm. its been a really long time since ive last loaded up the programs ( or minecraft itself, for that matter), and the receiver used to give feedback on how far though the quarry was with a Percentage and possibally an ETA ( as i said, it has been an EXTREMELY long time, almost 9 months since i played regularly), and the program currently isnt displaying it on my monitors. is it bugged/ am i doing something wrong, or was this removed? >.<

Current Server: FTB Infinity ver 1.11.2

*edit* its also no longer showing reaming/required fuel on the telemetry
*edit the second* huh. ok, and now it is. i was fiddleing around with my monitor dimensions since it got a bit glitchy, and it started showing the rest of the telementry again. odd.
is currently 5 horizontallyx3 vertically >.<

Edited by GantradiesDracos, 27 October 2015 - 11:20 AM.


#556 HPWebcamAble

  • Members
  • 933 posts
  • LocationWeb Development

Posted 27 October 2015 - 11:43 PM

 GantradiesDracos, on 27 October 2015 - 06:36 AM, said:

- snip -

Probably related to the monitor bug in CC 1.74

Sometimes monitors don't display anything, changing the text size (monitor.setTextScale()) to something else then back to what you'd like it to be fixes the issue.

#557 GantradiesDracos

  • Members
  • 5 posts

Posted 30 October 2015 - 05:06 PM

hey everyone. ive been fiddling with multishell (trying to set up bot clusters using only a single computer for the receiver program), and im having issues with getting it to display the two instances on separate monitors ( it keeps flickering between showing the data for each of the two turtles rapidly on one monitor, other is still at the prompt to input the channel). i went tough having them in the same network with a single modem connected to the adv comp with two instances of the reciever program running in separate sessions (basically an overhead networking cable running between teh modems attached to each screen coming down to a modem atop the adv.comp)

have i done something wrong, or does multishell/ the modems just not liek the program? :P

#558 Adirelle

  • New Members
  • 1 posts

Posted 01 November 2015 - 11:38 AM

Is there any text documentation about using the repeater ? I successfully runs a quarry turtle with a quarry receiver using a single channel. When it comes to repeater, I'm not sure how to set up the rednet channels (both on the receiver and turtle) to make use of it.

#559 civilwargeeky

  • Members
  • 393 posts

Posted 03 November 2015 - 05:19 AM

 GantradiesDracos, on 30 October 2015 - 05:06 PM, said:

-snip-

 Adirelle, on 01 November 2015 - 11:38 AM, said:

-snip-

Hi! With any issues you guys are having, feel free to make your own modifications (my license allows modification with attribution) but I am fairly swamped with schoolwork and probably will be until Christmas break. I probably won't be hunting bugs with the new MC versions any time soon. I myself haven't touched minecraft to play in over half a year now :\

As for documentation with the repeater, I think there was some in the post where I released it, but there's not much to it. Place the repeater down, add the channel the turtle says, and then it works (or doesn't work) as its intended to :)

Sorry I can't help more. Thanks for sticking with my program! :D

#560 Jonnhycraft

  • Members
  • 13 posts

Posted 05 November 2015 - 12:43 PM

Is there anyway to whitelist coal some how? Because it seems to be dropping coal for some reason.

Thanks in advance!

Edited by Jonnhycraft, 05 November 2015 - 02:49 PM.






2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users