STEAM GROUP
Hacknet Modding HacknetMod
STEAM GROUP
Hacknet Modding HacknetMod
6
IN-GAME
52
ONLINE
Founded
18 August, 2015
Code HELP!
My game keeps crashing, and I want to know of its my mission code.
It started doing this after I finished the code and put it in.

heres the code
<?xml version="1.0" encoding="UTF-8" ?> <mission id="Doritos01"> <goals> <goal type="FileDownload" target="doritosComp" file="xXx_Doritos_Passwords_xXx" path="home" /> </goals> <nextMission>NONE</nextMission> <posting title="[MLG] Git Doritos Password">Git gud and get the doritos password boi.</posting> <email> <sender>xXx_MLG-HAX0R-69_xXx</sender> <subject>Git gud and enlist</subject> <body> Thank you for enlisting in my crap. anyway wut u need to do is hax into the Doritos Database and download the file xXx_Doritos_Passwords_xXx. I will then retrive it from u m8 Wat r u waiting 4 go do it.</body> <attachments> <link comp="doritosComp" /> </attachments> </email> </mission>
< >
Showing 1-9 of 9 comments
droofdd 3 Sep, 2015 @ 1:03am 
Ermm ..We need more info..
Where did you put it, how, and what mission leads to this one ?
Fukuro 3 Sep, 2015 @ 2:38am 
More informations, indeed. Also, the computer linked is good ?
Talos 3 Sep, 2015 @ 2:44am 
Yeah we need more info, did you correctly put the files in BootLoadList.txt under Content/Computers/ ? doritosComp is an exisiting computer ?
Your xml mission seems good.
AerosolHuffer53 3 Sep, 2015 @ 2:21pm 
Originally posted by Talos:
Yeah we need more info, did you correctly put the files in BootLoadList.txt under Content/Computers/ ? doritosComp is an exisiting computer ?
Your xml mission seems good.
The computer is good, I can connect to it using the connect command.
AerosolHuffer53 3 Sep, 2015 @ 2:21pm 
Originally posted by DrToothy:
Ermm ..We need more info..
Where did you put it, how, and what mission leads to this one ?
Well, i put it in the Entropy files where the others are listed. The name is mlg1.xml
Talos 4 Sep, 2015 @ 9:26am 
Else... Just take a look at the crash report in your Hacknet folder, and if you don't understand the error just copy us the crash report between code tags and on some txt service ( pastebin )
Last edited by Talos; 4 Sep, 2015 @ 10:50am
AerosolHuffer53 4 Sep, 2015 @ 2:37pm 
Originally posted by Talos:
Else... Just take a look at the crash report in your Hacknet folder, and if you don't understand the error just copy us the crash report between code tags and on some txt service ( pastebin )
Ok.

Here's the thing:
System.Xml.XmlException

Unexpected XML declaration. The XML declaration must be the first node in the document, and
no white space characters are allowed to appear before it. Line 1, position 4.


Source : Hacknet

at Hacknet.OS.loadMissionNodes()
at Hacknet.OS.LoadContent()
at Hacknet.ScreenManager.AddScreen(GameScreen screen, Nullable`1 controllingPlayer)
at Hacknet.MainMenu.<HookUpCreationEvents>b__1(String username, String pass)
at Hacknet.UIUtils.SavefileLoginScreen.Draw(SpriteBatch sb, Rectangle dest)
at Hacknet.MainMenu.Draw(GameTime gameTime)
at Hacknet.ScreenManager.Draw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Draw(GameTime gameTime)
at Hacknet.Game1.Draw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.DrawFrame()
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
at
System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.I
MsoComponent.FDoIdle(Int32 grfidlef)

at
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMetho
ds.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32
pvLoopData)

at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason,
ApplicationContext context)

at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason,
ApplicationContext context)

at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Hacknet.Program.Main(String[] args)System.Xml.XmlException: Unexpected XML declaration.
The XML declaration must be the first node in the document, and no white space characters
are allowed to appear before it. Line 1, position 4.

at Hacknet.OS.loadMissionNodes()
at Hacknet.OS.LoadContent()
at Hacknet.ScreenManager.AddScreen(GameScreen screen, Nullable`1 controllingPlayer)
at Hacknet.MainMenu.<HookUpCreationEvents>b__1(String username, String pass)
at Hacknet.UIUtils.SavefileLoginScreen.Draw(SpriteBatch sb, Rectangle dest)
at Hacknet.MainMenu.Draw(GameTime gameTime)
at Hacknet.ScreenManager.Draw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Draw(GameTime gameTime)
at Hacknet.Game1.Draw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.DrawFrame()
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
at
System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.I
MsoComponent.FDoIdle(Int32 grfidlef)

at
System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMetho
ds.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32
pvLoopData)

at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason,
ApplicationContext context)

at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason,
ApplicationContext context)

at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Hacknet.Program.Main(String[] args)

<Flags></Flags>


Timer : 0mins
Display cache :
String Cache :


Platform API: Steam API Running :True
droofdd 5 Sep, 2015 @ 2:33am 
show us the doritosComp.xml
Talos 5 Sep, 2015 @ 4:28am 
As the error says : You have a whitespace before the xml declaration ( which leads into error state ) check your xml mission and computer and remove anything ( whitespace, comment, ... ) before the beginning of your files that
<?xml version="1.0" encoding="UTF-8" ?>
It must solve your problem.

If you want to show us your DoritosComp.xml, use some txt service as pastebin.
Last edited by Talos; 5 Sep, 2015 @ 4:30am
< >
Showing 1-9 of 9 comments
Per page: 1530 50