[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...
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?
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.
^ 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...
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.
Awesome. Thanks for the replies. I'll look into this later tonight.