[Help] Changing code
Need help changing code
Changing code Posted on: 12/14/2014 7:30am
Quote Post

Can someone figurate how to hack this original code to hacked one ..This is for pick items in game and i will copy from decompiler original one but i dont know wich line i need to change to work for autocollect so can anyone help me and to change to hacked one . This one is original code sorry if i miss topic for this ..
//46 f7 19 00 
_as3_callproperty GetEntityType(param count:0)
//24 04 
_as3_pushbyte 4
//ab 
_as3_equals 
//2a 
_as3_dup 
//12 0f 00 00 
_as3_iffalse offset: 15
//29 
_as3_pop 
//60 d3 12 
_as3_getlex nGxI.hI3SW::YdTXJU
//64 
_as3_getglobalscope 
//60 9d 19 
_as3_getlex nGxI.hI3SW:YdMSZVV::@1129
//41 01 
_as3_call (param count:1)
//46 fd 19 00 
_as3_callproperty IsAutoPickUp(param count:0)
//76 
_as3_convert_b 
//12 0e 00 00 
_as3_iffalse offset: 14
//60 9d 19 
_as3_getlex nGxI.hI3SW:YdMSZVV::@1129
//5d fe 19 
_as3_findpropstrict nGxI.jU1I::YdXIXaSRtnE3R30_gmZ7DCY5l
//4a fe 19 00 
_as3_constructprop nGxI.jU1I::YdXIXaSRtnE3R30_gmZ7DCY5l(param count:0)
//4f ff 19 01 
_as3_callpropvoid QueueMessage(param count:1)
//60 9d 19 
_as3_getlex nGxI.hI3SW:YdMSZVV::@1129
//26 
_as3_pushtrue 
//4f f3 19 01 
_as3_callpropvoid SetIsTargeted(param count:1)
//60 8c 01 
_as3_getlex game.ui.core::Ydfx
//60 9d 19 
_as3_getlex nGxI.hI3SW:YdMSZVV::@1129
//4f f2 19 01 
_as3_callpropvoid SetHeroTarget(param count:1)
//47
Thanks anyone who help.
 

RE: Changing code Posted on: 12/14/2014 9:19am
Quote Post
Ubi Maior Minor Cessat


_as3_callproperty GetEntityType(param count:0)

_as3_pushbyte 4

_as3_equals 

_as3_dup 

_as3_iffalse offset: 15

_as3_pop 
 
_as3_getlex nGxI.hI3SW::YdTXJU

_as3_getglobalscope 

_as3_getlex nGxI.hI3SW:YdMSZVV::@1129

_as3_call (param count:1)
 
_as3_callproperty IsAutoPickUp(param count:0)

_as3_convert_b 

_as3_iftrue offset: 0  / _as3_iffalse offset: 14

_as3_getlex nGxI.hI3SW:YdMSZVV::@1129

_as3_findpropstrict nGxI.jU1I::YdXIXaSRtnE3R30_gmZ7DCY5l

_as3_constructprop nGxI.jU1I::YdXIXaSRtnE3R30_gmZ7DCY5l(param count:0)

_as3_callpropvoid QueueMessage(param count:1)

_as3_getlex nGxI.hI3SW:YdMSZVV::@1129

_as3_pushtrue 

_as3_callpropvoid SetIsTargeted(param count:1)

_as3_getlex game.ui.core::Ydfx

_as3_getlex nGxI.hI3SW:YdMSZVV::@1129

_as3_callpropvoid SetHeroTarget(param count:1)

I hope you realize the way you asked for help isn't the best one. Since you gave us only partial understanding of the problem. You just used your jolly, don't expect anybody to just give you a solution to your problem. Good rule of thumbs: game name, game link, detailed informations ( that are not a block of code )
 

RE: Changing code Posted on: 12/14/2014 9:59am
Quote Post

Ok thanks for ur reply ..

RE: Changing code Posted on: 12/14/2014 1:27pm
Quote Post
The Laziest Man on KongHack

try this

46 f7 19 00 24 04 ab 2a 12 0f 00 00 29 60 d3 12 64 60 9d 19 41 01 46 fd 19 00 76 12 0e 00 00 60 9d 19 5d fe 19 4a fe 19 00 4f ff 19 01 60 9d 19 26 4f f3 19 01 60 8c 01 60 9d 19 4f f2 19 01 47

46 f7 19 00 24 04 ab 2a 12 0f 00 00 29 60 d3 12 64 60 9d 19 41 01 46 fd 19 00 76 12 00 00 00 60 9d 19 5d fe 19 4a fe 19 00 4f ff 19 01 60 9d 19 26 4f f3 19 01 60 8c 01 60 9d 19 4f f2 19 01 47

if IsAutoPickUp = false jump 14bytes
so i changed it to jump 0 bytes (which is what it would do if it was true and not false)




RE: Changing code Posted on: 12/14/2014 7:28pm
Quote Post
Aobscan(_pos,24 45)

It would be much easier to understand if you also post source code(function).
 




RE: Changing code Posted on: 12/15/2014 5:01am
Quote Post

Yes i try to change 12 0e 00 00 to 12 00 00 00 before to be true ..In original code u need to go to the item and click mouse to pick up .. But when i change value to be true 12 00 00 00 u dont need to click mouse to pickup item only mouseover so item pickup when u mouseover but it not want to collect automaticaly when enemy drop them :(...So i didnt know what is problem in code and what to change to be autopickup becouse there is not false 27 and true 26 to be modified ..
Thanks

RE: Changing code Posted on: 12/15/2014 10:57pm
Quote Post
disgruntled old man

Looks like OP deleted his post...




New to Kong Hack and want to learn the basics? Check out the [Kong Hack 101] and the [Hacking 101].
Wanna learn how we make the hacks? Start with getting [the tools], then check these out: [AoB tutorial] | [.sol guide] | [Unity3d tutorial] | kadat's [video tutorials]
And if you don't already have it, check out the [Kong Hack Ultra Trainer]. You'll be glad you did!
RE: Changing code Posted on: 12/15/2014 11:01pm
Quote Post
TIM the Enchanter
Level: 1
ADR Info

Looks like TiM restored them. ;) ;)





Everything's coming up KongHack!

"When you know nothing matters, the universe is yours" ~Rick Sanchez