View previous topic :: View next topic |
Author |
Message |
boxeater How do I cheat? Reputation: 0
Joined: 07 Jan 2019 Posts: 4
|
Posted: Wed Apr 03, 2019 1:08 am Post subject: DMC4SE got an update and now these CT's get a strange error |
|
|
I'm an extreme newbie at all this, to understand using these programs the way you do, would be like an average audience member looking at matrix code floating and be like "yep, that a brunette person there"
but anyway, I had two different tables and after an update that I heard added Chinese language support, now gives this exact error for both tables
Quote: | Error:[string "function autoset(entries, str_entry_descripti..."]:19: attempt to concatenate a nil value (global 'TrainerOrigin') |
I goggled every where and cannot even find this exact error anywhere.
it could be how both tables are scripted, but knowing what to edit numbers and letter to is nightmare when you don't know what youre even looking for.
also when I get this error and link the procress to the game, the game will crash and close upon trying to move once loaded into a level, and/or CE will actually lock up and crash itself.
looking through the LUA scripts one of them uses, I saw this which caught my eye.
local file = io.open(favoritesfile, "r")
if file ~= nil then
for line in io.lines(favoritesfile) do
autoset(records, line)
end
end
end
this might lead to something, but unfortunately im a tolder at this stuff, I just need sum education.
I can't attach any files or even link where said files came from so someone else could examine them. rip
|
|
Back to top |
|
|
TheyCallMeTim13 Wiki Contributor Reputation: 50
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Wed Apr 03, 2019 4:47 am Post subject: |
|
|
CELua.txt:
Quote: |
TrainerOrigin : A variable that contains the path of the trainer that launched cheat engine (Only set when launched as a trainer) |
Is it a trainer or a table?
Are you opening the table, or CE then the table?
_________________
|
|
Back to top |
|
|
boxeater How do I cheat? Reputation: 0
Joined: 07 Jan 2019 Posts: 4
|
Posted: Wed Apr 03, 2019 3:21 pm Post subject: |
|
|
TheyCallMeTim13 wrote: | CELua.txt:
Is it a trainer or a table?
Are you opening the table, or CE then the table? |
it's a table and I've tried opening either or first, it's as soon as the process is attached that I get the error.
It was only after the game updated and I know that can easily mess with scripts and coding if not done right, though I can't blame the makers because no one expected this game to update.
I'll try to cheese this but I don't have a lot of time, if you can piece this together you can get access to the tables, both are structurally different but they give me the same problem.
fearlessrevolution com
viewtopic. php?f=4&t=1637
----------------------------------------
fearlessrevolution . com
viewtopic . php?t=1132
|
|
Back to top |
|
|
TheyCallMeTim13 Wiki Contributor Reputation: 50
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Wed Apr 03, 2019 4:10 pm Post subject: |
|
|
Looking here: http://fearlessrevolution.com/viewtopic.php?t=1132
Looks like you can just remove the "TrainerOrigin" part, no need for a full file path so long as you open the table file directly and not CE then the table.
so replace this:
Code: |
function autoenable_favorites()
--This means the trainer will read in a text file from the same directory.
--You can edit or append to this if
--you wish to store files in a different folder instead.
local favoritesfile = TrainerOrigin .. "favorites.txt"
local records = getAddressList()
local file = io.open(favoritesfile, "r")
if file ~= nil then
for line in io.lines(favoritesfile) do
autoset(records, line)
end
end |
With this:
Code: |
function autoenable_favorites()
--This means the trainer will read in a text file from the same directory.
--You can edit or append to this if
--you wish to store files in a different folder instead.
local favoritesfile = "favorites.txt"
local records = getAddressList()
local file = io.open(favoritesfile, "r")
if file ~= nil then
for line in io.lines(favoritesfile) do
autoset(records, line)
end
end |
_________________
|
|
Back to top |
|
|
boxeater How do I cheat? Reputation: 0
Joined: 07 Jan 2019 Posts: 4
|
Posted: Wed Apr 03, 2019 7:22 pm Post subject: |
|
|
TheyCallMeTim13 wrote: | so long as you open the table file directly and not CE then the table. |
I gave this a try along with changing the code and the message went away,
although a lot of cheats no longer work checking the boxes has no effect as if it weren't linked, unless I check the "nullify DT gauge costs" any time I try playing with that on, the game immediately crashes and so does CE, forcing me to close it via task manager.
I found there was another script that included the "origin" line
Quote: | function finit_options(separator) --from file if found
local filename = TrainerOrigin.."d3dmenu-ops.txt"
local file = io.open(filename, "r")
if file == nil then
return false
end |
should this be changed as well?
I also noticed looking at the Lua script that a lot of the table related stuff wasn't there, but maybe it's supposed to be like that.
|
|
Back to top |
|
|
TheyCallMeTim13 Wiki Contributor Reputation: 50
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Thu Apr 04, 2019 2:10 am Post subject: |
|
|
Yeah you can remove that as well, it just makes the trainer use a full file path. But a local one works fine and will just use the current working directory. And the table uses static addresses for the injections, so these tend to change with any update. You can look at converting it to use AOB scans, but the original table doesn't have much of the original code documented and no original bytes so you'll most likely need to refined everything.
_________________
|
|
Back to top |
|
|
boxeater How do I cheat? Reputation: 0
Joined: 07 Jan 2019 Posts: 4
|
Posted: Fri Apr 05, 2019 11:11 am Post subject: |
|
|
if I remember right, you're the one who made the mgsv table that I use, and I had an issue with AOB things on it before that I fixed by verifying the steam game files, I was hoping the same would work for dmc4se but nope.
Fixing these tables sounds like you'd need to either re-scan everything and recreate scripts which is difficult for someone who doesn't understand computer language completely, at least from what ive seen
(ex. I see some English scripts where it will be somewhat like "if X__ gets Y___ then apply B___ to happen, otherwise run C__" but yet its not as simple as typing "Make X__ Fly during Z___")
|
|
Back to top |
|
|
TheyCallMeTim13 Wiki Contributor Reputation: 50
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
|
Back to top |
|
|
Scott Memelord How do I cheat? Reputation: 0
Joined: 25 Jul 2019 Posts: 1 Location: America
|
Posted: Thu Jul 25, 2019 8:00 am Post subject: |
|
|
I hate to necro, but I pretty much have the same problem. I'm also unfortunately a dipshit when it comes to CE. I literally just wanted the character swapping scripts so I can play through the whole game as Dante. That's all I wanted, but sadly the table is bricked.
I hate to ask, but if I could get some help that'd be great. Mostly because there's so little support, most of the tables or trainers I found haven't been updated for a whole year. So yeah, I have no idea where to even begin with this.
|
|
Back to top |
|
|
|