AutoHotkey Community

It is currently May 26th, 2012, 9:09 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 90 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
 Post subject:
PostPosted: July 3rd, 2009, 3:57 am 
Offline

Joined: April 8th, 2009, 8:23 pm
Posts: 3036
Location: Rio de Janeiro - RJ - Brasil
BUMP !
FINAL VERSION RELEASED !!
Both DirectX8 and DirectX9 !
:D

_________________
"Read the manual. Read it again. Search the forum.
Try something before asking. Show what you've tried.
"
Image
Antonio França
My stuff: Google Profile


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 3rd, 2009, 4:09 am 
Offline

Joined: November 1st, 2007, 10:03 pm
Posts: 885
WOOT
Yay!

EDIT:

Cant download...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 3rd, 2009, 4:16 am 
Offline

Joined: April 8th, 2009, 8:23 pm
Posts: 3036
Location: Rio de Janeiro - RJ - Brasil
EDIT: LINK FIXED
Thanks Fry for warning me!

_________________
"Read the manual. Read it again. Search the forum.
Try something before asking. Show what you've tried.
"
Image
Antonio França
My stuff: Google Profile


Last edited by MasterFocus on July 3rd, 2009, 4:19 am, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 3rd, 2009, 4:17 am 
Offline

Joined: November 1st, 2007, 10:03 pm
Posts: 885
k. So excited!!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 3rd, 2009, 4:22 am 
Offline

Joined: April 8th, 2009, 8:23 pm
Posts: 3036
Location: Rio de Janeiro - RJ - Brasil
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) :)

_________________
"Read the manual. Read it again. Search the forum.
Try something before asking. Show what you've tried.
"
Image
Antonio França
My stuff: Google Profile


Last edited by MasterFocus on July 3rd, 2009, 4:24 am, edited 3 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 3rd, 2009, 4:23 am 
Offline

Joined: November 1st, 2007, 10:03 pm
Posts: 885
I will, once I get this script working.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 3rd, 2009, 4:29 am 
Offline

Joined: November 1st, 2007, 10:03 pm
Posts: 885
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?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 3rd, 2009, 4:50 am 
Offline

Joined: April 8th, 2009, 8:23 pm
Posts: 3036
Location: Rio de Janeiro - RJ - Brasil
You set var_ShowPic to 1 but you set it to 0 just before calling GPF_ShowPicture :!:

EDIT:
Minimum for Soldier Front -> DirectX 9.0b
Didn't test any DX9 games, not sure if it will work :?

_________________
"Read the manual. Read it again. Search the forum.
Try something before asking. Show what you've tried.
"
Image
Antonio França
My stuff: Google Profile


Last edited by MasterFocus on July 3rd, 2009, 4:59 am, edited 2 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 3rd, 2009, 4:54 am 
Offline

Joined: November 1st, 2007, 10:03 pm
Posts: 885
Its in your documentation...


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 3rd, 2009, 4:56 am 
Offline

Joined: April 8th, 2009, 8:23 pm
Posts: 3036
Location: Rio de Janeiro - RJ - Brasil
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.

_________________
"Read the manual. Read it again. Search the forum.
Try something before asking. Show what you've tried.
"
Image
Antonio França
My stuff: Google Profile


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 3rd, 2009, 7:46 am 
Offline

Joined: March 27th, 2009, 10:48 pm
Posts: 71
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 3rd, 2009, 9:20 pm 
Offline

Joined: April 8th, 2009, 8:23 pm
Posts: 3036
Location: Rio de Janeiro - RJ - Brasil
OMG, I didn't know that. :shock:
Did you get banned? :?
Gonna update the documentation.

_________________
"Read the manual. Read it again. Search the forum.
Try something before asking. Show what you've tried.
"
Image
Antonio França
My stuff: Google Profile


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 3rd, 2009, 10:10 pm 
Offline

Joined: March 27th, 2009, 10:48 pm
Posts: 71
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?


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 3rd, 2009, 10:17 pm 
Offline

Joined: November 1st, 2007, 10:03 pm
Posts: 885
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: July 3rd, 2009, 10:40 pm 
Offline

Joined: April 8th, 2009, 8:23 pm
Posts: 3036
Location: Rio de Janeiro - RJ - Brasil
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.

_________________
"Read the manual. Read it again. Search the forum.
Try something before asking. Show what you've tried.
"
Image
Antonio França
My stuff: Google Profile


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 90 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: iBob35555VR and 10 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group