Results 1 to 5 of 5

Thread: [VB.NET] "Wheel of" *Insert Wheel Here*

  1. #1
    deadfolx's Avatar
    Join Date
    Dec 2011
    Posts
    463
    Userbars
    2
    Thanks
    19
    Thanked 29 Times in 18 Posts
    Downloads
    22
    Uploads
    2
    Mentioned
    14 Post(s)
    Time Online
    52 m
    Avg. Time Online
    N/A
    Rep Power
    10

    [VB.NET] "Wheel of" *Insert Wheel Here*

    Ok. So.... so far I haven't really had any problems while making my daily do-er. But tonight I've been trying to get the wheels to work, and i just cant seem to do it.

    I guess have a look at my code first...

    Code:
    'declarations
            Dim strHTML, strSpin As String
            'Spin wheel
            strHTML = nWrap.Get("http://www.neopets.com/faerieland/wheel.phtml")
            If InStr(1, strHTML, "you've already spun this wheel in the last two hours") Then
                lstLog.Items.Add(Date.Now.ToString("H:mm:ss") & " | " & "You've spun wheel within past 2 hours.")
                Exit Sub
            End If
            strSpin = nWrap.Between(strHTML, "var swf = new SWFObject('", "', '")
            strHTML = nWrap.Post("http://www.neopets.com/amfphp/gateway.php", "", strSpin)
            Delay(6)
            'Attempted Log update
    ok. so, i put a break point before my wrapper.post line so make sure all my strings r filled. Everything is filled, so i try to post.
    so .post(url as string, the actual POST, Referral as string)
    But nothing happens when I post. I can login on my browser and still spin the wheel. Anyone have any useful insight? maybe im just missing something?
    [FONT=Arial Narrow]"Chuck Norris methods doesn

  2. #2
    Saiyan Race j03's Avatar
    Join Date
    Dec 2011
    Posts
    12,281
    Userbars
    115
    Thanks
    4,829
    Thanked 26,077 Times in 5,680 Posts
    Downloads
    23
    Uploads
    36
    Mentioned
    3503 Post(s)
    Time Online
    467 d 14 h 10 m
    Avg. Time Online
    3 h 22 m
    Rep Power
    25
    strHTML = nWrap.Post("http://www.neopets.com/amfphp/gateway.php", "", strSpin)

    ^ Problem most likely there.. msgbox the string you grab before that and see if it's grabbing the data correctly.. And also why is one parameter being sent empty? Isn't that supposed to be the data? Last one referrer? That's how most wrappers are done nowadays.
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ][Only registered and activated users can see links. ]


    [02/24/2013] Stealth CORE is made into the first standalone Neopets auto-player.


  3. #3

    Join Date
    Dec 2011
    Posts
    95
    Userbars
    4
    Thanks
    161
    Thanked 172 Times in 63 Posts
    Downloads
    32
    Uploads
    3
    Mentioned
    87 Post(s)
    Time Online
    17 d 12 h 5 m
    Avg. Time Online
    7 m
    Rep Power
    10
    ^ Yes, the post data isn't suppose to be empty.
    The wheel sends AMF data as its post data. It is binary and not plain text. Meaning you have to send binary data as the post data.
    I've never done that and I don't know how to do that. Sorry...

  4. #4
    Saiyan Race j03's Avatar
    Join Date
    Dec 2011
    Posts
    12,281
    Userbars
    115
    Thanks
    4,829
    Thanked 26,077 Times in 5,680 Posts
    Downloads
    23
    Uploads
    36
    Mentioned
    3503 Post(s)
    Time Online
    467 d 14 h 10 m
    Avg. Time Online
    3 h 22 m
    Rep Power
    25
    I'm assuming you convert to binary (the post data) so just find a binary convert & unconvert function (unconvert first so you know what the post data looks like) and then go from there.
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ][Only registered and activated users can see links. ]


    [02/24/2013] Stealth CORE is made into the first standalone Neopets auto-player.


  5. #5
    deadfolx's Avatar
    Join Date
    Dec 2011
    Posts
    463
    Userbars
    2
    Thanks
    19
    Thanked 29 Times in 18 Posts
    Downloads
    22
    Uploads
    2
    Mentioned
    14 Post(s)
    Time Online
    52 m
    Avg. Time Online
    N/A
    Rep Power
    10
    Awesome. Thanks for the replies. I'll look into this later tonight.
    [FONT=Arial Narrow]"Chuck Norris methods doesn

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •