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 


[VB.NET/VB6] Bored, Need something to make
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
guuohaxor
Advanced Cheater
Reputation: 0

Joined: 10 Jun 2007
Posts: 86
Location: Finland

PostPosted: Tue Nov 11, 2008 8:01 am    Post subject: [VB.NET/VB6] Bored, Need something to make Reply with quote

The name of the thread tells you pretty much everything. I'm completely out of ideas, and I NEED TO DO SOMETHING! I'm not too good with VB.NET, although i know the basics and a bit more. I primarily use VB.NET. I don't know how to create hotkeys, but i want to learn. All i'm asking here is ideas for future projects, something simple to do and not too big. I'm sorry if this thread is somehow against the rules.
_________________
Back to top
View user's profile Send private message
Spawnfestis
GO Moderator
Reputation: 0

Joined: 02 Nov 2007
Posts: 1746
Location: Pakistan

PostPosted: Tue Nov 11, 2008 10:43 am    Post subject: Reply with quote

Learn another language, that's something to start with.
_________________

CLICK TO HAX MAPLESTORAY ^ !!!!
Back to top
View user's profile Send private message Send e-mail MSN Messenger
guuohaxor
Advanced Cheater
Reputation: 0

Joined: 10 Jun 2007
Posts: 86
Location: Finland

PostPosted: Wed Nov 12, 2008 9:42 am    Post subject: Reply with quote

Spawnfestis wrote:
Learn another language, that's something to start with.
Ive tried C++, but it seemed WAY too hard for me, i dont even know where to write code because when i makje a new form there is a lot of code already. I used the visual c++ express edition.
_________________
Back to top
View user's profile Send private message
ups2000ups
I post too much
Reputation: 0

Joined: 31 Jul 2006
Posts: 2471

PostPosted: Wed Nov 12, 2008 10:22 am    Post subject: Reply with quote

guuohaxor wrote:
Spawnfestis wrote:
Learn another language, that's something to start with.
Ive tried C++, but it seemed WAY too hard for me, i dont even know where to write code because when i makje a new form there is a lot of code already. I used the visual c++ express edition.


c++ isent hard at all just spend some time with it
anyway Spawnfestis just because you hate vb it dosent mean everybody does.. some people like it and just because you dont it dosent mean they have to change (reason: you sade before you cant do that in vb which you could and now that he should change lg)

on topic
start a smaller project like a trainer (with WPM, RPM you can find alot of tutorials about it and you may learn something new) or a calculator

if you know how to use variables you could easy make a calculator

and it is funny Smile

guuohaxor wrote:
Spawnfestis wrote:
Learn another language, that's something to start with.
Ive tried C++, but it seemed WAY too hard for me, i dont even know where to write code because when i makje a new form there is a lot of code already. I used the visual c++ express edition.


in the beginning make a "console project" and you shouldn't have any code in it

_________________
dont complain about my english...
1*1 = 2?
Back to top
View user's profile Send private message
guuohaxor
Advanced Cheater
Reputation: 0

Joined: 10 Jun 2007
Posts: 86
Location: Finland

PostPosted: Wed Nov 12, 2008 1:07 pm    Post subject: Reply with quote

Quote:
start a smaller project like a trainer

I know how to make flash trainers, i have already made a few. If i wanted to make a trainer then i would've posted in the flash section.

Quote:
if you know how to use variables you could easy make a calculator

Well, i tried harder with c++ and made a console program that calculates a calculation, with the help of a tutorial of course, and understood how it works. I probably would be able to use variables in vb to create a calculator.
I'm accepting more ideas, and i might make that calculator.

I'd really like to know how to use WPM and RPM, any tuts you know?

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

Joined: 02 Nov 2007
Posts: 1746
Location: Pakistan

PostPosted: Wed Nov 12, 2008 2:51 pm    Post subject: Reply with quote

guuohaxor wrote:
Quote:
start a smaller project like a trainer

I know how to make flash trainers, i have already made a few. If i wanted to make a trainer then i would've posted in the flash section.

Quote:
if you know how to use variables you could easy make a calculator

Well, i tried harder with c++ and made a console program that calculates a calculation, with the help of a tutorial of course, and understood how it works. I probably would be able to use variables in vb to create a calculator.
I'm accepting more ideas, and i might make that calculator.

I'd really like to know how to use WPM and RPM, any tuts you know?

Simple trainer: http://spawn.agilityhoster.com/viewtopic.php?f=5&t=8
Well, simple trainer #2 for a game: http://spawn.agilityhoster.com/viewtopic.php?f=3&t=3
My own ones, in C# though.

_________________

CLICK TO HAX MAPLESTORAY ^ !!!!
Back to top
View user's profile Send private message Send e-mail MSN Messenger
guuohaxor
Advanced Cheater
Reputation: 0

Joined: 10 Jun 2007
Posts: 86
Location: Finland

PostPosted: Wed Nov 12, 2008 5:19 pm    Post subject: Reply with quote

Spawnfestis wrote:
guuohaxor wrote:
Quote:
start a smaller project like a trainer

I know how to make flash trainers, i have already made a few. If i wanted to make a trainer then i would've posted in the flash section.

Quote:
if you know how to use variables you could easy make a calculator

Well, i tried harder with c++ and made a console program that calculates a calculation, with the help of a tutorial of course, and understood how it works. I probably would be able to use variables in vb to create a calculator.
I'm accepting more ideas, and i might make that calculator.

I'd really like to know how to use WPM and RPM, any tuts you know?

Simple trainer: http://spawn.agilityhoster.com/viewtopic.php?f=5&t=8
Well, simple trainer #2 for a game: http://spawn.agilityhoster.com/viewtopic.php?f=3&t=3
My own ones, in C# though.

You think i understand even half of that? I can barely make a "Hello World" in c++ without a tut.

_________________
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Wed Nov 12, 2008 8:09 pm    Post subject: Reply with quote

guuohaxor wrote:
Spawnfestis wrote:
guuohaxor wrote:
Quote:
start a smaller project like a trainer

I know how to make flash trainers, i have already made a few. If i wanted to make a trainer then i would've posted in the flash section.

Quote:
if you know how to use variables you could easy make a calculator

Well, i tried harder with c++ and made a console program that calculates a calculation, with the help of a tutorial of course, and understood how it works. I probably would be able to use variables in vb to create a calculator.
I'm accepting more ideas, and i might make that calculator.

I'd really like to know how to use WPM and RPM, any tuts you know?

Simple trainer: http://spawn.agilityhoster.com/viewtopic.php?f=5&t=8
Well, simple trainer #2 for a game: http://spawn.agilityhoster.com/viewtopic.php?f=3&t=3
My own ones, in C# though.

You think i understand even half of that? I can barely make a "Hello World" in c++ without a tut.


That's a bit overcomplicated, since you can simplify it somewhat by using managed alternatives.

It's really very simple. Learn some of the language, and it will come to you. Once you understand how to use the API, it pretty much applies all the same in any language.
Back to top
View user's profile Send private message
nog_lorp
Grandmaster Cheater
Reputation: 0

Joined: 26 Feb 2006
Posts: 743

PostPosted: Thu Nov 13, 2008 1:29 am    Post subject: Reply with quote

Approximate the area under a curve (between the curve and the axis) by plotting random points around the curve and using that to guess the portion of the area that is under the curve.
_________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish
Back to top
View user's profile Send private message
guuohaxor
Advanced Cheater
Reputation: 0

Joined: 10 Jun 2007
Posts: 86
Location: Finland

PostPosted: Thu Nov 13, 2008 6:30 am    Post subject: Reply with quote

So far, i have only made console apps. As i said earlier, i don't know where to write in a windows forms app because of the code that appears.
_________________
Back to top
View user's profile Send private message
nog_lorp
Grandmaster Cheater
Reputation: 0

Joined: 26 Feb 2006
Posts: 743

PostPosted: Fri Nov 14, 2008 6:46 am    Post subject: Reply with quote

For stupid thoughtless VB apps, you can double-click a control and that should be the code area corresponding to a click on that control.
_________________
Mutilated lips give a kiss on the wrist of the worm-like tips of tentacles expanding in my mind
I'm fine accepting only fresh brine you can get another drop of this yeah you wish
Back to top
View user's profile Send private message
hacksign23
Master Cheater
Reputation: 0

Joined: 26 Nov 2006
Posts: 404

PostPosted: Fri Nov 14, 2008 8:23 pm    Post subject: Reply with quote

Programming is just using what functions you know and common sense.

