Valhalla Legends Forums Archive | Battle.net Bot Development | StarCraft Patch 1.15

AuthorMessageTime
Spht
If no one reads www.battle.net ...

[quote]We will be releasing Patch 1.15 for StarCraft within the next few weeks. This patch introduces new functionality to Battle.net that allows players to organize and join custom StarCraft leagues. These leagues support stat-tracking, custom icons, and replay uploading, among other features. Check out the StarCraft LDK page for more information.[/quote]

This should be interesting ...
April 27, 2007, 3:44 AM
l2k-Shadow
Yeah, I've seen that as well, but I doubt it will be efficient.. Too many noobs will try to run their own leagues and lack of anti-hack system will make players pissed off.
April 27, 2007, 4:19 AM
Denial
Spht i've been looking for you on msn but you weren't on was intresting if you wanna run a website that does that sort of thing? I'm pretty well known in the gaming realm of battle.net.
April 27, 2007, 4:56 AM
MyStiCaL
Oh wow, That's pretty instresting..
I wonder how much its gunna affect the bot development if at all.
Looks like alot more things are going to be added to bnetdocs =)




Meh like it matters, I can't even get on BNET with BNLS being down n all, someone needs to get Lockdown rolling. =)
April 27, 2007, 5:55 AM
Denial
I doubt this patch will effect bots that much maybe a version change maybe hopefully blizzard programmers wont take this time to release a major bot change as well along with this patch
April 27, 2007, 6:09 AM
MyStiCaL
well even if so.. I hope skywing updates war3 since he might be updating starcraft. =)

I'm not quite getting the whole channel tag thing, Does everyone see the tag that your registerd to, or just your members? I think they should do somthing like warcraft 3 clan tag in a way, that'd be cool.
April 27, 2007, 6:12 AM
Denial
[quote author=MyStiCaL link=topic=16648.msg168417#msg168417 date=1177654350]
well even if so.. I hope skywing updates war3 since he might be updating starcraft. =)

I'm not quite getting the whole channel tag thing, Does everyone see the tag that your registerd to, or just your members? I think they should do somthing like warcraft 3 clan tag in a way, that'd be cool.
[/quote]

From what i read only people in leagues will be able to see the icon tag besides your name.

But knowing battle.net i bet there will be exploits in this we can find.
April 27, 2007, 7:02 AM
Hell-Lord
Its good to see them working on the best game ever :)
Now all we need is Starcraft 2 :P

April 27, 2007, 8:01 AM
l2k-Shadow
[quote author=Denial link=topic=16648.msg168415#msg168415 date=1177654168]
I doubt this patch will effect bots that much maybe a version change maybe hopefully blizzard programmers wont take this time to release a major bot change as well along with this patch
[/quote]

They can't affect login too much since that would require a patch for w2/d2 and maybe even w3.. so i think they're just gonna add onto or create a new packet.
April 27, 2007, 2:43 PM
MysT_DooM
What is meant by replay uploading...isnt that the samething as it is now where you create game and picka  replay to host. Or do they mean that specific league will have a specific area on a site where users can upload replays?
April 27, 2007, 3:29 PM
MyStiCaL
they can upload there replys to the site, probley easyier method from like doing it from client though since 99% of people on battle.net barley even know how to get on battle.net lol
April 27, 2007, 3:43 PM
UserLoser
I like how they call it "mopaq" instead of MPQ files.  Seems like you just replace patch_rt.mpq or something with the league's MPQ file and it changes some interface stuff

Just a guess
April 27, 2007, 3:54 PM
Barabajagal
I'm sorry, but this really sounds like a bad idea. It doesn't look user-friendly; it looks like a giant annoyance and a hassle. It also looks pretty damn exploitable.
April 27, 2007, 6:10 PM
warz
[quote author=RεalityRipplε link=topic=16648.msg168429#msg168429 date=1177697418]
I'm sorry, but this really sounds like a bad idea. It doesn't look user-friendly; it looks like a giant annoyance and a hassle. It also looks pretty damn exploitable.
[/quote]

You're right about the user-friendly aspect - it looks clunky, and like it's thrown together. Can't comment on the 'exploitable' factor, yet, though.
April 27, 2007, 8:13 PM
BreW
So with this new patch I bet we're gonna get many more new packets added to bnetdocs...
While you're adding stuff (when it gets back up ofcourse), be sure to add the 0x4E... I don't know too much about it, except it's only S > C. I think it's a WCG reply of some kind.
[code]
S > C 0x4E - SID_WCGNOTIFY
(WORD) Unknown
(STRING) Tournament Name
(STRING) Tournament Website
[/code]
Does anyone know anything more about this packet????

Also about the channel flags....
[code]
0x01: Public Channel
0x02: Moderated
0x04: Restricted
0x08: Silent
0x10: System
0x20: Product-Specific
0x1000: Globally Accessible
[/code]
0x10 should be the flags for Silent channel, and 0x08 for System.
How do I know this?

On asia server....
[quote]
[9:08:08 PM]  -- Joined Channel: Brood War USA-1 -- Flags: 0x43 --
[9:08:08 PM] In effort to reduce message spam, we have disabled chat in the default StarCraft channels. Full chat functionality is still available in all other Battle.net channels.
[/quote]

On useast server....
[quote]
[9:08:28 PM]  -- Joined Channel: Brood War USA-16 -- Flags: 0x33 --
[/quote]

There is a clear increase of 0x10 flags.
And before you say it's an increase of (0x08 | 0x02), it would have to already have 0x02 flags because it's obviously (something | 0x01 | 0x02), hence the 0x33.
April 28, 2007, 1:13 AM
rabbit
It could be 0x01 | 0x04 | 0x08 | 0x20 you know.
April 28, 2007, 1:23 AM
MyStiCaL
Oh wow they disabled chat in brood war usa channels?
April 28, 2007, 1:37 AM
HdxBmx27
ohy, mental fart
~Hdx
April 28, 2007, 1:44 AM
Barabajagal
Use force join to join the Warez channel. That channel's silent.
April 28, 2007, 1:49 AM
BreW
warez has flags 0x13.
blizzard tech support has 0x11. (@ uswest it has 0x03)
just for comparison, open tech support has 0x01.
need I say more? Jeez. 0x10 is OBVIOUSLY the silent flag. Whoever made the original channel flags specifications obviously screwed up
April 28, 2007, 2:46 PM
BreW
[quote author=rabbit link=topic=16648.msg168444#msg168444 date=1177723421]
It could be 0x01 | 0x04 | 0x08 | 0x20 you know.
[/quote]
I know, my point is that 0x01 | 0x04 | 0x08 | 0x20 = 0x33, but if the new flag(s) were 0x08 and 0x02 it would just 0x35, wouldn't it? :p So it must have had flags | 0x10 (which is silent.)
April 28, 2007, 2:50 PM
Spht
[quote author=RεalityRipplε link=topic=16648.msg168447#msg168447 date=1177724998]
Use force join to join the Warez channel. That channel's silent.
[/quote]

And force talk to speak there.  And force speed to get out of there if someone catches you.  And force grip so no one knows you were ever there
April 28, 2007, 3:02 PM
rabbit
And Jedi Mind Trick to make Blizzard give you an @Blizzard account.  ...............Wait....
April 28, 2007, 3:03 PM
bethra
ROFL.  The last two posts just made my day.  Thanks.
April 28, 2007, 3:05 PM
Spht
[quote author=brew link=topic=16648.msg168458#msg168458 date=1177771606]
warez has flags 0x13.
blizzard tech support has 0x11. (@ uswest it has 0x03)
just for comparison, open tech support has 0x01.
need I say more? Jeez. 0x10 is OBVIOUSLY the silent flag. Whoever made the original channel flags specifications obviously screwed up
[/quote]

I'm 100% sure 0x10 does not flag a channel as silent.
April 28, 2007, 3:07 PM
BreW
[quote author=Spht link=topic=16648.msg168463#msg168463 date=1177772867]
[quote author=brew link=topic=16648.msg168458#msg168458 date=1177771606]
warez has flags 0x13.
blizzard tech support has 0x11. (@ uswest it has 0x03)
just for comparison, open tech support has 0x01.
need I say more? Jeez. 0x10 is OBVIOUSLY the silent flag. Whoever made the original channel flags specifications obviously screwed up
[/quote]

I'm 100% sure 0x10 does not flag a channel as silent.
[/quote]
How are you sure though? and how else could you explain the flag update to public channels on asia?
EDIT** jeez, i just proved myself wrong. 0x03 | x = 0x11, x must obviously be 0x08. This also explains the Void's flags of 0x09 But... if 0x10 is indeed the system channel flag then how does the 0x43 work out?
April 28, 2007, 3:18 PM
Spht
[quote author=brew link=topic=16648.msg168464#msg168464 date=1177773526]
[quote author=Spht link=topic=16648.msg168463#msg168463 date=1177772867]
[quote author=brew link=topic=16648.msg168458#msg168458 date=1177771606]
warez has flags 0x13.
blizzard tech support has 0x11. (@ uswest it has 0x03)
just for comparison, open tech support has 0x01.
need I say more? Jeez. 0x10 is OBVIOUSLY the silent flag. Whoever made the original channel flags specifications obviously screwed up
[/quote]

I'm 100% sure 0x10 does not flag a channel as silent.
[/quote]
How are you sure though? and how else could you explain the flag update to public channels on asia?
[/quote]

I had it as an edit, but I'll put it in a new reply:

I just joined the two channels you mentioned in your previous post, and on Asia:

[12:38:13] Joining moderated silent product-specific channel Brood War USA-1.

Which is a combination of 0x1 (public) 0x2 (moderated) 0x8 (silent) 0x20 (product-specific) = 0x2b (and confirmed this is the value sent to me via packet log)

The Brood War channels on USEast are still normal: 0x1 (public) 0x20 (product-specific) = 0x21 (confirmed via packet log)

And for the record, warez is 0x1 (public) 0x4 (restricted) 0x8 (silent) = 0xd (confirmed via packet log)

0x10 (system) did not show up in any of these channels.  So what's the confusion?
April 28, 2007, 3:24 PM
Spht
[quote author=Spht link=topic=16648.msg168465#msg168465 date=1177773875]
So what's the confusion?
[/quote]

I see now.  In your post, you said the asia channel had flags 0x44 and east had 0x33.  44 = 0x2b, 33 = 0x21.  See what you did wrong?
April 28, 2007, 3:29 PM
BreW
Omg, thanks spht! It turns out it was a problem with my code. (i didn't hex() the flags on accident) And it didnt help that I was trying to figure out the flags in decimal.. jeez

So what about that packet??? anyone know anything about it??
April 28, 2007, 3:30 PM
Barabajagal
About 4E? Maybe if you gave some info about how you found it?
April 28, 2007, 7:54 PM
BreW
[quote author=RεalityRipplε link=topic=16648.msg168475#msg168475 date=1177790099]
About 4E? Maybe if you gave some info about how you found it?
[/quote]
I went on an account with the WCG tag a while ago, and I received an *unknown* packet with the id of 0x4E. I packetlogged it, and got that it was followed by two null bytes, apparently a website, and what wcg tournament i'm in. Lost the account a while ago though...
April 28, 2007, 8:28 PM
UserLoser
[quote author=brew link=topic=16648.msg168477#msg168477 date=1177792138]
[quote author=RεalityRipplε link=topic=16648.msg168475#msg168475 date=1177790099]
About 4E? Maybe if you gave some info about how you found it?
[/quote]
I went on an account with the WCG tag a while ago, and I received an *unknown* packet with the id of 0x4E. I packetlogged it, and got that it was followed by two null bytes, apparently a website, and what wcg tournament i'm in. Lost the account a while ago though...
[/quote]

Sounds about right
April 28, 2007, 9:18 PM
Barabajagal
My guess would be the Unknown word has something to do with the WCG's ID number or something. (You know, the planet name, but as a number)
April 28, 2007, 10:13 PM
Denial
I still own several wcg accounts.
April 29, 2007, 5:20 PM
Barabajagal
Wanna test it out and get some info?
April 29, 2007, 5:23 PM
MyStiCaL
well, i just got a full packet dump of WCG login

i could eaither sort it out, or just post a full dump

what exactly are you lookin for?

[code]
00000147  ff 3a 08 00 00 00 00 00                          .:......
0000014F  ff 4e 58 00 01 03 57 6f  72 6c 64 20 43 79 62 65 .NX...Wo rld Cybe
0000015F  72 20 47 61 6d 65 73 20  28 53 61 74 75 72 6e 29 r Games  (Saturn)
0000016F  00 00 68 74 74 70 3a 2f  2f 77 77 77 2e 77 63 67 ..http:/ /www.wcg
0000017F  2e 63 6f 6d 00 57 43 47  00 00 00 00 00 80 07 01 .com.WCG ........
0000018F  00 00 00 00 00 01 01 00  02 02 00 00 00 00 01 05 ........ ........
0000019F  00 00 00 00 32 00 00 00                          ....2...
[/code]
April 29, 2007, 7:14 PM
HdxBmx27
Just post a fill dump.
And/or if you are willing to post the info on a WCG account, so people can test for themselves. I for one would like to.
~Hdx
April 29, 2007, 7:20 PM
MyStiCaL
Selected people i may post the account, but my WCG account is Newbie @ useast.
April 29, 2007, 7:22 PM
Barabajagal
ok, so from that log we have...
Two BYTEs (or a WORD) of 01 03 or 0x301(769).
An NTString with the name (World Cyber Games (Saturn)).
An NTString with nothing (Or just a null byte).
An NTString with the URL (http://www.wcg.com).
An NTString or a DWORD with the type (WCG).
Possibly an empty DWORD.
Three BYTEs (or a WORD and a BYTE or a BYTE and a WORD) of 80 07 01 (or some combo therein).

But that's not quite right. That says the packet length is 0x58, which is 88, right? I only count 64 bytes in that log.

Edit: Guess you added the rest of the packet in... Looks like a lot of unknowns. A little peek into the game's handling of the packet would be more beneficial than a packet analysis.

April 29, 2007, 7:46 PM
MyStiCaL
i dont have time so i just quick uploaded it.. clean it up yourself.

http://www.immortal-legends.com/files/HEX%20DUMP

http://www.immortal-legends.com/files/ASCII%20DUMP

p.s I think i got all the aim log out of it.
April 29, 2007, 8:49 PM
Ringo
Just to save you some time, the stat string is used to add a custom game to the game type list along with the settings the game type has, and the 1st string is the name of the game type.
The stat string is fawarded to other clients when they join the game in UDP command 0, packet 0x09.
I was adding this to a custom ladder server I was making back in 1.11/1.12, but never got round to useing it.
Heres some hard-coded research values if they are any help:
[code]
'FF 4E 3E 00 01 03 57 6F 72 6C 64 20 43 79 62 65   ÿN>...World Cybe
'72 20 47 61 6D 65 73 20 28 4D 65 72 63 75 72 79   r Games (Mercury
'29 00 00 10 01 01 00 00 00 00 00 01 01 00 02 02   )...............
'00 00 00 00 01 05 00 00 00 00 32 00 00 00         ..........2.....
    Dim tmpSS As String * 27
    Mid(tmpSS, 1, 1) = Chr(&H1)  'GameType
    Mid(tmpSS, 2, 1) = Chr(&H1)  'ladder type (0=bnet, 1=wcg/kbk etc, 2=>who knows? -- relates to 0x1C/0x2C/channel statstrings etc)
    Mid(tmpSS, 3, 2) = MakeWORD(&H1) 'penalty1
    Mid(tmpSS, 5, 2) = MakeWORD(&H0) 'penalty2
    Mid(tmpSS, 7, 2) = MakeWORD(&H0) 'Unknown - 0x00 always
    Mid(tmpSS, 9, 1) = Chr(&H1)  'GameType again?
    Mid(tmpSS, 10, 1) = Chr(&H1)  'ladder type again?
    Mid(tmpSS, 11, 2) = MakeWORD(&H200)  'Is Melee (&H201 = not melee)
    Mid(tmpSS, 13, 2) = MakeWORD(&H2)  'Is Stats Game (&H100 = UMS)
    Mid(tmpSS, 15, 2) = MakeWORD(&H0)  'UnKnown2
    Mid(tmpSS, 17, 1) = Chr(0)  'Number of teams (0 = none) - discludes TVB
    Mid(tmpSS, 18, 1) = Chr(1)  'Unknown3 - 0x01 always?
    Mid(tmpSS, 19, 1) = Chr(5)  'Required Map Icon
    Mid(tmpSS, 20, 2) = MakeWORD(&H0)  'greed/resorces amount
    Mid(tmpSS, 22, 2) = MakeWORD(&H0) 'unknown - 0x00 always
    Mid(tmpSS, 24, 4) = MakeDWORD(&H32) 'Stats game (0x00 = False[UMS])
[/code]
Also note that the format is differnt in this packet dump, because this was pre-1.13 :P
The format to that is:
(WORD) Flag (1st bit set = add game?, other wise remove?)
(STRING) Game type's name
(STRING) Blank -- most likely used on a set game setting/command (I couldnt find it)
(BYTE[27]) Game Stat String

Nothing really interesting unless your bot can view the game list, or support a game chat enviroment :)
April 29, 2007, 10:12 PM
Barabajagal
I sort of have the feeling that blank string would be a game password?
April 29, 2007, 11:18 PM
dRAgoN
[quote author=RεalityRipplε link=topic=16648.msg168584#msg168584 date=1177888712]
I sort of have the feeling that blank string would be a game password?
[/quote]
Or the discription.
May 1, 2007, 6:22 PM
Barabajagal
I thought only D2 games had descriptions...
May 1, 2007, 7:13 PM

Search