» Site Navigation | | | » Advertisement | | | » Recent Threads | | | | | | | | | | | |  |  | Daily Doer Source |  |
12-17-2007, 11:13 PM
|
#1 (permalink)
| Full Member
Join Date: Nov 2007 Posts: 21
GPoints: 74 Rep Power: 0 | Daily Doer Source Code: Dim strhtml As String
Dim strTest As String
Private Sub cmdClear_Click()
lstLog.Clear
End Sub
Private Sub cmdLogin_Click()
If txtUser.Text = "" Then MsgBox "Enter Username!": Exit Sub
If txtPass.Text = "" Then MsgBox "Enter Password!": Exit Sub
cmdLogin.Enabled = False
txtUser.Locked = True
txtPass.Locked = True
'login process:
lblStatus.Caption = "Logging in (1/3)"
strhtml = wrapper.PostWrapper("http://www.neopets.com/hi.phtml", "destination=%2Fpetcentral.phtml&username=" & txtUser.Text, "http://www.neopets.com/loginpage.phtml")
lblStatus.Caption = "Posting User (2/3)"
strhtml = wrapper.PostWrapper("http://www.neopets.com/login.phtml", "username=" & txtUser.Text & "&password=" & txtPass.Text & "&destination=%2Fpetcentral.phtml", "http://www.neopets.com/hi.phtml")
lblStatus.Caption = "Posting User & Pass (3/3)"
If InStr(strhtml, "badpassword.phtml") Then
lblStatus.Caption = "Bad Password"
cmdLogin.Enabled = True
ElseIf InStr(strhtml, "petcentral.phtml") Then
cmdLogout.Enabled = True
lblStatus.Caption = "Login Was Successful"
FrameSettings.Enabled = True
FrameControls.Enabled = True
FrameLog.Enabled = True
cmdStart.Enabled = True
Me.Caption = Me.Caption & " : " & txtUser.Text
Exit Sub
ElseIf InStr(strhtml, "FROZEN") Then
lblStatus.Caption = "That account was frozen, Sorry"
cmdLogin.Enabled = True
End If
txtUser.Locked = False
txtPass.Locked = False
End Sub
Private Sub cmdLogout_Click()
chkAdvent.Value = Unchecked
chkFishing.Value = Unchecked
chkFruit.Value = Unchecked
chkTomb.Value = Unchecked
chkHealing.Value = Unchecked
chkJelly.Value = Unchecked
chkMeteor.Value = Unchecked
chkOmelette.Value = Unchecked
chkShrine.Value = Unchecked
chkTombola.Value = Unchecked
chkWOE.Value = Unchecked
chkWOM.Value = Unchecked
lblStatus.Caption = "Logged Out"
Me.Caption = "Phony Productions - Daily Doer [3vo]"
lblStatus.Caption = "Logged Out"
cmdLogout.Enabled = False
lblStatus.Caption = "Logged Out"
cmdLogin.Enabled = True
lblStatus.Caption = "Logged Out"
wrapper.GetWrapper "http://www.neopets.com/logout.phtml"
lblStatus.Caption = "Logged Out"
wrapper.ClearCookies
lblStatus.Caption = "Logged Out"
FrameSettings.Enabled = False
FrameLog.Enabled = False
FrameControls.Enabled = False
End Sub
Private Sub cmdSave_Click()
Call Functions.SaveList(App.Path & "\log.txt", lstLog, "Output")
End Sub
Private Sub cmdStart_Click()
cmdStart.Enabled = False
lblStatus.Caption = "Doing Dailies"
Call DoDailies
cmdStart.Enabled = True
lblStatus.Caption = "Finished"
End Sub
Private Sub DoDailies()
lstLog.AddItem "Started Dailies - " & Time
If chkAdvent.Value = Checked Then
If Month(Now) = 12 Then
lblStatus.Caption = "Advent Calendar"
strhtml = wrapper.PostWrapper("http://www.neopets.com/winter/process_adventcalendar.phtml", "", wrapper.LastPage)
lstLog.AddItem "Advent Calendar:"
lstLog.AddItem "Done."
End If
End If
If chkFishing.Value = Checked Then
lblStatus.Caption = "Underwater Fishing"
strhtml = wrapper.PostWrapper("http://www.neopets.com/water/fishing.phtml", "go_fish=1", wrapper.LastPage)
lstLog.AddItem "Underwater Fishing:"
If InStr(strhtml, "Your pet's fishing skill increases to <B>") Then
lstLog.AddItem "Fishing Level: " & GB(strhtml, ">Your pet's fishing skill increases to <B>", "</B>!<P></CENT")
Else
lstLog.AddItem "Did Not Gain Fishing Level."
End If
End If
If chkFruit.Value = Checked Then
lblStatus.Caption = "Fruit Machine"
strhtml = wrapper.GetWrapper("http://www.neopets.com/desert/fruitmachine2.phtml", wrapper.LastPage)
lstLog.AddItem "Fruit Machine:"
lstLog.AddItem "Spun."
End If
If chkHealing.Value = Checked Then
lblStatus.Caption = "Healing Springs"
strhtml = wrapper.PostWrapper("http://www.neopets.com/faerieland/springs.phtml", "type=heal", wrapper.LastPage)
lstLog.AddItem "Healing Springs:"
lstLog.AddItem "Done."
End If
If chkJelly.Value = Checked Then
lblStatus.Caption = "Jelly"
strhtml = wrapper.PostWrapper("http://www.neopets.com/jelly/jelly.phtml", "type=get_jelly", wrapper.LastPage)
lstLog.AddItem "Jelly:"
strTest = GB(strhtml, "=80 height=80 border=0><p>You take some <b>", "</b>!!!")
If strTest = vbNullString Then strTest = "Did Not Get Jelly."
If strTest = "" Then strTest = "Did Not Get Jelly."
lstLog.AddItem strTest
End If
If chkMeteor.Value = Checked Then
lblStatus.Caption = "Meteors of Kreludor"
strhtml = wrapper.PostWrapper("http://www.neopets.com/moon/process_meteor.phtml", "pickstep=" & Functions.Rand(1, 2) & "&meteorsubmit=Submit", wrapper.LastPage)
lstLog.AddItem "Meteors of Kreludor:"
lstLog.AddItem "Done."
End If
If chkOmelette.Value = Checked Then
lblStatus.Caption = "Omelette"
strhtml = wrapper.PostWrapper("http://www.neopets.com/prehistoric/omelette.phtml", "type=get_omelette", wrapper.LastPage)
lstLog.AddItem "Omelette:"
If InStr(strhtml, "<img src='http://images.neopets.com/items") Then lstLog.AddItem "Got Omelette."
End If
If chkShrine.Value = Checked Then
lblStatus.Caption = "Shrine"
strhtml = wrapper.PostWrapper("http://www.neopets.com/desert/shrine.phtml", "type=approach", wrapper.LastPage)
lstLog.AddItem "Shrine:"
strTest = GB(strhtml, "</b><p><b>", "</b><p><IMG src=")
If strTest = vbNullString Then strTest = "Shrine Done."
If strTest = "" Then strTest = "Shrine Done."
lstLog.AddItem strTest
End If
If chkTomb.Value = Checked Then
lblStatus.Caption = "Geraptiku Tomb"
strhtml = wrapper.PostWrapper("http://www.neopets.com/worlds/geraptiku/process_tomb.phtml", "", wrapper.LastPage)
lstLog.AddItem "Geraptiku Tomb:"
lstLog.AddItem "Done."
End If
If chkTombola.Value = Checked Then
lblStatus.Caption = "Tombola"
strhtml = wrapper.GetWrapper("http://www.neopets.com/island/tombola2.phtml", wrapper.LastPage)
lstLog.AddItem "Tombola:"
lstLog.AddItem "Done."
End If
If chkWOE.Value = Checked Then
lblStatus.Caption = "Wheel of Excitement"
strhtml = wrapper.GetWrapper("http://www.neopets.com/faerieland/wheel2.phtml?", wrapper.LastPage)
lstLog.AddItem "Wheel of Excitement:"
lstLog.AddItem "Done."
End If
If chkWOM.Value = Checked Then
lblStatus.Caption = "Wheel of Mediocrity"
strhtml = wrapper.PostWrapper("http://www.neopets.com/prehistoric/mediocrity2.phtml", "", wrapper.LastPage)
lstLog.AddItem "Wheel of Mediocrity:"
lstLog.AddItem "Done."
End If
lstLog.AddItem "Finished Dailies - " & Time
End Sub
Private Sub Form_Unload(Cancel As Integer)
strhtml = wrapper.GetWrapper("http://www.neopets.com/logout.phtml", wrapper.LastPage)
wrapper.ClearCookies
wrapper.StopIT = True
Call EndIt
End Sub | |
| |  |
06-08-2008, 09:14 PM
|
#2 (permalink)
| Banned
Join Date: May 2008 Posts: 7
GPoints: 20 Rep Power: 0 | ripped from www.slopdog.com from raredaredevil ASSHOLE | |
| |
06-08-2008, 09:31 PM
|
#3 (permalink)
| olol.
Join Date: Nov 2007 Location: Washington State Age: 21 Posts: 1,103
GPoints: 186 Rep Power: 6 | Look at how old the post is, ASSHOLE. | |
| |
06-08-2008, 09:47 PM
|
#4 (permalink)
| Banned
Join Date: Sep 2006 Location: MWHAHAHHAHA Age: 18 Posts: 5,270
GPoints: 264 Rep Power: 0 | Thanks for the source, though you really shouldnt rip it >>
Im trying to understand how it works right now, to see if i can make a daily-doer.
Having a bit of trouble ;-;
Though i am new to vb6 | |
| |
06-10-2008, 09:23 AM
|
#5 (permalink)
| Underground
Join Date: Jul 2007 Posts: 180
GPoints: 812 Rep Power: 6 | Is this really my code? i dont remember making it , Anna posted one on slopdogg that she made, from my account but that was on a timer, not just run once and exit so i dont think its mine or Annas.
Maybe they took some of annas source but she wouldnt care anyway. | |
| |
06-10-2008, 09:39 AM
|
#6 (permalink)
| Banned
Join Date: Sep 2006 Location: MWHAHAHHAHA Age: 18 Posts: 5,270
GPoints: 264 Rep Power: 0 | well help me get this thing to work then xD | |
| |
06-10-2008, 10:00 AM
|
#7 (permalink)
| Underground
Join Date: Oct 2007 Posts: 505
GPoints: 431 Rep Power: 5 | add me on MSN ill help you.
and rare. add me also. i need to ask you something.
my msn is eckotc203@live . com | |
| |
06-11-2008, 10:53 PM
|
#8 (permalink)
| Banned
Join Date: Sep 2006 Location: MWHAHAHHAHA Age: 18 Posts: 5,270
GPoints: 264 Rep Power: 0 | get on msn =P
im on =P | |
| |  | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | |