Request Any chance of patching ComputerCraft for 1.7.10 modpacks to fix Pastebin?

JackMacWindows

New Member
Dec 11, 2020
1
0
2
Hello,
I'm an active member of the ComputerCraft Discord server, and for a while we've had many people come in seeking help with issues with Pastebin not working on ComputerCraft versions for 1.7.10. The main reason these people are using these old versions is because it's part of modpacks; the most common one being FTB Infinity Evolved, as well as other FTB packs. We've had these questions asked so much we've added an FAQ bot to quickly pull up the solution for this problem.

To avoid people getting confused about why their downloaded programs are blank (and to reduce the number of times #computercraft gets filled with the help document), I suggest the affected modpacks patch ComputerCraft's pastebin program to fix the issue. This should not be a breaking change - none of the Java source is modified, and it's a single-line fix in a server-side-only Lua file. However, I'm not sure how the mechanics of updating the packs work, and it may not be viable to push a whole update for very old modpacks just to fix one issue.

For reference, these are the affected modpacks:
  • FTB Presents Skyfactory 2.5
  • FTB Inventions
  • FTB Resurrection (CC 1.65)
  • FTB Presents Direwolf20
  • FTB Infinity Evolved 1.7
  • FTB Infinity Evolved Skyblock
  • FTB Presents Crackpack
The gist of the fix is to open assets/computercraft/lua/rom/programs/http/pastebin in the JAR file, and replace http://pastebin.com/raw.php?i= with https://pastebin.com/raw/ on line 24. I can also supply patched files if necessary.

I understand if the FTB authors don't want to take the time to fix the issue and push an update, but it'll be a huge UX improvement for users who still like using these classic packs, and want to use ComputerCraft in them as well - especially for those who are just using CC for the first time as part of an FTB modpack. Please consider the benefits of adding this simple fix, resolving a long-standing issue in the 1.7.10 FTB modpacks.
 
Last edited: