Jump to content

Recommended Posts

Posted

hey ppl i post some posts in this forum and the guys helped me some but its dont work see my source of script

;Script generated by AutoBuilder 0.4


Opt("GUICoordMode", 1)
Opt("GUINotifyMode", 1)
GuiCreate("MyGUI", 392,273,(@DesktopWidth-392)/2, (@DesktopHeight-273)/2 , 0x04CF0000)

$group_2 = GUISetControl("group", "", 190, 0, 200, 270)
    $button_7 = GUISetControl("button", "Storm-Mu", 200, 20, 180, 30)
    $button_8 = GUISetControl("button", "Diablo 2", 200, 70, 180, 30)
    $button_10 = GUISetControl("button", "Sting's HackMap", 200, 120, 180, 30)
    $button_11 = GUISetControl("button", "IE", 200, 170, 180, 30)
    $button_12 = GUISetControl("button", "Gta", 200, 220, 180, 30)
GUISetControl("group","",-99,-99,1,1) ;close group

$group_1 = GUISetControl("group", "", 0, 0, 190, 270)
    $button_1 = GUISetControl("button", "cs 1.5", 10, 20, 170, 30)
    $button_2 = GUISetControl("button", "cs 1.6", 10, 70, 170, 30)
    $button_3 = GUISetControl("button", "C-D", 10, 120, 170, 30)
    $button_5 = GUISetControl("button", "Winamp 5", 10, 170, 170, 30)
    $button_6 = GUISetControl("button", "Lineage 2", 10, 220, 170, 30)
GUISetControl("group","",-99,-99,1,1) ;close group


GuiShow()

While 1
    sleep(100)
    $msg = GuiMsg(0)
    Select
    Case $msg = -3
        Exit
    Case $msg = 12
       ;;;
    Case $msg = $group_2
       ;;;
    Case $msg = $button_7
        run("D:\games\Mu def\Storm-Mu.bat")
    Case $msg = $button_8
        run("D:\games\Diablo II\Diablo II.exe")
    Case $msg = $button_10
        run("D:\games\Diablo II\Plugin\d2hackmap.exe")
    Case $msg = $button_11
        run("C:\Program Files\Internet Explorer\IEXPLORE.EXE")
    Case $msg = $button_12
        run("D:\games\gtavc\gta-vc.eXe")
    Case $msg = $group_1
       ;;;
    Case $msg = $button_1
    run(@comspec & ' /c D:\games\Counter-Strike\hl.exe" cstrike -game -console')
    Case $msg = $button_2
    run(@comspec & ' /c D:\games\Counter-Strike 1.6\hl.exe" -nomaster -game -cstrike')
    Case $msg = $button_3
        run("C:\Program Files\Cheating-Death\cdeath.exe")
    Case $msg = $button_5
        run("C:\Program Files\Winamp\winamp.exe")
    Case $msg = $button_6
        run("C:\Program Files\Lineage II\LineageII.exe")
    EndSelect
WEnd
Exit

this file propertes dont work :/

Case $msg = $button_1
    run(@comspec & ' /c D:\games\Counter-Strike\hl.exe" cstrike -game -console')
    Case $msg = $button_2
    run(@comspec & ' /c D:\games\Counter-Strike 1.6\hl.exe" -nomaster -game -cstrike')
this properties
cstrike -game -console and   -nomaster -game -cstrike
anyone help ? i think administrator shode know it ...(sorry for my english :ph34r:)
Posted

Try:

;Script generated by AutoBuilder 0.4

Opt("GUICoordMode", 1)
Opt("GUINotifyMode", 1)
GuiCreate("MyGUI", 392,273,(@DesktopWidth-392)/2, (@DesktopHeight-273)/2 , 0x04CF0000)

$group_2 = GUISetControl("group", "", 190, 0, 200, 270)
    $button_7 = GUISetControl("button", "Storm-Mu", 200, 20, 180, 30)
    $button_8 = GUISetControl("button", "Diablo 2", 200, 70, 180, 30)
    $button_10 = GUISetControl("button", "Sting's HackMap", 200, 120, 180, 30)
    $button_11 = GUISetControl("button", "IE", 200, 170, 180, 30)
    $button_12 = GUISetControl("button", "Gta", 200, 220, 180, 30)
GUISetControl("group","",-99,-99,1,1);close group

$group_1 = GUISetControl("group", "", 0, 0, 190, 270)
    $button_1 = GUISetControl("button", "cs 1.5", 10, 20, 170, 30)
    $button_2 = GUISetControl("button", "cs 1.6", 10, 70, 170, 30)
    $button_3 = GUISetControl("button", "C-D", 10, 120, 170, 30)
    $button_5 = GUISetControl("button", "Winamp 5", 10, 170, 170, 30)
    $button_6 = GUISetControl("button", "Lineage 2", 10, 220, 170, 30)
