![]() |
|||
[solved] New Cheat - Printable Version +- Little Fighter Empire - Forums (https://lf-empire.de/forum) +-- Forum: Little Fighter 2 Zone (https://lf-empire.de/forum/forumdisplay.php?fid=7) +--- Forum: [2.0] Exe Editing (https://lf-empire.de/forum/forumdisplay.php?fid=43) +---- Forum: Solved Problems (https://lf-empire.de/forum/forumdisplay.php?fid=45) +---- Thread: [solved] New Cheat (/showthread.php?tid=5496) Pages:
1
2
|
|||
[solved] New Cheat - ethanara - 08-28-2010 Hi, as somebody maybe can see, i will try learning hex. now to topic: there is this cheat, lf2.net my question is: how can i make a new cheat(for ex. lfe) to do something (for ex. unlock some bgs) i now it will take a lot of work, but im willing to do it ![]() Ethanara ps. if you know the OLLYDBG place of the lf2.net cheat, please say it, it would be helpfull RE: New Cheat - Xidd - 08-28-2010 lol at offtopicness - hes asking how to make a new cheat guys... cheat stuff starts at: 0043B565 . 83FB 4C CMP EBX,4C lotsa code there and analyzing it would take time. doesn't look very pleasent imo... if you sink enough time into it im sure youll be able to figure it out nothing really fancy occurs there RE: New Cheat - Ramond - 08-28-2010 OK guys, no more discussions about... "the cheat" and let's stay on topic now :P *Disposald all the offtopicness* RE: New Cheat - ethanara - 08-28-2010 Thx xidd so now we Can see all the cheats Knoen untill now and see the adresses? So if i want to make the new cheat i should just analyse it and copy it? ps. what does the command jnz mean? RE: New Cheat - Eddie - 08-29-2010 The instruction jnz means - Jump Not Zero. To use an example, here we go:
CMP command would be Compare EBX and 4C. It actually subtracts 4C from EBX to recieve a value. Lets say that EBX is equal to 78. 4C is hexadecimal and translates to 76 in decimal system. 2 =/= 0 (does not equal). This means that the next line, JNZ (Jump Not Zero) will cause the program to jump to the address 0043B610. Hopefully this example helps you to understand it. If the value returned was not 0, then the program would carry on just reading the code after the JNZ line. Edit: Also, unsure as to whether this will help you at all but I have got you some of the Fx keys in hexadecimal numbers. F1 = 70 F2 = 71 F3 = 72 F4 = 73 F5 = 74 F6 = 75 F7 = 76 F8 = 77 F9 = 78 F10 = 79 F11 = 7A F12 = 7B I don't know whether this will help you at all, but it's probably worth a shot. These are for VK_Fx's or Virtual Key Fx's. Basically this means that when the key is pressed, this is what the computer would read as a Hexadecimal number to know what you are doing. In shortest terms, if you can find constants or variables which contain those values AFTER the cheat start which Xidd pointed out, you will be more than likely on the right track to being able to edit the cheats for LF2. Edit2: @Xidd - I hate to say this but I think you may be wrong (OOOOH, AAAAAARRRRRRRGH, THE PAIN!) in terms of the starting point for the cheats. I think that may be the general starting point for all key strokes and inputs. I was fiddling about and found that even when I pressed my attack keys, after setting a breakpoint the line under. The game reverted to the OllyDBG screen... good or bad news? I hope this helps, Eddie RE: New Cheat - Xidd - 08-29-2010 JNZ = jump if not equal =] not sure how fkeys apply here tbh - he was asking about cheats like lf2.net. single key cheats could be made via the dll use GetASyncKey without much hassle - kinda like how they do in game Trainers (cheat programs) anyway - im quite glad to say that im not wrong :twisted: ofc it breaks when you press a button... it has to check every key input to see if you started typing in the cheat
there is a counter which goes up to 6 and a bunch of checks to see if you have pressed the correct key at the correct time. if you didnt the counter is reset to 0. if everything went well then 455471h becomes 64h - that is the lf2.net cheat flag it is checked here:
that calls 00416C70 which sets ANOTHER flag to say that the cheat is enabled (this is the actual status of the cheat - not the input flag) MOV DWORD PTR DS:[458428],EAX now if you go to the character selection part - I'm sure you will find some check involving the address 458428. so as you can see im not wrong :D RE: New Cheat - Eddie - 08-29-2010 Hmm, glad to see you aren't wrong and thank you for correcting me. For some reason I had F keys in my mind... Isn't JNE = Jump If Not Equal JNZ I was pretty sure was Jump If Not Zero or Jump If Zero Flag Not Set Although I'm pretty sure you could also use JNE instead of JNZ in almost any situation. And yeah, thanks for correcting me, I wondered why it started doing that and assumed naturally it was because it was key input for anything. Xidd 1 : Eddie 0 Well done, you've spurred me into more HEX thinking. Damn you Xidd... DAMN YOU! Eddie RE: New Cheat - ethanara - 08-29-2010 Quote:if everything went well then 455471h becomes 64h - that is the lf2.net cheat flag why 64h? and where can i see the thingy of what the cheat do if i push lf2.net? RE: New Cheat - Xidd - 08-29-2010 "why 64h?" because thats how it works... the number has no signifiance what do you mean "where can i see the thingy of what the cheat do if push lf2.net?"... i explained the whole process in my previous post. if you mean what reads that adress, look here :http://lf-empire.de/forum/showthread.php?tid=2360 0042A71F > 833D 28844500 >CMP DWORD PTR DS:[458428],1 //check if lf2.net is enabled anyway i think you are thinking about this the wrong way. first you have to detect the keys pressed(hard-ish) - afterwards you can change any bit of code to see if the cheat is enabled or not(easy-ish)... RE: New Cheat - ethanara - 08-30-2010 i mean that if you push lf2.net, where does it check "okay, he pushed that, so now i should do this and this" |