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 


[Beta/Release] ByteFunctions.dll
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Cx
Master Cheater
Reputation: 0

Joined: 27 Jul 2007
Posts: 367

PostPosted: Mon Sep 24, 2007 8:24 pm    Post subject: [Beta/Release] ByteFunctions.dll Reply with quote

Well, I wanted to try something today. It resulted in ByteFunctions.dll.
Right now it only has two functions. It's only a beta, I'd like some testing and some feedback.

YOU MUST BE USING THIS FROM INSIDE THE PROCESS THAT YOU ARE USING IT ON!
Inject a DLL into the process that uses this.

It exports two functions. Use LoadLibrary to load the .DLL, then GetProcAddress to get the address of the functions.

IScan:
    Scans bytes of the current process.
    Return value is the FIRST found address.
    The first parameter is the unsigned long value of the address you are scanning for (little endian or decimal, 4 bytes).
    The second parameter is a dword address to start the scanning at.
    The third parameter is a dword address to end the scanning at.
    If no addresses are found, the returned value is 0.



SetBytes:
    Sets the bytes at a specified address.
    The first parameter is the DWORD address to change the bytes at.
    The second parameter is the value to change the address to (4-bytes, little endian/decimal, unsigned long value).



DL gone while I learn a bit more.

_________________

armed with this small butterfly net
i will face the world alone
& never be lonely.


Last edited by Cx on Mon Sep 24, 2007 9:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
Int3
Grandmaster Cheater
Reputation: 0

Joined: 25 Feb 2007
Posts: 862
Location: British Columbia

PostPosted: Mon Sep 24, 2007 8:29 pm    Post subject: Reply with quote

So its a poison Very Happy
Back to top
View user's profile Send private message
[SPW]Jsin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 19 Jul 2007
Posts: 1251

PostPosted: Mon Sep 24, 2007 8:35 pm    Post subject: Reply with quote

fuck jeahhh
superimposing sexy bodies wit "Hermione's" (forgot her name =[ ) head.

_________________
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Mon Sep 24, 2007 9:09 pm    Post subject: Reply with quote

We CAN'T use LoadLibrary/GetProcAddress to call your functions because you compiled as C++ and thus your function names are decorated. Post the .lib file that your compiler automatically generates anyway. Also, post a header file so we know exactly what parameters to pass to the application and document the return values.

Or better yet, open source it.
Back to top
View user's profile Send private message
Cx
Master Cheater
Reputation: 0

Joined: 27 Jul 2007
Posts: 367

PostPosted: Mon Sep 24, 2007 9:14 pm    Post subject: Reply with quote

ofuck.
?IScan@@YAKKKK@Z
?SetBytes@@YAXKK@Z
lulz.

_________________

armed with this small butterfly net
i will face the world alone
& never be lonely.
Back to top
View user's profile Send private message
giveme
Grandmaster Cheater
Reputation: 0

Joined: 16 Jan 2007
Posts: 933
Location: GMS - Khaini

PostPosted: Mon Sep 24, 2007 9:17 pm    Post subject: Reply with quote

so it doesnt work
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Mon Sep 24, 2007 9:20 pm    Post subject: Reply with quote

Yep. There's no reason to use this anyway, the first function, "IScan" was released, source and all, in a thread I posted where an unnamed friend contributed some code. The second is ridiculous, there is a feature in C that allows you to do this with no hassle, it is the dereference operator, that little * you put in front of values to let the compiler know your variable is an address. As an added treat, you can't statically link, and you have Cx statically linking the whole C++ runtime library (which he doesn't even use). This is what happens when newbie developers think their code is so special they don't want anyone to see it but want everyone to use it.
Back to top
View user's profile Send private message
Cx
Master Cheater
Reputation: 0

Joined: 27 Jul 2007
Posts: 367

PostPosted: Mon Sep 24, 2007 9:36 pm    Post subject: Reply with quote

appalsap wrote:
Yep. There's no reason to use this anyway, the first function, "IScan" was released, source and all, in a thread I posted where an unnamed friend contributed some code. The second is ridiculous, there is a feature in C that allows you to do this with no hassle, it is the dereference operator, that little * you put in front of values to let the compiler know your variable is an address. As an added treat, you can't statically link, and you have Cx statically linking the whole C++ runtime library (which he doesn't even use). This is what happens when newbie developers think their code is so special they don't want anyone to see it but want everyone to use it.

You always have to be such an ass.
1) I don't want anyone to see it because I know that it's innefficient and bad, and you gave KiKi one hell of a time for his barely inefficient coding (so I don't think it's special either, ass).
2) I don't care if anyone uses this.
3) This whole thing was so that I could learn.
Cx wrote:
I'd like some testing and some feedback.

Fuck you. I was thankful for your comments up until now. You had to blow it to make yourself look so fucking awesome (but the fact that you leaked the first one decreases your rank on the fucking awesome meter).

_________________

armed with this small butterfly net
i will face the world alone
& never be lonely.
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Mon Sep 24, 2007 10:04 pm    Post subject: Reply with quote

Cx wrote:
...1) I don't want anyone to see it because I know that it's innefficient and bad...
3) This whole thing was so that I could learn.


That is exactly why you post the code, so other people contribute suggestions and ideas. This is the general programming section after all.

Cx wrote:
...(but the fact that you leaked the first one decreases your rank on the fucking awesome meter).


Sounds like you copied that code Wink
It's a difference in ideals. I believe in free flow of information, you like to lock up and restrict as much code as possible, what's "leaking" to you is "sharing" to me- how could anyone new ever learn if we don't share code? There are a lot of things to consider before releasing a closed library so it is actually usable to people.
Back to top
View user's profile Send private message
Uligor
Grandmaster Cheater
Reputation: 0

Joined: 21 Jan 2006
Posts: 956

PostPosted: Mon Sep 24, 2007 11:44 pm    Post subject: Reply with quote

I seriously doubt Cx would steal code figuring he's learning, it wouldn't make any sense.

And about the export names, you could just check the export directory.

_________________
Back to top
View user's profile Send private message
Uligor
Grandmaster Cheater
Reputation: 0

Joined: 21 Jan 2006
Posts: 956

PostPosted: Tue Sep 25, 2007 12:41 am    Post subject: Reply with quote

x0r wrote:
Won't step on your toes but I will say this, these functions both seem trivial and a waste of space, come on... a DWORD scan loop?! A DWORD writer? You advertised this as a possible way of using MapleStory hacks but you're just trying to trump up something minuscule and pointless, anyone with the knowledge to import a library could perform both functions without this needless dependency. I suggest you scrap the second option and just post the LIB to a complete AoB function which works on any operand size (DWORD is too small) and dynamically sees what memory is pageable.


You forget he's still learning.

_________________
Back to top
View user's profile Send private message
sphere90
Grandmaster Cheater
Reputation: 0

Joined: 24 Jun 2006
Posts: 912

PostPosted: Tue Sep 25, 2007 5:23 am    Post subject: Reply with quote

Cx, you can always change the export name to something that is not decorated by using a .def file
Back to top
View user's profile Send private message
assaf84
Expert Cheater
Reputation: 0

Joined: 03 Oct 2006
Posts: 238

PostPosted: Tue Sep 25, 2007 6:16 am    Post subject: Reply with quote

Uligor wrote:
x0r wrote:
Won't step on your toes but I will say this, these functions both seem trivial and a waste of space, come on... a DWORD scan loop?! A DWORD writer? You advertised this as a possible way of using MapleStory hacks but you're just trying to trump up something minuscule and pointless, anyone with the knowledge to import a library could perform both functions without this needless dependency. I suggest you scrap the second option and just post the LIB to a complete AoB function which works on any operand size (DWORD is too small) and dynamically sees what memory is pageable.


You forget he's still learning.


I agree with x0r. The functions are useless, he didn't had to "release" it, it looks pretty pathetic..
If you release something you should make something that people will actually use.. And if you're just learning and don't have an idea, simply don't release XD
Back to top
View user's profile Send private message
Uligor
Grandmaster Cheater
Reputation: 0

Joined: 21 Jan 2006
Posts: 956

PostPosted: Tue Sep 25, 2007 7:18 am    Post subject: Reply with quote

assaf84 wrote:
Uligor wrote:
x0r wrote:
Won't step on your toes but I will say this, these functions both seem trivial and a waste of space, come on... a DWORD scan loop?! A DWORD writer? You advertised this as a possible way of using MapleStory hacks but you're just trying to trump up something minuscule and pointless, anyone with the knowledge to import a library could perform both functions without this needless dependency. I suggest you scrap the second option and just post the LIB to a complete AoB function which works on any operand size (DWORD is too small) and dynamically sees what memory is pageable.


You forget he's still learning.


I agree with x0r. The functions are useless, he didn't had to "release" it, it looks pretty pathetic..
If you release something you should make something that people will actually use.. And if you're just learning and don't have an idea, simply don't release XD


Well damn my eyes because everytime I look I see beta/release and not release.

_________________
Back to top
View user's profile Send private message
Uligor
Grandmaster Cheater
Reputation: 0

Joined: 21 Jan 2006
Posts: 956

PostPosted: Tue Sep 25, 2007 10:52 am    Post subject: Reply with quote

x0r wrote:
Uligor wrote:
You forget he's still learning.

Not at all, I just expected quite a bit more from him... let me rephrase; I expect more out of anyone using the phrase release for such a thing. (don't try to put emphasis on 'beta' because this isn't even worthy of such a title)


It isn't up to you to decide wether it's worthy or not.

x0r wrote:
Uligor wrote:
Well damn my eyes because everytime I look I see beta/release and not release.

Again, since when is a CMP loop & a MOV worthy of being called a release? Hm, maybe I should release a program with just an int3 and call it "x0r's magical debugger checker".


Quite frankly I wouldn't be surprised.

x0r wrote:
Lastly, something like this shouldn't be coded in C/C++ since their memory management is nowhere near as efficient as the pure ASM iteration.


People code in the language they want, it isn't up to you to decide who uses what language.

_________________
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 programming All times are GMT - 6 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
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