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 


How to set cursor?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Fri Apr 12, 2013 4:39 pm    Post subject: How to set cursor? Reply with quote

Code:
setProperty(l[7] , "Cursor", "crHandPoint")

Does not work.

_________________
I'm rusty and getting older, help me re-learn lua.
Back to top
View user's profile Send private message Visit poster's website
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Sat Apr 13, 2013 3:51 am    Post subject: Reply with quote

I checked it bit deeper, via form designer.
Checked what the results
Code:
test = getProperty(UDF1_CELabel1 , "Cursor")
print(test)

It gives me -21 (when its HandPoint cursor).

When I set my created label via LUA, to -21.
It rests back to 0.
Any help?

_________________
I'm rusty and getting older, help me re-learn lua.
Back to top
View user's profile Send private message Visit poster's website
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Sat Apr 13, 2013 4:51 am    Post subject: Reply with quote

try setting it to -15
For some reason it think it's a string and therefore sends it off to the hex parser

_________________
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
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Sat Apr 13, 2013 4:54 am    Post subject: Reply with quote

Oh wait,
Nvm!
The issue is with C.E 6.2+
Well its broken also in the beta.
So 2 stuff you need to fix Razz, creating Memo and cursor.

And
Code:
setProperty(UDF1_CELabel1 , "Cursor", "-21")

Works in C.E 6.2.

Edit:
Now I ran into another issue?
Code:
prop = getProperty(l[7], "Font")
setProperty(prop, "Color", "000107FE")

Worked fine in C.E 6.2+, to set the label color into red.
And in C.E 6.2 it does not work.

_________________
I'm rusty and getting older, help me re-learn lua.
Back to top
View user's profile Send private message Visit poster's website
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Sat Apr 13, 2013 5:03 am    Post subject: Reply with quote

try $000107FE
or instead of a string, give 0x000107fe

_________________
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
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Sat Apr 13, 2013 5:23 am    Post subject: Reply with quote

Code:
0x000107fe

Worked.

Another question.
I have made a Login form to my website with LUA socket.
After login it sends back user data (username, usergroup, login successful)
this in case login failed.
Code:
if details=='{sucess:"no"}' then return showMessage("Login has failed please re-check your details and retry") end

Anyway,
I defined each data I want to use in other files
Code:

UserID
GroupID
SubID
SubTime

Now after login successful,
It import other LUA file that creates 1 big trainer..
And I tried to set in the title the following:
Code:
control_setCaption(f, "Hacks Loader - Username : "..UserID.." Group : "..GroupID)


UserID, is from the other form, and GroupID is too.
Is it possible to use it in the imported file?

_________________
I'm rusty and getting older, help me re-learn lua.


Last edited by daspamer on Sat Apr 13, 2013 5:25 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Sat Apr 13, 2013 5:25 am    Post subject: Reply with quote

I have no idea what you are talking about
Just make sure you can access variables defined in lua (so don't make them local)

_________________
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
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Sat Apr 13, 2013 5:27 am    Post subject: Reply with quote

Dark Byte wrote:
I have no idea what you are talking about
Just make sure you can access variables defined in lua (so don't make them local)

They're not local,
After successfully login it gives me
Code:
Error:[string "-- The import trainer file..."]:59: attempt to concatenate global 'GroupID' (a nil value)


Heres what I do after the import
--Removed.

_________________
I'm rusty and getting older, help me re-learn lua.


Last edited by daspamer on Sat Apr 13, 2013 7:40 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Sat Apr 13, 2013 6:23 am    Post subject: Reply with quote

perhaps groupname is a number you did not expect
or perhaps groupname = details:sub(groupStart+11,groupEnd-1) fails so GroupID never gets set

or groupstart or groupend are wrong

_________________
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
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Sat Apr 13, 2013 7:40 am    Post subject: Reply with quote

Thanks, I did a mistake Smile
I defined in the imported LUA script GroupID, and in the script itself theres no groupid.
Thanks again!

_________________
I'm rusty and getting older, help me re-learn lua.
Back to top
View user's profile Send private message Visit poster's website
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