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 


Potential Bug

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
D1g1Byt3
Cheater
Reputation: 0

Joined: 02 Dec 2015
Posts: 40

PostPosted: Sat May 20, 2017 8:57 pm    Post subject: Potential Bug Reply with quote

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
View user's profile Send private message
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Sun May 21, 2017 7:07 am    Post subject: Reply with quote

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
View user's profile Send private message
D1g1Byt3
Cheater
Reputation: 0

Joined: 02 Dec 2015
Posts: 40

PostPosted: Sun May 21, 2017 11:10 am    Post subject: Reply with quote

It happens even if I don't use the debugger at all though. I'm just running a script I made.
Back to top
View user's profile Send private message
donglord
How do I cheat?
Reputation: 0

Joined: 13 May 2017
Posts: 0

PostPosted: Sun May 21, 2017 11:24 am    Post subject: Reply with quote

Mono does some weird shit so i am not surprised, however i can't reproduce it myself.
Back to top
View user's profile Send private message
D1g1Byt3
Cheater
Reputation: 0

Joined: 02 Dec 2015
Posts: 40

PostPosted: Sun May 21, 2017 11:50 am    Post subject: Reply with quote

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
View user's profile Send private message
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Sun May 21, 2017 12:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Sun May 21, 2017 12:14 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
D1g1Byt3
Cheater
Reputation: 0

Joined: 02 Dec 2015
Posts: 40

PostPosted: Sun May 21, 2017 1:34 pm    Post subject: Reply with quote

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
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