Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: xpeh on March 06, 2010, 01:56 PM

Title: PvPGN and BNet use different format for getadvlistex answer
Post by: xpeh on March 06, 2010, 01:56 PM
http://forum.valhallalegends.com/index.php?topic=18158.msg184245#msg184245
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: MyndFyre on March 06, 2010, 02:08 PM
...so?
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: xpeh on March 06, 2010, 05:33 PM
Most interesting, starcraft undestands both formats. How is it possible?
Is pvpgn's format some kind of old format?
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: Sveet on March 09, 2010, 09:06 PM
I thought PvPGN required a loader, and the loader changed some of the packets
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: MyndFyre on March 09, 2010, 11:58 PM
Quote from: Sveet on March 09, 2010, 09:06 PM
I thought PvPGN required a loader, and the loader changed some of the packets
Correct.
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: xpeh on March 10, 2010, 05:32 AM
Quote from: Sveet on March 09, 2010, 09:06 PM
I thought PvPGN required a loader, and the loader changed some of the packets
Only for war3, since war3 has no other possibility to add server other than official battle.net. Other games do not require loaders.

And, as i wrote, starcraft undestands both formats.
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: Hdx on March 10, 2010, 01:25 PM
Thats because they are the same size, SC just handles the data how it always does.
But anyways, no one cares how PvPGN screws up.
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: xpeh on March 10, 2010, 08:19 PM
But they have different positions!
The topic is not only about pvpgn, but also why clients work properly. Pvpgn surely won't use this format if it didn't work with clients.
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: MyndFyre on March 10, 2010, 08:42 PM
Quote from: xpeh on March 10, 2010, 08:19 PM
But they have different positions!
The topic is not only about pvpgn, but also why clients work properly. Pvpgn surely won't use this format if it didn't work with clients.
Why not take it to the pvpgn people? 

I realize the board is slow, but discussing pvpgn here is pretty much irrelevant.
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: xpeh on March 11, 2010, 01:27 AM
Because i'm not discussing pvpgn, i am discussing battle.net clients!!!!!. The question was - how can client find these values, if they are placed on different positions?

As for pvpgn, the probability they change something in 1.8.x is little - since anything work for game clients.
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: Hdx on March 11, 2010, 03:32 AM
Because SC doesn't give a shit about the 1st 8 bytes of the game info, it merely copies them to a buffer and never uses them again as far as I can see.
It uses the game statstring to get the game info.
Anyways, Once again, nobody gives a shit about PvPGN! Quit posting crap unrelated to real battle.net.
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: xpeh on March 11, 2010, 09:12 AM
Dude, it is related to battle.net clients, and if word pvpgn works on you like a red cloth on a bull, go to your retarded sbot forum and suck together with other idiots.
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: xpeh on March 11, 2010, 09:14 AM
Btw, is game type also encoded in statstring? And why all this info including locale id is sent if it's never used?
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: Hdx on March 11, 2010, 12:53 PM
Its not PvPGN itself that throws up a red flag, its the fact that it seems to be the only thing you know and you think it's the defacto implementation of BNCS protocol, and you use an old version of it at that.
Its a well known fact by anyone who has taken the time to look at PvPGN that it does A LOT of things incorrectly, they use the many defunct or unused parts of the protocol to guess and make there own version of the protocol.
If the development community around PvPGN was better we'd prolly invite more discussion of it.

As for why bnet still sends this data, once again, bnet does a lot of weird things, and sends a lot of data the clients don't actually use. I would assume they decided a ascii encoded comma separated string was more 'forward compatible' then the binary form of game info. It also allows for different types of formats in the same message block.

I don't remember when they changed the functional format, so I can't tell you why they did it. But anyways, about 5 mins of poking around in Battle.snp showed me exactly why they were allowed to get away with these types of things. Maybe you should try it, it'll teach you a lot about the current state of the Bnet protocol, and get you more in tuned to what you should actually care about when it comes to what PvPGN does.

Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: Sveet on March 19, 2010, 12:04 AM
Hdx i would be interested in learning how to "poke around" battle.snp

also, i thought this argument could have been ended by saying "this is discussion about battle.net clients not PvPGN clients"
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: xpeh on March 24, 2010, 06:54 PM
There is no PvPGN clients at all, with maybe exception of war3 + pvpgn loader.

