Jump to content




ComputerCraft Beta Versions - Download and Discussion (1.74pr37, released June 22nd)


525 replies to this topic

#61 Engineer

  • Members
  • 1,378 posts
  • LocationThe Netherlands

Posted 06 February 2014 - 03:05 AM

 Bomb Bloke, on 06 February 2014 - 01:41 AM, said:

Is the turtle fuel cap of 5000 new to 1.6? It's a fair bit of a nerf, and seems it'll be a right annoyance for many non-excavator scripts (which otherwise wouldn't need to waste those few precious inventory slots on fuel items): I've fired off scripts that I've calculated to use over 200k fuel units, and previously all I had to do is throw in two or three inventory loads of charcoal before running them.

Now, even trying to refuel with just one stack of charcoal will result in the turtle exceeding its fuel cap (though it still deletes the fuel items it lacks room for, I see...). While I don't mind the idea of a more realistic cap (I've no idea what the limit was before - I've gone into the millions and can see that the concept gets silly after a while), would something like 100k be a bit much to ask? Or even half of that?

Edit: I see advanced turtles go up to 20k. That still seems fairly low, especially for the gold versions.
Iirc you can change it in the config.

#62 oeed

    Oversimplifier

  • Members
  • 2,095 posts
  • LocationAuckland, New Zealand

Posted 06 February 2014 - 04:59 AM

 Bomb Bloke, on 06 February 2014 - 01:41 AM, said:

Is the turtle fuel cap of 5000 new to 1.6? It's a fair bit of a nerf, and seems it'll be a right annoyance for many non-excavator scripts (which otherwise wouldn't need to waste those few precious inventory slots on fuel items): I've fired off scripts that I've calculated to use over 200k fuel units, and previously all I had to do is throw in two or three inventory loads of charcoal before running them.

Now, even trying to refuel with just one stack of charcoal will result in the turtle exceeding its fuel cap (though it still deletes the fuel items it lacks room for, I see...). While I don't mind the idea of a more realistic cap (I've no idea what the limit was before - I've gone into the millions and can see that the concept gets silly after a while), would something like 100k be a bit much to ask? Or even half of that?

Edit: I see advanced turtles go up to 20k. That still seems fairly low, especially for the gold versions.

If it's deleting fuel items when exceeding the fuel cap then definitely report that on the bug forum, that could annoy a lot of people.

5000 is very low, while I can see why a fuel cap would have been added you still have to source the fuel from somewhere. Just because you have 400k fuel doesn't mean you didn't 'pay for it' as such. If you put the fuel in through creative you probably don't want a fuel limit anyway.

#63 Bomb Bloke

    Hobbyist Coder

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

Posted 06 February 2014 - 05:29 AM

 Engineer, on 06 February 2014 - 03:05 AM, said:

Iirc you can change it in the config.
That may be the case, though I don't see any pre-defined fields to alter and a couple of (basic) web searches isn't picking anything up. Still: "Power of default", and all that. The question is whether the average ComputerCraft user is going to feel compelled to bug his server admin to change settings files or not. It may be this value suits the average coder, I just dunno.

 oeed, on 06 February 2014 - 04:59 AM, said:

If it's deleting fuel items when exceeding the fuel cap then definitely report that on the bug forum, that could annoy a lot of people.
I figured Dan'd read it here, but I suppose there's no point in chancing it.

#64 sjkeegs

  • Members
  • 75 posts

Posted 06 February 2014 - 06:59 PM

 Engineer, on 06 February 2014 - 03:05 AM, said:

Iirc you can change it in the config.
Is there a method of checking for that in code? Like checking for a turtle with fuel disabled.

#65 Bomb Bloke

    Hobbyist Coder

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

Posted 06 February 2014 - 07:12 PM

turtle.getFuelLevel() either returns the amount of fuel the turtle has, or a string stating "unlimited" if the fuel system is entirely disabled.

Edit: I misread.

Edited by Bomb Bloke, 06 February 2014 - 11:21 PM.


#66 awsmazinggenius

  • Members
  • 930 posts
  • LocationCanada

Posted 06 February 2014 - 10:38 PM

I believe in the beta turtle.getFuelLimit() (or whatever the method is named) will return nil on no fuel limit.(iirc you can edit the config for that, too).

#67 MudkipTheEpic

  • Members
  • 639 posts
  • LocationWhere you'd least expect it.

Posted 07 February 2014 - 01:49 PM

Maybe to help with the term.native backwards compatibility, you could revert term.native back to a table, and add a __call metamethod like this:
setmetatable(term.native, {
  __call=function(self)
    return self
  end
})

Edited by MudkipTheEpic, 07 February 2014 - 01:50 PM.


#68 ElvishJerricco

  • Members
  • 803 posts

Posted 07 February 2014 - 02:34 PM

 MudkipTheEpic, on 07 February 2014 - 01:49 PM, said:

Maybe to help with the term.native backwards compatibility, you could revert term.native back to a table, and add a __call metamethod like this:
setmetatable(term.native, {
  __call=function(self)
	return self
  end
})

That's... Actually kind of clever.

#69 Wojbie

  • Members
  • 631 posts
  • LocationKinda lost

Posted 07 February 2014 - 03:12 PM

Edit: Never mind original content i was idiot.

As for Fuel Level stuff this gives people a new challenge in programs - make it refuel smart way.

Edited by wojbie, 07 February 2014 - 03:15 PM.


#70 mr_taito

  • Members
  • 10 posts

Posted 12 February 2014 - 02:23 PM

I need help. I have CC 1.6pre0 put on my server (1.6.4) and it crashes when i click the computer. this report comes

Spoiler

Pls help me

Edited by mr_taito, 13 February 2014 - 12:56 PM.


#71 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,454 posts

Posted 13 February 2014 - 12:21 PM

Check out the Bug Reports thread in this section. If this bug hasn't already been posted, please post it in that topic.

#72 mr_taito

  • Members
  • 10 posts

Posted 13 February 2014 - 12:47 PM

I do it when i'm sitting on the pc

#73 sci4me

  • Members
  • 225 posts
  • LocationEarth

Posted 15 February 2014 - 05:28 PM

I get a noClassDefFoundError for dan200.turtle.api.ITurtleUpgrade even though the class is there... so... fuck

Edit: nvm, its not in the same folder.. :/

Edited by sci4me, 15 February 2014 - 05:30 PM.


#74 dan200

  • Administrators
  • 542 posts
  • LocationCambridge, England

Posted 06 March 2014 - 01:02 AM

Hey all, I've posted a new version in the OP. Hopefully most of the bugs with Computers/Turtles/Pockets' getting their identitiies crossed are fixed. Please test!

#75 masterdisasterHD

  • Members
  • 172 posts
  • LocationThe Netherlands

Posted 06 March 2014 - 07:25 AM

Hey dan200, this is not really a bug but a request, if you edit a program at the bottom you have a menu right?
if you have more then 9 lines you cant see the number properly anymore :P, can ya fix it?

Edited by masterdisasterHD, 06 March 2014 - 07:26 AM.


#76 Alekso56

  • Members
  • 62 posts

Posted 06 March 2014 - 04:12 PM

1.6pr0 > 1.6pr1 Lua Changelog:

https://github.com/a...1820caef4d241f0

Edited by Alekso56, 06 March 2014 - 10:14 PM.


#77 MCGamer20000

  • Members
  • 49 posts

Posted 06 March 2014 - 10:54 PM

Does it work in Minecraft 1.7.2? If not, when will you work on the 1.7.2 version?

#78 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,454 posts

Posted 06 March 2014 - 11:45 PM

It has been previously mentioned that the CC 1.6 release will be for 1.6.4 first, but releases following that will likely be for 1.7.2.

#79 oeed

    Oversimplifier

  • Members
  • 2,095 posts
  • LocationAuckland, New Zealand

Posted 07 March 2014 - 12:42 AM

Just to confirm, modems haven't been added to PDAs yet have they?

I've been trying to but I can't seem to find it.

#80 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,454 posts

Posted 07 March 2014 - 02:32 AM

peripheral.find("modem") returns nil on PDAs.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users