| View previous topic :: View next topic |
| Author |
Message |
BoBoĻ Guest
|
Posted: Thu Jul 12, 2007 10:51 am Post subject: Connection speed detection [ping not possible] |
|
|
E.bay is timing out by default if pinged. Do you see any reliable/sophisticated method to detect the connection speed? DllCall() ? Via one of CoHelper.ahk's functions ???
My current workarround: get the time it needs with URLDownloadToFile a page from E.bay. But TBH I think there's some potential to be more accurate.
Any help would be much appreciated. Thx.  |
|
| Back to top |
|
 |
engunneer
Joined: 30 Aug 2005 Posts: 6772 Location: Pacific Northwest, US
|
Posted: Thu Jul 12, 2007 3:10 pm Post subject: |
|
|
I guess you are making a sniping program?
have you seen SnipeSwipe.com?
Also, using your current connection speed to predict your future connection speed is not always a good idea, unless you are testing just a few moments before. _________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5048 Location: imaginationland
|
Posted: Thu Jul 12, 2007 3:12 pm Post subject: |
|
|
You can ping google.com or your ISP DNS. _________________
RegExReplace("irc.freenode.net/ahk", "^(?=(.(?=[\0-r\[]*((?<=\.).))))(?:[c-\x73]{2,8}(\S))+((2)|\b[^\2-]){2}\D++$", "$u3$1$3$4$2") |
|
| Back to top |
|
 |
BoBoĻ Guest
|
Posted: Thu Jul 12, 2007 4:01 pm Post subject: |
|
|
| Quote: | | have you seen SnipeSwipe.com? | To handover my e.bay user details is a bit above my acceptance top level.
Ok, ok - I'm paranoid when it comes to data security/save haven pledges.  | Quote: | | unless you are testing just a few moments before | Indeed. I thought about to have 3-5 consecutive tries to detect the average speed of e.bays server response time.
Currently it's like plain guessing, and I would be more than happy to use a more sophisticated method to adjust my current settings.  |
|
| Back to top |
|
 |
daonlyfreez
Joined: 16 Mar 2005 Posts: 745 Location: Berlin
|
Posted: Thu Jul 12, 2007 5:04 pm Post subject: |
|
|
You can never know for sure if your snipe will work.
You should snipe a couple of seconds before the end of the auction (2-3). Try checking against eBay's official time to be sure about the timing. _________________ (sorry, homesite offline atm) |
|
| Back to top |
|
 |
BoBoĻ Guest
|
Posted: Thu Jul 12, 2007 5:37 pm Post subject: |
|
|
| Quote: | | You should snipe a couple of seconds before the end of the auction (2-3). | Well, that is what my request is about. How?
| Quote: | | Try checking against eBay's official time to be sure about the timing. | Done, of course  |
|
| Back to top |
|
 |
daonlyfreez
Joined: 16 Mar 2005 Posts: 745 Location: Berlin
|
Posted: Thu Jul 12, 2007 5:52 pm Post subject: |
|
|
Check your time against eBay's official time.
Then simply submit your bid 2-3 seconds before the end of the auction, and hope it will get thru on time, and preferably just before the end.
You simply can never be sure. eBay will record the final bid as the bid closest to the end-time of the auction, but their servers are off on quite some occasions too (I happen to know), so it is safer to keep a margin, if you want to be certain your bid goes thru. _________________ (sorry, homesite offline atm) |
|
| Back to top |
|
 |
|