Go Back   UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats > First-Person Shooters > Battlefield Series > Battlefield 2

- Sponsored Advertisement -
http://www.myfpscheats.com/

Welcome to the UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats.
You have to register before you can post and see and access any of the advanced forum features, please click the register link to proceed to the registration form. To start viewing threads or posts, select a forum that you want to visit from the selection below.
Battlefield 2
hacks cheats tutorials source code
You are Unregistered, please register to gain Full access.    
Reply
 
Thread Tools

VB.NET Teamswitch Code
Old 07-01-2010, 01:38 AM   #1

Momo5000's Avatar

Join Date: Mar 2007
Location: @Home
Posts: 148
Reputation: 670
Rep Power: 68
Momo5000 666Momo5000 666Momo5000 666Momo5000 666Momo5000 666Momo5000 666
Points: 4,579, Level: 7
Points: 4,579, Level: 7 Points: 4,579, Level: 7 Points: 4,579, Level: 7
Activity: 1.2%
Activity: 1.2% Activity: 1.2% Activity: 1.2%
Last Achievements
VB.NET Teamswitch Code

Nothing Special.
Works with Battlefield 1.5
100% Punkbuster Undetected.

PHP Code:
    Public Function SetTeam(ByVal iTeam As Integer)
        
Dim HANDLE() As Process Process.GetProcessesByName("bf2")
        
Dim CPlayerManager As Integer 0
        Dim LocalPlayer 
As Integer 0
        
If HANDLE.Length 0 Then Return 0
        ReadProcessMemory
(HANDLE(0).Handle, &HA08F60CPlayerManager40)
        
ReadProcessMemory(HANDLE(0).HandleCPlayerManager + &H60LocalPlayer40)
        
WriteProcessMemory(HANDLE(0).HandleLocalPlayer + &HD8BitConverter.GetBytes(iTeam), 40)
        Return 
1
    End 
Function

    Public Function 
GetTeam()
        
Dim HANDLE() As Process Process.GetProcessesByName("bf2")
        
Dim CPlayerManager As Integer 0
        Dim LocalPlayer 
As Integer 0
        Dim iTeam 
As Integer 0
        
If HANDLE.Length 0 Then Return 0
        ReadProcessMemory
(HANDLE(0).Handle, &HA08F60CPlayerManager40)
        
ReadProcessMemory(HANDLE(0).HandleCPlayerManager + &H60LocalPlayer40)
        
ReadProcessMemory(HANDLE(0).HandleLocalPlayer + &HD8iTeam40)
        Return 
iTeam
    End 
Function 
__________________
- "Sir, we are surrounded!"
- "Excellent, now we can attack in any direction"

Last edited by Momo5000; 07-01-2010 at 03:18 AM.
Momo5000 is offline

Reply With Quote


Old 07-01-2010, 02:43 AM   #2
Level 3

SimPle01's Avatar

Join Date: Jan 2009
Location: This Post
Posts: 328
Reputation: 9770
Rep Power: 140
SimPle01 DEFINES UNKNOWNCHEATSSimPle01 DEFINES UNKNOWNCHEATSSimPle01 DEFINES UNKNOWNCHEATSSimPle01 DEFINES UNKNOWNCHEATSSimPle01 DEFINES UNKNOWNCHEATSSimPle01 DEFINES UNKNOWNCHEATSSimPle01 DEFINES UNKNOWNCHEATSSimPle01 DEFINES UNKNOWNCHEATSSimPle01 DEFINES UNKNOWNCHEATSSimPle01 DEFINES UNKNOWNCHEATSSimPle01 DEFINES UNKNOWNCHEATS
Points: 8,881, Level: 11
Points: 8,881, Level: 11 Points: 8,881, Level: 11 Points: 8,881, Level: 11
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Last Achievements
So this just makes you switch teams every %x amount of seconds?
__________________


"Love for All and Sharing is the first step to solving all the problems of humanity.
"

''The art of Wuju lives on in Master Yi, and is plunged through the hearts of his foes.'' -- Soraka, the Starchild


----------------------------------------------------------------------------
Anti-Cheat Software & Programming - Other FPS Games
----------------------------------------------------------------------------
SimPle01 is online now

Reply With Quote

Old 07-01-2010, 03:06 AM   #3
Retired Admin

learn_more's Avatar

Join Date: Sep 2006
Posts: 5,249
Reputation: 93628
Rep Power: 1106
learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!learn_more has a huge epeen!
Recognitions:
Members who have contributed financial support towards UnKnoWnCheaTs. Donation (2)
sieg heil Nazi
Points: 70,490, Level: 39
Points: 70,490, Level: 39 Points: 70,490, Level: 39 Points: 70,490, Level: 39
Activity: 24.7%
Activity: 24.7% Activity: 24.7% Activity: 24.7%
Last Achievements
Award-Showcase
Quote:
Originally Posted by SimPle01 View Post
So this just makes you switch teams every %x amount of seconds?
nope, just when the function is called (you can place it in a timer tho )
__________________
learn_more is offline

Reply With Quote

Old 07-01-2010, 03:16 AM   #4

Momo5000's Avatar

Threadstarter
Join Date: Mar 2007
Location: @Home
Posts: 148
Reputation: 670
Rep Power: 68
Momo5000 666Momo5000 666Momo5000 666Momo5000 666Momo5000 666Momo5000 666
Points: 4,579, Level: 7
Points: 4,579, Level: 7 Points: 4,579, Level: 7 Points: 4,579, Level: 7
Activity: 1.2%
Activity: 1.2% Activity: 1.2% Activity: 1.2%
Last Achievements
Quote:
Originally Posted by SimPle01 View Post
So this just makes you switch teams every %x amount of seconds?
Call the SetTeam function with 1 or 2 and the enemys will appear blue, its like a esp hack.

GetTeam gets the current team value.
__________________
- "Sir, we are surrounded!"
- "Excellent, now we can attack in any direction"
Momo5000 is offline

Reply With Quote

Old 07-01-2010, 03:21 AM   #5
Level 3

SimPle01's Avatar

Join Date: Jan 2009
Location: This Post
Posts: 328
Reputation: 9770
Rep Power: 140
SimPle01 DEFINES UNKNOWNCHEATSSimPle01 DEFINES UNKNOWNCHEATSSimPle01 DEFINES UNKNOWNCHEATSSimPle01 DEFINES UNKNOWNCHEATSSimPle01 DEFINES UNKNOWNCHEATSSimPle01 DEFINES UNKNOWNCHEATSSimPle01 DEFINES UNKNOWNCHEATSSimPle01 DEFINES UNKNOWNCHEATSSimPle01 DEFINES UNKNOWNCHEATSSimPle01 DEFINES UNKNOWNCHEATSSimPle01 DEFINES UNKNOWNCHEATS
Points: 8,881, Level: 11
Points: 8,881, Level: 11 Points: 8,881, Level: 11 Points: 8,881, Level: 11
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Last Achievements
Ah, ok Thanks I figured it did something like that
__________________


"Love for All and Sharing is the first step to solving all the problems of humanity.
"

''The art of Wuju lives on in Master Yi, and is plunged through the hearts of his foes.'' -- Soraka, the Starchild


----------------------------------------------------------------------------
Anti-Cheat Software & Programming - Other FPS Games
----------------------------------------------------------------------------
SimPle01 is online now

Reply With Quote
Reply  

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit



Tags
code, teamswitch, vbnet
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT +1. The time now is 09:23 AM.