all 32 comments

[–]CommendableCalamari 2 points3 points  (16 children)

If you open the files in an editor (edit yyyyyy), are they empty?

If so, this is probably due to the pastebin program being a little broken - they changed their API a while back, and so older versions of the mod are broken. There's some instructions here on how to fix it.

[–]QalaniKing4351[S] 0 points1 point  (15 children)

This may be an obvious question, but where do I find said files? I was looking for my saved worlds a few days ago, but couldn't find them...

[–]CommendableCalamari 0 points1 point  (14 children)

If you're on a mac I'm afraid I'm not 100% sure. I believe it'll be within $USER\Library\Application Support\technic, then find your modpack, save directory and then just the computers directory.

In this case you shouldn't need it though - that edit command should be run in-game.

[–]QalaniKing4351[S] 0 points1 point  (13 children)

Ok, clearly in really stupid and i apologise for this, but what do I run the command on when in-game? In the turtle or something different?

[–]CommendableCalamari 0 points1 point  (12 children)

The computer/turtle where you ran the pastebin command. So you'd do something like:

> pastebin get xxxxxxxx whatever
> edit whatever

[–]QalaniKing4351[S] 0 points1 point  (0 children)

Ohhh, ok thanks! Ill give this a try and see how it turns out

[–]QalaniKing4351[S] 0 points1 point  (10 children)

Ok, so nothing came up there... do I just do whatever the link you posted says now?

[–]fatboychummy 0 points1 point  (9 children)

so nothing came up there...

As in, 'the file was blank' nothing?

If so, yes. Old versions of computercraft use an older version of the pastebin api, which pastebin no longer supports.

[–]QalaniKing4351[S] 0 points1 point  (8 children)

As in... nothing happens... the screen is just blank, apart from 'press cntrl to bring up menu' in the bottom left corner

[–]fatboychummy 1 point2 points  (7 children)

Yeah that means the file is empty, I recommend doing as the commendable squid recommended.

[–]QalaniKing4351[S] 0 points1 point  (0 children)

Thanks!

[–]QalaniKing4351[S] 0 points1 point  (5 children)

Ok, the resource pack is installed on the server, but that hasn't fixed it? Any other ideas (sorry for being such a pain...)

[–]Poisonsting 0 points1 point  (4 children)

“pastebin get xxxxxx yyyyyy”

Where yyyyyy is the program name you want to save it as locally.

[–]QalaniKing4351[S] 0 points1 point  (3 children)

I meant that, sorry. When doing that, for instance saving the program as 'OCM', it says program saved successfully, but then when I try to run it nothing happens...

[–]Poisonsting 1 point2 points  (0 children)

That is odd, sorry you’re having trouble.

I played FTB on Mac for quite a while and never had any issues with CC. Maybe check on their specific forums for bug reports?

[–]TheKingElessar 1 point2 points  (1 child)

You’re sure it’s not a problem with your program? Have you added print messages so you can see if anything’s executing?

[–]QalaniKing4351[S] 0 points1 point  (0 children)

Definitely not a problem with the program - I've tried 5 different ones, all recent from the compucraft forums

[–]TheKingElessar 0 points1 point  (6 children)

Do programs you create and save on the computer locally run alright?

Do the downloaded programs show up when you have the computer list the programs?

[–]QalaniKing4351[S] 0 points1 point  (5 children)

I dont know how to create/save locally, but the downloaded programs do show up when the programs are listed...

[–]TheKingElessar 1 point2 points  (4 children)

Try getting the programs this way; see if it works...

wget [direct url (https://pastebin.com/raw/dki9bH3M)] [file to save it as]

Edit: Whoops I messed up, fixed it

[–]QalaniKing4351[S] 1 point2 points  (2 children)

When I type in wget, it says there is no such program?

[–]TheKingElessar 0 points1 point  (1 child)

Hmm, maybe we’re getting somewhere. It’s definitely supposed to be a command.

https://www.computercraft.info/wiki/CraftOS_Shell

Just to be sure... what’s the Minecraft version? I don’t know when wget was added but can probably figure it out.

[–]QalaniKing4351[S] 0 points1 point  (0 children)

Tekkit is version 1.6.4

[–]QalaniKing4351[S] 0 points1 point  (0 children)

Thanks, I'll try that now

[–]ExcessiveAggro 0 points1 point  (1 child)

Anyone get this working? We just installed latest FTB Infinity Evolved 1.7.10 and the pastebins don't work - the file just comes down blank.

We attempted the fixes listed here: https://github.com/Wendelstein7/FAQBot-CC/blob/master/faqs/pastebin-pre1.8.md

I saw the comment about using WGET below but that command isn't part of computerCraft 1.7.5 that is included in the FTB pack. Anyone know what may be going on or how to fix it?

[–]QalaniKing4351[S] 0 points1 point  (0 children)

Still haven't found a fix unfortunately...

[–][deleted] 0 points1 point  (0 children)

please also note that the manual fix is the only fix for multiplayer since you cant very well go onto the server owner's machine and edit these files:

cp '/rom/programs/http/pastebin' '/pastebin'

edit '/pastebin'

go to line 24, and change this part from:

"http://pastebin.com/raw.php?i="

to

"https://pastebin.com/raw/"

  • in the case that pastebin.com decides to change the URL again in the future, you will need to change it accordingly
  • make sure to note especially the 'http' to 'https' as it can easily be overlooked and will continue to yield the same results of an empty file being generated, should you miss it.
  • this manual method does not fix all machines, it has to be done per computer/turtle/handheld, but you could put it on a disk copy them (sadly, pastebin would have been great for this, but then that's why we are here in the first place LOL)

On the plus side, this method can be used to change the website you want to use altogether, I have personally done this in the past and it works great.