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 


c++ - How do i do forms and buttons and stuff
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
zonfirepker
Grandmaster Cheater Supreme
Reputation: 0

Joined: 15 Oct 2007
Posts: 1080
Location: Wouldn't you like to know?

PostPosted: Sat Jan 12, 2008 10:35 pm    Post subject: Reply with quote

o well it was only $10
_________________
EasSidezz wrote:
MD5's Aren't salted.
Back to top
View user's profile Send private message
zonfirepker
Grandmaster Cheater Supreme
Reputation: 0

Joined: 15 Oct 2007
Posts: 1080
Location: Wouldn't you like to know?

PostPosted: Sat Jan 12, 2008 10:35 pm    Post subject: Reply with quote

o well it was only $10
_________________
EasSidezz wrote:
MD5's Aren't salted.
Back to top
View user's profile Send private message
zonfirepker
Grandmaster Cheater Supreme
Reputation: 0

Joined: 15 Oct 2007
Posts: 1080
Location: Wouldn't you like to know?

PostPosted: Sat Jan 12, 2008 10:35 pm    Post subject: Reply with quote

o well it was only $10
_________________
EasSidezz wrote:
MD5's Aren't salted.
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sat Jan 12, 2008 10:49 pm    Post subject: Reply with quote

Nice.

What the hell did you buy that was $10 just for editing resources?
Back to top
View user's profile Send private message
Jani
Grandmaster Cheater
Reputation: 2

Joined: 29 Dec 2006
Posts: 804

PostPosted: Sun Jan 13, 2008 3:38 am    Post subject: Reply with quote

wxWidgets!
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Mon Jan 14, 2008 2:52 pm    Post subject: Hmm.. Reply with quote

zonfirepker wrote:
o well it was only $10

You like to spam in my topics, don't you? Well don't you???!

yippie!
C++ dosen't feel very userfriendly -.-
Why is it so much better than vb?

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Mon Jan 14, 2008 2:59 pm    Post subject: Reply with quote

VB is supposed to be easy and userfriendly, while C++ is supposed to be for more functional programming and isnt the most user friendly but you learn alot more.
_________________
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Mon Jan 14, 2008 3:04 pm    Post subject: Reply with quote

lurc wrote:
VB is supposed to be easy and userfriendly, while C++ is supposed to be for more functional programming and isnt the most user friendly but you learn alot more.

At easier levels vb is much more userfriendly, it's when you take it to the advanced level that everything just gets dark.
Btw are there a tut in makeing trainers using C++?

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Mon Jan 14, 2008 3:07 pm    Post subject: Reply with quote

At the basics, it's the same way you'd make any other trainer, just a few API calls.
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Mon Jan 14, 2008 3:14 pm    Post subject: Reply with quote

slovach wrote:
At the basics, it's the same way you'd make any other trainer, just a few API calls.

No, no dude. It's not just the same.
If u have tried vb then you know that it does most of the code for ya.
It's not the same as VB, it can't be.

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Mon Jan 14, 2008 3:58 pm    Post subject: Reply with quote

heres a trainer template. i found it sumwhere... and just neatend up the coding. its a simple dialog trainer, nothing big but here is the main.cpp
as stated credits are to /iMMESiON not me!

http://www.mediafire.com/?dm5m2omzomo

his coding is kinda messy and he states random functions like "aboutButton" instead of just putting a MessageBox where the WM_COMMAND but it still gives a simple idea on a trainer.

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

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Tue Jan 15, 2008 7:10 am    Post subject: Reply with quote

lurc wrote:
heres a trainer template. i found it sumwhere... and just neatend up the coding. its a simple dialog trainer, nothing big but here is the main.cpp
as stated credits are to /iMMESiON not me!

http://www.mediafire.com/?dm5m2omzomo

his coding is kinda messy and he states random functions like "aboutButton" instead of just putting a MessageBox where the WM_COMMAND but it still gives a simple idea on a trainer.

Thanks.

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Renkokuken
GO Moderator
Reputation: 4

Joined: 22 Oct 2006
Posts: 3249

