Skip to content

Commit 063d095

Browse files
committed
2.0 Beta
Added 14 new commands Fixed a few bugs Renamed a few things Made a changelog
1 parent cd61686 commit 063d095

File tree

3 files changed

+56
-29
lines changed

3 files changed

+56
-29
lines changed

DebugMod/Commands.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1053,11 +1053,11 @@ public static bool Quit(Hacknet.OS os, List<string> args)
10531053
public static bool DeleteLogs(Hacknet.OS os, List<string> args)
10541054
{
10551055
Computer computer = Programs.getComputer(os, args[1]);
1056-
Console.WriteLine("Computer object obtained");
1056+
//Console.WriteLine("Computer object obtained");
10571057
Folder folder = computer.files.root.searchForFolder("log");
1058-
Console.WriteLine("Folder object obtained");
1058+
//Console.WriteLine("Folder object obtained");
10591059
folder.files.Clear();
1060-
Console.WriteLine("Deleted all logs");
1060+
//Console.WriteLine("Deleted all logs");
10611061
return false;
10621062
}
10631063
public static bool ForkbombProof(Hacknet.OS os, List<string> args)

DebugMod/DebugMod.cs

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -76,32 +76,33 @@ public void LoadContent()
7676
Command.Handler.AddCommand("nodeRestore", Commands.NodeRestore, autoComplete:false); // Unknown
7777
Command.Handler.AddCommand("addWhiteCircle", Commands.AddRestoreCircle, autoComplete:false); // Works
7878
Command.Handler.AddCommand("whitelistBypass", Commands.WhitelistBypass, autoComplete:false); // Works
79-
Command.Handler.AddCommand("setTheme", Commands.SetTheme, autoComplete:false);
80-
Command.Handler.AddCommand("setCustomTheme", Commands.SetCustomTheme, autoComplete:false);
81-
Command.Handler.AddCommand("linkComputer", Commands.LinkComputer, autoComplete:false);
82-
Command.Handler.AddCommand("unlinkComputer", Commands.UnlinkComputer, autoComplete:false);
83-
Command.Handler.AddCommand("loseAllNodes", Commands.LoseAllNodes, autoComplete:false);
84-
Command.Handler.AddCommand("loseNode", Commands.LoseNode, autoComplete:false);
85-
Command.Handler.AddCommand("revealNode", Commands.RevealNode, autoComplete:false);
86-
Command.Handler.AddCommand("removeComputer", Commands.RemoveComputer, autoComplete:false);
87-
Command.Handler.AddCommand("resetIP", Commands.ResetIP, autoComplete:false);
88-
Command.Handler.AddCommand("resetPlayerCompIP", Commands.ResetPlayerCompIP, autoComplete:false);
89-
Command.Handler.AddCommand("setIP", Commands.SetIP, autoComplete:false);
90-
Command.Handler.AddCommand("showFlags", Commands.ShowFlags, autoComplete: false);
91-
Command.Handler.AddCommand("addFlag", Commands.AddFlag, autoComplete: false);
92-
Command.Handler.AddCommand("removeFlag", Commands.RemoveFlag, autoComplete: false);
93-
Command.Handler.AddCommand("authenticateToIRC", Commands.AuthenticateToIRC, autoComplete: false);
94-
Command.Handler.AddCommand("addAgentToIRC", Commands.AddAgentToIRC, autoComplete: false);
95-
Command.Handler.AddCommand("setCompPorts", Commands.SetCompPorts, autoComplete: false);
96-
//Command.Handler.AddCommand("removePortFromComp", Commands.RemovePortFromComp, autoComplete: false);
97-
Command.Handler.AddCommand("addSongChangerDaemon", Commands.AddSongChangerDaemon, autoComplete: false);
98-
Command.Handler.AddCommand("addRicerConnectDaemon", Commands.AddRicerConnectDaemon, autoComplete: false);
99-
Command.Handler.AddCommand("addDLCCreditsDaemon", Commands.AddDLCCreditsDaemon, autoComplete: false);
100-
Command.Handler.AddCommand("addIRCDaemon", Commands.AddIRCDaemon, autoComplete: false);
101-
Command.Handler.AddCommand("addISPDaemon", Commands.AddISPDaemon, autoComplete: false);
102-
Command.Handler.AddCommand("quit", Commands.Quit, autoComplete: false);
103-
Command.Handler.AddCommand("deleteLogs", Commands.DeleteLogs, autoComplete: false);
104-
Command.Handler.AddCommand("forkbombProof", Commands.ForkbombProof, autoComplete: false);
79+
Command.Handler.AddCommand("setTheme", Commands.SetTheme, autoComplete:false); // Works
80+
Command.Handler.AddCommand("setCustomTheme", Commands.SetCustomTheme, autoComplete:false); // Works
81+
Command.Handler.AddCommand("linkComputer", Commands.LinkComputer, autoComplete:false); // Works
82+
Command.Handler.AddCommand("unlinkComputer", Commands.UnlinkComputer, autoComplete:false); // Works
83+
Command.Handler.AddCommand("loseAllNodes", Commands.LoseAllNodes, autoComplete:false); // Works
84+
Command.Handler.AddCommand("loseNode", Commands.LoseNode, autoComplete:false); // Works
85+
Command.Handler.AddCommand("revealNode", Commands.RevealNode, autoComplete:false); // Works
86+
Command.Handler.AddCommand("removeComputer", Commands.RemoveComputer, autoComplete:false); // Works
87+
Command.Handler.AddCommand("resetIP", Commands.ResetIP, autoComplete:false); // Works
88+
Command.Handler.AddCommand("resetPlayerCompIP", Commands.ResetPlayerCompIP, autoComplete:false); // Works
89+
Command.Handler.AddCommand("setIP", Commands.SetIP, autoComplete:false); // Works
90+
91+
Command.Handler.AddCommand("showFlags", Commands.ShowFlags, autoComplete: false); // Works
92+
Command.Handler.AddCommand("addFlag", Commands.AddFlag, autoComplete: false); // Works
93+
Command.Handler.AddCommand("removeFlag", Commands.RemoveFlag, autoComplete: false); // Works
94+
Command.Handler.AddCommand("authenticateToIRC", Commands.AuthenticateToIRC, autoComplete: false); // Works
95+
Command.Handler.AddCommand("addAgentToIRC", Commands.AddAgentToIRC, autoComplete: false); // Works
96+
Command.Handler.AddCommand("setCompPorts", Commands.SetCompPorts, autoComplete: false); // Works
97+
//Command.Handler.AddCommand("removePortFromComp", Commands.RemovePortFromComp, autoComplete: false); Replaced with setCompPorts
98+
Command.Handler.AddCommand("addSongChangerDaemon", Commands.AddSongChangerDaemon, autoComplete: false); // Works
99+
Command.Handler.AddCommand("addRicerConnectDaemon", Commands.AddRicerConnectDaemon, autoComplete: false); // Works
100+
Command.Handler.AddCommand("addDLCCreditsDaemon", Commands.AddDLCCreditsDaemon, autoComplete: false); // Works
101+
//Command.Handler.AddCommand("addIRCDaemon", Commands.AddIRCDaemon, autoComplete: false);
102+
Command.Handler.AddCommand("addISPDaemon", Commands.AddISPDaemon, autoComplete: false); // Works
103+
Command.Handler.AddCommand("quit", Commands.Quit, autoComplete: false); // Works
104+
Command.Handler.AddCommand("deleteLogs", Commands.DeleteLogs, autoComplete: false); // Works
105+
Command.Handler.AddCommand("forkbombProof", Commands.ForkbombProof, autoComplete: false); // Works
105106
}
106107

107108
}

README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,33 @@ Use this at your own risk, this may corrupt saves.
1818

1919
# Beta Commands:
2020

21+
showFlags - Shows all the flags for save
2122

23+
addFlag - Adds a flag to the save: Usage: addFlag (FlagToAdd)
24+
25+
removeFlag - Removes a flag from the save: Usage: removeFlag (FlagToRemove)
26+
27+
authenticateToIRC - Shows IRC Authentication screen when you connect to IRC
28+
29+
addAgentToIRC - Adds an agent to IRC: Usage: addAgentToIRC (NameORIDORIP) (AgentName) (AgentPassword) (AgentColourRed) (AgentColourBlue) (AgentColourGreen)
30+
31+
setCompPorts - Sets the ports of the computer to what you input: Usage: setCompPorts (NameORIDORIP) (Port eg. 21,25,22,80 (This will remove all ports then add 21,25,22,80))
32+
33+
addSongChangerDaemon - Adds the song changer like the credits server had: Usage: addSongChanger (NameORIDORIP)
34+
35+
addRicerConnectDaemon - Adds the connect screen like ricer had: Usage: addRicerConnect (NameORIDORIP)
36+
37+
addDLCCreditsDaemon - Adds the dlc credits screen like Kaguya_Projects had: Usage: addDLCCredits (NameORIDIORIP)
38+
39+
addIRCDaemon - A bit buggy currently, this one will come in the stable release of 2.0
40+
41+
addISPDaemon - Adds the ISP Management like ISP Management Server had: Usage: addISPDaemon (NameORIPORID)
42+
43+
quit - Exits the game
44+
45+
deleteLogs - Auto deletes logs from the computer in argument 1: Usage: deleteLogs (NameORIPORID)
46+
47+
forkbombProof - Makes you forkbomb proof by setting your ram 1 above the forkbomb (1000000000) ram target
2248

2349
# New Commands:
2450

0 commit comments

Comments
 (0)