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 


CEnhancer - Improvements for CE's inbuilt functions
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting -> Lua Extensions
View previous topic :: View next topic  
Author Message
predprey
Master Cheater
Reputation: 15

Joined: 08 Oct 2015
Posts: 366

PostPosted: Tue Feb 28, 2017 4:23 pm    Post subject: This post has 1 review(s) Reply with quote

9. Batch Edit Dropdown List
- Details see first post.

Owing to DDLEditor being too cumbersome and poorly received, here's an extension which work in a similar way to Group Config. I recommend using it together with mgr.inz.Player's Extra Memory Record Info to easily check for dropdown lists.



Batch Edit Dropdown List.lua
 Description:

Download
 Filename:  Batch Edit Dropdown List.lua
 Filesize:  1.79 KB
 Downloaded:  510 Time(s)



Last edited by predprey on Mon Mar 06, 2017 5:00 am; edited 2 times in total
Back to top
View user's profile Send private message
akumakuja28
Master Cheater
Reputation: 16

Joined: 28 Jun 2015
Posts: 432

PostPosted: Tue Feb 28, 2017 4:38 pm    Post subject: Reply with quote

Very cool man. THru ya a rep

https://www.dropbox.com/s/bm5bszu1xxkjfeh/Batch%20Edit%20Dropdown%20List.lua?dl=0

make tht 0 a 1 and its direct download.

_________________
Back to top
View user's profile Send private message
predprey
Master Cheater
Reputation: 15

Joined: 08 Oct 2015
Posts: 366

PostPosted: Tue Feb 28, 2017 4:42 pm    Post subject: Reply with quote

akumakuja28 wrote:
Very cool man. THru ya a rep

https://www.dropbox.com/s/bm5bszu1xxkjfeh/Batch%20Edit%20Dropdown%20List.lua?dl=0

make tht 0 a 1 and its direct download.


nice, didn't know that. thanks
Back to top
View user's profile Send private message
OGScrub
Newbie cheater
Reputation: 0

Joined: 23 Dec 2014
Posts: 16
Location: Murica'

PostPosted: Sun Mar 05, 2017 11:21 am    Post subject: Reply with quote

predprey wrote:
9. Batch Edit Dropdown List
- Details see first post.

Owing to DDLEditor being too cumbersome and poorly received, here's an extension which work in a similar way to Group Config. I recommend using it together with mgr.inz.Player's Extra Memory Record Info to easily check for dropdown lists.

Download


Are your links meant for me? Cuz I see Hitler in red with big letters? ( ͡ ͜ʖ ͡)

_________________
I are OG Scrub, Be prepared to see me ask foggy/half answered questions of things I forgot long ago. #noskill #herebenoobz
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 75

Joined: 29 Oct 2010
Posts: 3660

PostPosted: Sun Mar 05, 2017 4:04 pm    Post subject: Reply with quote

OGScrub-
http://forum.cheatengine.org/viewtopic.php?t=473706
Back to top
View user's profile Send private message
Merlini
Advanced Cheater
Reputation: 2

Joined: 12 Jun 2016
Posts: 53

PostPosted: Sat Apr 08, 2017 2:00 am    Post subject: Reply with quote

Hey Predprey,

I'm using your external editor (EE) mod whenever I make any script,
and it's working perfectly.
But, in order for me to check if everything is working via CE,
I save my work in my EE, then re-open it in CE editor and press OK.
If there is something wrong, CE will point me to the place where I made
the error, otherwise it'll simply close.

I was wondering if there is a way to bind a shortcut for that process -
i.e. bind say "f" to open the selected script in CE editor, and then press OK.
Maybe the better way would be to identify the call for checking CE script,
then pop up the error message, but I'm not sure if that kind of function
is exposed to LUA in the first place.

This isn't anything urgent, but if your time is available,
your insight/mod would be much appreciated.

Thank you.

=====
I know nothing of Pascal but from a source code of CE I've downloaded
before, I see this in the frmautoinjectunit.pas

try
check:=autoassemble(assemblescreen.lines,false,true,true,injectintomyself,aa,registeredsymbols) and
autoassemble(assemblescreen.lines,false,false,true,injectintomyself,aa,registeredsymbols);

if not check then
errmsg:=format(rsNotAllCodeIsInjectable,['']);
except
on e: exception do
begin
check:=false;
errmsg:=format(rsNotAllCodeIsInjectable,['('+e.Message+')']);
end;
end;

So it looks like pressing OK is doing a try/except on
the autoassemble function. Now if I can just figure out how to
call that function from lua...
Back to top
View user's profile Send private message
Merlini
Advanced Cheater
Reputation: 2

Joined: 12 Jun 2016
Posts: 53

PostPosted: Mon Apr 10, 2017 7:10 pm    Post subject: Reply with quote

Darkbyte just added a new feature that makes the syntax checking almost trivial in your external editor lua script.

Inside extEditCheckChange function I've added:
Code:
       
local checkEnable, errMsgEnable = autoAssembleCheck(scriptString.Text, true)
local checkDisable, errMsgDisable = autoAssembleCheck(scriptString.Text, false)
if not checkEnable then
    showMessage(errMsgEnable)
elseif not checkDisable then
    showMessage(errMsgDisable)
end



Whenever I save in my editor and there is an error, now it will popup
a message box with faulty code's line number and compilation error.

When the next CE version that includes autoAssembleCheck is released,
could you please add some variation of this to your external editor script?
Your EE script is the one script that I'll take to my
cheat engine grave and the syntax checking makes is so much better.

Thanks predprey.
Back to top
View user's profile Send private message
predprey
Master Cheater
Reputation: 15

Joined: 08 Oct 2015
Posts: 366

PostPosted: Tue Apr 11, 2017 2:19 am    Post subject: Reply with quote

Merlini wrote:
Darkbyte just added a new feature that makes the syntax checking almost trivial in your external editor lua script.

Inside extEditCheckChange function I've added:
Code:
       
local checkEnable, errMsgEnable = autoAssembleCheck(scriptString.Text, true)
local checkDisable, errMsgDisable = autoAssembleCheck(scriptString.Text, false)
if not checkEnable then
    showMessage(errMsgEnable)
elseif not checkDisable then
    showMessage(errMsgDisable)
end



Whenever I save in my editor and there is an error, now it will popup
a message box with faulty code's line number and compilation error.

When the next CE version that includes autoAssembleCheck is released,
could you please add some variation of this to your external editor script?
Your EE script is the one script that I'll take to my
cheat engine grave and the syntax checking makes is so much better.

Thanks predprey.


just saw your post. sure thing mate, thanks for the snippet, saves me the trouble of reading through my own code again lol. will update it when the new CE arrives.
Back to top
View user's profile Send private message
catfood
Cheater
Reputation: 0

Joined: 22 Jun 2015
Posts: 26

PostPosted: Tue Apr 11, 2017 10:28 pm    Post subject: Reply with quote

Hey predprey, have you ever done anything with Searchbar / Searchbox before?
as in a box where you can type in the name of a hack and itll find it on your table (for big tables)?
would love to be able to ctrl+f to find,

i found this older video with dead links of someone showing off such a thing, is this perhaps something you made? and if so do you still have it?

https://www.youtube.com/watch?v=eU0wDU7viNo
Back to top
View user's profile Send private message
predprey
Master Cheater
Reputation: 15

Joined: 08 Oct 2015
Posts: 366

PostPosted: Tue Apr 11, 2017 11:36 pm    Post subject: Reply with quote

catfood wrote:
Hey predprey, have you ever done anything with Searchbar / Searchbox before?
as in a box where you can type in the name of a hack and itll find it on your table (for big tables)?
would love to be able to ctrl+f to find,

i found this older video with dead links of someone showing off such a thing, is this perhaps something you made? and if so do you still have it?

https://www.youtube.com/watch?v=eU0wDU7viNo


nope, i think that's the author's own fork of CE's code base and not an extension. i'll think about how to impement it.
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 Lua Scripting -> Lua Extensions All times are GMT - 6 Hours
Goto page Previous  1, 2, 3
Page 3 of 3

 
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