Ok i just changed my packet processing loop, separating each segment into its own function so it would be more manageable. i havent finished checking it 100% but here is my problem:
i connect fine, get into channel, disconnect. reconnect without changing any settings, but this time i either get stopped at invalid cdkey or wrong password. when i get invalid cdkey i get IP banned (is that normal?)
edit:: went thru the functions and it is all good.......
edit2:: fixed! the problem was actually myndfyre's CDKey class, once you use the GetHash function i guess it is stored in the object, and is returned each time instead of recalculating. i solved by reloading the object each connection.
my question stands, is it normal to be IPbanned once you get invalid cdkey reply?
Yeah, Invalid CDKey ussally result in a 2 week IPBan
Quote from: Mystical on June 13, 2009, 07:37 PM
Yeah, Invalid CDKey ussally result in a 2 week IPBan
orly? mine was gone in like 5-10 min....... until i did it like 5 times on all servers and i just reset my IP
Quote from: Sveet on June 14, 2009, 01:16 AM
Quote from: Mystical on June 13, 2009, 07:37 PM
Yeah, Invalid CDKey ussally result in a 2 week IPBan
orly? mine was gone in like 5-10 min....... until i did it like 5 times on all servers and i just reset my IP
yarly. 2 weeks to the minute.
Quote from: Sveet on June 14, 2009, 01:16 AMuntil i did it like 5 times on all servers and i just reset my IP
You mean you reconnected to internet, got new ip and you weren't ipbanned anymore? If so, go repair your brain.