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 My formal on Friday
11-17-2008 05:12 AM
by Bex
Last post by Bex
Today 10:17 PM
11 Replies, 50 Views
Go to first new post Paypal help?
Today 10:11 PM
by 1x1
Last post by 1x1
Today 10:11 PM
0 Replies, 1 Views
Go to first new post NextGenWarrior = scammer
Yesterday 10:29 PM
by Peanuts
Last post by Jakious
Today 10:08 PM
13 Replies, 121 Views
Go to first new post Do you think smoking is...
08-16-2008 07:09 PM
Last post by kemoomek
Today 10:07 PM
249 Replies, 2,602 Views
Go to first new post People that use...
10-26-2008 01:50 PM
by kiasyn
Last post by Jakious
Today 10:05 PM
23 Replies, 664 Views
Reply
 
LinkBack Thread Tools Display Modes

 Complex NeoLogin [vb6]
Old 04-25-2007, 07:47 PM   #1 (permalink)
Banned

Zachafer is offline
 
Join Date: Apr 2007
Posts: 95
GPoints: 5
iTrader: 0 / 0%
Zachafer Is gaining popularity
Rep Power: 0
Complex NeoLogin [vb6]

Code:
'============================
'MADE BY ZACHAFER
'============================
'If you use this please give
'me credits for login. Thanks
'and enjoy! This was written
'on 4/25/07. Email:
'vb6eats@yahoo.com


Private Sub cmdLogin_Click()
Dim str1 As String
Dim str2 As String
Dim str3 As String
Dim strUser As String
Dim strPet As String
Dim strNP As String
        lblStatus.Caption = "Logging to Neopets."
    str1 = wrap.GetWrapper("http://www.neopets.com/loginpage.phtml", "http://www.neopets.com")
        lblStatus.Caption = "Visiting Login Page."
            SecondsToWait 1
    str2 = wrap.PostWrapper("http://neopets.com/login.phtml", "username=" & txtUser.Text & "&password=" & txtPass.Text & "&destination=%2Fpetcentral.phtml", wrap.LastPage)
        lblStatus.Caption = "Logging In."
            SecondsToWait 1
    str3 = wrap.GetWrapper("http://neopets.com/petcentral.phtml", "http://neopets.com")
        lblStatus.Caption = "Visiting Pet Central."
            SecondsToWait 1
    If InStr(1, str3, "Pet Central", vbTextCompare) Then
    lblStatus.Caption = "Logged In As " & txtUser.Text & ""
    Frame1.Enabled = False
    Frame2.Enabled = True
    SecondsToWait 1
    str2 = wrap.GetWrapper("http://neopets.com/petcentral.phtml", wrap.LastPage)
    strUser = GB(str3, "/randomfriend.phtml?user=", ">")
    lblUser.Caption = "Logged In As: " & strUser & ""
    strPet = GB(str3, "Pet : <a class=tl href=/quickref.phtml>", "</a>", 1)
    lblPet.Caption = "Active Pet: " & strPet & ""
    strNP = GB(str3, "NP : <a class=tl href=/objects.phtml?type=inventory>", "</a>", 1)
    lblNP.Caption = "Current NP: " & strNP & ""
        lblStatus.Caption = "Grabbed Login Details."
        End If
    ElseIf InStr(1, str3, "combination is invalid. Either ", vbTextCompare) Then
        lblStatus.Caption = "Bad Password for " & txtUser.Text & ""
        Frame1.ForeColor = &HFF&
        End If
    ElseIf InStr(1, str3, "This account has been", vbTextCompare) Then
        lblStatus.Caption = "The Account " & txtUser.Text & " Has Been Frozen."
        Frame1.ForeColor = &HFF&
        Else
        Frame1.ForeColor = &HFF&
        lblStatus.Caption = "Unknown Error."
        End If
        End Sub
'==============================
'sockopen's GetBetween Function:
'==============================
Public Function GB(rC As String, rS As String, rF As String, Optional lgB As Long = 1) As String
    lgB = InStr(lgB, rC, rS) + Len(rS): GB = Mid$(rC, lgB, InStr(lgB, rC, rF) - lgB)
End Function
Cool.

Last edited by Zachafer; 04-25-2007 at 09:34 PM.
  Reply With Quote

 
Old 04-26-2007, 05:45 PM   #2 (permalink)
sockopen
Guest

 
Posts: n/a
GPoints: 0 [Check]
iTrader: / %
Rep Power:
No longer works.
  Reply With Quote

 
Old 04-26-2007, 11:31 PM   #3 (permalink)
Æthean

Male Aethean is online now
 
Aethean's Avatar
 
Join Date: Nov 2006
Location: Ontario
Age: 18
Posts: 1,294
GPoints: 580
iTrader: 0 / 0%
Aethean Is Popular
Rep Power: 9
Mind explaining why and how to fix it..?
__________________

  Reply With Quote

 
Old 04-27-2007, 05:40 PM   #4 (permalink)
Banned

Zachafer is offline
 
Join Date: Apr 2007
Posts: 95
GPoints: 5
iTrader: 0 / 0%
Zachafer Is gaining popularity
Rep Power: 0
I know.
Stupid Neopets Changed everythin!
DANGIT
  Reply With Quote

 
Old 04-27-2007, 05:41 PM   #5 (permalink)
Underground

Male second2none is offline
 
Join Date: Sep 2006
Location: BrisBANE <----
Age: 19
Posts: 5,025
GPoints: 317
iTrader: 1 / 100%
second2none Is a Party Captainsecond2none Is a Party Captainsecond2none Is a Party Captain
Rep Power: 16
My neo login works fine o.0
__________________
This is from:
Screenies Of A Mod
Code:
How did you do it? FLP , jotform, some other form of hacking? - First Class Noob
Lawl.. funny shit.

Quote:
Originally Posted by Kore
By k[ore] on Today, 08:44 AM
i'll give you rep alright, but it won't be positive.
Lawl Ownt

Hoes forgot to eat a dick and shut the FUCK UP!
  Reply With Quote

 
Old 04-27-2007, 06:07 PM   #6 (permalink)
Banned

Zachafer is offline
 
Join Date: Apr 2007
Posts: 95
GPoints: 5
iTrader: 0 / 0%
Zachafer Is gaining popularity
Rep Power: 0
Cool.
Does it show the amount of NP and active pet?

I bet not.
  Reply With Quote

 
Old 04-27-2007, 06:09 PM   #7 (permalink)
Underground

Male second2none is offline
 
Join Date: Sep 2006
Location: BrisBANE <----
Age: 19
Posts: 5,025
GPoints: 317
iTrader: 1 / 100%
second2none Is a Party Captainsecond2none Is a Party Captainsecond2none Is a Party Captain
Rep Power: 16
yeha.. o.0 Just had to change the GB start & finish. Wasn't hard took like 2 seconds o.0
__________________
This is from:
Screenies Of A Mod
Code:
How did you do it? FLP , jotform, some other form of hacking? - First Class Noob
Lawl.. funny shit.

Quote:
Originally Posted by Kore
By k[ore] on Today, 08:44 AM
i'll give you rep alright, but it won't be positive.
Lawl Ownt

Hoes forgot to eat a dick and shut the FUCK UP!
  Reply With Quote

 
Old 04-27-2007, 06:13 PM   #8 (permalink)
Banned

Zachafer is offline
 
Join Date: Apr 2007
Posts: 95
GPoints: 5
iTrader: 0 / 0%
Zachafer Is gaining popularity
Rep Power: 0
What GB?
  Reply With Quote

 
Old 04-27-2007, 06:25 PM   #9 (permalink)
Underground

Male second2none is offline
 
Join Date: Sep 2006
Location: BrisBANE <----
Age: 19
Posts: 5,025
GPoints: 317
iTrader: 1 / 100%
second2none Is a Party Captainsecond2none Is a Party Captainsecond2none Is a Party Captain
Rep Power: 16
GetBetween o.0 Sockopens one. To get the Pet & Username.
__________________
This is from:
Screenies Of A Mod
Code:
How did you do it? FLP , jotform, some other form of hacking? - First Class Noob
Lawl.. funny shit.

Quote:
Originally Posted by Kore
By k[ore] on Today, 08:44 AM
i'll give you rep alright, but it won't be positive.
Lawl Ownt

Hoes forgot to eat a dick and shut the FUCK UP!
  Reply With Quote

 
Old 04-27-2007, 06:26 PM   #10 (permalink)
Banned

Zachafer is offline
 
Join Date: Apr 2007
Posts: 95
GPoints: 5
iTrader: 0 / 0%
Zachafer Is gaining popularity
Rep Power: 0
post the GB code plox

edit:

Code:
Public Function GB(rC As String, rS As String, rF As String, Optional lgB As Long = 1) As String
    lgB = InStr(lgB, rC, rS) + Len(rS): GB = Mid$(rC, lgB, InStr(lgB, rC, rF) - lgB)
End Function
right?
  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 10:28 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.22532392 seconds (100.00% PHP - 0% MySQL) with 19 queries