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 


bug or me?

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

Joined: 24 Mar 2026
Posts: 1

PostPosted: Tue Mar 24, 2026 1:59 pm    Post subject: bug or me? Reply with quote

Video Showing broken AboutClick() -- remove the blank spaces
https : // youtu.be/ lSEI-IwhaWQ

Info:
edit 1: all the attachments did not attach... fantastic
edit 2: uploading to github i found out they censor stuff
edit 3: updated, files on github, video on youtube, explanation below with as much code as i can fit (coz need the whole file).
[rant]
- and the entire world carries on using it..
let's see what other complete nonsense arises from this pointless quest to maek a basic app.

[/rant]

".CT" Files:
* So heres the files - i intentionally named the folder becuase now i hate github -- like everything else .
* can't post a github url either, So add this after the dot com: no quotes

"SomeGTAVCCodes/GTA-San_Andreas-PS2/tree/main/F_UK_YOU_GITHUB_CENSORSHIP_APP"

* Code must remain intact - even if badly written, no point me strippin it or someone sending just a working button without this code.
* stripping it to get it to work defeats the purpose and i cant re-write to it use things like i++ and junk ..
* please try to forgive the anger post. My entire life has been the same thing. Want to do stuff but never can and 90% of the tiem it aint anythign i am doing wrong per-se.

Is this a bug or is it me?
* Something breaks no matter how code is written.

What is this?
Same thing i been stuck on for 3 years. Spawn Any vehicle in GTAVC_SA and created a cheat app for all PS2 verisons and regions.
To fail at an auto-regenerated about button script is really REALLY annoying!

What happens?
* Something always breaks for no reason & I have tried writing this same stuff 1,000 times. So i have to give up.
* No matter how it is written something different always breaks.
* at this point i would offer to pay someone, but i know that is frowned upon and never trusted... and i am a loser with terrible health and no money so...although cost of electricity alone is making this more expensive than it is worth.

Tests;-
version 1
Working prefectly fine, but ONLY in CE .
When save as .exe the D3DHook breaks and thus the entire app fails.

version 2.
remove the d3dhook
when saved as exe works fine, but no d3dhook...

version 3
d3dhook on its own.
works fine but then breaks when adding the code for button presses & for other functions period.

version 4
d3dhook working
other code working but numeric keys break, no toggle with numeric keys anymore

version 5
d3dhook working
other code working
all code working
BUT then the aboutclick() button and function breaks and is literally impossible to get back

Possible bugs:
1. somethign in CE
2. Somethign in my code order
3. something as a result of using the GAMEPAD hacks posted by "DarkByte": Also note - How to access GAMEPAD 2 with 0x5870 or whatever ? it seems moving it around effects the entire thing.