For WPM/RPM, you're going to need to Find it :
then open it:
[url=http://msdn.microsoft.com/en-us/library/ms684320(VS.85).aspx] OpenProcess[/url]
and then do [url=http://msdn.microsoft.com/en-us/library/ms681674(VS.85).aspx]WPM[/url]/RPM

imports:

OpenProcess:
Code:

<DllImport("kernel32.dll", SetLastError:=True, CharSet:=CharSet.Auto)> _
Private Shared Function OpenProcess( _
     ByVal bInheritHandle As Boolean, _
     ByVal dwProcessId As Long) As IntPtr
End Function

WPM:
Code:

<DllImport("kernel32.dll")> _
Public Shared Function WriteProcessMemory(ByVal hProcess As IntPtr, ByVal lpBaseAddress As IntPtr, _
ByVal lpBuffer As Byte(), _
ByVal nSize As UIntPtr, _
<Out()> ByRef lpNumberOfBytesWritten As IntPtr) As Boolean
End Function

RPM:
Code:

<DllImport("kernel32.dll")> _
Public Shared Function ReadProcessMemory( _
ByVal hProcess As IntPtr, ByVal lpBaseAddress As IntPtr, _
 <Out()> ByVal lpBuffer As Byte(), ByVal nSize As UIntPtr, _
 <Out()> ByRef lpNumberOfBytesWritten As IntPtr) As Boolean
End Function


There might be an error or two ):

so then here's an example using that
Code:

Const PROCESS_ALL_ACCESS = &H1F0FFF
private sub read()
            Dim myProcesses As Process() = _  Process.GetProcessesByName("winmine")

            If myProcesses.Length = 0 Then
                MsgBox("unable to find minesweeper")
                Exit Sub
            End If


            Dim processHandle as _ IntPtr=OpenProcess(PROCESS_ALL_ACCESS, 0, myProcesses(0).Id)

            If processHandle = IntPtr.Zero Then
                MsgBox("unable to open process D:")
                Exit Sub
            End If
dim vBuffer as long
dim address as integer
address = &H00400000
            ReadProcessMemory(processHandle, Address, vBuffer, 4, 0)
msgbox(vBuffer.ToString)
End Sub
Private Sub write()
  Dim myProcesses As Process() = _  Process.GetProcessesByName("winmine")

            If myProcesses.Length = 0 Then
                MsgBox("unable to find minesweeper")
                Exit Sub
            End If


            Dim processHandle as _ IntPtr=OpenProcess(PROCESS_ALL_ACCESS, 0, myProcesses(0).Id)

            If processHandle = IntPtr.Zero Then
                MsgBox("unable to open process D:")
                Exit Sub
            End If
dim vBuffer as long
dim address as integer
dim bytez as byte
bytez = &H90
address = &H00400000
WriteProcessMemory(processHandle, Address, bytez, 1, 0)

End Sub

that should work. you can't write more than one byte unless you use a loop. have fun

_________________
Back to top
View user's profile Send private message AIM Address
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Fri Nov 14, 2008 8:32 pm    Post subject: Reply with quote

hacksign23 wrote:

that should work. you can't write more than one byte unless you use a loop. have fun


This is bad, you should write as much as you can within one call to WriteProcessMemory.
Back to top
View user's profile Send private message
hacksign23
Master Cheater
Reputation: 0

Joined: 26 Nov 2006
Posts: 404

PostPosted: Sat Nov 15, 2008 3:17 pm    Post subject: Reply with quote

slovach wrote:
hacksign23 wrote:

that should work. you can't write more than one byte unless you use a loop. have fun


This is bad, you should write as much as you can within one call to WriteProcessMemory.


yea, but VB doesn't allow you. It'll give you an error because it's an array. VB can't write arrays.

something like
dim address = &H00400000
for i=0 to 5
WriteProcessMemory(handle,address,&H90,1,0)
address += &H1
next

_________________
Back to top
View user's profile Send private message AIM Address
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sat Nov 15, 2008 4:08 pm    Post subject: Reply with quote

hacksign23 wrote:
slovach wrote:
hacksign23 wrote:

that should work. you can't write more than one byte unless you use a loop. have fun


This is bad, you should write as much as you can within one call to WriteProcessMemory.


yea, but VB doesn't allow you. It'll give you an error because it's an array. VB can't write arrays.


Uh, yes, it can.
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