» Site Navigation | | | » Advertisement | | | » Recent Threads | Whos Right?? Today 07:46 PM Today 07:52 PM 3 Replies, 4 Views | | | | | Should i auto? 07-12-2008 02:33 PM Today 07:49 PM 12 Replies, 13 Views | | | |  | |  | Not-so-quick question |  |
02-13-2008, 06:55 PM
|
#1 (permalink)
| | Underground
Nub is offline
Join Date: Jan 2007 Posts: 139 Rep Power: 6 | Not-so-quick question How do you make a program click a clickable-bubble list thing?
(If you don't know what I'm talking about, I mean those lists of options that have bubbles next to them that are clickable. Usually after you click one, you click some sort of 'next' button)
EDIT: Apparently it's called input type radio.
__________________ Successful Trades: 4 - Legend and Duckii and iOwnurazz and Matt://, no MM :]
Last edited by Nub; 02-16-2008 at 10:34 AM.
| |
| |  | |  |
02-14-2008, 05:50 AM
|
#2 (permalink)
| | Underground
SpAtularrr is offline
Join Date: Dec 2007 Location: England Age: 19 Posts: 231 Rep Power: 3 | Do you mean a check box??
it all depends what you want your program to do when a box is checked also what language is it in?
eg.
Say you had an order system for a cutulry company that sold knives forks and spoons you could create a check box that said Full set meaning you want all which will check all the otehr boxes then you could calculate a price etc and maybe store it in an array or databse etc Quote:
Private sub chkFullset_click()
IF chkfullset.value = 1 then
chkknife.value = 1
chkform.value = 1
chkspoon.value = 1
ELSE
chkknife.value = 0
chkform.value = 0
chkspoon.value = 0
end if
end sub
| (this should work as an example may be wrong as i did it off the top of my head)
You could then have a command button that said price and program that to calculate the prices
(I cba doing the calculation part off thwe top of my head lol)
Last edited by SpAtularrr; 02-14-2008 at 05:53 AM.
| |
| |  |  | |  |
02-14-2008, 03:52 PM
|
#3 (permalink)
| | Underground
Nub is offline
Join Date: Jan 2007 Posts: 139 Rep Power: 6 | Quote:
Originally Posted by SpAtularrr Do you mean a check box??
it all depends what you want your program to do when a box is checked also what language is it in?
eg.
Say you had an order system for a cutulry company that sold knives forks and spoons you could create a check box that said Full set meaning you want all which will check all the otehr boxes then you could calculate a price etc and maybe store it in an array or databse etc
(this should work as an example may be wrong as i did it off the top of my head)
You could then have a command button that said price and program that to calculate the prices
(I cba doing the calculation part off thwe top of my head lol) | I mean a radio button. Google it for examples. And the programming language is VB6 and I'm trying to get it to click the radio button so that I may continue using my bot to manipulate human-like processes on a certain website. (aka, botting)
__________________ Successful Trades: 4 - Legend and Duckii and iOwnurazz and Matt://, no MM :]
| |
| |  |
02-15-2008, 12:04 AM
|
#4 (permalink)
| | Underground
second2none is offline
Join Date: Sep 2006 Location: BrisBANE <---- Age: 19 Posts: 5,025 Rep Power: 15 | Do you mean on a website?
You don't have to.. it gets sent in the Post Data if you clicked it.
__________________ This is from:
Screenies Of A Mod Code: How did you do it? FLP , jotform, some other form of hacking? - First Class Noob Lawl.. funny shit.
Quote: |
Originally Posted by Kore By k[ore] on Today, 08:44 AM
i'll give you rep alright, but it won't be positive. | Lawl Ownt
Hoes forgot to eat a dick and shut the FUCK UP! | |
| |
02-15-2008, 03:50 AM
|
#5 (permalink)
| | Underground
Nub is offline
Join Date: Jan 2007 Posts: 139 Rep Power: 6 | Yeah, it's on a website. And I've tried using the post data but I can't get it to work (I believe the programmer made it so that unless you actually click the button, you can't continue)
__________________ Successful Trades: 4 - Legend and Duckii and iOwnurazz and Matt://, no MM :]
| |
| |
02-15-2008, 03:57 AM
|
#6 (permalink)
| | In Purgatory
lain is offline
Join Date: Dec 2006 Location: Hell Posts: 1,053 Rep Power: 0 | You're going to have be more specific, I'm not entirely sure what the hell you're trying to do, can you clarify? | |
| |  | |  |
02-15-2008, 11:30 AM
|
#7 (permalink)
| | Underground
rcadble is offline
Join Date: Sep 2006 Posts: 227 Rep Power: 7 | Well, he's PMed me asking for VB6 help, so I'll assume that he's trying to use a wrapper of some sort to select an option.
Okay, here's my go at it.
Imagine the wrapper grabs an HTML form that has four option buttons like this: Code: <form action="example.php" method="get">
<input type="radio" name="sample" value="one">One<br>
<input type="radio" name="sample" value="two">Two<br>
<input type="radio" name="sample" value="three">Three<br>
<input type="radio" name="sample" value="four">Four<br>
</form> Say you wanted to go to the destination page with radio option three selected. First of all, look at the "name" property for each of the radio buttons. They're all named "sample". This means that they would all change the same variable, "sample". However, as you can see, they each have different value properties. For instance, the first has the value of "one", while the second has a value of "two".
You now know that the radio option three has a name of "sample" and a value of "three". Depending on your wrapper, you can form a request to "example.php", the form's destination, using the GET method. Code: Dim strHTML As String
strHTML = Wrapper.Request("GET", "http://site.com/example.php?sample=three", "referrer goes here")
It should also be noted that the program will not "click" anything at all. All it does is visit webpages and set the variables of the form as a form would automtically do.
__________________
Omnipresent Autobuyer, the best free autobuyer.
Version 1.2
Always around, always present.
Last edited by rcadble; 02-15-2008 at 11:31 AM.
Reason: clarification
| |
| |  |
02-16-2008, 12:24 AM
|
#8 (permalink)
| | Underground
second2none is offline
Join Date: Sep 2006 Location: BrisBANE <---- Age: 19 Posts: 5,025 Rep Power: 15 | Link me to the site. Ill go check it out.
__________________ This is from:
Screenies Of A Mod Code: How did you do it? FLP , jotform, some other form of hacking? - First Class Noob Lawl.. funny shit.
Quote: |
Originally Posted by Kore By k[ore] on Today, 08:44 AM
i'll give you rep alright, but it won't be positive. | Lawl Ownt
Hoes forgot to eat a dick and shut the FUCK UP! | |
| |  | |  |
02-16-2008, 10:11 AM
|
#9 (permalink)
| | Underground
Nub is offline
Join Date: Jan 2007 Posts: 139 Rep Power: 6 | Shadow RPG :: Shadow RPG - and fighting others is what I'm talking about lol
Anyway, Rcadble, I'm about 90% that's exactly what I needed. When I get home later I'll give it a go.
Hrm. I click 'Run' but I'm getting the error: Code: Compile Error:
Method or data member not found and then it highlights .Request, so I'm thinking my HTTPWrapper doesn't have that function. Code: <form method="post" action="battle.php?action=battle&do=battle">
<table>
<tr><td align="center"><input type="radio" onclick="enable()" onkeypress="return handleEnter(this, event)" name="attack" value="Triple Kick"></td><td>Triple Kick</td></tr>
<tr><td align="center"><input type="radio" onclick="enable()" onkeypress="return handleEnter(this, event)" name="attack" value="Recover"></td><td>Recover</td></tr>
</table><br /> That's the code on the site if it helps
EDIT: This is there as well: Code: <input id="attackbtn" type=submit value='Choose an Attack' disabled="true" onkeypress="return handleEnter(this, event)" onclick="this.disabled = 'true'; this.value = 'Loading..'; this.form.submit();"></form> EDIT: Even more info: 
__________________ Successful Trades: 4 - Legend and Duckii and iOwnurazz and Matt://, no MM :]
Last edited by Tyler; 02-21-2008 at 12:25 PM.
| |
| |  |
02-16-2008, 10:44 AM
|
#10 (permalink)
| | Underground
rcadble is offline
Join Date: Sep 2006 Posts: 227 Rep Power: 7 | Quote:
Originally Posted by Nub Hrm. I click 'Run' but I'm getting the error: Code: Compile Error:
Method or data member not found and then it highlights .Request, so I'm thinking my HTTPWrapper doesn't have that function. | >.>
Instead of .Request() on HTTPWrapper, I think it's .GetWrapper().
So instead, do this: Code: Dim strHTML As String
strHTML = Wrapper.GetWrapper("http://site.com/example.php?sample=three", "referrer goes here") EDIT: hold on, i'll edit my reply based on your edit edit. Code: Dim strHTML as string
strHTML = HTTPWrapper.PostWrapper("http://shadowrpg.net/battle.php", "action=battle&do=battle&attack=Triple+Kick", HTTPWrapper.LastPage)
__________________
Omnipresent Autobuyer, the best free autobuyer.
Version 1.2
Always around, always present.
Last edited by rcadble; 02-16-2008 at 10:46 AM.
| |
| |  | | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | |