Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


CE 7.6 unhandled exceptions...

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Meiyoh
Master Cheater
Reputation: 1

Joined: 14 Mar 2015
Posts: 407

PostPosted: Fri Feb 13, 2026 7:22 am    Post subject: CE 7.6 unhandled exceptions... Reply with quote

like i start the tool and it says " do you want to restore " and when i click yes it boots again with ADMIN run promt and does ntohing.

Never used such a crappy version of the tool. Is there a way to rrevet to CR.75. or older builds?


Ohh gosh did i wrote this when i got again hit by a crash with lost of table progress luckily I now always write stuff to NOTEPAD before writing it in CE...

yeah

_________________
I am the forgotten one the dead one.


Last edited by Meiyoh on Fri Feb 13, 2026 11:07 am; edited 1 time in total
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 472

Joined: 09 May 2003
Posts: 25875
Location: The netherlands

PostPosted: Fri Feb 13, 2026 10:24 am    Post subject: Reply with quote

try to give more detailed info. Which unhanded exception occurs at what time.

as for autosave showing before the admin launch screen, edit autosave.lua and fore "local oldMainFormOnClose=MainForm.OnClose" put

Code:

MainForm.registerFirstShowCallback(function()
  --only init when loaded


and at the end place an extra "end"

e.g. it'll look like this
Code:

MainForm.registerFirstShowCallback(function()
  --only init when loaded

  local oldMainFormOnClose=MainForm.OnClose
  MainForm.OnClose=function(s, ca)
    AutoSaveSettings['ProcessID']=nil --CE was properly closed
    if oldMainFormOnClose then
      return oldMainFormOnClose(s, ca)
    else
      return ca
    end
  end


  --add settings menu
  local sf=getSettingsForm()
  autosave.settingsTab=sf.SettingsPageControl.addTab()

  autosave.settingsEdtInterval=createEdit(autosave.settingsTab)
  autosave.settingsEdtInterval.Text=AutoSaveSettings['Interval']
  autosave.settingsEdtInterval.Align='alTop'

  autosave.settingsLblInterval=createLabel(autosave.settingsTab)
  autosave.settingsLblInterval.Caption=translate('Auto Save Interval (In seconds. 0 is disabled)')
  autosave.settingsLblInterval.Align='alTop'

  local insertNode=sf.SettingsTreeView.Items[3]
  local node=sf.SettingsTreeView.Items.insert(insertNode, translate("Auto Save"))
  node.data=userDataToInteger(autosave.settingsTab)

  local originalSettingsCloseEvent=sf.OnClose
  sf.OnClose=function(s, closeAction)
   
    local r=closeAction
    if originalSettingsCloseEvent then
      r=originalSettingsCloseEvent(s, closeAction)
    end
   
    if s.ModalResult==mrOK then
      --apply change
      AutoSaveSettings['Interval']=autosave.settingsEdtInterval.Text
     
      autosave.applySettings()
    end
    return r
  end


  --check if there is an autosave waiting to be loaded

  pid=AutoSaveSettings['ProcessID']
  if (pid) and (pid ~= '') and (getProcessList()[tonumber(pid)]==nil) then
    --The noted down processid does not exist anymore. CE crashed.  Ask to load the autosave
    AutoSaveSettings['ProcessID']=nil
   
    if messageDialog(translate('Cheat Engine did not properly close last time. Do you wish to restore your work?'), mtInformation, mbYes, mbNo)==mrYes then
      autosave.loadState()   
    end
  end


  --start the autosave timer(if needed)
  autosave.applySettings()
end)



Also, autosave not working in this case isn't that bad as the unhandled exception triggered a manual table save as well saving the last state to
C:\Users\<yourname>\Documents\My Cheat Tables\ExceptionAutoSave_yourtablename.ct

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Meiyoh
Master Cheater
Reputation: 1

Joined: 14 Mar 2015
Posts: 407

PostPosted: Fri Feb 13, 2026 11:04 am    Post subject: Reply with quote

Nah Eric i am an old ranting angry modder when he looses progress rants and all else . CE is a great tool just dont know what is happening maybe because i am on WIN 11 and not the good old 10. Smile


I will try those and fi need report in a proper respectful manner. Duh what a douchebag I am when i loose my nerves.

_________________
I am the forgotten one the dead one.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites