• Welcome to Valhalla Legends Archive.
 

2 People getting wins in ladder

Started by Brr, July 03, 2003, 04:18 PM

Previous topic - Next topic

Brr

How is this done?  I've tried a crap load of different ways and i can't figure it out.. :(

Camel

First of all, you need to have at least two accounts logged on to battle.net. The idea is that you lie to battle.net on both, telling it that you are going to play a game with your two accounts. Two minutes later, you tell it who won. I suggest you find a decent packet logger. ;)

Brr

#2
I can't find a decent packet logger for 56k.. :(

Also something has come to my attention, I was testing my bot on a private server (supposed to be like b.net?) Well, I got it to where it gives 1 person wins and 3 losses.. I try it on battle.net but it doesn't record games, not a win, loss, disc, nor draw... Hrm whats wrong here:
       .InsertDWORD &H1
       .InsertDWORD &H8
       .InsertDWORD &H1
       .InsertDWORD &H2
       .InsertDWORD &H2
       .InsertDWORD &H2
       .InsertDWORD &H0
       .InsertDWORD &H0
       .InsertDWORD &H0
       .InsertDWORD &H0
       .InsertNTString Username(0)
       .InsertNTString Username(1)
       .InsertNTString Username(2)
       .InsertNTString Username(3)
       .InsertNTString ""
       .InsertNTString ""
       .InsertNTString ""
       .InsertNTString ""
       .InsertNonNTString "On map " & Chr(&H22) & "The Lost Temple" & Chr(&H22) & ":" & Chr(&HA)
       .InsertBYTE &H0
       .InsertNonNTString Username(0) & " was Zerg and played for 2 minutes" & Chr(&HA)
       .InsertBYTE &HA
       .InsertNonNTString "  "
       .InsertNonNTString "Overall Score 184266490" & Chr(&HA)
       .InsertNonNTString "         43025 for Units" & Chr(&HA)
       .InsertNonNTString "          3465 for Structures" & Chr(&HA)
       .InsertNonNTString "     184220000 for Resources" & Chr(&HA)
       .InsertBYTE &HA
       .InsertNonNTString "  "
       .InsertNonNTString "Units Score 43025" & Chr(&HA)
       .InsertNonNTString "           131 Units Produced" & Chr(&HA)
       .InsertNonNTString "            76 Units Killed" & Chr(&HA)
       .InsertNonNTString "            95 Units Lost" & Chr(&HA)
       .InsertBYTE &HA
       .InsertNonNTString "  "
       .InsertNonNTString "Structures Score 3465" & Chr(&HA)
       .InsertNonNTString "            33 Structures Constructed" & Chr(&HA)
       .InsertNonNTString "             2 Structures Razed" & Chr(&HA)
       .InsertNonNTString "            33 Structures Lost" & Chr(&HA)
       .InsertBYTE &HA
       .InsertNonNTString "  "
       .InsertNonNTString "Resources Score 184220000" & Chr(&HA)
       .InsertNonNTString "      43600000 Gas Mined" & Chr(&HA)
       .InsertNonNTString "     140620000 Minerals Mined" & Chr(&HA)
       .InsertNonNTString "        178130 Total Spent" & Chr(&HA)
       .InsertBYTE &H0

       .SendPacket 0, &H2C
       
       
Or maybe it's in my create or start?
With Packet
   
       .Clear
   
       .InsertDWORD &H0
       .InsertDWORD &H0
       .InsertWORD &H9
       .InsertWORD &H1
       .InsertDWORD &H1F
       .InsertDWORD &H1
       .InsertNTString GameName
       .InsertBYTE &H12
       .InsertNonNTString ",44,14,6,2,2,1,f69e9256,4,,"
       .InsertNonNTString Username(0) & Chr(&HD)
       .InsertNTString "The Lost Temple" & Chr(&HD)
       
       .SendPacket 0, &H1C
       
       .SendPacket 0, &H10
       
   End With
Start:

.With Packet
   
       .Clear
       
       .InsertDWORD &H4
       .InsertDWORD &H19
       .InsertWORD &H2
       .InsertWORD &H1
       .InsertDWORD &H1F
       .InsertDWORD &H1
       .InsertNTString GameName
       .InsertBYTE &H0
       .InsertNonNTString ",44,14,6,2,2,1,f69e9256,4,,"
       .InsertNonNTString Username(0) & Chr(&HD)
       .InsertNTString "The Lost Temple" & Chr(&HD)
       .SendPacket 0, &H1C
       
   End With

All help is greatly appreciated.

Brr

Actually, I play a lot and program.. This isn't a "Winbot" it's a stats bot.. it doesn't give you wins.. it gives you losses, discs and other shit :)  I just have yet to impliment it :P

Dark-Feanor

All Packet loggers work, no matter what connection you have.
- Feanor[xL]
clan exile
Firebot
iago: "caps lock is like cruise control for cool"

Mesiah / haiseM

or not... Most packet loggers use a common dll to search for an adapter, which is why i cant use most because my ethernet is on board, and unrecognized, but there are some good ones that hook onto a program, such as wpe pro, or full network packet editors like commview, ethereal...
]HighBrow Innovations
Coming soon...

AIM Online Status: 

Brr

Ok well, I got my ladder shit to work.. Now i want to use the map Polaris prime, and I used a packet logger and i got some wierd shit i can't read.. I'm using Sniff 'em :P  But according to everyone else

,44,14,6,2,2,1,68644703,4,,

is for lost temple..  So wouldn't

,66,14,6,2,2,1,68644703,4,,  + Some name changing
= Polaris Prime ?  or would i have to change  68644703,4,,   ??

Adron

Quote from: DaRk-FeAnOr on July 03, 2003, 11:50 PM
All Packet loggers work, no matter what connection you have.

That's not true. Many packet loggers only work with regular network connections, not dialup connections, in Windows 2000.

Brr

#8
Ok, I got it working, Now i want to change the map... And I logged it and shit and inserted the changes.. But it gets Game Start Failed..


With Packet
 
      .Clear
     
      .InsertDWORD &HD
      .InsertDWORD &H2C
      .InsertWORD &H9
      .InsertWORD &H1
      .InsertDWORD &H1F
      .InsertDWORD &H1
      .InsertNTString GameName
      .InsertBYTE &H0
      .InsertNonNTString ",66,16,,2,9,2,299aab83,1,,"
      .InsertNonNTString Username(0) & Chr(&HD)
      .InsertNTString "Polaris Prime" & Chr(&HD)
     
      .SendPacket 0, &H1C
     
  End With


that's for the start..

Trying

 :-[
umm, I'm still learning, and just got Ethereal packet logger, but I just dont understand how to break what the logger gives me down into all the DWORDS and things that I see you all doing, I'm not even sure how to name it something like 0x1e.
I read the packet tutorials on this site btw and I'm still confussed. Any help would be appreciated. :-X

Camel

Quote from: Trying on July 04, 2003, 08:25 PM
:-[
umm, I'm still learning, and just got Ethereal packet logger, but I just dont understand how to break what the logger gives me down into all the DWORDS and things that I see you all doing, I'm not even sure how to name it something like 0x1e.
I read the packet tutorials on this site btw and I'm still confussed. Any help would be appreciated. :-X

In ethereal, you can skip down to the 'data' section of the packet; everything else is irrelivant to what you're trying to do. Here's a sample 0x50 from broodwar:
SEND 0000  ff 50 3a 00 00 00 00 00 36 38 58 49 50 58 45 53   .P:.....68XIPXES
SEND 0010  c7 00 00 00 00 00 00 00 c0 a8 01 03 f0 00 00 00   ................
SEND 0020  09 04 00 00 09 04 00 00 55 53 41 00 55 6e 69 74   ........USA.Unit
SEND 0030  65 64 20 53 74 61 74 65 73 00                     ed States.

The first 4 bytes (FF 50 3A 00) are the packet header. The first byte will always be 0xFF on a BNCS connection. The second byte is the packet id; it says that this packet is 0x50, or SID_AUTH_INFO. The next two bytes are a Word packet length -- in this case, 0x003A.
The data in the packet can be broken down based on the information bnetdocs provides:
(DWORD)       Protocol ID (0)
(DWORD)       Platform ID
(DWORD)       Program ID
(DWORD)       Version
(DWORD)       Product language
(DWORD)       Local IP for NAT compatibility*
(DWORD)       Time zone bias*
(DWORD)       Locale ID*
(DWORD)       Language ID*
(STRING)       Country abreviation
(STRING)       Country


So, here's the data in my packet:
(DWORD) 00 00 00 00
(DWORD) 36 38 58 49 = 'IX86'
(DWORD) 50 58 45 53 = 'SEXP'
(DWORD) c7 00 00 00 = 0xC7
(DWORD) 00 00 00 00
(DWORD) c0 a8 01 03 = 192.168.1.3
(DWORD) f0 00 00 00
(DWORD) 09 04 00 00 = 1033
(DWORD) 09 04 00 00 = 1033
(STRING) 55 53 41 00 = "USA"
(STRING) 55 6e 69 74 65 64 20 53 74 61 74 65 73 00 = "United States"

timbo

Quote from: Adron on July 04, 2003, 09:19 AM
That's not true. Many packet loggers only work with regular network connections, not dialup connections, in Windows 2000.

ethereal works like crap for dialup connections i can vouch for that (it breaks all connections when you start and stop it and wont work every time)

Banana fanna fo fanna

Brrr, mind sharing your game report packet?