Hdx, i'm not so perfected in assembler and debugging to "poke around" yet.
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: Sveet on March 26, 2010, 06:54 AM
But the bot you're programming is not a PvPGN client?
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: xpeh on March 26, 2010, 07:11 PM
I programmed such a bot, but it was never public. And actually, the main difference is stricter versioncheck on battle.net (and chat quota, and maybe warden). The overmost of public clients are battle.net clients (which also work on pvpgn), not some kind of clients that only work on pvpgn. The reason i raised this topic was the Wireshark decoder plugin that i'm writing.
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: rabbit on March 27, 2010, 02:17 AM
You claim there are no PvPGN clients...and yet....I wrote 2.....so....you're wrong.
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: xpeh on March 27, 2010, 10:07 AM
1. I don't claim.
2. Ok, there is no known pvpgn clients.
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: xpeh on March 27, 2010, 10:09 AM
http://pelish.spfree.net/index.php?topic=3437.msg9771;boardseen#new
QuotePvPGN Skills: -1
Opensource gays got butthurt.
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: rabbit on March 27, 2010, 10:51 AM
Quote from: xpeh on March 27, 2010, 10:07 AM
1. I don't claim.
2. Ok, there is no known pvpgn clients.
http://code.google.com/p/rebirthbot/
Not known?
I posted about it as I was developing it in my blog at ICCup.....and I have the highest rated blog.  Obviously people read it....which means people know about it...which means you're still wrong.
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: xpeh on March 27, 2010, 11:36 AM
Yes, it's not really known. Nobody reads your iccup blog. Known is e.g. Stealthbot.
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: MysT_DooM on March 27, 2010, 12:51 PM
who is xpeh out of curiosity.   Can I get a Intro thread.  http://forum.valhallalegends.com/index.php?board=21.0
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: xpeh on March 27, 2010, 01:36 PM
I only post on this board and in trash can :D
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: rabbit on March 27, 2010, 04:42 PM
Quote from: xpeh on March 27, 2010, 11:36 AM
Yes, it's not really known. Nobody reads your iccup blog. Known is e.g. Stealthbot.
lol....arrogant prick.
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: xpeh on March 28, 2010, 02:08 AM
Ok, maybe i expressed myself wrong. s/known/popular/
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: rabbit on March 28, 2010, 12:30 PM
You're still an arrogant prick.  Your statement still says that any bot that isn't the most widely used and often recognized, it's not known/popular.
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: xpeh on March 28, 2010, 01:31 PM
Quote from: rabbit on March 28, 2010, 12:30 PM
You're still an arrogant prick.  Your statement still says that any bot that isn't the most widely used and often recognized, it's not known/popular.
Isn't it so? Otherwise i can call my own bot which i and another person have used popular.
Why should i call the software that is not widely discussed popular? Just because you want it?
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: Sveet on March 28, 2010, 03:01 PM
Quote from: rabbitI posted about it as I was developing it in my blog at ICCup.....and I have the highest rated blog.  Obviously people read it....which means people know about it...which means you're still wrong.

This means his blog is known. Just because you don't know about it, doesn't mean its not publicly known.
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: rabbit on March 28, 2010, 03:59 PM
Quote from: xpeh on March 28, 2010, 01:31 PM
Quote from: rabbit on March 28, 2010, 12:30 PM
You're still an arrogant prick.  Your statement still says that any bot that isn't the most widely used and often recognized, it's not known/popular.
Isn't it so? Otherwise i can call my own bot which i and another person have used popular.
Why should i call the software that is not widely discussed popular? Just because you want it?
No.  That's 2 people that have used it.  When a few dozen people have used it, especially on a server with maybe 100 channels, then you can call it popular (and I'd like to remind you that unlike Battle.net, 99% of the "people" online on ICCup are actually people).
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: xpeh on March 28, 2010, 04:32 PM
Quote from: rabbit on March 28, 2010, 12:30 PM
You're still an arrogant prick.
How a person can be a prick?

Quote from: rabbit on March 28, 2010, 03:59 PM
No.  That's 2 people that have used it.  When a few dozen people have used it, especially on a server with maybe 100 channels, then you can call it popular (and I'd like to remind you that unlike Battle.net, 99% of the "people" online on ICCup are actually people).
That's your definition of "popular". And i almost never played on BNet.
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: rabbit on March 28, 2010, 05:59 PM
Quote from: xpeh on March 28, 2010, 04:32 PM
Quote from: rabbit on March 28, 2010, 12:30 PM
You're still an arrogant prick.
How a person can be a prick?
The same way a person can be an asshole, or a douche, you asshole.

Quote from: xpeh on March 28, 2010, 04:32 PM
Quote from: rabbit on March 28, 2010, 03:59 PM
No.  That's 2 people that have used it.  When a few dozen people have used it, especially on a server with maybe 100 channels, then you can call it popular (and I'd like to remind you that unlike Battle.net, 99% of the "people" online on ICCup are actually people).
That's your definition of "popular".
Most people would say that when a significant number of the bots used are yours, then you've got a popular bot.

Quote from: xpeh on March 28, 2010, 04:32 PMAnd i almost never played on BNet.
Exactly.  Blizzard servers are filled mostly with a bunch of people with a bunch of idling bots.  Go to any channel on any server and odds are 75% of the "people" there are actually bots loaded by just 2.
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: xpeh on March 28, 2010, 08:20 PM
Quote from: rabbit on March 28, 2010, 05:59 PM
Quote from: xpeh on March 28, 2010, 04:32 PM
Quote from: rabbit on March 28, 2010, 12:30 PM
You're still an arrogant prick.
How a person can be a prick?
The same way a person can be an asshole, or a douche, you asshole.
Smells like teen butthurt.

And your bot is popular only in your world.
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: brew on March 28, 2010, 09:52 PM
This thread just went full retard.

It's mostly rabbit's fault for egging xpeh on, though, as any vL regular should know xpeh has done pretty much nothing but troll since he's been here. I get a mild squeak-y vibe from him (also note his use of python), but it's obvious he's not, because squeak would never use a 4chan meme in a post.
Title: Re: PvPGN and BNet use different format for getadvlistex answer
Post by: rabbit on March 29, 2010, 03:09 AM
Quote from: brew on March 28, 2010, 09:52 PM
as any vL regular should know xpeh has done pretty much nothing but troll since he's been here.
I haven't been a regular here for the past...what...year or two?