Rant:
I tried this a million times last year, then got fed up
i checked back after 6 months hoping the one feature that was added to 7.6 was updated to actually work (save state of checked active/ deactviate code boxes in CE - nope, it's still broken)

* spent another million hours this year constantly moving a line from here to there and re-testign etc So i give up.

* Unless someone can make this work i am NEVER going to be able to do it. 35 years of being shit at code ill never be a programmer

* But this is clearly fuck all to do with me it is some dumb bug

-- Stripped Code her, so useless, pleas euse the github .CT files and check video to see bug in action.


[code]
-- -----------------------------------------
-- Define Colours as names (B,G,R)
-- -----------------------------------------
red="0x000000FF"
green="0x0000FF00"
black="0x00999999"
blue="0x00FF0000"
pink="0x0cc00FF"
green2="0x0099FF99"
pink2="0x00FF00FF"

-- -----------------------------------------
-- ---- Setup ----
-- -----------------------------------------
CETrainer_CELabel5.Caption = "Toggle Numeric 0" -- toggle red, green when checked
CETrainer_CELabel5.Font.Color = 0x0000FF
CETrainer_CELabel6.Caption = "Numeric 1"
CETrainer_CELabel6.Font.Color = 0x0000FF
CETrainer_CELabel7.Caption = "Numeric 2"
CETrainer_CELabel7.Font.Color = 0x0000FF
-- 8
CETrainer_CELabel8.Caption = "Numeric 3"
CETrainer_CELabel8.Font.Color = 0x0000FF
-- ...
CETrainer_CELabel10.Caption = "Numeric 4"
CETrainer_CELabel10.Font.Color = 0x0000FF
-- ...
CETrainer_CELabel11.Caption = "Numeric 5"
CETrainer_CELabel11.Font.Color = 0x0000FF
-- ...
CETrainer_CELabel12.Caption = "Numeric 6"
CETrainer_CELabel12.Font.Color = 0x0000FF
-- ...
CETrainer_CELabel13.Caption = "Numeric 7"
CETrainer_CELabel13.Font.Color = 0x0000FF
-- ...
CETrainer_CELabel14.Caption = "Numeric 8"
CETrainer_CELabel14.Font.Color = 0x0000FF
-- ...
CETrainer_CELabel15.Caption = "Numeric 9"
CETrainer_CELabel15.Font.Color = 0x0000FF
-- 9
CETrainer_CELabel9.Caption = "EE 60+"
CETrainer_CELabel9.Font.Color = 0x0000FF
-- Title
CETrainer_CELabel16.Caption = "GTA: SAN_ANDREAS Cheat Menu"
CETrainer_CELabel16.Font.Color = 0x0000FF
-- CheckBox Names & colours
CETrainer_CECheckbox1.Caption = "Cars Invisible"
CETrainer_CECheckbox1.Font.Color = 0x0000FF
-- CheckBox Names & colours
CETrainer_CECheckbox2.Caption = "Cars on Water"
CETrainer_CECheckbox2.Font.Color = 0x0000FF
-- CheckBox Names & colours
CETrainer_CECheckbox3.Caption = "Infinite Ammo"
CETrainer_CECheckbox3.Font.Color = 0x0000FF
-- CheckBox Names & colours
CETrainer_CECheckbox4.Caption = "Cars Fly"
CETrainer_CECheckbox4.Font.Color = 0x0000FF
-- CheckBox Names & colours
CETrainer_CECheckbox5.Caption = "Drive-by Aim"
CETrainer_CECheckbox5.Font.Color = 0x0000FF
-- CheckBox Names & colours
CETrainer_CECheckbox6.Caption = "Cars Pink"
CETrainer_CECheckbox6.Font.Color = 0x0000FF
-- CheckBox Names & colours
CETrainer_CECheckbox7.Caption = "Cars Black"
CETrainer_CECheckbox7.Font.Color = 0x0000FF
-- CheckBox Names & colours
CETrainer_CECheckbox8.Caption = "Infinite Health"
CETrainer_CECheckbox8.Font.Color = 0x0000FF
-- CheckBox Names & colours
CETrainer_CECheckbox9.Caption = "Infinite Oxygen"
CETrainer_CECheckbox9.Font.Color = 0x0000FF
-- CheckBox Names & colours
CETrainer_CECheckbox10.Caption = "Fast Clock Time"
CETrainer_CECheckbox10.Font.Color = 0x0000FF
-- CheckBox Names & colours
CETrainer_CECheckbox11.Caption = "PIMP (Ho's Pay you)"
CETrainer_CECheckbox11.Font.Color = 0x0000FF
-- CheckBox Names & colours
CETrainer_CECheckbox12.Caption = "No Hunger"
CETrainer_CECheckbox12.Font.Color = 0x0000FF
-- CheckBox Names & colours
CETrainer_CECheckbox13.Caption = "Colour"
CETrainer_CECheckbox13.Font.Color = 0x0000FF
-- CheckBox Names & colours
CETrainer_CECheckbox14.Caption = "Bloom"
CETrainer_CECheckbox14.Font.Color = 0x0000FF
-- CheckBox Names & colours
CETrainer_CECheckbox15.Caption = "Fog"
CETrainer_CECheckbox15.Font.Color = 0x0000FF
-- CheckBox Names & colours
CETrainer_CECheckbox16.Caption = "Radiosity"
CETrainer_CECheckbox16.Font.Color = 0x0000FF
-- set menu stuff
control_setCaption(CETrainer_CELabel3, "50hz")
control_setCaption(CETrainer_CELabel4, "60hz")
control_setCaption(CETrainer_CEButton1, "50hz")
control_setCaption(CETrainer_CEButton2, "60hz")
control_setCaption(CETrainer_CEButton14, "D3DHook")

-- -----------------------------------------
-- Setup for D3D Hook
-- -----------------------------------------
VHIDSHOW1 = readSmallInteger(0x2059ED14)

-- -----------------------------------------
-- Hack: Create D3D Hook to show Vehicle ID
-- -----------------------------------------
hooked = false
function starthook()
if hooked == false then
d3dhook_initializeHook()
-- TEXT stuff -------------
font=createFont() --Default initialized to the mainform font. (black and small)
font.color=0xFF00FF -- Set font colour
font.Name = "Arial" -- Set font name
font.Quality = 'fqAntialiased' -- fixes D3D Overlay draws.
font.Position = 'poScreenTop' -- anchor pos
fontmap=d3dhook_createFontmap(font) --create a fontmap from the defined font. After this font can be destroyed. If you wish different colors and types, create a new fontmap each time

-- IF 4K font needs to be x2.
value_h = getScreenHeight()
value_w = getScreenWidth()
--print(value_w, "x", value_h) (CAUSES LARGE DELAY)

if value_h > 1080 then
font.size= 50
end

if value_h <= 1080 then
font.size= 25
end

DisplayedTextObject=d3dhook_createTextContainer(fontmap,100,100,'VEHICLE ID')
d3dhook_textcontainer_setText(DisplayedTextObject, "VEHICLE ID")
d3dhook_renderobject_setVisible(DisplayedTextObject, false)

-- Show Vehicle ID D3DHook TEXT (switch 1)
DisplayedTextObject2=d3dhook_createTextContainer(fontmap,100,100,'VH ID NUM')
d3dhook_textcontainer_setText(DisplayedTextObject2, VHIDSHOW1)
d3dhook_renderobject_setVisible(DisplayedTextObject2, false)

if value_h > 1080 then
DisplayedTextObject.x='poScreenRight'
DisplayedTextObject.y=65

DisplayedTextObject2.x='poScreenRight'
value121=DisplayedTextObject2.x + 400
DisplayedTextObject2.x=value121
DisplayedTextObject2.y=65

end

if value_h <= 1080 then
DisplayedTextObject.x='poScreenRight'
DisplayedTextObject.y=65

DisplayedTextObject2.x='poScreenRight'
value121=DisplayedTextObject2.x + 200
DisplayedTextObject2.x=value121
DisplayedTextObject2.y=65

end
hooked = true
end
end

-- -----------------------------------------
-- ---- Spawn Vehicle (".pnach support") ----
-- ----------------------------------------
function TOGGLE_SHOW_VHID()

if hooked == true then
d3dhook_renderobject_setVisible(DisplayedTextObject2, true) -- show
d3dhook_renderobject_setVisible(DisplayedTextObject, true) -- show
end
end

function TOGGLE_HIDE_VHID()
if hooked == true then
d3dhook_renderobject_setVisible(DisplayedTextObject2, false) -- show
d3dhook_renderobject_setVisible(DisplayedTextObject, false) -- show
end
end

function GET_VHID()
VHIDSHOW2 = readSmallInteger(0x2059ED14)
control_setCaption(CETrainer_CELabel1, VHIDSHOW2)
if hooked == true then
d3dhook_textcontainer_setText(DisplayedTextObject2, VHIDSHOW2)
end
end

-- Vehicle ID Increment, Decrement (VK_ADD), Decrement (VK_SUBTRACT)
function VHID_ADD()
writeBytes(0x2059ED14,readBytes(0x2059ED14)+1)
end

function VHID_SUBTRACT()
writeBytes(0x2059ED14,readBytes(0x2059ED14)-1)
end

-- -----------------------------------------
-- ---- SET VEHICLE ID From Text ----
-- -----------------------------------------
function VHID_FROM_TEXT_EDIT()
if CETrainer.CEEdit1.Text == 'landstal' or CETrainer.CEEdit1.Text == '400' then
VHID_CHOICE=400
writeSmallInteger(0x2059ED14, VHID_CHOICE)
CETrainer.CEEdit1.Text = "_"
end

if CETrainer.CEEdit1.Text == 'bravura' or CETrainer.CEEdit1.Text == '401' then
VHID_CHOICE=401
writeSmallInteger(0x2059ED14, VHID_CHOICE)
CETrainer.CEEdit1.Text = "_"
end

if CETrainer.CEEdit1.Text == 'buffalo' or CETrainer.CEEdit1.Text == '402' then
VHID_CHOICE=402
writeSmallInteger(0x2059ED14, VHID_CHOICE)
CETrainer.CEEdit1.Text = "_"
end

/*

* CODE HERE GOES FROM 400 - 611
* A bug occurs sometimes at 500+ (hydra used as example - ) - SEE VIDEO

*/

if CETrainer.CEEdit1.Text == 'utiltr1' or CETrainer.CEEdit1.Text == '611' then
VHID_CHOICE=611
writeSmallInteger(0x2059ED14, VHID_CHOICE)
CETrainer.CEEdit1.Text = "_"
end

end

-- -----------------------------------------
-- ---- Timers: VEHICLE ID GET ----
-- -----------------------------------------

-- timer get VH ID from +,-
t1=createTimer(nil)
timer_setInterval(t1,100) --check every 1/100th second if the value has changed
timer_onTimer(t1,GET_VHID)

-- timer get VH ID from users text entry
t2=createTimer(nil)
timer_setInterval(t2,100)
timer_onTimer(t2,VHID_FROM_TEXT_EDIT)

-- -----------------------------------------
-- ---- Hotkeys, Button Inputs: Functions. ----
-- -----------------------------------------
chg = true
function onPostHotKey() -- Set Cars Invisible on press Numeric 0
if chg then
chg = false
CETrainer.CELabel5.Font.Color = green -- 'Cheat Enabled...'
writeByte(0x2088D81B,1)
else
chg = true
CETrainer.CELabel5.Font.Color = red -- 'Cheat Disabled...'
writeByte(0x2088D81B,0)
end
end

chg2 = true
function onPostHotKey2() -- Set Cars on Water on press Numeric 1
if chg2 then
chg2 = false
CETrainer.CELabel6.Font.Color = green
writeByte(0x2088D822,1)
else
chg2 = true
CETrainer.CELabel6.Font.Color = red
writeByte(0x2088D822,0)
end
end

chg3 = true
function onPostHotKey3() -- Set Cars fly on press Numeric 2
if chg3 then
chg3 = false
CETrainer.CELabel7.Font.Color = green
writeByte(0x2088D830,1)
else
chg3 = true
CETrainer.CELabel7.Font.Color = red
writeByte(0x2088D830,0)
end
end

chg4 = true
function onPostHotKey4() -- Set Cars aim shoot on press Numeric 3
if chg4 then
chg4 = false
CETrainer.CELabel8.Font.Color = green
writeByte(0x2088D849,1)
else
chg4 = true
CETrainer.CELabel8.Font.Color = red
writeByte(0x2088D849,0)
end
end

/****

CODE HERE GOES FROM HOTKEYS NUUMERICS 0 - 9
ALL WORKS FINE


BUT
- I do not know how to Make the Check Boxes Checked when numerics are pressed.



*****//

-- -----------------------------------------
-- ---- Check Boxes - Cheats & Patches (Functions) ----
-- -----------------------------------------

-- //Cars Invisible
-- //patch=1,EE,2088D81B,byte,1
function CETrainer_CECheckbox1Change(sender)
if sender.checked then
writeByte(0x2088D81B,1) -- SAN ANDREAS
CETrainer.CELabel5.Font.Color = green
else
writeByte(0x2088D81B,0) -- SAN ANDREAS
CETrainer.CELabel5.Font.Color = red
end
end

-- //Vehicles: Cars on water
-- //patch=1,EE,2088D822,byte,1
function CETrainer_CECheckbox2Change(sender)
if sender.checked then
writeByte(0x2088D822,1) -- SAN ANDREAS
CETrainer.CELabel6.Font.Color = green
else
writeByte(0x2088D822,0) -- SAN ANDREAS
CETrainer.CELabel6.Font.Color = red
end
end

-- //Infinite Ammo: || L1, R1, SQUARE, R1, LEFT, R2, R1, LEFT, SQUARE, DOWN, L1, L1
-- //patch=1,EE,2088D848,byte,1
function CETrainer_CECheckbox3Change(sender)
if sender.checked then
writeByte(0x2088D848,1)
CETrainer.CELabel13.Font.Color = green
else
writeByte(0x2088D848,0)
CETrainer.CELabel13.Font.Color = red
end
end

-- //Vehicles: Cars fly
-- //patch=1,EE,2088D830,byte,1
function CETrainer_CECheckbox4Change(sender)
if sender.checked then
writeByte(0x2088D830,1) -- SAN ANDREAS
CETrainer.CELabel7.Font.Color = green
else
writeByte(0x2088D830,0) -- SAN ANDREAS
CETrainer.CELabel7.Font.Color = red
end
end

-- //Vehicles: Aim & Shoot Whilst Driving || R1, L1, L1, CIRCLE, X, TRIANGLE, R2, RIGHT, L2, L1, L1, L1
-- //patch=1,EE,2088D849,byte,1
function CETrainer_CECheckbox5Change(sender)
if sender.checked then
writeByte(0x2088D849,1)
CETrainer.CELabel8.Font.Color = green
else
writeByte(0x2088D849,0)
CETrainer.CELabel8.Font.Color = red
end
end

-- //Vehicles: Cars pink
-- //patch=1,EE,0x2088D820,byte,1
function CETrainer_CECheckbox6Change(sender)
if sender.checked then
writeByte(0x2088D820,1)
CETrainer.CELabel11.Font.Color = green
else
writeByte(0x2088D820,0)
CETrainer.CELabel11.Font.Color = red
end
end

-- //Vehicles: Cars black
--//patch=1,EE,0x2088D821,byte,1
function CETrainer_CECheckbox7Change(sender)
if sender.checked then
writeByte(0x2088D821,1)
CETrainer.CELabel10.Font.Color = green
else
writeByte(0x2088D821,0)
CETrainer.CELabel10.Font.Color = red
end
end

-- //Infinite Health: || UP, LEFT, RIGHT, X, UP, R2, DOWN, RIGHT, X, X, L1
-- //patch=1,EE,2088D83D,byte,1
function CETrainer_CECheckbox8Change(sender)
if sender.checked then
writeByte(0x2088D83D,1)
CETrainer.CELabel14.Font.Color = green
else
writeByte(0x2088D83D,0)
CETrainer.CELabel14.Font.Color = red
end
end

-- //Infinite Oxygen: || L1, R1, CIRCLE, R1, CIRCLE, RIGHT, RIGHT, UP, LEFT, X, R2, L1
-- //patch=1,EE,2088D83E,byte,1
function CETrainer_CECheckbox9Change(sender)
if sender.checked then
writeByte(0x2088D83E,1)
CETrainer.CELabel15.Font.Color = green
else
writeByte(0x2088D83E,0)
CETrainer.CELabel15.Font.Color = red
end
end

-- //Fast Clock Time - (0088D80B)
-- //patch=1,EE,2088D80B,byte,1
function CETrainer_CECheckbox10Change(sender)
if sender.checked then
writeByte(0x2088D80B,1) -- SAN ANDREAS
CETrainer.CELabel12.Font.Color = green
else
writeByte(0x2088D80B,0) -- SAN ANDREAS
CETrainer.CELabel12.Font.Color = red
end
end

--//PIMP (Hookers Pay You) || X, X, CIRCLE, CIRCLE, TRIANGLE, TRIANGLE, L1, TRIANGLE, CIRCLE, L2, L1, L1
--//patch=1,EE,2088D85A,byte,1
function CETrainer_CECheckbox11Change(sender)
if sender.checked then
writeByte(0x2088D85A,1)
else
writeByte(0x2088D85A,0)
end
end

--//Player: Never Hungry || R2, DOWN, LEFT, CIRCLE, X, SQUARE, CIRCLE, LEFT, RIGHT, L1, L1, L1
--//patch=1,EE,2088D844,byte,1
function CETrainer_CECheckbox12Change(sender)
if sender.checked then
writeByte(0x2088D844,1)
else
writeByte(0x2088D844,0)
end
end

-- -------------------------------------------
-- ---- Visuals ----
-- -------------------------------------------

--//(Orange) Colour filter (Remove) && Calls to e.g. CCTV, Film Grain effect
--//patch=1,EE,2066C854,byte,1
function CETrainer_CECheckbox13Change(sender)
if sender.checked then
writeByte(0x2066C854,1)
else
writeByte(0x2066C854,0)
end
end

--//Bloom (Remove)
--patch=1,EE,2066BAE0,byte,00 || 10 (Enabled) --> 00 (Disabled)
function CETrainer_CECheckbox14Change(sender)
if sender.checked then
writeByte(0x2066BAE0,10)
else
writeByte(0x2066BAE0,00)
end
end

--//Smoke and fog Effect
--//patch=1,EE,2066C83C,byte,1
function CETrainer_CECheckbox15Change(sender)
if sender.checked then
writeByte(0x2066C83C,1)
else
writeByte(0x2066C83C,0)
end
end

--//Radiosity (Remove)
--//patch=1,EE,0x20668668,byte,1
function CETrainer_CECheckbox16Change(sender)
if sender.checked then
writeByte(0x20668668,1)
else
writeByte(0x20668668,0)
end
end

-- -------------------------------------------
-- ---- Buttons ----
-- -------------------------------------------

-- Toggle Doors Locked 14620004 -> 00000000
-- //patch=1,EE,2016BCB0,extended,14620004
function TOGGLE_DOORS_LOCKED(sender)
if dl == true then
-- Write 4 bytes to an address
writeBytes(0x2016BCB0, 0x04, 0x00, 0x62, 0x14)
control_setCaption(CETrainer.CEButton15, "Doors Unlocked")
dl=false
else
-- Write 4 bytes to an address
writeBytes(0x2016BCB0, 0x00, 0x00, 0x00, 0x00)
control_setCaption(CETrainer.CEButton15, "Doors Locked")
dl=true
end
return dl
end

function TOGGLE_NEVER_WANTED(sender)
if nw == true then
writeByte(0x2088D841,1)
control_setCaption(CETrainer.CEButton13, "Wanted Enabled")
nw=false
else
writeByte(0x2088D841,0)
control_setCaption(CETrainer.CEButton13, "Wanted Disabled")
nw=true
end
return nw
end

-- Set money = $10,000
-- //patch=1,EE,207097B4,extended,00002710
function SET_MONEY(sender)
-- Write 4 bytes to an address
--writeBytes(0x207097B4, 0x10, 0x27, 0x00, 0x00)
-- Write a 16-bit integer to address 0x123456
currentValue=readSmallInteger(0x207097B4)
valueToAdd=10000
writeSmallInteger(0x207097B4, currentValue + valueToAdd)
--print("Write successful:", success)
end

--MS_USED = false
function MAX_SKILLS(sender)
-- Write 4 bytes to an address
-- patch=1,EE,2080254C,extended,000003E8 FLYING SKILL
-- patch=1,EE,20802450,extended,000003E8 Driving SKILL
-- patch=1,EE,20802564,extended,000003E8 BIKE SKILL
-- patch=1,EE,20802568,extended,000003E8 CYCLING SKILL
-- if MS_USED == false then
writeBytes(0x2080254C, 0xE8, 0x03, 0x00, 0x00)
writeBytes(0x20802450, 0xE8, 0x03, 0x00, 0x00)
writeBytes(0x20802564, 0xE8, 0x03, 0x00, 0x00)
writeBytes(0x20802568, 0xE8, 0x03, 0x00, 0x00)
-- control_setCaption(CETrainer_CEButton7, "USED")
-- MS_USED = true
-- end
end

-- -----------------------------------------
-- ---- Buttons: Spawn Vehicle (".pnach support") ----
-- ----------------------------------------

*** THIS ONLY WORKS IN PCSX2 USING PNACH CHEATS -- IT DOES NOT UPDATE USING CHEAT ENGIN, mayeb coz game doesn't call it .
- But that doesnt really explain why using in game buttons with pnach to do the same thing does work



function ENABLE_VH_SPAWN(sender)
writeBytes(0x2059D4A0, 0x18, 0x1B, 0x02, 0x3C) -- 3C021B18
writeBytes(0x2059D4B4, 0x2B, 0x4F, 0x42, 0x34) -- 34424F2B

end

function DISABLE_VH_SPAWN(sender)
writeBytes(0x2059D4B4, 0x00, 0x00, 0x00, 0x00) -- 00000000
writeBytes(0x2059D4A0, 0x94, 0x58, 0x13, 0x0C) -- 0C135894

end





* THE END OF MY CODE E I THINK THESE GAMEPAD HACKS RANDOMLY CAUSE THE ABOUT BUTTON BUG ??? .
* Whenever i have moved them in 100+ version tests weir dthings havehappenbed even when the code is the same, just re-ordered.


-- -----------------------------------------
-- ---- Create Hotkeys for GAMEPAD Inputs ----
-- (ISSUE: No access to PAD 2?)
-- -----------------------------------------

-- on press GAMEPAD R2 (0x5807 = R2)
if key13 then key13.destroy(); key13=nil end
key13 = createHotkey(VHID_ADD, 0x5807)
key13.DelayBetweenActivate = 200

-- on press GAMEPAD L2
if key14 then key14.destroy(); key14=nil end
key14 = createHotkey(VHID_SUBTRACT, 0x5806)
key14.DelayBetweenActivate = 200


function CloseClick()
--called by the close button onClick event, and when closing the form
if hooked == true then
d3dhook_renderobject_setVisible(DisplayedTextObject2, false) -- show
d3dhook_renderobject_setVisible(DisplayedTextObject, false) -- show
closeCE()
return caFree --onClick doesn't care, but onClose would like a result
else
closeCE()
return caFree --onClick doesn't care, but onClose would like a result
end
end



** no aboutclick() becuase - SEE VIDEO
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions 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