Page 1 of 1

Chosen undead, be One with the Dark!!

Posted: Sun Dec 31, 2017 12:30 am
by nanobyte
it's a 3 level pointer i think, and i'm trying to change the value of offset 140 but i cant seem to point at it correctly

this is what i have come up with so far and it doesn't seem to work

cmp [rcx+18+190],1 //Checking stuff
jne @f
mov [rcx+18+148+140],(float)0.1
@@:
mov [rcx+30],edx
mov rdx,[rbp+10]

Image

Re: Chosen undead, be One with the Dark!!

Posted: Sun Dec 31, 2017 1:41 am
by Acido
push rdx
mov rdx,[rcx+18]
mov rdx,[rdx+148]
mov rdx,[rdx+140]
mov [rdx],(float)0.1
pop rdx

[rcx+18+148+140] is NOT the same as [[[rcx+18]+148]+140] however since you cannot actually type this into the script. Your compare will fail as well btw for the same reason (if what you're trying to do is compare [[rcx+18]+190] that is, is unclear from the ss)

Re: Chosen undead, be One with the Dark!!

Posted: Sun Dec 31, 2017 11:32 am
by nanobyte
Happy new Year Mate, and thanks alot for helping me out. it workz now :D

Re: Chosen undead, be One with the Dark!!

Posted: Sun Dec 31, 2017 3:54 pm
by Acido
nanobyte wrote:
Sun Dec 31, 2017 11:32 am
Happy new Year Mate, and thanks alot for helping me out. it workz now :D
Great :) Happy new year.