Jump to content
Sign in to follow this  
The_Noob

What am i doing wrong?

Recommended Posts

The_Noob

#include <GUIConstants.au3>
sleep(1000)

WinSetOnTop("Map of Llirrem (English Province)    You're at RestartNearTown", "", 0)
GUICreate("MoveQuest",1024,768)

do
$pos = WinGetPos ( "MoveQuest" ) 
WinMove ( "Map of Llirrem (English Province)      You're at RestartNearTown", "", $pos[0]-10, $pos[1]-10, $pos[2]-20 , $pos[3]-20 )
sleep(100)
until 1 = 2

Ok so im trying to make this game appear basically inside a GUI window, and the size of the game screen is dependant on the size of the window...

My problem is that no GUI window wants to come up.... What am i missing?

Share this post


Link to post
Share on other sites
jinxter

add a GUISetState (@SW_SHOW) before the loop


> there are 10 types of people in the world, those who understand binary and those who don't.

Share this post


Link to post
Share on other sites
Valuater

GUICreate("MoveQuest",1024,768)

GUISetState()

8)

..... too slow

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites
The_Noob

Thanks i knew i forgot somthing stupid... lol.

Would there be a way to open the game window in the GUI?

Share this post


Link to post
Share on other sites
jinxter

open the game in that window might prove difficult. I'm unsure if you can do it without having an interface from the game that autoit can understand. Or something....

maybe I shouldn't answer this as I might be wrong, so I leave this to the experts. My gut-feeling tells me this is a pretty hard thing to do in autoit without external interfaces.


> there are 10 types of people in the world, those who understand binary and those who don't.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×