AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[lib] GPF v1.1b - Overlaying Direct3D games (DX 8+9) (FIXED)
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
MasterFocus



Joined: 08 Apr 2009
Posts: 1021
Location: Rio de Janeiro - RJ - Brasil

PostPosted: Fri Jul 03, 2009 3:57 am    Post subject: Reply with quote

BUMP !
FINAL VERSION RELEASED !!
Both DirectX8 and DirectX9 !
Very Happy
_________________
Antonio França
+ My AHK Stuff: Google Profile
+ AHK @ irc.freenode.net: #ahk
Wanna contact me? Send a PM.
Back to top
View user's profile Send private message Visit poster's website
Fry



Joined: 01 Nov 2007
Posts: 883

PostPosted: Fri Jul 03, 2009 4:09 am    Post subject: Reply with quote

WOOT
Yay!

EDIT:

Cant download...
Back to top
View user's profile Send private message
MasterFocus



Joined: 08 Apr 2009
Posts: 1021
Location: Rio de Janeiro - RJ - Brasil

PostPosted: Fri Jul 03, 2009 4:16 am    Post subject: Reply with quote

EDIT: LINK FIXED
Thanks Fry for warning me!
_________________
Antonio França
+ My AHK Stuff: Google Profile
+ AHK @ irc.freenode.net: #ahk
Wanna contact me? Send a PM.


Last edited by MasterFocus on Fri Jul 03, 2009 4:19 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Fry



Joined: 01 Nov 2007
Posts: 883

PostPosted: Fri Jul 03, 2009 4:17 am    Post subject: Reply with quote

k. So excited!!
Back to top
View user's profile Send private message
MasterFocus



Joined: 08 Apr 2009
Posts: 1021
Location: Rio de Janeiro - RJ - Brasil

PostPosted: Fri Jul 03, 2009 4:22 am    Post subject: Reply with quote

I'd like to have some feedback, specially from Fry and BF2 Player who seemed
to be anxiously waiting for this release (which supports DirectX9 games) Smile
_________________
Antonio França
+ My AHK Stuff: Google Profile
+ AHK @ irc.freenode.net: #ahk
Wanna contact me? Send a PM.


Last edited by MasterFocus on Fri Jul 03, 2009 4:24 am; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website
Fry



Joined: 01 Nov 2007
Posts: 883

PostPosted: Fri Jul 03, 2009 4:23 am    Post subject: Reply with quote

I will, once I get this script working.
Back to top
View user's profile Send private message
Fry



Joined: 01 Nov 2007
Posts: 883

PostPosted: Fri Jul 03, 2009 4:29 am    Post subject: Reply with quote

Why isnt this working?

Code:
#Include GPF.ahk
#Persistent
var_PosX := 100

var_PosY := 150

var_ShowPic := 1

var_PicFullPath := "C:\Documents And Settings\*****\Desktop\cross.png"

Return


GPF_Main()


GPF_SetPicture(var_PicFullPath)


var_ShowPic := !var_ShowPic

GPF_ShowPicture(var_ShowPic,var_PosX,var_PosY)

Return


PS: Is Soldier Front DX9?
Back to top
View user's profile Send private message
MasterFocus



Joined: 08 Apr 2009
Posts: 1021
Location: Rio de Janeiro - RJ - Brasil

PostPosted: Fri Jul 03, 2009 4:50 am    Post subject: Reply with quote

You set var_ShowPic to 1 but you set it to 0 just before calling GPF_ShowPicture Exclamation

EDIT:
Minimum for Soldier Front -> DirectX 9.0b
Didn't test any DX9 games, not sure if it will work Confused
_________________
Antonio França
+ My AHK Stuff: Google Profile
+ AHK @ irc.freenode.net: #ahk
Wanna contact me? Send a PM.


Last edited by MasterFocus on Fri Jul 03, 2009 4:59 am; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
Fry



Joined: 01 Nov 2007
Posts: 883

PostPosted: Fri Jul 03, 2009 4:54 am    Post subject: Reply with quote

Its in your documentation...
Back to top
View user's profile Send private message
MasterFocus



Joined: 08 Apr 2009
Posts: 1021
Location: Rio de Janeiro - RJ - Brasil

PostPosted: Fri Jul 03, 2009 4:56 am    Post subject: Reply with quote

Fry wrote:
Its in your documentation...

Yes, but it starts as 0 and then becomes 1.
Code:
;(...)
var_ShowPic := 0 ; executed when script starts
;(...)
Return
;(...)
var_ShowPic := !var_ShowPic ; now var_ShowPic is toggled (0 to 1 or 1 to 0)
;(...)

Also, your code is incorrect as you removed the hotkeys from
the example, so those lines after Return do nothing at all.
_________________
Antonio França
+ My AHK Stuff: Google Profile
+ AHK @ irc.freenode.net: #ahk
Wanna contact me? Send a PM.
Back to top
View user's profile Send private message Visit poster's website
BF2 Player



Joined: 27 Mar 2009
Posts: 68

PostPosted: Fri Jul 03, 2009 7:46 am    Post subject: Reply with quote

Cool!

Just a heads up for BF2 players, if you put those dll's in your bf2 directory,
You will get an MD5 ban for at least the D3D9 dll file.
Back to top
View user's profile Send private message
MasterFocus



Joined: 08 Apr 2009
Posts: 1021
Location: Rio de Janeiro - RJ - Brasil

PostPosted: Fri Jul 03, 2009 9:20 pm    Post subject: Reply with quote

OMG, I didn't know that. Shocked
Did you get banned? Confused
Gonna update the documentation.
_________________
Antonio França
+ My AHK Stuff: Google Profile
+ AHK @ irc.freenode.net: #ahk
Wanna contact me? Send a PM.
Back to top
View user's profile Send private message Visit poster's website
BF2 Player



Joined: 27 Mar 2009
Posts: 68

PostPosted: Fri Jul 03, 2009 10:10 pm    Post subject: Reply with quote

No...
But I have seen bans for the D3D9.dll file.

Someone may report the other dll files too,
then they may get you an MD5 ban also. Just a heads up.

Is there a way to do it without the dll files having to be in the games directory?
Back to top
View user's profile Send private message
Fry



Joined: 01 Nov 2007
Posts: 883

PostPosted: Fri Jul 03, 2009 10:17 pm    Post subject: Reply with quote

I updated the script, put DX9 Files where exe for game is.

Loaded script. Nothing.

Code:
#Include GPF.ahk
#Persistent
var_PosX := 0

var_PosY := 0

var_ShowPic := 1

var_PicFullPath := "C:\Documents And Settings\Billy\Desktop\cross.png"

GPF_Main()
GPF_SetPicture(var_PicFullPath)
sleep 1000
GPF_ShowPicture(var_ShowPic,var_PosX,var_PosY)

Return
Back to top
View user's profile Send private message
MasterFocus



Joined: 08 Apr 2009
Posts: 1021
Location: Rio de Janeiro - RJ - Brasil

PostPosted: Fri Jul 03, 2009 10:40 pm    Post subject: Reply with quote

That's weird. Which game are you trying?
Also, notice that an image saying "GPP Active" should appear when the game is executed, meaning that the DLL was injected.
_________________
Antonio França
+ My AHK Stuff: Google Profile
+ AHK @ irc.freenode.net: #ahk
Wanna contact me? Send a PM.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group