Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: Mephisto on March 12, 2005, 01:50 PM

Title: Warcraft III Game Protocol
Post by: Mephisto on March 12, 2005, 01:50 PM
Can someone briefly explain some of the generalities of Warcraft III Game Protocol and answer the question of whether the game packets are routed to Battle.net first and then the user or directly between the game's host and the users in the game?
Title: Re: Warcraft III Game Protocol
Post by: UserLoser. on March 12, 2005, 01:51 PM
Quote from: Mephisto on March 12, 2005, 01:50 PM
Can someone briefly explain some of the generalities of Warcraft III Game Protocol and answer the question of whether the game packets are routed to Battle.net first and then the user or directly between the game's host and the users in the game?

Custom games are player<->player (is possible to play custom game without being on Battle.net)
Ladder games are player<->game server<->player
Title: Re: Warcraft III Game Protocol
Post by: Mephisto on March 12, 2005, 02:44 PM
So it's possible to get the user's IP in a custom game?  And if what you say is true, how is it possible for a custom game (on Battle.net) to be maintained when the host leaves?
Title: Re: Warcraft III Game Protocol
Post by: Warrior on March 12, 2005, 03:34 PM
There is no "host" once the game has started. IIRC it's just a continuous sending of packets between all the players.
Title: Re: Warcraft III Game Protocol
Post by: UserLoser. on March 12, 2005, 03:53 PM
Quote from: Mephisto on March 12, 2005, 02:44 PM
So it's possible to get the user's IP in a custom game?  And if what you say is true, how is it possible for a custom game (on Battle.net) to be maintained when the host leaves?

Yes. I didn't say anything about the host, but a connection must be established between each and every player in the game or else you may get dropped (everyone else disconnects from you)
Title: Re: Warcraft III Game Protocol
Post by: Mephisto on March 12, 2005, 05:43 PM
Okay, it was my understanding from your first post that everything is sent to the host first and then the host redistributes the packets to everyone else (like the host was the Battle.net server for the custom game).
Title: Re: Warcraft III Game Protocol
Post by: Soul Taker on March 12, 2005, 05:47 PM
Of course you can get IPs in custom games, they have to connect to the host to get into the game lobby.
Title: Re: Warcraft III Game Protocol
Post by: NetNX on March 16, 2005, 09:35 AM
This is all great and all im just wondering what he plans on doing with my ip if i join his costom game O_o... Is this going twards a bot or a hack O_o i wonder...
Title: Re: Warcraft III Game Protocol
Post by: QwertyMonster on March 16, 2005, 09:50 AM
Quote from: NetNX on March 16, 2005, 09:35 AM
This is all great and all im just wondering what he plans on doing with my ip if i join his costom game O_o... Is this going twards a bot or a hack O_o i wonder...

Yeah, i've heard about people wanting IPS when they join the game. First thing that came to my mind was hacking. Im pretty sure you can hack somebody if you get there ip.

If this person wouldnt mind, could he explain what he plans to do when he gets people Ips? :D
Title: Re: Warcraft III Game Protocol
Post by: UserLoser. on March 16, 2005, 01:42 PM
Let me straighten this out.  This is a bot development forum.
Title: Re: Warcraft III Game Protocol
Post by: QwertyMonster on March 16, 2005, 01:44 PM
Quote from: UserLoser on March 16, 2005, 01:42 PM
Let me straighten this out.  This is a bot development forum.

Yes we know that. But somehow the topic went onto ips and things. So i basically asked more about it.
Title: Re: Warcraft III Game Protocol
Post by: Warrior on March 16, 2005, 01:47 PM
Oh noes. Really do you think he would publicly reveal a scheme (if he had one) to make some sort of Battle.net Hack/Exploit/whatever. Even though I doubt you could do much just from an IP. Nothing to wet your pants about.
Title: Re: Warcraft III Game Protocol
Post by: Falcon[anti-yL] on March 16, 2005, 04:31 PM
errr
Title: Re: Warcraft III Game Protocol
Post by: darkxir on March 22, 2005, 10:27 PM
Quote from: Warrior on March 16, 2005, 01:47 PM
Oh noes. Really do you think he would publicly reveal a scheme (if he had one) to make some sort of Battle.net Hack/Exploit/whatever. Even though I doubt you could do much just from an IP. Nothing to wet your pants about.

He could obviously DoS someone. The horror.
Title: Re: Warcraft III Game Protocol
Post by: Warrior on March 22, 2005, 10:36 PM
Oh n03s11!1