Results 1 to 5 of 5

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

  1. #1
    deadfolx's Avatar
    Joined
    Dec 2011
    Posts
    465
    Userbars
    2
    Thanks
    19
    Thanked
    40/29
    DL/UL
    22/2
    Mentioned
    14 times
    Time Online
    52m
    Avg. Time Online
    N/A

    [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
    Joined
    Dec 2011
    Posts
    12,516
    Userbars
    121
    Thanks
    5,097
    Thanked
    27,216/5,807
    DL/UL
    23/36
    Mentioned
    3,587 times
    Time Online
    486d 20h 59m
    Avg. Time Online
    3h 20m
    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

    Joined
    Dec 2011
    Posts
    95
    Userbars
    4
    Thanks
    161
    Thanked
    172/63
    DL/UL
    32/3
    Mentioned
    87 times
    Time Online
    17d 12h 5m
    Avg. Time Online
    7m
    ^ 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
    Joined
    Dec 2011
    Posts
    12,516
    Userbars
    121
    Thanks
    5,097
    Thanked
    27,216/5,807
    DL/UL
    23/36
    Mentioned
    3,587 times
    Time Online
    486d 20h 59m
    Avg. Time Online
    3h 20m
    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
    Joined
    Dec 2011
    Posts
    465
    Userbars
    2
    Thanks
    19
    Thanked
    40/29
    DL/UL
    22/2
    Mentioned
    14 times
    Time Online
    52m
    Avg. Time Online
    N/A
    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
  •