program not working and dont know exactly why

Started by totomam, Dec 31, 2020, 07:50 AM

Previous topic - Next topic

totomam

trying to use this forest clearing code I found for mining turtle and I got it to work once, but never again. I'm typing "Pastebin run qhGN1VuQ 40" it says it's connected successfully but does absolutely nothing. is there an easy fix I can make or is this just not gonna happen? lol

https://pastebin.com/qhGN1VuQ

I'm running cc: tweaked version 1.89.1
Minecraft version 1.12.2

Lupus590

Pastebin has changed stuff a few times which has broken the mod.

Try this (read the comment at the top for download instructions) and if it doesn't work then let us know.

https://pastebin.com/wTsdw2c0

totomam

#2
I tried running it by copy paste and also by running it like I normally would. both led to the same result.
it says success then does nothing.

I'm sure I'm doing something wrong and I apologize lol, thank you for helping me.

what do I need to do differently?

https://ibb.co/H4TD6J5

https://ibb.co/DCL03w1

Lupus590

Must be the same problem that people have mentioned on the discord. I don't think there is a solid fix yet.

totomam

are there any modifications i can make to the pastebin itself to make it work/ compatible? I'm open to learning how to do this myself but I at least want to know its possible before I go farther down this rabbit hole

Lupus590

You could try this for instructions, but it will just replicate what I linked to you (I think, unless it's changed since I made that). It will tell you how to edit the pastebin program.

https://github.com/Wendelstein7/FAQBot-CC/blob/master/faqs/pastebin-pre1.8.md

totomam

oh, so there is nothing wrong with the "lumberjack turtle" program itself, its the built-in Pastebin command that needs correcting? i was looking at this problem as if since the program im trying to use is just so old its not compatible with this version of computercraft and thus would need to be modified.

ill try your suggestion and hopefully come back with glorious news. thank you again

totomam

https://ibb.co/tJ6Q6sL
https://ibb.co/VM7SWbb

sadly the same result, 1st image should be the edited Pastebin, image 2 is showing the repeated result. says success then does absolutely nothing. you said other people are having the same issue?

Inksaver

Assuming you are not using a server, have you tried: pastebin get qhGN1VuQ forest.lua
This will get it and save it as forest.lua in your saves/<world name>/computercraft/computer/<Number>/
Then just type in forest and press Enter to run it.
I note from your post: "Pastebin run qhGN1VuQ 40" pastebin is lower case, and what is the " 40" at the end of it?
The code is very simple, and does not itself use any Pastebin commands, so I do not think that is relevant here.
Sent from a computer using a keyboard and mouse.

Lupus590

@Inksaver it's a pastebin run, the 40 is an arg to whatever program is getting downloaded and ran.