AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Connection speed detection [ping not possible]

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
BoBoĻ
Guest





PostPosted: Thu Jul 12, 2007 10:51 am    Post subject: Connection speed detection [ping not possible] Reply with quote

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. Sad

Any help would be much appreciated. Thx. Smile
Back to top
engunneer



Joined: 30 Aug 2005
Posts: 6772
Location: Pacific Northwest, US

PostPosted: Thu Jul 12, 2007 3:10 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Titan



Joined: 11 Aug 2004
Posts: 5048
Location: imaginationland

PostPosted: Thu Jul 12, 2007 3:12 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
BoBoĻ
Guest





PostPosted: Thu Jul 12, 2007 4:01 pm    Post subject: Reply with quote

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. Wink
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. Cool
Back to top
daonlyfreez



Joined: 16 Mar 2005
Posts: 745
Location: Berlin

PostPosted: Thu Jul 12, 2007 5:04 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
BoBoĻ
Guest





PostPosted: Thu Jul 12, 2007 5:37 pm    Post subject: Reply with quote

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 Cool
Back to top
daonlyfreez



Joined: 16 Mar 2005
Posts: 745
Location: Berlin

PostPosted: Thu Jul 12, 2007 5:52 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group