TechTalkz.com Logo Ask the Experts!

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Software World > Programming

How do I complete this bot...

Programming

 
Reply
Thread Tools Display Modes
Unread 27-07-2013, 03:25 AM   #1
Newbie
Thread Starter
 
Join Date: Jul 2013
Posts: 12
Thanks: 0
Thanked 2 Times in 2 Posts
Mood: Confused
Rep Power: 0 Yi18 is an unknown quantity at this point

Intel Nvidia

Windows 8


How do I complete this bot...

I am trying to work on making a JavaScript bot that presses a certain button on a page, if it can't find the button it refreshes

This is the page it is on:
m.roblox.com/Catalog/VerifyPurchase?assetid=107022701&type=robux&expect edPrice=33

A picture of the page, the "Buy Now" is the button I am talking about




This is the source code of the page




<div id="verify-purchase-modal" data-role="dialog">
<div data-role="header">
<h1>Buy Item</h1>
</div>
<div data-role="content">
<form action="/Catalog/ProcessPurchase" method="post"> <div></div>
<div class="catalog-modal-image">
<img src="http://t4ak.roblox.com/7500e78404609cc4dfa3538540ef7de2" alt="Small Donation" />

</div>
<div>
Would you like to buy the <strong>"Small Donation"</strong> T-Shirt
from The One And Only Phoenix Empire for
<span class="currency-robux">3</span>?
</div>
<div class="ui-grid-a no-margin-grid add-large-margin-top clear">
<div class="ui-block-a">
<input name="__RequestVerificationToken" type="hidden" value="VrX8LVN0eAGu_8naTqG8SYakG-fURfwDD3_-sChCR26gf9rEbb8kNuHFrmDK9y-QYyjnoaWWnoF_mXi1cAUGyL5RF7xuY1CnRcRA3i1yeE516GKey SNMo9CRoA0WxwvIhuKDVaupvyKp0M1ZkExBlBuOnj41" />
<input data-val="true" data-val-number="The field CurrencyType must be a number." data-val-required="The CurrencyType field is required." id="CurrencyType" name="CurrencyType" type="hidden" value="1" />
<input data-val="true" data-val-number="The field AssetID must be a number." data-val-required="The AssetID field is required." id="AssetID" name="AssetID" type="hidden" value="107022701" />
<input data-val="true" data-val-number="The field UserAssetOptionID must be a number." data-val-required="The UserAssetOptionID field is required." id="UserAssetOptionID" name="UserAssetOptionID" type="hidden" value="0" />
<input data-val="true" data-val-number="The field ExpectedPrice must be a number." data-val-required="The ExpectedPrice field is required." id="ExpectedPrice" name="ExpectedPrice" type="hidden" value="3" />
<input type="submit" value="Buy Now" data-theme="d" />
</div>
<div class="ui-block-b">
<a id="cancelPurchase" data-rel="back" data-role="button" data-theme="f">Cancel</a>
</div>
</div>
<div class="dialog-footnote">
Your balance after this transaction will be <span class="currency-robux">1,219</span>.
</div>
</form>
</div>
</div>



Thanks so much if you can help me, I have been trying to figure it out for like 2 hours

Sponsored Links
Yi18 is offline   Reply With Quote
Unread 27-07-2013, 12:06 PM   #2
Tachikoma
 
habibjp's Avatar
 
Join Date: Dec 2009
Location: Leeds
Age: 22
Posts: 2,898
Thanks: 92
Thanked 431 Times in 375 Posts
Mood: Innocent
Blog Entries: 9
Rep Power: 2484 habibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Greathabibjp is just Great

AMD ATi

Windows 10 Linux


Re: How do I complete this bot...

What is the purpose of this?
__________________
FX 4170 @4.8 w/H110
Sabertooth 990FX
XMS3 8GB
840 EVO 250GB
XFX 7870
Corsair GS500
X-Fi
Logitech Z506
---------------------------------------------
I aim to misbehave.
habibjp is offline   Reply With Quote
Unread 27-07-2013, 08:16 PM   #3
Newbie
Thread Starter
 
Join Date: Jul 2013
Posts: 12
Thanks: 0
Thanked 2 Times in 2 Posts
Mood: Confused
Rep Power: 0 Yi18 is an unknown quantity at this point

Intel Nvidia

Windows 8


Re: How do I complete this bot...

Sponsored Links
Quote:
Originally Posted by habibjp View Post
What is the purpose of this?
What it does is it goes to that link (autobuy link) and searches for a certain button, clicks if it can. If it can't find it it refreshes

Sponsored Links
Yi18 is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot complete task. Complete text disabled in tasks? jrana Windows Mobile 3 14-09-2007 05:42 PM
Cannot complete task. Complete text disabled in tasks? jrana Windows Mobile 1 14-09-2007 05:35 PM
Cannot complete task. Complete text disabled in tasks? jrana Windows Mobile 3 14-09-2007 05:08 PM
Cannot complete task. Complete text disabled in tasks? jrana Windows Mobile 3 14-09-2007 05:01 PM
Cannot complete task. Complete text disabled in tasks? jrana Windows Mobile 1 14-09-2007 04:56 PM


< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT. The time now is 03:26 PM.


vBulletin, Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © 2005-2016, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional