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 


Windows 10, Dark Souls, 100% CPU

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Filly McJammin
How do I cheat?
Reputation: 0

Joined: 25 Jul 2016
Posts: 3

PostPosted: Mon Jul 25, 2016 2:36 pm    Post subject: Windows 10, Dark Souls, 100% CPU Reply with quote

Hi

I suck at Dark Souls but I wanted to play through the story and try all the mechanics. When I was running Windows 7 I was able to use a .CT file by TechnoJacker which worked perfectly. I could modify stats and change items. Then I didn't play for a while and upgraded to Windows 10. Now when I open the same .CT file I get 100% CPU usage (on one core) if I click "Yes" to run LUA scripts on start-up. If I click "No" then I'm able to edit some of the basic stats like HP but when I click the item editor then it gives an error about running the LUA script.

How can I debug the problem? Is there a way to check what part of the LUA script is causing CE to lock up?

I don't understand why it worked fine before and now doesn't work anymore. I have tried downloading a few other files where people have modified TechnoJacker's original but they all have exactly the same problem.
Back to top
View user's profile Send private message
cooleko
Grandmaster Cheater
Reputation: 11

Joined: 04 May 2016
Posts: 717

PostPosted: Mon Jul 25, 2016 10:07 pm    Post subject: Reply with quote

odds are it is the sleep, it was written for one kernel call and being executed on a different one.

Copy and paste the lua and the guys who know how to change the sleep will tell you.
Back to top
View user's profile Send private message
Filly McJammin
How do I cheat?
Reputation: 0

Joined: 25 Jul 2016
Posts: 3

PostPosted: Tue Jul 26, 2016 1:37 pm    Post subject: Reply with quote

I'm going to attach the CT file because I'm not 100% sure what exactly someone would want to look at.


DARKSOULS(notsa555).CT
 Description:

Download
 Filename:  DARKSOULS(notsa555).CT
 Filesize:  444.92 KB
 Downloaded:  663 Time(s)

Back to top
View user's profile Send private message
cooleko
Grandmaster Cheater
Reputation: 11

Joined: 04 May 2016
Posts: 717

PostPosted: Tue Jul 26, 2016 10:22 pm    Post subject: Reply with quote

that file has too many lines of code for me to evaluate voluntarily:

Maybe you could try lengthening this interval at the top of the lua file

Code:
--show main window
  ShowMainWindowTimer = createTimer(nil,false)
  timer_setInterval(ShowMainWindowTimer, 1)
  timer_onTimer(ShowMainWindowTimer, function (sender)
    object_destroy(sender)
    control_setVisible(controlMainForm,true) -- set visible
    form_setMenu(controlMainForm,nil)        -- hide menu
  end)
  timer_setEnabled(ShowMainWindowTimer, true)
--end
--]]


change the value 1, to something like 50, or 100. It will slow w/e this main window timer is down, but if it is the problem it will give you some of your cpu cycles back.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Wed Jul 27, 2016 4:07 am    Post subject: Reply with quote

also, if you accidentally upgraded dark souls (e.g an autoupdate) it will also break
_________________
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
Filly McJammin
How do I cheat?
Reputation: 0

Joined: 25 Jul 2016
Posts: 3

PostPosted: Wed Jul 27, 2016 4:08 pm    Post subject: Reply with quote

Maybe it was auto-updated at some point and now the cheat is only half-working...

cooleko, I tried setting that interval longer, which didn't seem to help, so I commented out the whole section and when I tried again, the CPU usage eventually went down to reasonable levels. I'm not sure what's going on exactly, maybe it takes a while to warm up. I'll maybe mess around with it more tomorrow. Thanks for the help Smile
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