Computing.Net > Forums > Programming > programming/broswer help - quick:)

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

programming/broswer help - quick:)

Reply to Message Icon

Name: uncivilbanks
Date: November 10, 2005 at 16:05:46 Pacific
OS: XP - sp2
CPU/Ram: 512
Comment:

Hey I am kind of noob when it comes to programming etc.. So I am wondering how I would go about coding a script that would open a web browser, go to a specified website, log-in with a specified email address and password, and then go to a certain on that website(after logging in), and enter a value for an item, and buy it.

To clarify the last part - after loggin in, the site brings you to a "main" page. I would need it to bring me another page, by clicking a link on the site, and then there is a list of items available to buy. I would need it to enter a value for one of the specified items, and click "enter" to buy it. if The account doesnt have the money, it closes the browser, if it does, then it buys the item.

and help would be appreciated
Edit/Delete Message



Sponsored Link
Ads by Google

Response Number 1
Name: StuartS
Date: November 10, 2005 at 16:51:15 Pacific
Reply:

I don't know what it is you are trying to do but it sounds a bit fishy to me.

If what account doesn't have enough money? you bank account, credit card account? pay pal account?

In any event, you would need something a little more complex than a simple script.

Stuart


0

Response Number 2
Name: Michael J (by mjdamato)
Date: November 10, 2005 at 17:14:47 Pacific
Reply:

I think that would be very difficult. For example "I would need it to enter a value for one of the specified items". If the web site operator changes the name of the product or moves it into a different position on the page your script would fail - or worse, it might purchase the wrong item. And, speaking of failing. there would be no easy way for a script to identify any errors that occur.

I think a better option would be to contact the vendor and come up with a solution. For example you could come to an agreement that when you send them a notification email that they will process the order for the item if there is money in your account (assuming they can verify the balance of the account). Then you just need to create a default email that you can send instead of writing an over elaborate script that will fail at some point anyway.

Michael J


0

Response Number 3
Name: uncivilbanks
Date: November 10, 2005 at 19:44:14 Pacific
Reply:

lol, This is for a game I play on the internet. While I am on vacation, I want it to logon for me, and buy a tank(s), so my money does not build up, and therefore people attacking me..this would still not work?


0

Response Number 4
Name: StuartS
Date: November 11, 2005 at 08:02:16 Pacific
Reply:

That puts a different light on it. It would probably be a lot easier to write a script to do what you want - i have done it myself in the past. But it does require an intimate knowledge of the game in question.

But why should you be attacked if you are not logged on. Surly your character doesn't exist or is dormant if you are not logged on?

Bear in mind though that a lot of games do not allow actions to be controlled by scripts. If the commands come to quickly to be initiated by a human hand, the games will detect it and block it.

Stuart


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Access - Query Question HTA Error



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: programming/broswer help - quick:)

Java Programming Exercise Help?? www.computing.net/answers/programming/java-programming-exercise-help/4289.html

calculator program please help www.computing.net/answers/programming/calculator-program-please-help/3754.html

vc++ programming help www.computing.net/answers/programming/vc-programming-help/5421.html