[Tutorial] Making an Ingame Trainer Using Visual Basic

01/22/2015 15:57 REDAPRO#1
[ Tutorial ]
[Only registered and activated users can see links. Click Here To Register...]
Second make a check box and a button ......
make the name of the check box any function you want ( Ex. God Mod)


Second :

Coding Section
Click on Project then add an existing item ( Shift + Alt + A ) and add the Read/Write Memory.vb


Put this Code for the Check Box (God Mod )
Code:
  Dim Hacked As String = "2833843572"
        Dim Normal As String = "2833843573"
        Dim Address As Integer = "&H7E08B5"
        If CheckBox1.Checked Then
            WriteLong("S4Client", Address, Hacked)
        Else
            WriteLong("S4Client", Address, Normal)
        End If
or
Code:
        If CheckBox1.Checked Then
            WriteLong("S4Client", Address , Hacked value)
        Else
            WriteLong("S4Client", Address, Normal value )
        End If

Debug your Trainer ....... Enjoy
If you want to get the .exe
Open your project folder The open the bin folder then open the Debug folder and you will find your Trainer (.exe)
Enjoy


[Alternate Download Links ]



Good Luck ,
REDAPRO

More Tutorial Soon
01/22/2015 16:19 RingleRangleRob#2
Quote:
Code:
Dim Hacked As String = "2833843572"
Dim Normal As String = "2833843573"
Dim Address As String = "&H7E08B5"
warum als String ?!!
01/22/2015 16:19 edkevin#3
Uncomplete & Values is not string, but integer, no?
01/22/2015 16:30 REDAPRO#4
Quote:
Originally Posted by edkevin View Post
Uncomplete & Values is not string, but integer, no?
String works too
I made it as string to be easy to write the values alone ...
it's completed
01/22/2015 16:30 LeheMan1#5
Quote:
Dim Hacked As String = "2833843572"
Dim Normal As String = "2833843573"
Dim Address As String = "&H7E08B5"
its not string false codes. its int
01/22/2015 16:31 REDAPRO#6
Quote:
Originally Posted by [F]aze View Post
warum als String ?!!
Same as integer :pimp:

Quote:
Originally Posted by LeheMan1 View Post
its not string false codes. its int
(Dim as Integer) same as (Dim As String ) in the trainers
01/22/2015 16:40 ciaociaobambino#7
Quote:
Originally Posted by REDAPRO View Post

Code:
  Dim Hacked As String = "2833843572"
        Dim Normal As String = "2833843573"
        Dim Address As String = "&H7E08B5"
REDAPRO
Quote:
Originally Posted by LeheMan1 View Post
its not string false codes. its int
Of course
Code:
 
Dim Address As String = "&H7E08B5"
It's Int
Code:
 
String = "&H7E08B5"
INTEGER lol
01/22/2015 16:58 REDAPRO#8
Quote:
Originally Posted by ciaociaobambino View Post
Of course
Code:
 
Dim Address As String = "&H7E08B5"
It's Int
Code:
 
String = "&H7E08B5"
INTEGER lol
&H is for the address and it works with both , i edited ......
i use it for my hacks:bandit:
01/22/2015 17:01 [Beatrice]#9
Quote:
Dim Hacked As String = "2833843572"
Dim Normal As String = "2833843573"
Dim Address As String = "&H7E08B5"
Made my day
01/22/2015 17:02 REDAPRO#10
Quote:
Originally Posted by [Beatrice] View Post
Made my day
Made * :D
01/22/2015 17:14 Kira Mikami#11
Code:
If Me.CheckBoxXX.Checked Then
            ReadWritingMemory.WriteLong("S4Client.exe", &H53A124, 2348565977, 4)
            PictureBoxXX.BackColor = Color.LightGreen

        Else
            ReadWritingMemory.WriteLong("S4Client.exe", &H53A124, 2348565970, 4)
            PictureBoxXX.BackColor = Color.Red
        End If
Easyer ^-^
01/22/2015 17:22 REDAPRO#12
Quote:
Originally Posted by Kira Mikami View Post
Code:
If Me.CheckBoxXX.Checked Then
            ReadWritingMemory.WriteLong("S4Client.exe", &H53A124, 2348565977, 4)
            PictureBoxXX.BackColor = Color.LightGreen

        Else
            ReadWritingMemory.WriteLong("S4Client.exe", &H53A124, 2348565970, 4)
            PictureBoxXX.BackColor = Color.Red
        End If
Easyer ^-^
not:rolleyes:
01/22/2015 17:46 ciaociaobambino#13
Anyways, this is not the right way to be a coder,
your tutorial it's working but it is incorrect at all
your script make the program change the address every time it see the checkbox checked
this need more memory usage and cpu consume
and i hope it don't brick the hardware (isn't impossible but of course is not a trainer lol)

the best way is make a variable state to check the actual state of the checkbox

then...
Code:
dim state as int = 0
if checkBox.Checked then
   if state=0 then
       memWrite..... hack on
       state=1
    end if
else
    if state then
         memWrite (hack off...
         state=0
    end if
end if
i don't know the visual basic correct syntax, my favourite is C or C++
i hate the .net framework... it's windows closed
and it don't have End If statement xD
if www {

} <--- like that

i know surely other way 100 more time best of this
but i don't know the VB syntax
what i want to say is
don't find if the checkbox is checked...
only do the writeMemory function when it is pressed!
let me explain
Code:
if GuiMessage=checkbox then
if state=0 then
write hack on
state=1
else
write hack off
state = 0
end if
end if
or maybe

if checkBox.Clicked or .input i don't know realy
01/22/2015 18:01 REDAPRO#14
Quote:
Originally Posted by ciaociaobambino View Post
Anyways, this is not the right way to be a coder,
your tutorial it's working but it is incorrect at all
your script make the program change the address every time it see the checkbox checked
this need more memory usage and cpu consume
and i hope it don't brick the hardware (isn't impossible but of course is not a trainer lol)

the best way is make a variable state to check the actual state of the checkbox

then...
Code:
dim state as int = 0
if checkBox.Checked then
   if state=0 then
       memWrite..... hack on
       state=1
    end if
else
    if state then
         memWrite (hack off...
         state=0
    end if
end if
i don't know the visual basic correct syntax, my favourite is C or C++
i hate the .net framework... it's windows closed
and it don't have End If statement xD
if www {

} <--- like that

i know surely other way 100 more time best of this
but i don't know the VB syntax
what i want to say is
don't find if the checkbox is checked...
only do the writeMemory function when it is pressed!
let me explain
Code:
if GuiMessage=checkbox then
if state=0 then
write hack on
state=1
else
write hack off
state = 0
end if
end if
or maybe

if checkBox.Clicked or .input i don't know realy

Thank you :D But i uploaded the easiest way to code ..... i wish to learn C#
01/22/2015 18:02 Kira Mikami#15
Quote:
Originally Posted by REDAPRO View Post
not:rolleyes:
Yep. Easyer ^-^

Quote:
Originally Posted by ciaociaobambino View Post
Anyways, this is not the right way to be a coder,
your tutorial it's working but it is incorrect at all
your script make the program change the address every time it see the checkbox checked
this need more memory usage and cpu consume
and i hope it don't brick the hardware (isn't impossible but of course is not a trainer lol)
Lol ^-^