Posts tagged: Keys

Free Lord of the Rings Online MMORPG Beta

free-lord-of-the-rings-online-mmorpg-beta

At FilePlanet, there is currently a promotion occurring for the MMORPG Lord of the Rings Online Beta. Sign up for it Here (also called LOTR or LOTRO). I haven’t played it myself yet, but I will say that the Lord of the Rings trilogy is pretty cool, so hopefully this will make use of that.

Note: You need a FilePlanet account for this. Register for one if you don’t have one.

Still Get Free Battlefield Bad Company 2 PC Beta Keys Here! *Updated*

still-get-free-battlefield-bad-company-2-pc-beta-keys-here-updated

So the last two posts on getting Battlefield Bad Company 2 PC Beta Keys stopped working.  This one is basically the same thing as the previous Battlefield Bad Company 2 PC Beta Keys post but we have updated this post since there are keys again!

• Click this link and create an account

• Check email for web site activation

• Log into web site

• Go to this page and click “Get your key here” – your key will immediately be shown.



• Download the client from: Gameservers.com, Fileplay.com, Videogamer.com, Battle.no, Gamershell.com, or from a torrent such as this one, or this one.

Thanks you for the extra links zhangx, dartt and roguebob. And Reddit.

Enjoy everyone!

New How to Get Free Battlefield Bad Company 2 PC Beta Keys

new-how-to-get-free-battlefield-bad-company-2-pc-beta-keys

*update* View the latest way to get Battlefield Bad Company 2 PC Beta keys here.

—The below method is now Dead. Look at the above link –

I had mentioned a method of how to get free Battlefield Bad Company Two ( 2 / II ) beta game keys in my previous post called: Free Battlefield Bad Company 2 PC Beta Keys. That method no longer works though, as the event ended. Do not fret! There is a new method of obtaining beta keys for Battfield Bad Company 2 for the PC now.



You simply go to Fileplay Keys and register for a regular member account. You will then obtain your key. Please note that if you miss out on getting a key, the website does in fact post more keys every couple of hours or so. Get them before they’re all gone! Again, this is not through Geek Montage, but via the website FilePlay so do no request keys here as done in the previous post. Thanks and enjoy your keys!

Free Battlefield Bad Company 2 PC Beta Keys

free-battlefield-bad-company-2-pc-beta-keys

*update* View the latest way to get Battlefield Bad Company 2 PC Beta keys here.

—The below method is now Dead. Look at the above link –

That’s right. Even MORE free beta keys. In my previous post, I posted Command & Conquer 4 beta keys. Now it’s time for these nice Battlefield Bad Company 2 keys. How do you get the key? Simply go here and sign up! Enjoy your free Battlefield Bad Company 2 beta key!

The event is over. However, a new method of obtaining these game beta keys is now available (as disclosed in Edit 2). Check New How to Get Free Battlefield Bad Company 2 PC Beta Keys for more information!



Edit 1: The Playstation 3 Beta Key giveaway seems to be alive still! Check out the Free Battlefield Bad Company 2 Playstation 3 / PS3 Key Giveaway before it’s too late!

Edit 2: A new method of obtaining Beta Keys is now available! Check out: New How to Get Free Battlefield Bad Company 2 PC Beta Keys for more information!

Command & Conquer 4 Free Beta Keys

command-conquer-4-free-beta-keys

Like Command & Conquer? Who doesn’t! I honestly prefered their older releases, but anyways…You can obtain free beta keys for Command & Conquer 4 by going to GameSpot. You can start obtaining these beta keys at 9:00AM Pacific Time TODAY. Get them while you still can!



I haven’t played number 4 personally, but that’s just me. If you like the older Command & Conquer games like I do, then I have good news. You can download those games…for free! The download links can be viewed on my other article: Free Downloads for Command & Conquer: Tiberian Sun, Firestorm, Tiberian Dawn, and Red Alert. Enjoy!

Methods of Sending Keys

Author: DarkKnightH20
Language: Visual Basic 6.0

This example I put together awhile ago. It is one of my worst in terms of guides, but hey, I put it together for reference purposes only. Don’t worry though, it’s easily understandable. Also, for those looking at this example, expecting to make a bot…I’m sorry, but this guide does not server that purpose. Many MMO’s have protection that blocks all methods listed in here or simply do not recognize them. What you will need is an alternate, low-level way to send the keys. You will find, however, that occasionally you WILL be able to make a bot despite this. Just don’t expect it to work on anything overly mainstream.


1. SendKeys method

Sendkeys String, Wait

As you can see, the above is a simple command. You can trigger it most usefully through hotkeys. If need be you can also use it in conjunction with the AppActivate function like so–


AppActivate "notepad"
Sendkeys "Pork!"


2. Keybd

Private Declare Sub keybd_event Lib “user32″ (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)

Very useful. Here is a good example from VBAccelerator.com


Private Declare Sub keybd_event Lib "user32" ( _
ByVal bVk As Byte, ByVal bScan As Byte, _
ByVal dwFlags As Long, ByVal dwExtraInfo As Long)
Private Const KEYEVENTF_EXTENDEDKEY = &H1
Private Const KEYEVENTF_KEYUP = &H2

Private Declare Function GetVersion Lib "kernel32" () As Long
Private Declare Function VkKeyScan Lib "user32" Alias "VkKeyScanA" ( _
ByVal cChar As Byte) As Integer
Private Declare Function VkKeyScanW Lib "user32" ( _
ByVal cChar As Integer) As Integer

Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" ( _
lpvDest As Any, lpvSource As Any, ByVal cbCopy As Long)

Public Sub KeyDown(ByVal vKey As KeyCodeConstants)
keybd_event vKey, 0, KEYEVENTF_EXTENDEDKEY, 0
End Sub

Public Sub KeyUp(ByVal vKey As KeyCodeConstants)
keybd_event vKey, 0, KEYEVENTF_EXTENDEDKEY Or KEYEVENTF_KEYUP, 0
End Sub

Public Function KeyCode(ByVal sChar As String) As KeyCodeConstants
Dim bNt As Boolean
Dim iKeyCode As Integer
Dim b() As Byte
Dim iKey As Integer
Dim vKey As KeyCodeConstants
Dim iShift As ShiftConstants
' Determine if we have Unicode support or not:
bNt = ((GetVersion() And &H80000000) = 0)
' Get the keyboard scan code for the character:
If (bNt) Then
b = sChar
CopyMemory iKey, b(0), 2
iKeyCode = VkKeyScanW(iKey)
Else
b = StrConv(sChar, vbFromUnicode)
iKeyCode = VkKeyScan(b(0))
End If
KeyCode = (iKeyCode And &HFF&)
End Function


Use the code like so (via command button)–


Private Sub Command1_Click()
AppActivate "notepad"
KeyDown vbKeyL
KeyUp vbKeyL
KeyDown vbKeyO
KeyUp vbKeyO
KeyDown vbKeyL
KeyUp vbKeyL
KeyDown vbKeyReturn
End Sub


Simple. Very self explainatory, yah? Yah. Make sure to emulate they keys correctly by using a KeyUp AND KeyDown. Not a must, but depending on what you’re using it for, it can get you into a bit of trouble otherwise.


3. SendInput

Private Declare Function SendInput Lib “user32.dll” (ByVal nInputs As Long, pInputs As GENERALINPUT, ByVal cbSize As Long) As Long

This method uses SendInput. It also uses keybd to make life easier.

An example by “KPD-Team”–

Const VK_L = 76
Const VK_O = 79
Const KEYEVENTF_KEYUP = &H2
Const INPUT_MOUSE = 0
Const INPUT_KEYBOARD = 1
Const INPUT_HARDWARE = 2
Private Type MOUSEINPUT
dx As Long
dy As Long
mouseData As Long
dwFlags As Long
time As Long
dwExtraInfo As Long
End Type
Private Type KEYBDINPUT
wVk As Integer
wScan As Integer
dwFlags As Long
time As Long
dwExtraInfo As Long
End Type
Private Type HARDWAREINPUT
uMsg As Long
wParamL As Integer
wParamH As Integer
End Type
Private Type GENERALINPUT
dwType As Long
xi(0 To 23) As Byte
End Type
Private Declare Function SendInput Lib "user32.dll" (ByVal nInputs As Long, pInputs As GENERALINPUT, ByVal cbSize As Long) As Long
Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (pDst As Any, pSrc As Any, ByVal ByteLen As Long)
Private Sub Form_KeyPress(KeyAscii As Integer)

'Print the key on the form
Me.Print Chr$(KeyAscii);
End Sub
Private Sub Form_Paint()
'KPD-Team 2000
'Clear the form

Me.Cls
'call the SendKey-function

SendKeyY VK_L
SendKeyY VK_O
SendKeyY VK_L
End Sub

Private Sub SendKeyY(bKey As Byte)
Dim GInput(0 To 1) As GENERALINPUT
Dim KInput As KEYBDINPUT
KInput.wVk = bKey 'the key we're going to press
KInput.dwFlags = 0 'press the key
'copy the structure into the input array's buffer.

GInput(0).dwType = INPUT_KEYBOARD ' keyboard input
CopyMemory GInput(0).xi(0), KInput, Len(KInput)
'do the same as above, but for releasing the key
KInput.wVk = bKey 'the key we're going to release
KInput.dwFlags = KEYEVENTF_KEYUP ' release the key
GInput(1).dwType = INPUT_KEYBOARD' keyboard input
CopyMemory GInput(1).xi(0), KInput, Len(KInput)
'send the input now
Call SendInput(2, GInput(0), Len(GInput(0)))
End Sub


Personally, I prefer the Keybd method in the earlier bit of this post in comparison to this one.

Privacy Statement | Page Loaded In: 0.574 seconds
Rss Feed Tweeter button Technorati button Reddit button Webonews button Delicious button Digg button Stumbleupon button Newsvine button