Author Topic: Worked fine hours ago, now crashes on launch  (Read 1235 times)

0 Members and 1 Guest are viewing this topic.

tangentgaming

  • Youngling
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
  • Twitch Name: tangentgaming
Worked fine hours ago, now crashes on launch
« on: July 04, 2014, 10:24:03 PM »
Crashed right as I started stream. Please help :(

Error log -

04 Jul 10:17:54,734 - 0.4.2.0: Crashed    at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at DeepBot.UserConfig.LoadUserConfig()
   at DeepBot.Main..ctor()
   at DeepBot.Program.Main()
04 Jul 10:19:32,187 - 0.4.2.0: Crashed Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization.
04 Jul 10:19:32,187 - 0.4.2.0: Crashed    at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()
   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
   at DeepBot.UserConfig.LoadUserConfig()
   at DeepBot.Main..ctor()
   at DeepBot.Program.Main()

ExpertsOnline

  • Creator
  • Councilor
  • *****
  • Posts: 2656
  • Karma: +289/-24
    • View Profile
  • Twitch Name: expertsonline
Re: Worked fine hours ago, now crashes on launch
« Reply #1 on: July 04, 2014, 10:46:59 PM »
It appears your usersconfig file is corrupted. Try to restore from backups which exist in the following folders:
30min interval backups: backups/0/
6hr interval backups: backups/1/
24hr interval backups: backups/2/

To restore a backup:
Close DeepBot
rename current usersconfig.bin to usersconfig_bak.bin (This is the backup of your current database)
Find the usersconfig.bin file with the appropriate timestamp that you want to restore from the backups\ folder and copy it
Paste the file in the main folder (where the original usersconfig.bin was)
Rename the backup file to usersconfig.bin (removing the timestamp)
Start DeepBot

Regards,
Experts