Comments (6)
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.
from gowarcraft3.
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.
from gowarcraft3.
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.
Thanks for the assistance!
from gowarcraft3.
Related Issues (12)
- WC3 is still alive HOT 2
- Functionalities questions
- KeepAlive Message HOT 1
- Logon error: bnet: Received unexpected packet HOT 5
- w3gsclient: Could not find local game
- Problems running on windows
- Request: add support for fakeplayers to join desired pvpgn games HOT 1
- [Question] Sending commands to opened battle.net server HOT 1
- w3gsdump stopped working HOT 4
- Make fails HOT 3
- bncsclient exe version and hash HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gowarcraft3.