| View previous topic :: View next topic |
| Author |
Message |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Fri Apr 12, 2013 4:39 pm Post subject: How to set cursor? |
|
|
| Code: | | setProperty(l[7] , "Cursor", "crHandPoint") |
Does not work.
_________________
I'm rusty and getting older, help me re-learn lua. |
|
| Back to top |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Sat Apr 13, 2013 3:51 am Post subject: |
|
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25835 Location: The netherlands
|
Posted: Sat Apr 13, 2013 4:51 am Post subject: |
|
|
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 |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Sat Apr 13, 2013 4:54 am Post subject: |
|
|
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 , 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 |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25835 Location: The netherlands
|
Posted: Sat Apr 13, 2013 5:03 am Post subject: |
|
|
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 |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Sat Apr 13, 2013 5:23 am Post subject: |
|
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25835 Location: The netherlands
|
Posted: Sat Apr 13, 2013 5:25 am Post subject: |
|
|
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 |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Sat Apr 13, 2013 5:27 am Post subject: |
|
|
| 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 |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25835 Location: The netherlands
|
Posted: Sat Apr 13, 2013 6:23 am Post subject: |
|
|
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 |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
|
| Back to top |
|
 |
|