SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Sub/Naval + Other Games > Sub/Naval & General Games Discussion
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 08-02-13, 05:01 PM   #4561
Nagy
Watch Officer
 
Join Date: Feb 2003
Location: a nice little room with padded walls...
Posts: 342
Downloads: 0
Uploads: 0
Default

All been working smoothly so far.

Mining Turtle code V6

Code:
function mForward()
	while not turtle.forward() do
        turtle.dig()
    end
end

local tArgs = {...} 
if #tArgs ~= 3 then    
    print("Requires length, width, height")
    return 
end  
 
local x = tonumber(tArgs[1]) - 1 
local y = tonumber(tArgs[2]) 
local z = tonumber(tArgs[3])  

 if x == nil or y == nil or z == nil then
    print("Invalid dimensions")
    return
end

if x < 0 or y < 0 or z < 0 then
    print("Invalid (negative) dimensions")
    return
end

local fuel = turtle.getFuelLevel()
local roomSize = (x * y * z) + 100

while fuel < roomSize do
     if not turtle.refuel(1) then
         print("Not enough fuel")
         return
     end
	 fuel = turtle.getFuelLevel()
end

local direction = true

for i = 1, z do
    for j = 1, y do
		for k = 1, x do
			turtle.dig()
			mForward()
		end
		if y ~= 1 then
			if j < y then
				if direction then
					turtle.turnRight()
					turtle.dig()
					mForward()
					turtle.turnRight()
					direction = false
				else
					turtle.turnLeft()
					turtle.dig()
					mForward()
					turtle.turnLeft()
					direction = true
				end
			end
		end
	end
    if i < z then
		turtle.digUp()
		while not turtle.up() do
			turtle.digUp()
		end
		turtle.turnRight()
		turtle.turnRight()
    end
end
 
if z % 2 ~= 0 then 
	if y % 2 == 0 then
		turtle.turnRight()
		for i = 1, y do
			mForward()
		end
		turtle.turnRight()
	else
		turtle.turnLeft()
		for i = 1, y - 1 do
			mForward()
		end
		turtle.turnLeft()
		for i = 1, x do
			mForward()
		end
	end
end


turtle.turnRight()
turtle.turnRight()

for i = 1, z - 1 do
    turtle.down()
end
__________________
Known as Keab42 everywhere else.

http://tinyurl.com/punchtwits
Nagy is offline   Reply With Quote
Old 08-03-13, 02:56 PM   #4562
Betonov
Navy Seal
 
Betonov's Avatar
 
Join Date: May 2009
Location: Slovenia
Posts: 8,647
Downloads: 26
Uploads: 0


Default

BTN inc.
Public announcement




With the discovery of the Nether and the energy potential of the creature called as the Blaze, our engineers and R&D specialists have begun the planning phase of a ''blaze farm''
Betonov is offline   Reply With Quote
Old 08-04-13, 04:13 AM   #4563
Betonov
Navy Seal
 
Betonov's Avatar
 
Join Date: May 2009
Location: Slovenia
Posts: 8,647
Downloads: 26
Uploads: 0


Default

the nether is brutal, died 7 times just to retrieve my belongings

Is there any way to tone it down a notch or ten ??
Betonov is offline   Reply With Quote
Old 08-04-13, 05:47 AM   #4564
Kapitän Schneider
Engineer
 
Join Date: Jul 2010
Location: England
Posts: 215
Downloads: 34
Uploads: 0
Default

Don't go in without at least nano armour and a good sword. Even I die with nano armour.
__________________


The victorious strategist only seeks battle, after the victory has been won.

Also known as Brandenburger and Zirran elsewhere.
Kapitän Schneider is offline   Reply With Quote
Old 08-04-13, 05:52 AM   #4565
Betonov
Navy Seal
 
Betonov's Avatar
 
Join Date: May 2009
Location: Slovenia
Posts: 8,647
Downloads: 26
Uploads: 0


Default

Nano wont be hard to make.

I'm thinking of making a stone tube to the spawner.
Delays delays
Betonov is offline   Reply With Quote
Old 08-04-13, 06:24 AM   #4566
Dowly
Lucky Jack
 
Join Date: Apr 2005
Location: Finland
Posts: 25,056
Downloads: 32
Uploads: 0


Default

I'll be just east of spawn, +29 +228-ish.

Oh and FTB balls'd it up:
http://forum.feed-the-beast.com/thre...-needed.28103/

Last edited by Dowly; 08-04-13 at 06:35 AM.
Dowly is offline   Reply With Quote
Old 08-04-13, 06:40 AM   #4567
Oberon
Lucky Jack
 
Join Date: Jul 2002
Posts: 25,976
Downloads: 61
Uploads: 20


Default

Yeah, I saw about the balls up, at the moment the vote is going the way of a rebuild that'll require a new world. So, unless something major breaks down in this one, I'd say that we'd best stay on this patch, I mean, I haven't seen anything broken yet.
Oberon is offline   Reply With Quote
Old 08-05-13, 06:59 AM   #4568
Dowly
Lucky Jack
 
Join Date: Apr 2005
Location: Finland
Posts: 25,056
Downloads: 32
Uploads: 0


Default

Dragon's dead, follow the light path to the portal.
Dowly is offline   Reply With Quote
Old 08-06-13, 05:25 AM   #4569
gago
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

I'm getting this message:

  Reply With Quote
Old 08-06-13, 06:54 AM   #4570
Betonov
Navy Seal
 
Betonov's Avatar
 
Join Date: May 2009
Location: Slovenia
Posts: 8,647
Downloads: 26
Uploads: 0


Default

When prompted to update... update

You should have Direwolf20 1.5 (v1.1.2)
Betonov is offline   Reply With Quote
Old 08-06-13, 07:02 AM   #4571
Arclight
Navy Seal
 
Join Date: Jun 2008
Location: Land of windmills, tulips, wooden shoes and cheese. Lots of cheese.
Posts: 8,467
Downloads: 53
Uploads: 10
Default

Wait, 1.1.2? Server is on 1.1.1.

There was some upheaval about mismatching configs, basically they screwed up the upload. I'd really advice getting 1.1.1; we've had some issues with configs on clients being different from what's on the server.
__________________

Contritium praecedit superbia.
Arclight is offline   Reply With Quote
Old 08-06-13, 07:34 AM   #4572
Betonov
Navy Seal
 
Betonov's Avatar
 
Join Date: May 2009
Location: Slovenia
Posts: 8,647
Downloads: 26
Uploads: 0


Default

That's weird. I'm running 1.1.2 with no problems whatsoever
Betonov is offline   Reply With Quote
Old 08-06-13, 07:44 AM   #4573
gago
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

I've updated it before and it still didn't work.
  Reply With Quote
Old 08-06-13, 07:53 AM   #4574
Betonov
Navy Seal
 
Betonov's Avatar
 
Join Date: May 2009
Location: Slovenia
Posts: 8,647
Downloads: 26
Uploads: 0


Default

clean reinstall ??
Betonov is offline   Reply With Quote
Old 08-07-13, 05:16 AM   #4575
gago
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

I did, still doesn't work...
  Reply With Quote
Reply

Tags
minecraft

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:48 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.