View Poll Results: Did this Guide Help You?

Voters
33. This poll is closed
  • Yes, I think it did help/will help

    23 69.70%
  • No, This guide didn't have the information I was after

    10 30.30%
Page 1 of 4 123 ... LastLast
Results 1 to 15 of 57
  1. #1
    User1's Avatar
    Join Date
    Jul 2009
    Gender
    female
    Location
    Above the influence
    Posts
    4,085
    Reputation
    61
    Thanks
    4,294,967,295
    My Mood
    Crappy

    How to Use VB.net and Combine with Combat Arms

    OK Guys. Enough VB questions and basic stuff. I have made this awesome guide for you folks to enjoy and read and I will be pointing here probably later on to help anyone that did not bother reading my post.

    Most Useful Site ever: MSDN: Microsoft Development, MSDN Subscriptions, Resources, and More

    THIS IS A VISUAL BASIC.NET GUIDE NOT A VB6 GUIDE ALTHOUGH SOME STUFF MIGHT RELATE.

    So here we start:

    Part 1 - Detecting Keypresses/Hotkeys

    Obviously for any hack hotkeys/D3D9 menu's will be the most convenient thing to use. Since D3D9 implantation is relatively hard compared to hotkeys, lets just start with hotkeys.

    The thing to use is GetKeyState() (Thank you xFaith!)

    In VB you declare it like this:
    Code:
    Private Declare Function GetKeyState Lib "user32" (ByVal vKey As Long) As Integer 'Declares GetKeyState
    And you use it like this:
    Code:
    GetKeyState(KeyCode)
    It will return a value that you can experiment with in my example program that will be attached after fixing it up a bit...

    Use it to detect keypresses so you can detect when a user has pressed a certain key, then it can maybe change a variable's value to start a code. This is probably the most simple way you can use hotkeys. Otherwise you can register hotkeys which is annoying and stuff...

    Complete Key Code Listing here: Key Code Constants for Visual Basic 6.0 Users (Save a copy on your hard drive incase you ever need it while programing on the go)

    Part 2 - Spam Bots

    This will teach you how to make spam bots. Very simple way of making spam bots!

    First of all you have to have intervals, I use Sleep() which is really useful... I also use a Timer to loop around...

    Declare for Sleep:
    Code:
    Private Declare Sub Sleep Lib "kernel32" (ByVal dwmilliseconds As Long) 'Declares for Sleep
    Use:
    Code:
    Sleep(Miliseconds to wait)
    Very simple stuff. This will help avoid Nexon's message flood protection.

    Next is SendKeys.SendWait, I use SendWait because It just works better for me for some reason, don't know why. Its simple to use:

    Code:
    SendKeys.SendWait("Text Here")
    Now you will also need a random thing inbetween words to make sure you don't get caught repeating stuff. Simple code:

    Code:
    SendKeys.SendWait("Text") 'Spam message
    SendKeys.SendWait("{Enter}") 'Enter button
    SendKeys.SendWait(Rnd()*100) 'Code to write a random number
    Sleep(3000) ' Wait 3 seconds
    Example code can be found in the attached example project.

    Part 3 - Text File Editing and All the other Fun Stuff

    Saving files can be useful for remembering CA directory from user input, useful for injectors to remember where the .dll to inject was located, write logs, and other ideas you can create!

    I am just going right down the code and hopefully it will be self explanitory.

    Note: VB does NOTHING for you. If your directory dosen't exsist, it will give an error, if the file your writing to is not yet created, it won't make that file for you, if your file is still being made (That step takes a while) it will return an exception. And other stuff. Post here for help on that...

    Create Directory:

    Code:
    My.Computer.FileSystem.CreateDirectory("C:\New Directory") 'Creates Directory
    Create File:

    Code:
    System****.File.Create("C:\New Directory\New File.txt") 'Creates the files...
    Write To File

    Code:
    My.Computer.FileSystem.WriteAllText(TextBox1.Text & TextBox4.Text, TextBox2.Text, False) 'writes text to the textfile, It will overwrite all existing text
    The false sets it to over-ride mode. If it is true, it will just amend.

    Read From File:

    Code:
    My.Computer.FileSystem.ReadAllText("C:\New Directory\New File.txt") 'Reads text from file
    Delete File:

    Code:
    My.Computer.FileSystem.DeleteFile(TextBox1.Text & TextBox4.Text) 'Deletes file...
    Thank you for reading, This is all so far. I will post back more stuff like Memory Hacking (Need to test a few thing first...) and D3D9 Hooking (I just started...) with VB.net

    I WILL BE UPLOADING THE EXAMPLE PROJECT UP A BIT LATER!

    Example Project is up, feel free to look, just give me creds

    Virus Scan: http://www.virustotal.com/analisis/d...fdc-1252644186
    Last edited by User1; 09-11-2009 at 12:47 AM.
    Any donations would help


    Quote Originally Posted by Bombsaway707

    HOLY SHIT ITS USER1
    Quote Originally Posted by Blood

    HOLY SHIT ITS USER1
    Quote Originally Posted by Alby-kun


    HOLY SHIT ITS USER1
    Quote Originally Posted by Ali

    HOLY SHIT ITS USER1
    Quote Originally Posted by CodeDemon
    HOLY SHIT ITS USER1
    Quote Originally Posted by Jussofresh View Post
    HOLY SHIT ITS USER1!
    [21:13] CoderNever: HOLY SHIT ITS USER1!
    Yes it is me... Yup Yup




  2. The Following 14 Users Say Thank You to User1 For This Useful Post:

    -James (09-22-2009),cafer2004 (10-18-2009),dadirty (09-11-2009),edu_dudu (09-22-2009),Grim (09-19-2009),kay911kay (09-11-2009),kimodragon (09-10-2009),l0lz0rs (09-29-2009),obeliscooo (10-04-2009),ROUGHS3X (09-11-2009),Tierrize (09-10-2009),trex (09-11-2009),Trunky (09-22-2009),XGelite (09-12-2009)

  3. #2
    HaX00R's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    Laval in Quebec, La belle province
    Posts
    454
    Reputation
    9
    Thanks
    102
    My Mood
    Cool
    nice tut bat personaly idk the programing for the moment (c++ or ather thing) and i dont thing you shoud post that here


    U CAN'T SKIP, U CAN'T HIDDEN, U CANT PROTECT, U CAN ONLY DIE WHIT MaGNuM

  4. #3
    Corndog's Avatar
    Join Date
    Jan 2009
    Gender
    male
    Location
    Salem, NH
    Posts
    10,139
    Reputation
    526
    Thanks
    2,906
    move to VB section?

    Just what we need. more cleaners and non working gigantic crosshairs.

    this must have taken for fucking ever.

  5. #4
    User1's Avatar
    Join Date
    Jul 2009
    Gender
    female
    Location
    Above the influence
    Posts
    4,085
    Reputation
    61
    Thanks
    4,294,967,295
    My Mood
    Crappy
    I think the best VB.net coder here is XpliCitt....

    Anyway, this dosen't teach neither... sorta...
    Any donations would help


    Quote Originally Posted by Bombsaway707

    HOLY SHIT ITS USER1
    Quote Originally Posted by Blood

    HOLY SHIT ITS USER1
    Quote Originally Posted by Alby-kun


    HOLY SHIT ITS USER1
    Quote Originally Posted by Ali

    HOLY SHIT ITS USER1
    Quote Originally Posted by CodeDemon
    HOLY SHIT ITS USER1
    Quote Originally Posted by Jussofresh View Post
    HOLY SHIT ITS USER1!
    [21:13] CoderNever: HOLY SHIT ITS USER1!
    Yes it is me... Yup Yup




  6. The Following 2 Users Say Thank You to User1 For This Useful Post:

    -XpliCitt- (09-10-2009),obeliscooo (10-04-2009)

  7. #5
    Jimmy's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Location
    Jersey
    Posts
    4,575
    Reputation
    70
    Thanks
    647
    lol move this really to VB section btw best vb coder is explictt then user 1 then meee but since they got minion i might get into coding team for VB

  8. #6
    Tierrize's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    C:\MPGH\General
    Posts
    1,022
    Reputation
    -6
    Thanks
    89
    My Mood
    Amused
    Good Job Bro. I Don't Use Vb.net But It Did Do Some Good.


    Hazedup is the best there ever was

  9. #7
    juanrineytor's Avatar
    Join Date
    Sep 2008
    Gender
    male
    Location
    Moo-chang
    Posts
    3,398
    Reputation
    0
    Thanks
    195
    My Mood
    Amused
    Oh wow good guide.I'm thinking on starting to learn a coding language soon!BTW grats on becoming a minion.

  10. #8
    Pixie's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Pixie wird wieder steigen.
    Posts
    1,890
    Reputation
    22
    Thanks
    229
    My Mood
    Fine
    Quote Originally Posted by User1 View Post
    Part 1 - Detecting Keypresses/Hotkeys

    Obviously for any hack hotkeys/D3D9 menu's will be the most convenient thing to use. Since D3D9 implantation is relatively hard compared to hotkeys, lets just start with hotkeys.

    The thing to use is GetKeyState() (Thank you xFaith!)

    In VB you declare it like this:
    Code:
    Private Declare Function GetKeyState Lib "user32" (ByVal vKey As Long) As Integer 'Declares GetKeyState
    And you use it like this:
    Code:
    GetKeyState(KeyCode)
    That's the 3rd type of hotkey code I've seen for Visual Basics 2008, and it kinda looks like the vb 06 hotkey code... I will try that later, and it it works, I will thanks you and xFaith so much!

    edit: what is the keycodes??

  11. #9
    kimodragon's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    MoVal
    Posts
    222
    Reputation
    11
    Thanks
    24
    My Mood
    Amused
    Quote Originally Posted by PixieCorp View Post
    That's the 3rd type of hotkey code I've seen for Visual Basics 2008, and it kinda looks like the vb 06 hotkey code... I will try that later, and it it works, I will thanks you and xFaith so much!

    edit: what is the keycodes??
    codes are on msdn and thanks user1 this is great for people who already know the basics of VB

  12. #10
    That0n3Guy's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    1,137
    Reputation
    13
    Thanks
    271
    My Mood
    Sleepy
    Ehhh.... I still prefer VB6.
    Quotes Hall of Fame

    Quote Originally Posted by martijno0o0 View Post
    ok, i got visual basic 2008 and i got some expirients but i need c++ to make hacks rigth?
    so i need c++ and my question is!?¿? where i dontload it? and is c++ a own program or a update for vb08?

  13. The Following User Says Thank You to That0n3Guy For This Useful Post:

    whitten (09-11-2009)

  14. #11
    kimodragon's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    MoVal
    Posts
    222
    Reputation
    11
    Thanks
    24
    My Mood
    Amused
    I started on VB 08

  15. #12
    Pixie's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Pixie wird wieder steigen.
    Posts
    1,890
    Reputation
    22
    Thanks
    229
    My Mood
    Fine
    Quote Originally Posted by kimodragon View Post
    codes are on msdn and thanks user1 this is great for people who already know the basics of VB
    The keycodes are wrong
    They give me an error with only the keycode, and I tried different ones too...

  16. #13
    User1's Avatar
    Join Date
    Jul 2009
    Gender
    female
    Location
    Above the influence
    Posts
    4,085
    Reputation
    61
    Thanks
    4,294,967,295
    My Mood
    Crappy
    Does GetKeyState work? I don't think GetKeyState is even supported for VB06
    Any donations would help


    Quote Originally Posted by Bombsaway707

    HOLY SHIT ITS USER1
    Quote Originally Posted by Blood

    HOLY SHIT ITS USER1
    Quote Originally Posted by Alby-kun


    HOLY SHIT ITS USER1
    Quote Originally Posted by Ali

    HOLY SHIT ITS USER1
    Quote Originally Posted by CodeDemon
    HOLY SHIT ITS USER1
    Quote Originally Posted by Jussofresh View Post
    HOLY SHIT ITS USER1!
    [21:13] CoderNever: HOLY SHIT ITS USER1!
    Yes it is me... Yup Yup




  17. The Following User Says Thank You to User1 For This Useful Post:

    obeliscooo (10-04-2009)

  18. #14
    Pixie's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Pixie wird wieder steigen.
    Posts
    1,890
    Reputation
    22
    Thanks
    229
    My Mood
    Fine
    Quote Originally Posted by User1 View Post
    Does GetKeyState work? I don't think GetKeyState is even supported for VB06
    I'm using 08 this time...

  19. #15
    User1's Avatar
    Join Date
    Jul 2009
    Gender
    female
    Location
    Above the influence
    Posts
    4,085
    Reputation
    61
    Thanks
    4,294,967,295
    My Mood
    Crappy
    Are you using the code included with my post? Oh shat forgot to upload SS and Vscan...
    Any donations would help


    Quote Originally Posted by Bombsaway707

    HOLY SHIT ITS USER1
    Quote Originally Posted by Blood

    HOLY SHIT ITS USER1
    Quote Originally Posted by Alby-kun


    HOLY SHIT ITS USER1
    Quote Originally Posted by Ali

    HOLY SHIT ITS USER1
    Quote Originally Posted by CodeDemon
    HOLY SHIT ITS USER1
    Quote Originally Posted by Jussofresh View Post
    HOLY SHIT ITS USER1!
    [21:13] CoderNever: HOLY SHIT ITS USER1!
    Yes it is me... Yup Yup




  20. The Following User Says Thank You to User1 For This Useful Post:

    obeliscooo (10-04-2009)

Page 1 of 4 123 ... LastLast

Similar Threads

  1. [TUT]How to use Injectors:Gn3tool and PerX
    By krishna in forum CrossFire Hacks & Cheats
    Replies: 4
    Last Post: 09-06-2009, 03:18 PM
  2. could use some hacks and help with CA
    By Gunnerdevil in forum Combat Arms Hacks & Cheats
    Replies: 0
    Last Post: 12-26-2008, 03:28 PM
  3. How to use (RELEASE) Charms and Wall) on Vista. Walkthu.
    By LivetoDie in forum Combat Arms Hacks & Cheats
    Replies: 15
    Last Post: 09-01-2008, 10:38 PM
  4. Kipe with combat arms?
    By zander145 in forum Combat Arms Hacks & Cheats
    Replies: 10
    Last Post: 08-18-2008, 01:10 PM
  5. Help with combat arms
    By RJWlll93 in forum General Hacking
    Replies: 1
    Last Post: 07-23-2008, 02:20 PM