Register for your free account! | Forgot your password?

You last visited: Today at 04:35

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



dev c++

Discussion on dev c++ within the Technical Support forum part of the Off-Topics category.

Reply
 
Old 07/25/2008, 22:30   #16
 
Hikkikomori's Avatar
 
elite*gold: 0
Join Date: Mar 2006
Posts: 495
Received Thanks: 205
jo ->

Func SetRealm()
_FileWriteToLine($RealmLocation, 30, 'SET realmName "' & GUICtrlRead($Input2) & '"', 1)
If @error = 0 Then
Exit
ElseIf @error = 1 Then
MsgBox(0,"","Error")
EndIf
EndFunc
Hikkikomori is offline  
Thanks
1 User
Old 07/26/2008, 18:03   #17
 
>Trib°lex<'s Avatar
 
elite*gold: 20
Join Date: Oct 2007
Posts: 610
Received Thanks: 1,247
so ist das genau wie vorher die realmlist soll sich in "set realmlist ruthlessbrothers.ath.cx" ändern also ich starte das prog dann drücke ich z.b. nur ändern und der macht das so meinte ich das wenn das möglich ist
>Trib°lex< is offline  
Old 07/28/2008, 18:47   #18
 
>Trib°lex<'s Avatar
 
elite*gold: 20
Join Date: Oct 2007
Posts: 610
Received Thanks: 1,247
geht das nicht
>Trib°lex< is offline  
Old 07/28/2008, 20:29   #19
 
Hikkikomori's Avatar
 
elite*gold: 0
Join Date: Mar 2006
Posts: 495
Received Thanks: 205
#include <GUIConstants.au3>
#include <File.au3>

$RealmlistLocation = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Blizzard Entertainment\World of Warcraft", "InstallPath") & "realmlist.wtf"
$OpenRealmlist = FileOpen($RealmlistLocation, 0)
$RealmListLine = FileReadLine($OpenRealmlist, 1)
$CurrentRealmList = StringTrimLeft($RealmListLine, 14)

GUICreate("WoW Realmlist Changer", 230, 72, 193, 115)
GUICtrlCreateLabel("Current Realmlist:", 8, 12, 86, 17)
$Input1 = GUICtrlCreateInput($CurrentRealmList, 96, 8, 121, 21)
$SetRealmlist = GUICtrlCreateButton("Set Realmlist", 8, 36, 211, 25, 0)
GUISetState(@SW_SHOW)

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

Func SetRealmlist()
_FileWriteToLine($RealmlistLocation, 1, "set realmlist ruthlessbrothers.ath.cx", 1)
Exit
EndFunc
Hikkikomori is offline  
Thanks
1 User
Old 07/29/2008, 21:53   #20
 
>Trib°lex<'s Avatar
 
elite*gold: 20
Join Date: Oct 2007
Posts: 610
Received Thanks: 1,247
Danke das meint ich und es klappt .Thx


>Trib°lex< is offline  
Reply




All times are GMT +2. The time now is 04:35.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.