STEAM 组
Hacknet Modding HacknetMod
STEAM 组
Hacknet Modding HacknetMod
13
游戏中
68
在线
成立于
2015 年 8 月 18 日
所有讨论 > 综合讨论 > 主题详情
TempleOS 2015 年 9 月 2 日 下午 1:45
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>
< >
正在显示第 1 - 9 条,共 9 条留言
droofdd 2015 年 9 月 3 日 上午 1:03 
Ermm ..We need more info..
Where did you put it, how, and what mission leads to this one ?
Fukuro 2015 年 9 月 3 日 上午 2:38 
More informations, indeed. Also, the computer linked is good ?
Talos 2015 年 9 月 3 日 上午 2:44 
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.
TempleOS 2015 年 9 月 3 日 下午 2:21 
引用自 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.
TempleOS 2015 年 9 月 3 日 下午 2:21 
引用自 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 2015 年 9 月 4 日 上午 9:26 
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 )
最后由 Talos 编辑于; 2015 年 9 月 4 日 上午 10:50
TempleOS 2015 年 9 月 4 日 下午 2:37 
引用自 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 2015 年 9 月 5 日 上午 2:33 
show us the doritosComp.xml
Talos 2015 年 9 月 5 日 上午 4:28 
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.
最后由 Talos 编辑于; 2015 年 9 月 5 日 上午 4:30
< >
正在显示第 1 - 9 条,共 9 条留言
每页显示数: 1530 50

所有讨论 > 综合讨论 > 主题详情