Sign in to follow this  
Followers 0
kcd-clan

Multi Gui Not Sending The Declerations To Next

2 posts in this topic

;Waht want to do add server to sql db and update about every min

#include <GUIConstants.au3>
; == GUI generated with Koda ==
$Form1 = GUICreate("G-V.us Game Creator", 226, 171, 192, 125)
GUICtrlCreateLabel("Game Name :", 8, 32, 69, 17)
GUICtrlCreateLabel("Password :", 8, 56, 56, 17)
$password = GUICtrlCreateInput("", 88, 56, 121, 21, -1, $WS_EX_CLIENTEDGE)
$gamename = GUICtrlCreateInput("", 88, 32, 121, 21, -1, $WS_EX_CLIENTEDGE)
$ip = GUICtrlCreateInput("", 88, 80, 121, 21, -1, $WS_EX_CLIENTEDGE)
GUICtrlCreateLabel("Your public ip :", 8, 80, 74, 17)
$game = GUICtrlCreateCombo("D2 Mod selection", 40, 112, 145, 21)
GUICtrlSetData(-1,"No mod|Eastern sun 3.0","")
$create = GUICtrlCreateButton("Create Game", 64, 144, 89, 17)
GUISetState(@SW_SHOW)
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case $msg = $create
    
$gamenameout=$gamename
$pingout=Ping($ip,500)
$passout=$password
$ipout=$ip
$modout=$game

#include <GUIConstants.au3>
; == GUI generated with Koda ==
$Form2 = GUICreate("G-V: "&$gamenameout, 250, 149, 192, 122)
GUICtrlCreateLabel("Ping :", 16, 32, 31, 17)
GUICtrlCreateLabel($pingout, 56, 32, 39, 17)
GUICtrlCreateLabel("Game Name :", 16, 8, 69, 17)
GUICtrlCreateLabel($gamenameout, 96, 8, 71, 17)
GUICtrlCreateLabel("Password :", 16, 56, 56, 17)
GUICtrlCreateLabel($passout, 72, 56, 64, 17)
GUICtrlCreateLabel("Ip :", 16, 80, 19, 17)
GUICtrlCreateLabel($ipout, 40, 80, 12, 17)
GUICtrlCreateLabel("Mod :", 16, 104, 31, 17)
GUICtrlCreateLabel($modout, 48, 104, 39, 17)
$Exit = GUICtrlCreateButton("Exit", 96, 128, 59, 17)
GUISetState(@SW_SHOW)
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        GUIDelete ($Form2)
    Case $msg = $Exit
        ExitLoop
    Case Else
    ;;;;;;;
    EndSelect
WEnd
Exit
    Case Else
    ;;;;;;;
    EndSelect
WEnd
Exit

whats the problem?

Well try it

It will send number values to the next gui when it should show the inout data......


Visit mEMy programs made.Iul - IulG-V Console - G-V Console_RandomLetter - _RandomLetter()Saftey Kill - Saftey Killcolorzone() = colorzone()

Share this post


Link to post
Share on other sites



maybe

;Waht want to do add server to sql db and update about every min

#include <GUIConstants.au3>
; == GUI generated with Koda ==
$Form1 = GUICreate("G-V.us Game Creator", 226, 171, 192, 125)
GUICtrlCreateLabel("Game Name :", 8, 32, 69, 17)
GUICtrlCreateLabel("Password :", 8, 56, 56, 17)
$password = GUICtrlCreateInput("", 88, 56, 121, 21, -1, $WS_EX_CLIENTEDGE)
$gamename = GUICtrlCreateInput("", 88, 32, 121, 21, -1, $WS_EX_CLIENTEDGE)
$ip = GUICtrlCreateInput("", 88, 80, 121, 21, -1, $WS_EX_CLIENTEDGE)
GUICtrlCreateLabel("Your public ip :", 8, 80, 74, 17)
$game = GUICtrlCreateCombo("D2 Mod selection", 40, 112, 145, 21)
GUICtrlSetData(-1,"No mod|Eastern sun 3.0","")
$create = GUICtrlCreateButton("Create Game", 64, 144, 89, 17)
GUISetState(@SW_SHOW)
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case $msg = $create
    
$gamenameout=GUICtrlRead($gamename)
$pingout=Ping($ip,500)
$passout=GUICtrlRead($password)
$ipout=GUICtrlRead($ip)
$modout=GUICtrlRead($game)

#include <GUIConstants.au3>
; == GUI generated with Koda ==
$Form2 = GUICreate("G-V: "&$gamenameout, 250, 149, 192, 122)
GUICtrlCreateLabel("Ping :", 16, 32, 31, 17)
GUICtrlCreateLabel($pingout, 56, 32, 39, 17)
GUICtrlCreateLabel("Game Name :", 16, 8, 69, 17)
GUICtrlCreateLabel($gamenameout, 96, 8, 71, 17)
GUICtrlCreateLabel("Password :", 16, 56, 56, 17)
GUICtrlCreateLabel($passout, 72, 56, 64, 17)
GUICtrlCreateLabel("Ip :", 16, 80, 19, 17)
GUICtrlCreateLabel($ipout, 40, 80, 12, 17)
GUICtrlCreateLabel("Mod :", 16, 104, 31, 17)
GUICtrlCreateLabel($modout, 48, 104, 39, 17)
$Exit = GUICtrlCreateButton("Exit", 96, 128, 59, 17)
GUISetState(@SW_SHOW)
While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        GUIDelete ($Form2)
    Case $msg = $Exit
        ExitLoop
    Case Else
   ;;;;;;;
    EndSelect
WEnd
Exit
    Case Else
   ;;;;;;;
    EndSelect
WEnd
Exit

8)


NEWHeader1.png

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  
Followers 0