Jump to content

Script Problem !!!


Guest AX5
 Share

Recommended Posts

Hi i made a simpel starter 4 a game but when i start it i get buggs and the game dosent showe Loggin windows

.:Print Screens:.

1.Posted Image

2.Posted Image

3.Posted Image

4.Posted Image

#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_icon=..\..\..\..\Desktop\blue.ico
#AutoIt3Wrapper_outfile=Start Hero Online.exe
#AutoIt3Wrapper_Res_Description=Nexxozsoft
#AutoIt3Wrapper_Res_Fileversion=0.9.0.0
#AutoIt3Wrapper_Res_LegalCopyright=Nexxozsoft
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Hero Online Starter", 220, 148, 278, 165)
$Button1 = GUICtrlCreateButton("Start", 118, 100, 94, 40)
$Label1 = GUICtrlCreateLabel("ero Online.", 32, 35, 162, 43)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

        Case $Button1
            Run("C:\Netgame\Hero_Online\Hero.exe !TianDiHuangLauncher~#")
            

    EndSwitch
WEnd
Edited by AX5
Link to comment
Share on other sites

It seems to be a problem with the program you're launching, not your script. Your script is basic enough, and seems to be all right. Check the switches you're using to launch the external program to make sure they're correct.

Also, you may want to consider exiting your script after it launches the game. ;)

"There are 10 types of people in this world - those who can read binary, and those who can't.""We've heard that a million monkeys at a million keyboards could produce the complete works of Shakespeare; now, thanks to the Internet, we know that is not true." ~Robert Wilensky0101101 1001010 1100001 1101101 1100101 1110011 0110011 1001101 10001110000101 0000111 0001000 0001110 0001101 0010010 1010110 0100001 1101110
Link to comment
Share on other sites

Do ShellExecute ( "C:\Netgame\Hero_Online\Hero.exe" , "! TianDiHuangLauncher ~#" , "C:\Netgame\Hero_Online\" , "open" ) work?

This part i dono if its correct, try

"~#"

" ~ #"

"~ #"

" ~#"

did you try to see if you can start shortcut directly?

Edited by bogQ

TCP server and client - Learning about TCP servers and clients connection
Au3 oIrrlicht - Irrlicht project
Au3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related)



460px-Thief-4-temp-banner.jpg
There are those that believe that the perfect heist lies in the preparation.
Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost.

 
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...