GUISetControl("group","",-99,-99,1,1);close group


GuiShow()

While 1
    sleep(100)
    $msg = GuiMsg(0)

    If $msg = 0 Then ContinueLoop; Why making all checks if nothing happened?
    Select
    Case $msg = -3
        Exit
    Case $msg = 12
      ;;;
    Case $msg = $group_2
      ;;;
    Case $msg = $button_7
        run("D:\games\Mu def\Storm-Mu.bat")
    Case $msg = $button_8
        run("D:\games\Diablo II\Diablo II.exe")
    Case $msg = $button_10
        run("D:\games\Diablo II\Plugin\d2hackmap.exe")
    Case $msg = $button_11
        run("C:\Program Files\Internet Explorer\IEXPLORE.EXE")
    Case $msg = $button_12
        run("D:\games\gtavc\gta-vc.eXe")
    Case $msg = $group_1
      ;;;
    Case $msg = $button_1
    run('"D:\games\Counter-Strike\hl.exe" cstrike -game -console')
    Case $msg = $button_2
    run('"D:\games\Counter-Strike 1.6\hl.exe" -nomaster -game -cstrike')
    Case $msg = $button_3
        run("C:\Program Files\Cheating-Death\cdeath.exe")
    Case $msg = $button_5
        run("C:\Program Files\Winamp\winamp.exe")
    Case $msg = $button_6
        run("C:\Program Files\Lineage II\LineageII.exe")
    EndSelect
WEnd

Exit

Why use the comspec in this case? But if you want to try:

Case $msg = $button_1
    run(@comspec & ' /c "D:\games\Counter-Strike\hl.exe" cstrike -game -console')
Case $msg = $button_2
    run(@comspec & ' /c "D:\games\Counter-Strike 1.6\hl.exe" -nomaster -game -cstrike')
Posted

Try:

;Script generated by AutoBuilder 0.4

Opt("GUICoordMode", 1)
Opt("GUINotifyMode", 1)
GuiCreate("MyGUI", 392,273,(@DesktopWidth-392)/2, (@DesktopHeight-273)/2 , 0x04CF0000)

$group_2 = GUISetControl("group", "", 190, 0, 200, 270)
    $button_7 = GUISetControl("button", "Storm-Mu", 200, 20, 180, 30)
    $button_8 = GUISetControl("button", "Diablo 2", 200, 70, 180, 30)
    $button_10 = GUISetControl("button", "Sting's HackMap", 200, 120, 180, 30)
    $button_11 = GUISetControl("button", "IE", 200, 170, 180, 30)
    $button_12 = GUISetControl("button", "Gta", 200, 220, 180, 30)
GUISetControl("group","",-99,-99,1,1);close group

$group_1 = GUISetControl("group", "", 0, 0, 190, 270)
    $button_1 = GUISetControl("button", "cs 1.5", 10, 20, 170, 30)
    $button_2 = GUISetControl("button", "cs 1.6", 10, 70, 170, 30)
    $button_3 = GUISetControl("button", "C-D", 10, 120, 170, 30)
    $button_5 = GUISetControl("button", "Winamp 5", 10, 170, 170, 30)
    $button_6 = GUISetControl("button", "Lineage 2", 10, 220, 170, 30)
GUISetControl("group","",-99,-99,1,1);close group
GuiShow()

While 1
    sleep(100)
    $msg = GuiMsg(0)

    If $msg = 0 Then ContinueLoop; Why making all checks if nothing happened?
    Select
    Case $msg = -3
        Exit
    Case $msg = 12
      ;;;
    Case $msg = $group_2
      ;;;
    Case $msg = $button_7
        run("D:\games\Mu def\Storm-Mu.bat")
    Case $msg = $button_8
        run("D:\games\Diablo II\Diablo II.exe")
    Case $msg = $button_10
        run("D:\games\Diablo II\Plugin\d2hackmap.exe")
    Case $msg = $button_11
        run("C:\Program Files\Internet Explorer\IEXPLORE.EXE")
    Case $msg = $button_12
        run("D:\games\gtavc\gta-vc.eXe")
    Case $msg = $group_1
      ;;;
    Case $msg = $button_1
    run('"D:\games\Counter-Strike\hl.exe" cstrike -game -console')
    Case $msg = $button_2
    run('"D:\games\Counter-Strike 1.6\hl.exe" -nomaster -game -cstrike')
    Case $msg = $button_3
        run("C:\Program Files\Cheating-Death\cdeath.exe")
    Case $msg = $button_5
        run("C:\Program Files\Winamp\winamp.exe")
    Case $msg = $button_6
        run("C:\Program Files\Lineage II\LineageII.exe")
    EndSelect
WEnd

Exit

Why use the comspec in this case? But if you want to try:

Case $msg = $button_1
    run(@comspec & ' /c "D:\games\Counter-Strike\hl.exe" cstrike -game -console')
