Results 1 to 9 of 9
  1. #1
    Dark_Goliath's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Location
    Romania
    Posts
    308
    Reputation
    10
    Thanks
    28
    My Mood
    Sad

    [TUT]D3D Basic functions, Visual Basic 2008

    This is a tutorial for basic D3D funtions in DirectX full screen processes. Just simple things for displaying FPS, Text and pictures.
    NOTICE: You need the Hooking library (*.dll) in your program folder!
    Download the attacments and the lala.dll copy it in your program folder
    and d3d8, d3d9 in your directX folder :P

    What to do:

    *Start a new project in Visual Basic (Windows Form)
    *Declare the functions you need:

    For Text you will need this:
    Code:
    Private Declare Function GPSL_SetTextLineData Lib "lala.dll" (ByVal wTextPosX As Short, ByVal wTextPosY As Short, ByVal LPCTSTR As String, ByVal dwTextColor As Integer, _
    ByVal bBlackBackground As Boolean, ByVal cSize As Byte, ByVal bTextBold As Boolean, ByVal cFontFamily As Byte) As Boolean 
    Private Declare Function GPSL_ShowText Lib "lala.dll" (ByVal bShowIt As Boolean) As Boolean
    For FPS you will need this:
    Code:
    Private Declare Function GPSI_ShowFPS Lib "lala.dll" (ByVal bShowIt As Boolean) As Boolean
    And for a Picture take this:
    Code:
    Private Declare Function GPPIC_LoadNewPicture Lib "lala.dll" (ByVal LPCTSTR As String) As Boolean
    Private Declare Function GPPIC_ShowPicturePos Lib "lala.dll" (ByVal bShowIt As Boolean, ByVal wPosX As Integer, ByVal wPosY As Integer) As Boolean


    *Create:

    *Put under Form1_Load
    Code:
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    		Timer1.Enabled = True
    End Sub
    *Now doubleclick Timer1 and add:
    Code:
    Dim Text1 As String = Nothing
    
    Timer1_Tick
    QUELLTEXT
    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
            Text1 = "[Mpgh.net]Ownz you!"
            GPSL_SetTextLineData(1064, 5, Text1, Color.FromArgb(255, 255, 0, 0).ToArgb, True, 20, True, 0)
            GPSL_ShowText(True)
    End Sub
    Now some explanation:

    *1064, 5 == X, Y - Coordinates on your screen
    *Text1 == Displayed text
    *Color.FromArgb(255, 255, 0, 0) == Font color
    *First true == For true it showes a black background
    *20 == Font size
    *Second true == For true the font is bold
    *0 == Font type ( Don't know how it works, i think 0 is standard )






    It shouldn't work for WarRock without Bypass because HS detects hooking... (Didn't test it)
    Last edited by Dark_Goliath; 11-27-2009 at 09:11 AM.

  2. The Following 3 Users Say Thank You to Dark_Goliath For This Useful Post:

    das11501 (05-08-2012),XGelite (11-27-2009),ZEUS123456789 (05-01-2012)

  3. #2
    Zoom's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Your going on my 24/7 DDoS hit list.
    Posts
    8,552
    Reputation
    127
    Thanks
    5,970
    My Mood
    Happy
    Quote Originally Posted by Dark_Goliath View Post
    This is a tutorial for basic D3D funtions in DirectX full screen processes. Just simple things for displaying FPS, Text and pictures.
    NOTICE: You need the Hooking library (*.dll) in your program folder!

    What to do:

    *Start a new project in Visual Basic (Windows Form)
    *Declare the functions you need:

    For Text you will need this:
    Code:
    Private Declare Function GPSL_SetTextLineData Lib "lala.dll" (ByVal wTextPosX As Short, ByVal wTextPosY As Short, ByVal LPCTSTR As String, ByVal dwTextColor As Integer, _
    ByVal bBlackBackground As Boolean, ByVal cSize As Byte, ByVal bTextBold As Boolean, ByVal cFontFamily As Byte) As Boolean 
    Private Declare Function GPSL_ShowText Lib "lala.dll" (ByVal bShowIt As Boolean) As Boolean
    For FPS you will need this:
    Code:
    Private Declare Function GPSI_ShowFPS Lib "lala.dll" (ByVal bShowIt As Boolean) As Boolean
    And for a Picture take this:
    Code:
    Private Declare Function GPPIC_LoadNewPicture Lib "lala.dll" (ByVal LPCTSTR As String) As Boolean
    Private Declare Function GPPIC_ShowPicturePos Lib "lala.dll" (ByVal bShowIt As Boolean, ByVal wPosX As Integer, ByVal wPosY As Integer) As Boolean


    *Create:

    *Put under Form1_Load
    Code:
    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    		Timer1.Enabled = True
    End Sub
    *Now doubleclick Timer1 and add:
    Code:
    Dim Text1 As String = Nothing
    
    Timer1_Tick
    QUELLTEXT
    Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
            Text1 = "[GHB] 0wnz you!"
            GPSL_SetTextLineData(1064, 5, Text1, Color.FromArgb(255, 255, 0, 0).ToArgb, True, 20, True, 0)
            GPSL_ShowText(True)
    End Sub
    Now some explanation:

    *1064, 5 == X, Y - Coordinates on your screen
    *Text1 == Displayed text
    *Color.FromArgb(255, 255, 0, 0) == Font color
    *First true == For true it showes a black background
    *20 == Font size
    *Second true == For true the font is bold
    *0 == Font type ( Don't know how it works, i think 0 is standard )






    It shouldn't work for WarRock without Bypass because HS detects hooking... (Didn't test it)
    Thanks iŽll try :_D
    -Rest in peace leechers-

    Your PM box is 100% full.

  4. #3
    PoP_KiLLaH's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Watching Hentai
    Posts
    644
    Reputation
    17
    Thanks
    229
    My Mood
    Devilish
    So this is for Hacks.
    Nope. I don't like Making Hacks.

  5. #4
    Threadstarter
    Dual-Keyboard Member
    Dark_Goliath's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Location
    Romania
    Posts
    308
    Reputation
    10
    Thanks
    28
    My Mood
    Sad
    Quote Originally Posted by hejsan1 View Post
    Thanks iŽll try :_D
    Hey man download the attcments and folow the instuctions i addeted the dlls try it i will put a vir scan in a moment

  6. #5
    Zoom's Avatar
    Join Date
    May 2009
    Gender
    male
    Location
    Your going on my 24/7 DDoS hit list.
    Posts
    8,552
    Reputation
    127
    Thanks
    5,970
    My Mood
    Happy
    Quote Originally Posted by Dark_Goliath View Post
    Hey man download the attcments and folow the instuctions i addeted the dlls try it i will put a vir scan in a moment
    CanŽt get it work

    My code, check it please:
    Code:
    Imports System.Drawing
    
    Public Class Form1
        Private Declare Function GPSL_SetTextLineData Lib "lala.dll" (ByVal wTextPosX As Short, ByVal wTextPosY As Short, ByVal LPCTSTR As String, ByVal dwTextColor As Integer, _
    ByVal bBlackBackground As Boolean, ByVal cSize As Byte, ByVal bTextBold As Boolean, ByVal cFontFamily As Byte) As Boolean
        Private Declare Function GPSL_ShowText Lib "lala.dll" (ByVal bShowIt As Boolean) As Boolean
        Private Declare Function GPSI_ShowFPS Lib "lala.dll" (ByVal bShowIt As Boolean) As Boolean
        Private Declare Function GPPIC_LoadNewPicture Lib "lala.dll" (ByVal LPCTSTR As String) As Boolean
        Private Declare Function GPPIC_ShowPicturePos Lib "lala.dll" (ByVal bShowIt As Boolean, ByVal wPosX As Integer, ByVal wPosY As Integer) As Boolean
        Dim Text1 As String = Nothing
    
    
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    
        End Sub
    
        Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
    
            Dim Text1 As String = Nothing
            Text1 = "[Mpgh.net]Ownz you!"
            GPSL_SetTextLineData(500, 500, Text1, Color.FromArgb(255, 255, 0, 0).ToArgb, True, 20, True, 0)
            GPSL_ShowText(True)
        End Sub
    End Class
    Last edited by Zoom; 11-27-2009 at 09:18 AM.
    -Rest in peace leechers-

    Your PM box is 100% full.

  7. #6
    Threadstarter
    Dual-Keyboard Member
    Dark_Goliath's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Location
    Romania
    Posts
    308
    Reputation
    10
    Thanks
    28
    My Mood
    Sad
    Quote Originally Posted by hejsan1 View Post
    CanŽt get it work

    My code, check it please:
    Code:
    Imports System.Drawing
    
    Public Class Form1
        Private Declare Function GPSL_SetTextLineData Lib "lala.dll" (ByVal wTextPosX As Short, ByVal wTextPosY As Short, ByVal LPCTSTR As String, ByVal dwTextColor As Integer, _
    ByVal bBlackBackground As Boolean, ByVal cSize As Byte, ByVal bTextBold As Boolean, ByVal cFontFamily As Byte) As Boolean
        Private Declare Function GPSL_ShowText Lib "lala.dll" (ByVal bShowIt As Boolean) As Boolean
        Private Declare Function GPSI_ShowFPS Lib "lala.dll" (ByVal bShowIt As Boolean) As Boolean
        Private Declare Function GPPIC_LoadNewPicture Lib "lala.dll" (ByVal LPCTSTR As String) As Boolean
        Private Declare Function GPPIC_ShowPicturePos Lib "lala.dll" (ByVal bShowIt As Boolean, ByVal wPosX As Integer, ByVal wPosY As Integer) As Boolean
        Dim Text1 As String = Nothing
    
    
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    
        End Sub
    
        Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
    
            Dim Text1 As String = Nothing
            Text1 = "[Mpgh.net]Ownz you!"
            GPSL_SetTextLineData(500, 500, Text1, Color.FromArgb(255, 255, 0, 0).ToArgb, True, 20, True, 0)
            GPSL_ShowText(True)
        End Sub
    End Class
    U need a fps game to get it work at least one ho don't hack shield
    EDIT: Try it on assalt cube

  8. #7
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,404
    Reputation
    157
    Thanks
    4,003
    My Mood
    Flirty
    Quote Originally Posted by hejsan1 View Post
    CanŽt get it work

    My code, check it please:
    Code:
    Imports System.Drawing
    
    Public Class Form1
        Private Declare Function GPSL_SetTextLineData Lib "lala.dll" (ByVal wTextPosX As Short, ByVal wTextPosY As Short, ByVal LPCTSTR As String, ByVal dwTextColor As Integer, _
    ByVal bBlackBackground As Boolean, ByVal cSize As Byte, ByVal bTextBold As Boolean, ByVal cFontFamily As Byte) As Boolean
        Private Declare Function GPSL_ShowText Lib "lala.dll" (ByVal bShowIt As Boolean) As Boolean
        Private Declare Function GPSI_ShowFPS Lib "lala.dll" (ByVal bShowIt As Boolean) As Boolean
        Private Declare Function GPPIC_LoadNewPicture Lib "lala.dll" (ByVal LPCTSTR As String) As Boolean
        Private Declare Function GPPIC_ShowPicturePos Lib "lala.dll" (ByVal bShowIt As Boolean, ByVal wPosX As Integer, ByVal wPosY As Integer) As Boolean
        Dim Text1 As String = Nothing
    
    
        Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    
        End Sub
    
        Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
    
            Dim Text1 As String = Nothing
            Text1 = "[Mpgh.net]Ownz you!"
            GPSL_SetTextLineData(500, 500, Text1, Color.FromArgb(255, 255, 0, 0).ToArgb, True, 20, True, 0)
            GPSL_ShowText(True)
        End Sub
    End Class
    try it on halo?

  9. #8
    XGelite's Avatar
    Join Date
    Mar 2009
    Gender
    male
    Location
    Enter text here
    Posts
    1,344
    Reputation
    12
    Thanks
    276
    wow thanks man. this is pretty cool


    ick..im on the worst connection in the middle of no where

  10. #9
    N3XON's Avatar
    Join Date
    Nov 2009
    Gender
    male
    Posts
    38
    Reputation
    10
    Thanks
    1
    My Mood
    Amused
    Quote Originally Posted by Dark_Goliath View Post
    U need a fps game to get it work at least one ho don't hack shield
    EDIT: Try it on assalt cube

    Another Game Would be CrossFire,

    They just Recently Switched From HS to something else

Similar Threads

  1. [VISUAL BASIC 2008] D3D pic for every game
    By GER-Domi. in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 5
    Last Post: 08-23-2010, 06:06 AM
  2. Replies: 3
    Last Post: 01-28-2009, 09:16 AM
  3. visual basic 2008
    By skater310 in forum Programming Tutorial Requests
    Replies: 5
    Last Post: 05-04-2008, 09:02 AM
  4. Error In Visual Basic 2008 Express Edition ( Thanking People Who Help )
    By Gunner03 in forum Visual Basic Programming
    Replies: 4
    Last Post: 02-14-2008, 01:45 PM
  5. Visual Basic 2008 !
    By Darky in forum WarRock - International Hacks
    Replies: 9
    Last Post: 10-16-2007, 04:24 PM

Tags for this Thread