Git Product home page Git Product logo

Comments (6)

nielsAD avatar nielsAD commented on August 27, 2024

The Battle.net protocol for WC3 has changed since patch 1.30.2 (released a few months ago), which means a lot of Battle.net code in this repository is outdated and will only work for private servers such as PvPGN.

For now, you can still decode packets for ladder games (see w3gsdump), but I assume that might change in the future if Blizzard gets around to updating the game protocol as well. Look at https://github.com/dethredic/WC3StreamerOverlay for a project that uses this approach and does what you're describing in point 1.

I'm not aware of a solution that lets you edit packets on the wire, pcap only lets you capture and observe them.

from gowarcraft3.

AncientiCe avatar AncientiCe commented on August 27, 2024

from gowarcraft3.

nielsAD avatar nielsAD commented on August 27, 2024

I'm afraid this repo will not be too useful for you in that case. Battle.net stuff has been kept to a minimum, and it's mostly just chat functionality at the moment. For the quick game features, I think you get far by configuring/editing PvPGN.

Yeah, you can indeed intercept packets and act as a man-in-the-middle, but the Warcraft client tries to verify that it's communicating with official servers (which is why you need w3l to connect to PvPGN and why gproxy uses LAN functionality by default).

from gowarcraft3.

AncientiCe avatar AncientiCe commented on August 27, 2024

from gowarcraft3.

nielsAD avatar nielsAD commented on August 27, 2024

Before 1.30.2, there's a RSA verification of the server IP. After 1.30.2, there's a TLS server certificate verification. If you want the client to connect to a non-official server (i.e. PvPGN or your intercept program), you need to disable these checks, which is what w3l does, you can't disable them by altering packets.

from gowarcraft3.

AncientiCe avatar AncientiCe commented on August 27, 2024

Thanks for the assistance!

from gowarcraft3.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.