1. PTC sites and VB.Net coding

    For some time now me and my friend have been making referrals on accounts and using multiclicker2 for ad viewing. The process is pretty good, however making those accounts is a pain, mostly because we need to use proxies. Out of frustration we decided to write a program to help us out with this. Mike wrote a this application and gave me some code to work off of.

    [caption id=”attachment_65” align=”alignright” width=”361” caption=”Mike’s base account creator”]Mike's base account creator[/caption]

    His tool was basic, but got the job done. It featured form fill, proxy use, and worked with LiveBux. However, it lacked a few features that I felt was important. First of all, the username and email was not generated, a user would need to fill those out. Secondly, it was locked to one site, there was no way to use a different one. Lastly, the user would still need to cycle out the proxies by hand. That being said it was still a step in the right direction.

    So, after being handed the code for this, I outlined what I wanted to add.


    • Automation of some sort (The less interaction needed the better)

    • Multiple site support

    • Generation and fill of usernames and emails

    • Progress bar/status indicator of what the browser is doing.


    I’ve never really coded in VB.Net before, I mainly use C#. However, I found it very nice to use. For some time a year ago I coded in Python for Wikipedia robots, and this was very similar to that. Because I didn’t have VS2008 Pro installed at the time (It was a fresh install of Windows), I used the express edition for VB. I didn’t feel much of a difference between what I would normally use and this, except for when I wanted to manually attach the debugger to a stuck non-debugging instance.

    What really annoyed me in the editor is my habit of hitting enter to select whatever is in intellisense. Instead, it would newline, so having to stop and remind myself to hit space slowed me down a bit. Thankfully the IDE cleaned up my formatting regularly, which I highly enjoyed.

    After a few hours of straight up coding, here is the result

    [caption id=”attachment_69” align=”aligncenter” width=”601” caption=”My account creator”]My account creator[/caption]

    Unfortunately it’s still a bit buggy. However it creates accounts perfectly :)

    It was pretty fun to write, and so worth its time in accounts. In a future post I expect to possibly share some functions and show you how I did a few things, but right now, I think I’ve done enough writing.

    Update

    2 years ago  /  0 notes  /  Comments

  2. blog comments powered by Disqus