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 


[Release] ConsoleEasy | Opensource C bot | Class added!
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Renkokuken
GO Moderator
Reputation: 4

Joined: 22 Oct 2006
Posts: 3249

PostPosted: Mon Feb 11, 2008 11:18 am    Post subject: [Release] ConsoleEasy | Opensource C bot | Class added! Reply with quote

I've prepared a little example bot for those who are looking for how to code a bot in C/C++.
Easy customizable, and has prime examples of multi-threading.

I plan on commenting it heavily later on today, and perhaps making a class for easier usage.

As for a little explanation, the bot will stream it's dependencies at run-time, into a folder located at
Code:
[DRIVELETTER]:/tmp


All of which will be released and deleted at closing. I plan on further use of this dependency for trainer example in time to come, but for now it's just for exporting a few functions. The DLL located in the source is only for compilation, and doesn't need to be carried with the program.
The bot is in complete Unicode as well, as I don't see much of it around CEF.

Nevertheless, I hope you enjoy it. Feel free to use it's functions, modify, and enhance it as you will. Refresh the page if you don't see the attachment.

I fixed a minor error, thanks for the bug reporting.

___________________________________________________________

I've finished the CORE class, users can now easily create/terminate threads that are easily customizable with delays, keys, and more.

Source and example also added to attachments!



The Extension 'rar' was deactivated by an board admin, therefore this Attachment is not displayed.


The Extension 'rar' was deactivated by an board admin, therefore this Attachment is not displayed.



Last edited by Renkokuken on Wed Feb 13, 2008 12:22 pm; edited 3 times in total
Back to top
View user's profile Send private message
Uligor
Grandmaster Cheater
Reputation: 0

Joined: 21 Jan 2006
Posts: 956

PostPosted: Mon Feb 11, 2008 11:35 am    Post subject: Reply with quote

I really really dislike your coding style but it's Wenwo so gud job. :3
_________________
Back to top
View user's profile Send private message
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Mon Feb 11, 2008 12:05 pm    Post subject: Reply with quote

hmm I don't know what their problems are. The code is well arranged in my opinion.

good job.
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Mon Feb 11, 2008 12:19 pm    Post subject: Reply with quote

lol Wenwo, btw that's noz's the leetness mission you thief ! Mad

Same method as i did in pascal, just in C++
Back to top
View user's profile Send private message
Renkokuken
GO Moderator
Reputation: 4

Joined: 22 Oct 2006
Posts: 3249

PostPosted: Mon Feb 11, 2008 1:16 pm    Post subject: Reply with quote

Rot1 wrote:
lol Wenwo, btw that's noz's the leetness mission you thief ! Mad

Same method as i did in pascal, just in C++
Not really, and except good.
Back to top
View user's profile Send private message
Spawnfestis
GO Moderator
Reputation: 0

Joined: 02 Nov 2007
Posts: 1746
Location: Pakistan

PostPosted: Mon Feb 11, 2008 1:17 pm    Post subject: Reply with quote

Rot1 wrote:
lol Wenwo, btw that's noz's the leetness mission you thief ! Mad

Same method as i did in pascal, just in C++


lol scrotum, btw you never did anything, that's renko's leetness mission you twat ! Mad

Same method as you stole in pascal, just in C++

_________________

CLICK TO HAX MAPLESTORAY ^ !!!!
Back to top
View user's profile Send private message Send e-mail MSN Messenger
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Mon Feb 11, 2008 1:32 pm    Post subject: Reply with quote

Spawnfestis wrote:
Rot1 wrote:
lol Wenwo, btw that's noz's the leetness mission you thief ! Mad

Same method as i did in pascal, just in C++


lol scrotum, btw you never did anything, that's renko's leetness mission you twat ! Mad

Same method as you stole in pascal, just in C++


i talked to renko about this, and it was my bad
Back to top
View user's profile Send private message
Renkokuken
GO Moderator
Reputation: 4

Joined: 22 Oct 2006
Posts: 3249

PostPosted: Mon Feb 11, 2008 1:38 pm    Post subject: Reply with quote

Everyone's entitled to their opinions!

I do admit my coding style is a bit hard to read, but I like it as such since I prefer compact code.

@rot1: Not a problem, apology accepted.
Back to top
View user's profile Send private message
Noz3001
I'm a spammer
Reputation: 26

Joined: 29 May 2006
Posts: 6220
Location: /dev/null

PostPosted: Mon Feb 11, 2008 2:47 pm    Post subject: Reply with quote

Hi Renko, whats up? ^^.
Back to top
View user's profile Send private message MSN Messenger
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Mon Feb 11, 2008 6:00 pm    Post subject: Reply with quote

Lol @ Kasper trying to call people out on stealing code.

And Renk no love for me? Sad I fixed the errors ! >.>

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
DebugMe
Newbie cheater
Reputation: 0

Joined: 29 May 2007
Posts: 20

PostPosted: Mon Feb 11, 2008 7:01 pm    Post subject: Reply with quote

Smile Nice one, actually helped me understand something. But I'm not sure if it's supposed to actually work on MapleStory, because when I tried, the keys weren't being send and the console was getting spammed with Target locked and something else =\
Back to top
View user's profile Send private message
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Mon Feb 11, 2008 7:22 pm    Post subject: Reply with quote

Here is a better way to handle the hotkeys:

Code:
if ( GetAsyncKeyState( VK_F9 ) & 0x81 ) {
    bAutoLoot = !bAutoLoot;
    wprintf( L"AutoLoot status: %s\n", bAutoLoot ? L"RESUMED" : L"SUSPENDED" );
}
if ( GetAsyncKeyState( VK_F10 ) & 0x81 ) {
    bAutoJump = !bAutoJump;
    wprintf( L"AutoJump status: %s\n", bAutoJump ? L"RESUMED" : L"SUSPENDED" );
}
Back to top
View user's profile Send private message
Renkokuken
GO Moderator
Reputation: 4

Joined: 22 Oct 2006
Posts: 3249

PostPosted: Mon Feb 11, 2008 7:56 pm    Post subject: Reply with quote

DebugMe wrote:
Smile Nice one, actually helped me understand something. But I'm not sure if it's supposed to actually work on MapleStory, because when I tried, the keys weren't being send and the console was getting spammed with Target locked and something else =\
You're right, I seem to have misused the macros in this one copy. I fixed it and it's working again. Attached to the main post is the updated source.

@Flyte: It's better, but WL4 calls warnings on it. I'll do so though. :>

@Wiccaan: Thanks for the warning-smashing. <3!
Back to top
View user's profile Send private message
.Murder.
Grandmaster Cheater
Reputation: 0

Joined: 28 Nov 2007
Posts: 723

PostPosted: Mon Feb 11, 2008 10:10 pm    Post subject: Reply with quote

Oh God. Sexy
_________________
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Tue Feb 12, 2008 4:39 am    Post subject: Reply with quote

Wiccaan wrote:
Lol @ Kasper trying to call people out on stealing code.

And Renk no love for me? Sad I fixed the errors ! >.>


He didn't steal anything, it was my bad.

but he's doing noz's the leetness mission Very Happy !
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  Next
Page 1 of 2

 
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