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 


*HELP* How do i make color changing text?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Subjected
How do I cheat?
Reputation: 0

Joined: 02 Aug 2018
Posts: 8

PostPosted: Sat Aug 04, 2018 12:56 pm    Post subject: *HELP* How do i make color changing text? Reply with quote

Hey, i really wanna make fast color changing label with LUA.
I saw this code in a youtube video and in one theard aswell, but when i execute this code, it starts spamming some kind of errors.

CODE:
Code:
function CETimer1Timer (sender)
UDF1.CElabel1.Font.Color = UDF1.CELabel1.Font.Color + 50000
end
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 50

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Sat Aug 04, 2018 2:54 pm    Post subject: Reply with quote

I Think you may want to start with "how to use a search engine".
https://www.google.com/search?&q=how+to+use+a+search+engine

Then you just submit your question there.
https://www.google.com/search?&q=cheat+engine+color+changing+text+site%3Acheatengine.org

https://forum.cheatengine.org/viewtopic.php?t=579174

https://www.cheatengine.org/forum/viewtopic.php?p=5734454&sid=1d06caed075506ec0a1d9af515b8c12c

_________________
Back to top
View user's profile Send private message Visit poster's website
Subjected
How do I cheat?
Reputation: 0

Joined: 02 Aug 2018
Posts: 8

PostPosted: Sun Aug 05, 2018 2:34 am    Post subject: Reply with quote

TheyCallMeTim13 wrote:
I Think you may want to start with "how to use a search engine".


Then you just submit your question there.






I think you don't really know what i mean. I have already looked through those topics. I know how to create a timer and a text. The thing is its not working, no matter what i try!! Error im getting is this

on CETimer1Timer (sender)
..."]:2: attempt to index a nil value (global 'UDF1')
Error:[string "function CETimer1Timer (sender)
..."]:2: attempt to index a nil value (global 'UDF1')
Error:[string "function CETimer1Timer (sender)
..."]:2: attempt to index a nil value (global 'UDF1')
Error:[string "function CETimer1Timer (sender)
..."]:2: attempt to index a nil value (global 'UDF1')
Error:[string "function CETimer1Timer (sender)
..."]:2: attempt to index a nil value (global 'UDF1')
Error:[string "function CETimer1Timer (sen
Back to top
View user's profile Send private message
TheyCallMeTim13
Wiki Contributor
Reputation: 50

Joined: 24 Feb 2017
Posts: 976
Location: Pluto

PostPosted: Sun Aug 05, 2018 6:48 am    Post subject: This post has 1 review(s) Reply with quote

Got to say, I must have been hungry or something; as I read your post now I wonder "Why did I post that".

So, your form is nil. It seems like the form is being destroyed some where.
How did you create the form, with the CE form GUI or just calling "createForm"?
Does "UDF1" show in the CE menu under the "Table" section?

You might try and open the form in the GUI creation, and then save it as a ".frm" file then try "createFormFromFile".

But this is working.
Code:
<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="27">
  <Forms>
    <UDF1 Class="TCEForm" Encoding="Ascii85">J(r,c!Y}j.9f!tglX3:5fI#Y@%SJ91ND(0$h!sLE85(E89l1v8u}}2ckQ1[+KY!-W:zVwy?r:y}rwgV^Gb,B;e3Zi3]iU1TLH/[OzapRO79U;rvb2?_/q.{cE42z-Jf@h-WruLo]DZw0TG:VBgvr5?I9cbbBV8uDe8D5P;JIVk*w#83AQ-2YlPtxAYW1gUcypUf,EYcyxn:SnN*$ejQ{F_J+lWj*iyj-tj)Xcs/Ie$l$VZtl4@XOWZ9=Q8a?l_hd!3Vwat)QZPFzI?-2n</UDF1>
  </Forms>
  <CheatEntries/>
  <UserdefinedSymbols/>
  <LuaScript>function CETimer1Timer(sender)
    UDF1.CElabel1.Font.Color = UDF1.CELabel1.Font.Color + 50000
end

UDF1.show()
</LuaScript>
</CheatTable>

_________________
Back to top
View user's profile Send private message Visit poster's website
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1586

PostPosted: Sun Aug 05, 2018 8:24 am    Post subject: Reply with quote

TheyCallMeTim13 wrote:
Got to say, I must have been hungry or something; as I read your post now I wonder "Why did I post that".

yeah it happens to me too, one rep for this.

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
Subjected
How do I cheat?
Reputation: 0

Joined: 02 Aug 2018
Posts: 8

PostPosted: Sun Aug 05, 2018 9:52 am    Post subject: Reply with quote

OldCheatEngineUser wrote:
TheyCallMeTim13 wrote:
Got to say, I must have been hungry or something; as I read your post now I wonder "Why did I post that".

yeah it happens to me too, one rep for this.


I realised what was wrong. I did not have UDF1 form, but i got this fixed now, thanks.
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