Skip to content
MPGHThe Dark Arts
/
RegisterLog in
Forum
Community
What's NewLatest posts across the boardTrendingHottest threads right nowSubscribedThreads you follow
Discussion
GeneralIntroductionsEntertainmentDebate FortFlaming & Rage
Board
News & AnnouncementsMPGH TimesSuggestions & HelpGiveaways
More Sections
Art & Graphic DesignProgrammingHackingCryptocurrency
Hacks & Cheats
Games
ValorantCS2 / CS:GOCall of Duty / WarzoneFortniteApex LegendsEscape From Tarkov
+14 moreLeague of LegendsGTA VMinecraftRustROTMGBattlefieldTroveBattleOnCombat ArmsCrossFireBlackshotRuneScapeDayZDead by Daylight
Resources
Game Hacking TutorialsReverse EngineeringGeneral Game HackingAnti-CheatConsole Game Hacking
Tools
Game Hacking ToolsTrainers & CheatsHack/Release NewsNew
Submit a release →Share your cheat, tool, or config with the community.
AINEW
AI Tools
General & DiscussionPrompt EngineeringLLM JailbreaksHotAI Agents & AutomationLocal / Open Models
AI × Gaming
AI Aimbots & VisionML Anti-CheatGame Bots & Automation
Create
AI Coding / Vibe CodingAI Art & MediaAI Voice & TTS
The AI frontier →Where game hacking meets modern machine learning. Jump in.
Marketplace
Buy & Sell
SellingBuyingTradingUser Services
Trust & Safety
Middleman LoungeMarketplace TalkVouch Copy Profiles
Money
Cryptocurrency TalkCurrency ExchangeWork & Job Offers
Start selling →List accounts, services, and goods. Use the middleman to trade safe.
MPGH The Dark Arts

A community for offensive security research, reverse engineering, and AI.

Community

ForumMarketplaceSearch

Account

RegisterLog in

Legal

Privacy PolicyForum RulesHelp & FAQ
© 2026 MPGH · All rights reserved.Built by the community, for the community. For educational purposes onlyContent is shared for security research and education — we don't condone illegal use. You're responsible for complying with applicable laws. Use at your own risk.
Home › Forum › Programming › Visual Basic Programming › [TUT]D3D Basic functions, Visual Basic 2008

[TUT]D3D Basic functions, Visual Basic 2008

Posts 1–9 of 9 · Page 1 of 1
Dark_Goliath
Dark_Goliath
[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)
#1 · edited 16y ago · 16y ago
Zoom
Zoom
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
#2 · 16y ago
PoP_KiLLaH
PoP_KiLLaH
So this is for Hacks.
Nope. I don't like Making Hacks.
#3 · 16y ago
Dark_Goliath
Dark_Goliath
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
#4 · 16y ago
Zoom
Zoom
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
#5 · edited 16y ago · 16y ago
Dark_Goliath
Dark_Goliath
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
#6 · 16y ago
ac1d_buRn
ac1d_buRn
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?
#7 · 16y ago
XG
XGelite
wow thanks man. this is pretty cool


ick..im on the worst connection in the middle of no where
#8 · 16y ago
N3XON
N3XON
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
#9 · 16y ago
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Similar Threads

  • [Tut visual basics 2008] How to make a Password protection (for beginners)By apezwijn in Visual Basic Programming
    3Last post 17y ago
  • [VISUAL BASIC 2008] D3D pic for every gameBy GER-Domi. in CrossFire Hack Coding / Programming / Source Code
    5Last post 16y ago
  • Visual Basic 2008 !By Darky in WarRock - International Hacks
    9Last post 18y ago
  • Error In Visual Basic 2008 Express Edition ( Thanking People Who Help )By Gunner03 in Visual Basic Programming
    4Last post 18y ago
  • visual basic 2008By skater310 in Programming Tutorial Requests
    5Last post 18y ago

Tags for this Thread

#2008#basic#functions#tutd3d#visual