I am trying to make a bot that auto updates like Shadow Bot and I have no idea how to do that :P so if anyone could possibly help me, that would be great.
its not to hard chr0nic, you can use something like inet to connect and see if there is a download and then use winsocks, or you can use winsocks on both ways.if you want to open the exe after dling it, i suggesr you learn api calls.
Or he could just use Shell? :-X
or inet, to check if an update is needed then, a shell execute
ok im gonna use inet, thx for the help.
ok um i didnt get it working, but you could really help me instead of insulting me SiMi. Everyone starts out as a newb in bots at sometime, well except Cuphead.
i insulted you? hrm i thought i was helping you, if you think that was a insult then there must be something wrong with you.
Alright, I'll help you.
(This is for the auto update)
First, Declare what shellexecute is going to do
Public Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hWnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
Next, you would tell it do go to a location, on the web. If you want it to auto update you must link it directly to where the .zip is. For example -
ShellExecute Me.hWnd, "open", "http://www.innerz.com/bot.zip", "", "", 5
Topic's about INET have been discussed here before, Click Here (http://forum.valhallalegends.com/phpbbs/index.php?board=17;action=search) to find your anwser. It's not as hard as you think...
Or he could have searched in the first place.