Author | Message | Time |
---|---|---|
Smithsonian | What's the best method of doing an anti-idle? I've seen people do it several ways. How would you do it within your MsgLoop? Right now I've got a variable holding how long in second i want it to wait before it sends the message. In my message loop, since it's constantly looping, I was going to have it check to see if that amount of time in seconds has expired or not. The loop though goes extremely fast obviouisly. How do I make it send exactly every X seconds? Or if theres a better method, mind sharing? Thanks. | July 17, 2005, 8:55 PM |
LoRd | [quote] What's the best method of doing an anti-idle?[/quote] By responding to SID_PING. | July 17, 2005, 8:59 PM |
Smithsonian | how often is SID_PING sent? | July 17, 2005, 9:05 PM |
LoRd | [quote author=Smithsonian link=topic=12261.msg121095#msg121095 date=1121634317] how often is SID_PING sent? [/quote] When idled, Battle.net will send it about every 30 seconds and you are expected to reply when it's received. | July 17, 2005, 9:15 PM |
Tontow | try sending null when you get null | July 17, 2005, 11:34 PM |
UserLoser. | [quote author=Tontow link=topic=12261.msg121104#msg121104 date=1121643265] try sending null when you get null [/quote] I'm sure that's not what he is asking, and doing that is rather pointless anyways since it's used to test the connection | July 18, 2005, 12:12 AM |