| View previous topic :: View next topic |
| Author |
Message |
Blackrosemmt How do I cheat?
Reputation: 0
Joined: 17 Mar 2024 Posts: 2
|
Posted: Sun Mar 17, 2024 8:56 am Post subject: Question: Read value then Speak |
|
|
Hi all
I need lua script to read value from address then speak it once it reach the value I specify.
for example once money in game reach 100 then speak "hundred"
Can anyone please help.
|
|
| Back to top |
|
 |
Csimbi I post too much
Reputation: 97
Joined: 14 Jul 2007 Posts: 3338
|
Posted: Sun Mar 17, 2024 4:14 pm Post subject: |
|
|
| Record it as WAV, then play it using playSound(...) in a script
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25833 Location: The netherlands
|
Posted: Sun Mar 17, 2024 4:31 pm Post subject: |
|
|
speakEnglish('100') also works
_________________
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 |
|
 |
Blackrosemmt How do I cheat?
Reputation: 0
Joined: 17 Mar 2024 Posts: 2
|
Posted: Tue Mar 19, 2024 6:33 pm Post subject: |
|
|
| Dark Byte wrote: | | speakEnglish('100') also works |
Thanks @Dark Byte.
May I have please the full Lua script for this. I have very limited knowledge in Lua.
Thanks in advance.
|
|
| Back to top |
|
 |
Csimbi I post too much
Reputation: 97
Joined: 14 Jul 2007 Posts: 3338
|
Posted: Wed Mar 20, 2024 5:10 am Post subject: |
|
|
| Code: | | if readInteger(<your address>) == 100 then speakEnglish('100') end |
|
|
| Back to top |
|
 |
AylinCE Grandmaster Cheater Supreme
Reputation: 37
Joined: 16 Feb 2017 Posts: 1533
|
Posted: Wed Mar 20, 2024 6:03 am Post subject: |
|
|
Some more colorful ideas..
| Code: | function speakLang_100(opt)
beep() -- A warning is coming...
sleep(400)
if opt==1 then
speak('one hundred',SPF_PURGEBEFORESPEAK) -- Eng
elseif opt==2 then
speak('yüz',SPF_PURGEBEFORESPEAK) -- Turkish
elseif opt==3 then
speak('cento',SPF_PURGEBEFORESPEAK) -- italy
elseif opt==4 then
speak('einhundert',SPF_PURGEBEFORESPEAK) -- German
end
end
--if readInteger(your address) == 100 then
speakLang_100(1)
speakLang_100(2)
--end
|
_________________
|
|
| Back to top |
|
 |
Csimbi I post too much
Reputation: 97
Joined: 14 Jul 2007 Posts: 3338
|
Posted: Wed Mar 20, 2024 1:39 pm Post subject: |
|
|
That's what we call "professional"
|
|
| Back to top |
|
 |
|