Author | Message | Time |
---|---|---|
GoSu_KaOs | How do I take off pingspoof? You can pick between -1 and 0 on mine. But I cant figure out how to make it normal ping. I'm using TCPConnections.cls. http://imdre.superihost.com/TCPConnections.cls.txt If you can find it and show me how to change it back to normal, it will be appreciated. | November 25, 2004, 9:11 PM |
LoRd | Echo back SID_PING when it's received. | November 25, 2004, 9:41 PM |
GoSu_KaOs | [quote author=LoRd[nK] link=topic=9674.msg90015#msg90015 date=1101418887] Echo back SID_PING when it's received. [/quote] How exactly do I echo back? | November 26, 2004, 1:38 AM |
Arta | Just the entire message back to Battle.net. | November 26, 2004, 1:56 AM |
BaDDBLooD | [quote author=Arta[vL] link=topic=9674.msg90031#msg90031 date=1101434203] Just the entire message back to Battle.net. [/quote] You just want to send back the 'Void" | November 26, 2004, 2:02 AM |
Arta | Huh? | November 26, 2004, 3:05 AM |
BaDDBLooD | Doesn't a packet consist of the Header and then the Void? You only want to send the void part back to bnet, correct? | November 26, 2004, 4:05 AM |
UserLoser. | [quote author=BaDDBLooD link=topic=9674.msg90048#msg90048 date=1101441948] Doesn't a packet consist of the Header and then the Void? You only want to send the void part back to bnet, correct? [/quote] 'void' is what you call data that has no set length, data type, contents, etc. Telling people to send back the 'void' isn't a good way to explain something | November 26, 2004, 4:23 AM |
BaDDBLooD | isn't it better than message? | November 26, 2004, 4:29 AM |
GoSu_KaOs | so how do i send the void? InsertDWORD 0? | November 26, 2004, 5:43 AM |
St0rm.iD | ...null? | November 26, 2004, 6:46 AM |
OnlyMeat | [quote author=GoSu_KaOs link=topic=9674.msg90013#msg90013 date=1101417065] How do I take off pingspoof? You can pick between -1 and 0 on mine. But I cant figure out how to make it normal ping. I'm using TCPConnections.cls. http://imdre.superihost.com/TCPConnections.cls.txt If you can find it and show me how to change it back to normal, it will be appreciated. [/quote] This is my code in c++ if it helps, all you do is handle packet 0x25 and send it back using the same data it sent originally ( which has a DWORD length ):- [code] void CBot::OnPkt_25(char *pszData, int nLen) { // Echo ping response CPacket Packet; Packet << *(UINT *)pszData; Packet.Send(PKT_PING, GetSocket()); } [/code] | November 26, 2004, 10:38 AM |
Arta | You can go to the trouble of parsing the message, extracting the DWORD, creating a new header and sending the reply, or you can just send the message straight back to the server, which equates to the exact same thing. | November 26, 2004, 1:23 PM |
OnlyMeat | [quote author=Arta[vL] link=topic=9674.msg90105#msg90105 date=1101475397] You can go to the trouble of parsing the message, extracting the DWORD, creating a new header and sending the reply, or you can just send the message straight back to the server, which equates to the exact same thing. [/quote] Although you do have to parse the header to determine if it's a valid bnet login packet i.e 0xff and extract the ID anyway, so it's not much of a big deal to copy the dword and send it straight back. | November 26, 2004, 2:51 PM |
Arta | *shrug* invalid messages never get to my message processing. [code] void ProcessPing(CBNCSMessage *Message) { Send(Message); } [/code] Seems easiest to me! | November 26, 2004, 4:48 PM |
UserLoser. | [quote author=Arta[vL] link=topic=9674.msg90105#msg90105 date=1101475397] You can go to the trouble of parsing the message, extracting the DWORD, creating a new header and sending the reply, or you can just send the message straight back to the server, which equates to the exact same thing. [/quote] Is there any evidence which shows that it'll always be a 32-bit value from the server? Starcraft's Battle.snp performs no check on the length, it just sends back what it receives (but it does create it's own header) | November 26, 2004, 4:58 PM |
Arta | No. The correct procedure is just to echo the message back. Hence my postulations :) | November 26, 2004, 9:41 PM |
Networks | Is it possible to get an exact ping value if you stall sending 0x25 (i think)? I pretty sure it's not. How does it work when you stall sending it. | November 28, 2004, 6:52 PM |
BaDDBLooD | If you stall sending it, your ping goes up dramatically. | November 28, 2004, 7:35 PM |
Soul Taker | [quote author=Networks link=topic=9674.msg90370#msg90370 date=1101667928] Is it possible to get an exact ping value if you stall sending 0x25 (i think)? I pretty sure it's not. How does it work when you stall sending it. [/quote] Yes. Just delay sending it by (Desired Value - Normal Ping). If you want a ping lower than the ping you normally get, then this obviously won't work. | November 28, 2004, 8:20 PM |
Quarantine | Well it is possible to spoof your ping by timing your response to 0x25 but I dont think the Timer Control is accurate to the nearest 1 millisecond so your best bet would be to use SetTimer / KillTimer API Calls | November 29, 2004, 3:38 PM |
OnlyMeat | [quote author=Warrior link=topic=9674.msg90449#msg90449 date=1101742737] Well it is possible to spoof your ping by timing your response to 0x25 but I dont think the Timer Control is accurate to the nearest 1 millisecond so your best bet would be to use SetTimer / KillTimer API Calls [/quote] The timer control uses those api calls internally. | November 29, 2004, 8:49 PM |
o.OV | [quote author=Warrior link=topic=9674.msg90449#msg90449 date=1101742737] Well it is possible to spoof your ping by timing your response to 0x25 but I dont think the Timer Control is accurate to the nearest 1 millisecond so your best bet would be to use SetTimer / KillTimer API Calls [/quote] High Performance timer used in multimedia applications would work better I hear.. never bothered though. You can try if you want. | November 29, 2004, 10:08 PM |