View previous topic :: View next topic |
Author |
Message |
Filly McJammin How do I cheat? Reputation: 0
Joined: 25 Jul 2016 Posts: 3
|
Posted: Mon Jul 25, 2016 2:36 pm Post subject: Windows 10, Dark Souls, 100% CPU |
|
|
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 |
|
|
cooleko Grandmaster Cheater Reputation: 11
Joined: 04 May 2016 Posts: 717
|
Posted: Mon Jul 25, 2016 10:07 pm Post subject: |
|
|
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 |
|
|
Filly McJammin How do I cheat? Reputation: 0
Joined: 25 Jul 2016 Posts: 3
|
Posted: Tue Jul 26, 2016 1:37 pm Post subject: |
|
|
I'm going to attach the CT file because I'm not 100% sure what exactly someone would want to look at.
Description: |
|
Download |
Filename: |
DARKSOULS(notsa555).CT |
Filesize: |
444.92 KB |
Downloaded: |
663 Time(s) |
|
|
Back to top |
|
|
cooleko Grandmaster Cheater Reputation: 11
Joined: 04 May 2016 Posts: 717
|
Posted: Tue Jul 26, 2016 10:22 pm Post subject: |
|
|
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 |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25288 Location: The netherlands
|
Posted: Wed Jul 27, 2016 4:07 am Post subject: |
|
|
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 |
|
|
Filly McJammin How do I cheat? Reputation: 0
Joined: 25 Jul 2016 Posts: 3
|
Posted: Wed Jul 27, 2016 4:08 pm Post subject: |
|
|
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
|
|
Back to top |
|
|
|