PostPosted: Tue Jan 15, 2008 8:47 am    Post subject: Reply with quote

Naablet wrote:
slovach wrote:
At the basics, it's the same way you'd make any other trainer, just a few API calls.

No, no dude. It's not just the same.
If u have tried vb then you know that it does most of the code for ya.
It's not the same as VB, it can't be.
If that is your view on coding, you will never get beyond a beginner's level. Not everything will be done for you.
Back to top
View user's profile Send private message
NINTENDO
Grandmaster Cheater Supreme
Reputation: 0

Joined: 02 Nov 2007
Posts: 1371

PostPosted: Tue Jan 15, 2008 8:58 am    Post subject: Reply with quote

Renkokuken wrote:
Naablet wrote:
slovach wrote:
At the basics, it's the same way you'd make any other trainer, just a few API calls.

No, no dude. It's not just the same.
If u have tried vb then you know that it does most of the code for ya.
It's not the same as VB, it can't be.
If that is your view on coding, you will never get beyond a beginner's level. Not everything will be done for you.

What are you talking about? VB codes like most things for you. Here is an example..


VERSION 5.00
Object = "{248DD890-BB45-11CF-9ABC-0080C7E7B78D}#1.0#0"; "MSWINSCK.OCX"
Begin VB.Form frmMain
BorderStyle = 1 'Fixed Single
Caption = "Server"
ClientHeight = 3810
ClientLeft = 45
ClientTop = 330
ClientWidth = 4260
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 3810
ScaleWidth = 4260
StartUpPosition = 3 'Windows Default

Begin VB.ListBox List1
Height = 1230
Left = 2760
TabIndex = 14
Top = 1980
Width = 1395
End

Begin MSWinsockLib.Winsock WSockRELAY
Left = 3000
Top = 1020
_ExtentX = 741
_ExtentY = 741
_Version = 327681
Protocol = 1
RemotePort = 6970
End

Begin VB.TextBox Text1
Height = 285
Left = 180
TabIndex = 11
Text = "Text1"
Top = 3480
Width = 3555
End

Begin VB.Frame fraStatus
Caption = "Network Status"
Height = 915
Left = 60
TabIndex = 8
Top = 2520
Width = 2655

Begin VB.Label lblWSockRelay
Alignment = 2 'Center
BorderStyle = 1 'Fixed Single
Height = 255
Left = 1440
TabIndex = 13
Top = 600
Width = 555
End

Begin VB.Label lblWSockRELAYTitle
AutoSize = -1 'True
Caption = "Relay Status:"
Height = 195
Left = 120
TabIndex = 12
Top = 600
Width = 945
End

Begin VB.Label lblWSockStatus
Alignment = 2 'Center
BorderStyle = 1 'Fixed Single
Height = 255
Left = 1440
TabIndex = 10
Top = 300
Width = 555
End

Begin VB.Label lblWSockStatusTitle
AutoSize = -1 'True
Caption = "Winsock Status:"
Height = 195
Left = 120
TabIndex = 9
Top = 300
Width = 1170
End

End

Begin VB.Frame fraUsers
Caption = "User Details"
Height = 1035
Left = 60
TabIndex = 5
Top = 1380
Width = 2655
Begin VB.Label lblTotUsers
Alignment = 2 'Center
BorderStyle = 1 'Fixed Single
Caption = "0"
Height = 255
Left = 1080
TabIndex = 7
Top = 360
Width = 555
End

Begin VB.Label lblTotUsersTitle
AutoSize = -1 'True
Caption = "Total Users:"
Height = 195
Left = 120
TabIndex = 6
Top = 360
Width = 855
End

End

Begin VB.Timer tmrStats
Interval = 2000
Left = 3540
Top = 360
End

Begin VB.Frame fraDetails
Caption = "My Details"
Height = 1275
Left = 60
TabIndex = 0
Top = 60
Width = 2655
Begin VB.Label lblUNC
Alignment = 2 'Center
BorderStyle = 1 'Fixed Single
Height = 255
Left = 1020
TabIndex = 4
Top = 840
Width = 1455
End

