Go Back   Gaming Gutter > Non-Gaming > Programming > Source Code


Source Code - Have a source code/project files you want to post? Do so here.

» Site Navigation
» Home
» FAQ
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Advertisement
» Recent Threads
Go to first new post Anyone here play RO?
11-12-2008 07:56 PM
Last post by Zagoy
Today 11:35 PM
11 Replies, 56 Views
Go to first new post If you had one day to...
11-03-2008 05:09 AM
Last post by Zagoy
Today 11:34 PM
38 Replies, 643 Views
Go to first new post Fav Football Team?
11-19-2008 03:58 PM
by shep
Last post by Zagoy
Today 11:33 PM
13 Replies, 62 Views
Go to first new post What's your weather?
11-08-2008 04:43 PM
by reirei
Last post by Zagoy
Today 11:33 PM
59 Replies, 362 Views
Go to first new post The best browser
11-13-2008 06:35 PM
Last post by Zagoy
Today 11:33 PM
61 Replies, 367 Views
Reply
 
LinkBack Thread Tools Display Modes

 Gaia Mule Creator Source (VB6)
Old 11-16-2007, 04:19 AM   #1 (permalink)

Male Googlrr is offline
 
Googlrr's Avatar
 
Join Date: Oct 2006
Location: New Hampshire?
Posts: 6,830
GPoints: 283
iTrader: 0 / 0%
Googlrr Is a Lord of AwesomenessGooglrr Is a Lord of AwesomenessGooglrr Is a Lord of AwesomenessGooglrr Is a Lord of Awesomeness
Rep Power: 20
Gaia Mule Creator Source (VB6)

A few people asked for it so here it is.

