| View previous topic :: View next topic |
| Author |
Message |
guuohaxor Advanced Cheater
Reputation: 0
Joined: 10 Jun 2007 Posts: 86 Location: Finland
|
Posted: Tue Nov 11, 2008 8:01 am Post subject: [VB.NET/VB6] Bored, Need something to make |
|
|
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 |
|
 |
Spawnfestis GO Moderator
Reputation: 0
Joined: 02 Nov 2007 Posts: 1746 Location: Pakistan
|
Posted: Tue Nov 11, 2008 10:43 am Post subject: |
|
|
Learn another language, that's something to start with.
_________________
CLICK TO HAX MAPLESTORAY ^ !!!! |
|
| Back to top |
|
 |
guuohaxor Advanced Cheater
Reputation: 0
Joined: 10 Jun 2007 Posts: 86 Location: Finland
|
Posted: Wed Nov 12, 2008 9:42 am Post subject: |
|
|
| 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 |
|
 |
ups2000ups I post too much
Reputation: 0
Joined: 31 Jul 2006 Posts: 2471
|
|
| Back to top |
|
 |
guuohaxor Advanced Cheater
Reputation: 0
Joined: 10 Jun 2007 Posts: 86 Location: Finland
|
Posted: Wed Nov 12, 2008 1:07 pm Post subject: |
|
|
| 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 |
|
 |
Spawnfestis GO Moderator
Reputation: 0
Joined: 02 Nov 2007 Posts: 1746 Location: Pakistan
|
Posted: Wed Nov 12, 2008 2:51 pm Post subject: |
|
|
| 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 |
|
 |
guuohaxor Advanced Cheater
Reputation: 0
Joined: 10 Jun 2007 Posts: 86 Location: Finland
|
Posted: Wed Nov 12, 2008 5:19 pm Post subject: |
|
|
| 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 |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Wed Nov 12, 2008 8:09 pm Post subject: |
|
|
| 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 |
|
 |
nog_lorp Grandmaster Cheater
Reputation: 0
Joined: 26 Feb 2006 Posts: 743
|
Posted: Thu Nov 13, 2008 1:29 am Post subject: |
|
|
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 |
|
 |
guuohaxor Advanced Cheater
Reputation: 0
Joined: 10 Jun 2007 Posts: 86 Location: Finland
|
Posted: Thu Nov 13, 2008 6:30 am Post subject: |
|
|
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 |
|
 |
nog_lorp Grandmaster Cheater
Reputation: 0
Joined: 26 Feb 2006 Posts: 743
|
Posted: Fri Nov 14, 2008 6:46 am Post subject: |
|
|
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 |
|
 |
hacksign23 Master Cheater
Reputation: 0
Joined: 26 Nov 2006 Posts: 404
|
Posted: Fri Nov 14, 2008 8:23 pm Post subject: |
|
|
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 |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Fri Nov 14, 2008 8:32 pm Post subject: |
|
|
| 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 |
|
 |
hacksign23 Master Cheater
Reputation: 0
Joined: 26 Nov 2006 Posts: 404
|
Posted: Sat Nov 15, 2008 3:17 pm Post subject: |
|
|
| 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 |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sat Nov 15, 2008 4:08 pm Post subject: |
|
|
| 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 |
|
 |
|