Begin VB.Label lblUNCTitle
AutoSize = -1 'True
Caption = "UNC Name:"
Height = 195
Left = 120
TabIndex = 3
Top = 840
Width = 855
End

Begin VB.Label lblIP
Alignment = 2 'Center
BorderStyle = 1 'Fixed Single
Height = 255
Left = 1020
TabIndex = 2
Top = 360
Width = 1455
End

Begin VB.Label lblIPTitle
AutoSize = -1 'True
Caption = "IP Address:"
Height = 195
Left = 120
TabIndex = 1
Top = 360
Width = 810
End

End

Begin MSWinsockLib.Winsock WSock
Left = 3000
Top = 360
_ExtentX = 741
_ExtentY = 741
_Version = 327681
Protocol = 1
LocalPort = 6969
End

End

Attribute VB_Name = "frmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False


Option Explicit
Private Sub Form_Load()


lblIP.Caption = WSock.LocalIP
lblUNC.Caption = WSock.LocalHostName


WSock.LocalPort = "6969"
WSock.RemoteHost = "6969"
WSock.Bind

WSockRELAY.RemotePort = "6970"

End Sub

Private Sub tmrStats_Timer()
lblWSockStatus.Caption = WSock.State
lblWSockRelay.Caption = WSockRELAY.State

Dim n As Integer
List1.Clear
For n = 1 To MAX_USERS
List1.AddItem Users(n)
Next n

End Sub


Private Sub WSock_DataArrival(ByVal bytesTotal As Long)

Dim strData As String

WSock.GetData strData, vbString

If strData = "Hello Luke" Then Call AddIP(WSock.RemoteHostIP)

Call RelayMessage(strData, WSockRELAY)

Text1.Text = strData

End Sub


You see?
dosen't you have to manually code this kind of stuff in like c++ and java?

lurc wrote:
heres a trainer template. i found it sumwhere... and just neatend up the coding. its a simple dialog trainer, nothing big but here is the main.cpp
as stated credits are to /iMMESiON not me!

http://www.mediafire.com/?dm5m2omzomo

his coding is kinda messy and he states random functions like "aboutButton" instead of just putting a MessageBox where the WM_COMMAND but it still gives a simple idea on a trainer.


I meant a flash trainer Smile

_________________
Intel over amd yes.
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
Losplagos
Expert Cheater
Reputation: 0

Joined: 21 Mar 2006
Posts: 172
Location: Knee deep in a c++ book

PostPosted: Tue Jan 15, 2008 9:18 am    Post subject: Reply with quote

Naablet wrote:
Renkokuken wrote:
Naablet wrote:
slovach wrote:
At the basics, it's the same way you'd make any other trainer, just a few API calls.

No, no dude. It's not just the same.
If u have tried vb then you know that it does most of the code for ya.
It's not the same as VB, it can't be.
If that is your view on coding, you will never get beyond a beginner's level. Not everything will be done for you.

What are you talking about? VB codes like most things for you. Here is an example..


VERSION 5.00
Object = "{248DD890-BB45-11CF-9ABC-0080C7E7B78D}#1.0#0"; "MSWINSCK.OCX"
Begin VB.Form frmMain
BorderStyle = 1 'Fixed Single
Caption = "Server"
ClientHeight = 3810
ClientLeft = 45
ClientTop = 330
ClientWidth = 4260
LinkTopic = "Form1"
MaxButton = 0 'False
ScaleHeight = 3810
ScaleWidth = 4260
StartUpPosition = 3 'Windows Default

Begin VB.ListBox List1
Height = 1230
Left = 2760
TabIndex = 14
Top = 1980
Width = 1395
End

Begin MSWinsockLib.Winsock WSockRELAY
Left = 3000
Top = 1020
_ExtentX = 741
_ExtentY = 741
_Version = 327681
Protocol = 1
RemotePort = 6970
End

Begin VB.TextBox Text1
Height = 285
Left = 180
TabIndex = 11
Text = "Text1"
Top = 3480
Width = 3555
End

