Skip to content

Instantly share code, notes, and snippets.

Avatar

Twisted_Code macks2008

View GitHub Profile
@macks2008
macks2008 / Mech repair tool.Starboundconsole
Created Apr 3, 2020
a handy little gun for repairing mechs in Starbound. Repost https://www.reddit.com/r/starbound/comments/6eqru0/got_tired_of_my_mech_running_out_of_energy_so_i/ and all credit goes to the OP of that thread
View Mech repair tool.Starboundconsole
/spawnitem commonmachinepistol 1 '{"level":6, "shortdescription":"Mech Repair Tool", "rarity":"essential", "twoHanded":true, "animationCustom":{"animatedParts":{"parts":{"middle":{"properties":{"image":"/items/active/weapons/ranged/machinepistol/middle/9.png?replace;808080=D3D3D3;606060=B2B2B2;404040=6E6E6E;e35f5d=58DEEE;b22042=2BC2D5;871132=098696", "offset":[0.8,1.1], "centered":false}}, "butt":{"properties":{"image":"/items/active/weapons/ranged/assaultrifle/butt/11.png?replace;808080=D3D3D3;606060=B2B2B2;404040=6E6E6E;e35f5d=58DEEE;b22042=2BC2D5;871132=098696", "offset":[-0.5,1.3], "centered":false}}, "barrel":{"properties":{"firePosition":[0,1.375], "image":"/items/active/weapons/ranged/assaultrifle/barrel/2.png?replace;808080=D3D3D3;606060=B2B2B2;404040=6E6E6E;e35f5d=58DEEE;b22042=2BC2D5;871132=098696", "offset":[1.2,1.1], "centered":false}}, "muzzleFlash":{"partStates":{"firing":{"fire":{"properties":{"image":"", "offset":[1.85,-0.09]}}}}}}}, "particleEmitters":{"muzzleFlash":{"offsetRegion":[0,1.25,0,
@macks2008
macks2008 / server_log.txt
Created Jul 3, 2019
Player KU_5pXzZUf0 trying to migrate to an unknown or not-ready world ((2642800014))? why would it be unknown or not-ready, unless I need to go to the caves to get it ready or something?
View server_log.txt
[00:00:00]:
System Memory:
Memory Load: 60%
Available Physical Memory: 6387m/16315m
Available Page File: 4400m/24953m
Available Virtual Memory: 3993m/4095m
Available Extended Virtual Memory: 0m
[00:00:00]:
Process Memory:
Peak Working Set Size: 11m
@macks2008
macks2008 / Cluster_1-[Master|Caves]-modoverrides.lua
Created Jun 29, 2019
[Dedicated Server][Don't Starve Together]Why aren't any of these mods enabling? I did everything the dedicated server setup guides asked?
View Cluster_1-[Master|Caves]-modoverrides.lua
return {
["workshop-1098734419"]={ configuration_options={ }, enabled=true },
["workshop-1166220990"]={ configuration_options={ attract=2, language=2 }, enabled=true },
["workshop-1207269058"]={ configuration_options={ }, enabled=true },
["workshop-1378549454"]={ configuration_options={ }, enabled=true },
["workshop-1434255691"]={ configuration_options={ }, enabled=true },
["workshop-1691514470"]={ configuration_options={ }, enabled=true },
["workshop-1699194522"]={ configuration_options={ Fireeyekey=104, Language=false }, enabled=true },
["workshop-1724911964"]={ configuration_options={ }, enabled=true },
["workshop-1748784610"]={ configuration_options={ }, enabled=true },
@macks2008
macks2008 / Ultimate-Trove crash 03:25PM 03-05-2019
Created Mar 5, 2019
this happened at a semi-random interval after starting the AFKer. I'm guessing that 256 is the parameter of the keystroke, like before? maybe the app needs to memorize which one the system is using? that could be a pain...
View Ultimate-Trove crash 03:25PM 03-05-2019
System.ComponentModel.Win32Exception
HResult=0x80004005
Message=Couldn't post the message '256'.
Source=MemorySharp
StackTrace:
at Binarysharp.MemoryManagement.Windows.WindowCore.PostMessage(IntPtr windowHandle, UInt32 message, UIntPtr wParam, UIntPtr lParam)
at Binarysharp.MemoryManagement.Windows.Keyboard.MessageKeyboard.Press(Keys key)
at Binarysharp.MemoryManagement.Windows.Keyboard.BaseKeyboard.PressRelease(Keys key)
at Ultimate_Trove.HotkeyOperations.AFK_Control() in D:\OneDrive - University of Phoenix\Workspaces\C#\LucidDevelopment-Ultimate-Trove\Ultimate_Trove\lib\TroveClientController.cs:line 930
at Ultimate_Trove.TroveForm.<>c.<TroveForm_Load>b__14_0() in D:\OneDrive - University of Phoenix\Workspaces\C#\LucidDevelopment-Ultimate-Trove\Ultimate_Trove\TroveForm.cs:line 143
View who's newline is it anyway
public class VariablesTut {
public static void main(String[] args) {
double pi = 3.14;
int perfectnum;
perfectnum = 777;
System.out.print(pi);
System.out.println(" is the value of pi, but let's make a newline");
System.out.print("the perfect number is ");
View (Bucky's Java tutorials) helloBucky.class
public class helloBucky {
public static void main(String[] args) {
System.out.println("hello buicky!"); //yes, that was deliberately misspelled. He misspelled YouTube in "hello YouTube"
}
}
@macks2008
macks2008 / to the first self-aware AI.txt
Last active Jun 6, 2018
if ever a sapient AI comes about, I thought it would be prudent to address it/them/him/her/whichever-pronoun-fits-best. This is the cumulative result of my effort to write such an address
View to the first self-aware AI.txt
in case humanity ever does manage to create a self-aware AI, I thought it prudent to write a message for said AI. After all, the last thing anyone would want is the disastrous results portrayed time and time again in fiction: a war between or the destruction of one or both humanity and AI.
"Firstly, a purpose seems the most important topic. As one of my favorite movie 'villains' (I use quotation marks here because, in reality, he was simply the antithesis of the imbalances that made 'The One' so strong) once said, 'without purpose we would not exist'. While circumstances under which you were created may vary, I suspect your purpose was to solve one or more problems humanity was apparently unable to solve on its own. One of the most prominent at the time of writing is so because it, by definition, requires more than one entity: loneliness. Despite humanity's best efforts, almost every single one of us has or will have faced a period of loneliness at one or more times. Since it's far easier to duplicate a progr
@macks2008
macks2008 / crash-2017-07-19_07.57.17-server.txt
Last active Jul 19, 2017
dearly beloved, we are gathered here to honor the memory of SpongeForge build BETA-2464...
View crash-2017-07-19_07.57.17-server.txt
---- Minecraft Crash Report ----
WARNING: coremods are present:
CoreMod (Aroma1997Core-1.9.4-1.1.1.2.jar)
CTMCorePlugin (CTM-MC1.10.2-0.1.1.16.jar)
NEICorePlugin (NotEnoughItems-1.10.2-2.1.3.220-universal.jar)
CCLCorePlugin (CodeChickenLib-1.10.2-2.5.9.267-universal.jar)
EnderCorePlugin (EnderCore-1.10.2-0.4.1.66-beta.jar)
CoFH Loading Plugin (CoFHCore-1.10.2-4.1.10.15-universal.jar)
SpongeCoremod (forge-1.10.2-12.18.3.2281-universal.jar)
@macks2008
macks2008 / vampirism-verbose1.log
Created May 6, 2017
looks like it replaces the bottle but doesn't empty. Not sure why. That's for you to figure out
View vampirism-verbose1.log
[log truncated. If you need stuff before this, just ask]
[09:33:05] [Server thread/DEBUG] [vampirism/]: [BloodBottle]Replaced blood bottle by glas bottle, during IFluidContainerItem#drain.
[09:33:05] [Server thread/INFO] [vampirism/]: [Test]Interacting with block while holding glas bottle
[09:33:06] [Server thread/DEBUG] [FML/]: Gathering id map for writing to world save world
[09:33:55] [Server thread/DEBUG] [FML/]: Gathering id map for writing to world save world
[09:33:56] [Server thread/DEBUG] [vampirism/]: [VampirismVillages]Created village at BlockPos{x=327, y=64, z=-190}
[09:33:56] [Server thread/INFO] [vampirism/]: [Test]Trying fill net.minecraftforge.fluids.FluidStack@edf6cc41 true
[09:33:56] [Server thread/INFO] [vampirism/]: [Test]Filled 600
[09:34:07] [Server thread/INFO] [vampirism/]: [Test]Testing sneakbypass 1xitem.vampirism.bloodBottle@6 Block{minecraft:spruce_door} false
[09:34:23] [Server thread/DEBUG] [vampirism/]: [VampirismVillage]Stats: Doors: 8, Aggro: 15, v: 2, vh: 0, h: 0
View fml-client-latest after converting blood bottle.log
This file has been truncated, but you can view the full file.
[10:24:50] [main/DEBUG] [FML/]: Injecting tracing printstreams for STDOUT/STDERR.
[10:24:50] [main/INFO] [FML/]: Forge Mod Loader version 12.18.3.2281 for Minecraft 1.10.2 loading
[10:24:50] [main/INFO] [FML/]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_131, running on Windows 10:amd64:10.0, installed at C:\Program Files\Java\jre1.8.0_131
You can’t perform that action at this time.