View previous topic :: View next topic |
Author |
Message |
D1g1Byt3 Cheater Reputation: 0
Joined: 02 Dec 2015 Posts: 40
|
Posted: Sat May 20, 2017 8:57 pm Post subject: Potential Bug |
|
|
I keep getting this error Code: | Error:...gram Files (x86)\Cheat Engine 6.6\autorun\monoscript.lua:334: attempt to concatenate a nil value |
Whenever I make a script and run it. Only happens with Mono games, and far as I can tell there should be no errors with the scripts. It happens with ALL games that Iv'e tried that use Mono.
|
|
Back to top |
|
|
FreeER Grandmaster Cheater Supreme Reputation: 53
Joined: 09 Aug 2013 Posts: 1091
|
Posted: Sun May 21, 2017 7:07 am Post subject: |
|
|
If I recall correctly this comes from trying to use the debugger and the mono dissector at the same time, which CE can't do for some reason... That's about the limit of my knowledge with mono however.
|
|
Back to top |
|
|
D1g1Byt3 Cheater Reputation: 0
Joined: 02 Dec 2015 Posts: 40
|
Posted: Sun May 21, 2017 11:10 am Post subject: |
|
|
It happens even if I don't use the debugger at all though. I'm just running a script I made.
|
|
Back to top |
|
|
donglord How do I cheat? Reputation: 0
Joined: 13 May 2017 Posts: 0
|
Posted: Sun May 21, 2017 11:24 am Post subject: |
|
|
Mono does some weird shit so i am not surprised, however i can't reproduce it myself.
|
|
Back to top |
|
|
D1g1Byt3 Cheater Reputation: 0
Joined: 02 Dec 2015 Posts: 40
|
Posted: Sun May 21, 2017 11:50 am Post subject: |
|
|
Two of the games I am specificly having this problem with is BioIncRedemption, and Streets of Rogue. All I did was make some simple scripts for them in Bio IncRedemption here is the script Code: | { Game : BioIncRedemption.exe
Version:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
aobscan(BIO,89 46 58 8B 46 30) // should be unique
alloc(newmem,$1000)
label(code)
label(return)
newmem:
code:
mov [esi+58], 270F
mov eax,[esi+30]
jmp return
BIO:
jmp newmem
nop
return:
registersymbol(BIO)
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
BIO:
db 89 46 58 8B 46 30
unregistersymbol(BIO)
dealloc(newmem)
{
} |
Just a change of value thats all, on the start of the game it gives you 9999 BioPoints.
Far as I know there shouldn't be anything wrong with it. It defiantly works. Its just annoying that every time I alt-tab or something that error pops up.
|
|
Back to top |
|
|
FreeER Grandmaster Cheater Supreme Reputation: 53
Joined: 09 Aug 2013 Posts: 1091
|
Posted: Sun May 21, 2017 12:08 pm Post subject: |
|
|
That script isn't even using mono... it's a basic aobscan, in other words if that's all you had then closing the game and CE and starting them back up shouldn't cause any errors in mono at all (since the error line in monoscript.lua would not run)...
If you open the monoscript.lua file you'll find that 334 is part of the function mono_addressLookupCallback(address) function which only seems to be directly referenced in LaunchMonoDataCollector (you are calling that in the scripts that use mono right? Otherwise the mono data collector isn't guaranteed to be setup).
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Sun May 21, 2017 12:14 pm Post subject: |
|
|
go to monoscript.lua at line 334 and add a check for a nil value in the concatenation there
did you activate the mono features? if so, why? your script doesn't seem to use it
_________________
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 |
|
|
D1g1Byt3 Cheater Reputation: 0
Joined: 02 Dec 2015 Posts: 40
|
Posted: Sun May 21, 2017 1:34 pm Post subject: |
|
|
Quote: | go to monoscript.lua at line 334 and add a check for a nil value in the concatenation there |
How do I do that exactly? I don't know much about lua sadly.
I had originally planned to use the mono features, and keep enabling them by habit.
Edit: Also only reason i was using Mono, was to find the function that I needed to access. So I didn't need to call it in the script.
|
|
Back to top |
|
|
|