Bounda 0 Posted May 24, 2006 I need my script to be able to read an ini on my free web host, heres the script. expandcollapse popup#cs News Module Created by me =D #ce #include <GUIConstants.au3> GUICreate("News Module", "200", "200") $mainpw = iniread("blizzstuff.t35.com/News.ini", "Main", "Password", "None") $write = GuiCtrlCreateButton("Write", 10, 10, 40, 40, $BS_ICON) GUICtrlSetImage(-1, "wi0054-48.ico", -1) $up = GuiCtrlCreateButton("Upadte", 50, 10, 40, 40, $BS_ICON) GuiCtrlSetImage(-1, "wi0064-48.ico", -1) $list = guictrlcreatelist("Click the update button", 10, 50, 150, 150) $set = "" GuiSetState() While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE Exit Case $msg = $write _Password() Case $msg = $up _Update() EndSelect Wend Func _Password() $UserPw = InputBox("Password", "Please enter password", "Password") if $UserPw = $mainpw Then $news = InputBox("News module", "Please insert news you would like others to see.") inidelete("blizzstuff.t35.com.com/News.ini", "main", "News") iniwrite("blizzstuff.t35.com/News.ini", "Main", "News", $news) EndIf EndFunc Func _Update() $news2 = iniread("blizzstuff.t35.com/News.ini", "Main", "News", "none") guictrlsetdata($list, $news2) endfunc now i just need some help, and i tred the search thingy ma bobber CS:S Aimbot - List From INI Funcs Share this post Link to post Share on other sites
BillLuvsU 8 Posted May 24, 2006 Try downloading the INI file into the temp folder first. [center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw Share this post Link to post Share on other sites
Bounda 0 Posted May 24, 2006 still doesnt work CS:S Aimbot - List From INI Funcs Share this post Link to post Share on other sites
mr.underperson 0 Posted May 25, 2006 (edited) crazy code! a) to even read the ini, it needs to be publicly accessible, and it has a password in it. you cannot write to an ini file over the web, not by regular methods. c) you cannot delete sections in an ini file over the web, see . etc. You could read the news from there. But read only. This.. GUICreate("News Module", "200", "200") InetGet("http://blizzstuff.t35.com/News.ini", "C:\news.ini") $mainpw = iniread("C:\news.ini", "main", "password", "none") MsgBox(64, "password", $mainpw, 10) exit Displays a dialog with your (publicly accessible) password in it. Works fine. -mu [edit]sheesh! I need to learn to spell![/edit] Edited May 25, 2006 by mr.underperson Share this post Link to post Share on other sites