Case $msg = $button_2
    run(@comspec & ' /c "D:\games\Counter-Strike 1.6\hl.exe" -nomaster -game -cstrike')

<{POST_SNAPBACK}>

its dont work :/
Posted

its dont work :/

<{POST_SNAPBACK}>

Okay... so you are only having trouble with the Counter Strike and everything else works fine?

Case $msg = $button_1
    run(@comspec & ' /c D:\games\Counter-Strike\hl.exe" cstrike -game -console')
    Case $msg = $button_2
    run(@comspec & ' /c D:\games\Counter-Strike 1.6\hl.exe" -nomaster -game -cstrike')

That is your code... I have a few questions if you or anyone else knows the answer, but I also have one suggestion.

Question: What does the /c do?

Suggestion: Try the below code.

Case $msg = $button_1
    run(@comspec & "/c D:\games\Counter-Strike\hl.exe cstrike -game -console")
    Case $msg = $button_2
    run(@comspec & "/c D:\games\Counter-Strike 1.6\hl.exe -nomaster -game -cstrike")

Let me know how that works out for you.

JS

AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Posted

Okay... so you are only having trouble with the Counter Strike and everything else works fine?

Case $msg = $button_1
    run(@comspec & ' /c D:\games\Counter-Strike\hl.exe" cstrike -game -console')
    Case $msg = $button_2
    run(@comspec & ' /c D:\games\Counter-Strike 1.6\hl.exe" -nomaster -game -cstrike')

That is your code... I have a few questions if you or anyone else knows the answer, but I also have one suggestion.

Question: What does the /c do?

Suggestion: Try the below code.

Case $msg = $button_1
    run(@comspec & "/c D:\games\Counter-Strike\hl.exe cstrike -game -console")
    Case $msg = $button_2
    run(@comspec & "/c D:\games\Counter-Strike 1.6\hl.exe -nomaster -game -cstrike")

Let me know how that works out for you.

JS

<{POST_SNAPBACK}>

i think /c is dos ...

i dont know some guys tell it :ph34r:

your code dont work :/

more help from guys ?

Posted

Don't use the comspec at all.

Case $msg = $button_1

run("D:\games\Counter-Strike\hl.exe cstrike -game -console")

Case $msg = $button_2

run("D:\games\Counter-Strike 1.6\hl.exe -nomaster -game -cstrike")

The only one you need comspec on is the bat file:

run(@comspec & '/c "D:\games\Mu def\Storm-Mu.bat"')

Who else would I be?
Posted

Okay I hope one of these work. I have two more suggestions...

Case $msg = $button_1
    run(@comspec & ' /c "D:\games\Counter-Strike\hl.exe" cstrike -game -console')
    Case $msg = $button_2
    run(@comspec & ' /c "D:\games\Counter-Strike 1.6\hl.exe" -nomaster -game -cstrike')

OR

Case $msg = $button_1
    run(@comspec & ' /c "D:\games\Counter-Strike\hl.exe" cstrike -game -console')
    Case $msg = $button_2
    run(@comspec & ' /c "D:\games\Counter-Strike 1.6\hl.exe" -nomaster -game -cstrike')

Let me know.

Thanks,

JS

AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Posted

Okay I hope one of these work. I have two more suggestions...

Case $msg = $button_1
    run(@comspec & ' /c "D:\games\Counter-Strike\hl.exe" cstrike -game -console')
    Case $msg = $button_2
    run(@comspec & ' /c "D:\games\Counter-Strike 1.6\hl.exe" -nomaster -game -cstrike')

OR

Case $msg = $button_1
    run(@comspec & ' /c "D:\games\Counter-Strike\hl.exe" cstrike -game -console')
    Case $msg = $button_2
    run(@comspec & ' /c "D:\games\Counter-Strike 1.6\hl.exe" -nomaster -game -cstrike')

Let me know.

Thanks,

JS

<{POST_SNAPBACK}>

its dont work ...

:///// im trying to make this think about 5 days ;/

Posted

Check the command line,

copy and paste this in a console window, does it work?

"D:\games\Counter-Strike\hl.exe" cstrike -game -console

Posted

Check the command line,

copy and paste this in a console window, does it work?

"D:\games\Counter-Strike\hl.exe" cstrike -game -console

<{POST_SNAPBACK}>

nope
Posted (edited)

nope

<{POST_SNAPBACK}>

ALL WORLKS YAHOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

see below source: )

Case $msg = $button_1
        Run(@ComSpec & " /c " & 'D:\games\Counter-Strike\hl.exe -game cstrike -console', "", @SW_MAXIMIZE)
    Case $msg = $button_2
        Run(@ComSpec & " /c " & '"D:\games\Counter-Strike 1.6\hl.exe" -nomaster -game cstrike', "", @SW_MAXIMIZE)
Edited by pumpas

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
×
×
  • Create New...