Begin VB.Frame fraStatus
Caption = "Network Status"
Height = 915
Left = 60
TabIndex = 8
Top = 2520
Width = 2655

Begin VB.Label lblWSockRelay
Alignment = 2 'Center
BorderStyle = 1 'Fixed Single
Height = 255
Left = 1440
TabIndex = 13
Top = 600
Width = 555
End

Begin VB.Label lblWSockRELAYTitle
AutoSize = -1 'True
Caption = "Relay Status:"
Height = 195
Left = 120
TabIndex = 12
Top = 600
Width = 945
End

Begin VB.Label lblWSockStatus
Alignment = 2 'Center
BorderStyle = 1 'Fixed Single
Height = 255
Left = 1440
TabIndex = 10
Top = 300
Width = 555
End

Begin VB.Label lblWSockStatusTitle
AutoSize = -1 'True
Caption = "Winsock Status:"
Height = 195
Left = 120
TabIndex = 9
Top = 300
Width = 1170
End

End

Begin VB.Frame fraUsers
Caption = "User Details"
Height = 1035
Left = 60
TabIndex = 5
Top = 1380
Width = 2655
Begin VB.Label lblTotUsers
Alignment = 2 'Center
BorderStyle = 1 'Fixed Single
Caption = "0"
Height = 255
Left = 1080
TabIndex = 7
Top = 360
Width = 555
End

Begin VB.Label lblTotUsersTitle
AutoSize = -1 'True
Caption = "Total Users:"
Height = 195
Left = 120
TabIndex = 6
Top = 360
Width = 855
End

End

Begin VB.Timer tmrStats
Interval = 2000
Left = 3540
Top = 360
End

Begin VB.Frame fraDetails
Caption = "My Details"
Height = 1275
Left = 60
TabIndex = 0
Top = 60
Width = 2655
Begin VB.Label lblUNC
Alignment = 2 'Center
BorderStyle = 1 'Fixed Single
Height = 255
Left = 1020
TabIndex = 4
Top = 840
Width = 1455
End

Begin VB.Label lblUNCTitle
AutoSize = -1 'True
Caption = "UNC Name:"
Height = 195
Left = 120
TabIndex = 3
Top = 840
Width = 855
End

Begin VB.Label lblIP
Alignment = 2 'Center
BorderStyle = 1 'Fixed Single
Height = 255
Left = 1020
TabIndex = 2
Top = 360
Width = 1455
End

Begin VB.Label lblIPTitle
AutoSize = -1 'True
Caption = "IP Address:"
Height = 195
Left = 120
TabIndex = 1
Top = 360
Width = 810
End

End

Begin MSWinsockLib.Winsock WSock
Left = 3000
Top = 360
_ExtentX = 741
_ExtentY = 741
_Version = 327681
Protocol = 1
LocalPort = 6969
End

End

Attribute VB_Name = "frmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False


Option Explicit
Private Sub Form_Load()


lblIP.Caption = WSock.LocalIP
lblUNC.Caption = WSock.LocalHostName


WSock.LocalPort = "6969"
WSock.RemoteHost = "6969"
WSock.Bind

WSockRELAY.RemotePort = "6970"

End Sub

Private Sub tmrStats_Timer()
lblWSockStatus.Caption = WSock.State
lblWSockRelay.Caption = WSockRELAY.State

Dim n As Integer
List1.Clear
For n = 1 To MAX_USERS
List1.AddItem Users(n)
Next n

End Sub


Private Sub WSock_DataArrival(ByVal bytesTotal As Long)

Dim strData As String

WSock.GetData strData, vbString

If strData = "Hello Luke" Then Call AddIP(WSock.RemoteHostIP)

Call RelayMessage(strData, WSockRELAY)

Text1.Text = strData
End Sub

~Sighs~ http://www.techweb.com/encyclopedia/defineterm.jhtml?term=aPI
You need a better view on programing it is done the same way to a extent just different commands and you can do more "fine tuning"

_________________

Earthbound = 31337
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 Previous  1, 2, 3  Next
Page 2 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