Yea, theres a few things wrong with the code but it works for the most part. I used an HTTP wrapper and the module found here for loading/saving the lists. (http://www.developerfusion.co.uk/show/1724/)

Code:
Public Function GB(rC As String, rS As String, rF As String, Optional lgB As Long = 1) As String
On Error GoTo Error
    lgB = InStr(lgB, rC, rS) + Len(rS): GB = Mid$(rC, lgB, InStr(lgB, rC, rF) - lgB)
Error:
GB = ""

End Function

Private Sub Command1_Click()

End Sub

Private Sub cmdLoad_Click()
Call LoadListFromFile(App.Path & "\Mules.txt", lstList)
End Sub

Private Sub cmdLoademail_Click()
Call LoadListFromFile(App.Path & "\Emails.txt", lstemail)
End Sub

Private Sub cmdMake_Click()
Dim strHTML As String
Dim nvalue As String
Dim activelink As String
Dim emailz As String
x = lblx.Caption
txtMules = 10

While txtMules = 10
strHTML = wrapper.PostWrapper("http://www.gaiaonline.com/register/avatar/", "gender=f&hair=732&eyes=51&mouth=10014&base=29&outfit=11091&url=&id=&u=&x=125&y=121", "http://www.Gaiaonline.com/")
nvalue = wrapper.iB(strHTML, "n" & Chr(34) & " value=" & Chr(34), Chr(34) & " />")
strHTML = wrapper.PostWrapper("http://www.gaiaonline.com/register/user/", "username=" & txtUsers.Text & x & "&email=" & txtEmail.Text & x & "%40dodgit.com&password=" & txtPass.Text & "&password_confirm=" & txtPass.Text & "&dob_month=" & txtMonth.Text & "&dob_day=" & txtDay.Text & "&dob_year=" & txtYear.Text & "&tos_agree=1&base=29&mouth=10014&eyes=51&hair=732&gender=f&outfit=11091&n=""&id=&u=&x=&y=")
strHTML = wrapper.GetWrapper("http://www.gaiaonline.com/account/resend")
If InStr(1, strHTML, "activation email will") Then
lstLog.AddItem ("Registered Successfully; Verify Link sent;" & x)
Else
lstLog.AddItem ("Resistered Successfully; Verify Link possible error;" & x)
End If
emailz = txtEmail.Text & x
wrapper.ClearCookies
lstList.AddItem ("Created account " & txtUsers.Text & x & " : " & txtPass.Text & " : " & txtEmail.Text & x & "@dodgit.com")
lblx.Caption = lblx.Caption + 1
x = lblx.Caption
lblmules.Caption = lblmules.Caption + 1
lstemail.AddItem (emailz)
Wend
End Sub

Private Sub cmdsave_Click()
Call SaveListToFile(App.Path & "\Mules.txt", lstList)
End Sub

Private Sub cmdSaveemail_Click()
Call SaveListToFile(App.Path & "\Emails.txt", lstemail)
End Sub

Private Sub cmdStop_Click()
txtMules.Text = 9
End Sub

Private Sub cmdVerify_Click()
Dim strHTML As String
x = lstemail.ListCount - 1
y = 0
While y <= x
emailz = lstemail.List(y)
strHTML = wrapper.GetWrapper("http://dodgit.com/run/checkmail?mailbox=" & emailz)
mailcheck = wrapper.iB(strHTML, "<td bgcolor=#DCDCDC align=center><font face='Arial' size='-1'><a href='", "'>Welcome to")
If mailcheck = "" Then
lstLog.AddItem ("error")
Else
strHTML = wrapper.GetWrapper("" & mailcheck)
activelink = wrapper.iB(strHTML, "http://www.gaiaonline.com/account/activate/", Chr(34) & ">http:")
If activelink = "" Then
lstLog.AddItem ("No verification link found...")
End If
strHTML = wrapper.GetWrapper("http://www.gaiaonline.com/account/activate/" & activelink)
lstLog.AddItem ("Successfully verified")
End If
y = y + 1
wrapper.ClearCookies
Wend
End Sub

Private Sub Form_Load()
lstList.Clear
lstemail.Clear
lstLog.Clear
End Sub
Private Sub Form_Unload(Cancel As Integer)
    wrapper.ClearCookies
    End
End Sub
__________________

<3 Li'



Hatz =D

  Reply With Quote

 
Old 11-16-2007, 06:22 AM   #2 (permalink)
Banned

Undisclosed FireWrath is offline
 
Join Date: Oct 2007
Posts: 3,209
GPoints: 56
iTrader: 1 / 100%
FireWrath Total CelebrityFireWrath Total CelebrityFireWrath Total CelebrityFireWrath Total CelebrityFireWrath Total CelebrityFireWrath Total Celebrity
Rep Power: 0
Looks rather interesting, I'll give it a go in a few hours, it's 5 AM here, and I can't think straight :/
  Reply With Quote

 
Old 11-16-2007, 11:43 AM   #3 (permalink)
Banned

Male Zetin is offline
 
Join Date: May 2007
Location: South-West Pacific
Posts: 478
GPoints: 25
iTrader: 0 / 50%
Zetin Is gaining popularity
Rep Power: 0
Cool, I'll have to learn VB soon =P
  Reply With Quote

 
Old 11-16-2007, 12:16 PM   #4 (permalink)
Donor

Male Horde is offline
 
Join Date: May 2007
Age: 18
Posts: 339
GPoints: 356
iTrader: 0 / 0%
Horde Is Recognizable
Rep Power: 5
^^ I already know it. And its a rather nice piece of coding.
  Reply With Quote

 
Old 11-17-2007, 06:48 PM   #5 (permalink)
Resident Psychopath.

Male Fewmitz is offline


 
Fewmitz's Avatar
 
Join Date: Nov 2006
Location: fewmitz@live.com
Posts: 5,378
GPoints: 2,485
iTrader: 1 / 100%
Fewmitz Is a Party CaptainFewmitz Is a Party CaptainFewmitz Is a Party Captain
Rep Power: 17
<3

I'll be sure to look at it as well, but much like that other guy, I'm tired >_>
__________________
Quote:
Originally Posted by entropy View Post
Is that all you people can say? Vocabulary is a powerful tool.
Quote:
Originally Posted by Snakebite View Post
wtf dat
  Reply With Quote
Reply

Bookmarks



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -7. The time now is 11:37 PM.


vBulletin skin developed by: eXtremepixels
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The contents of this webpage are copyright © 2006-2008 GamingGutter.com. All Rights Reserved.

Page generated in 0.20823598 seconds (100.00% PHP - 0% MySQL) with 19 queries