Nov 3, 2015
PermaNulled

Project Cartographer – 2 clients or a server on the same network? (Or PC)

So originally you were unable to run 2 clients or 1 client and a server on the same network or same machine,
Now I’ve come up with some what of a fix and it’s pretty messy but it works!

Basically the way I was handling things previously you couldn’t run multiple clients on the same network or same PC even due to the fact that everything was binding to the same port and there were tons of comparisons and identification systems which would identify people based on their WAN IP address instead of some other unique identifier.

Now that I’ve changed the code to identify people differently and added a “server” option to the INI which you’re expected to set in one client/server on the network it will re-bind ports differently.

To explain if I want to run a server on my network I’ll leave it as “server = 0”, I know it’s kind of backwards…

This will cause my server to bind to standard ports 1000,1001,1005,1006.

Now when I launch my client and I set “server = 1”,

My client will bind to 1100,1101,1105,1106 and the rest of the network code in every other client and server will handle this appropriately based on data of where they receive the connection from, what this may break however is the ability to make a lobby due to the fact naturally when trying to connect to lobbies clients will attempt to use the standard ports.

So essentially you can only have 1 host per network at the moment, though this needs to be looked into in a less messy/sloppy manner so that we can run multiple instances of a dedicated server on a single system.

The only idea that I have to brain storm on with this is sending the port with the broadcast packets and having each client read/understand this,

The problem is at this point this is becoming less Universal and more geared towards Halo 2 which isn’t necessarily a horrible thing, just requires a lot of re-coding of the base.

And may mean that in the future I will have two separate versions one specifically geared towards Halo 2 and another which is universal for all XLive games.

For those who understand python read on…

There were also minor modifications I’ve had to make to the master server list which changed how users were stored,

Originally I stored users when they initially made a halo 2 specific “broadcast-search” packet.

In general this is the way LAN configurations in games should work…

Client->Broadcast to 255.255.255.255 (Entire Local Network) -> Server gets packet and sends reply with information.

Right now the way the code works on this end is simply replacing 255.255.255.255 with the “broadcast server” or “master server list”.

The way I stored the users was based on their remote IP without their port, now we just store the self.client_address tuple into the dict and use that.

Basically since each user would be now using a different port we combine the two to uniquely identify them, the way I was doing things previously would overwrite their user in the dict causing them not to be able to see the server… just a lesson to myself in bad programming practices attempting to identify people by IP addresses which I did a lot starting out with this project.

dfc7fa05370605e9d670022d2570f6b7

Server and client running on the same host.

Nov 3, 2015
PermaNulled

The state of Project Cartographer

The current state of Project Cartographer is quite buggy to say the least,

It works you’re able to join games there’s no tunnels/vpns(Hamachi,Tungle,etc) or extra stuff besides our single DLL required.

How it works?

It replaces GFWL(Games for Windows Live) libraries and executes network code to simulate a LAN connection over the internet ( Yes this means we use the LAN browser ).

The limitations of this are,

  1. Custom Map downloading currently does not work.
  2. You can not view another player’s latency
  3. There’s no way to customize how you view servers, or to bookmark them or etc.
  4. Things are still quite buggy 😉 just remember it’s pre-alpha software at the moment.

Even with limitations there are pros to be had,

  1. Because we package things by injecting data into normal halo2 packets instead of making server requests during joins, this should eliminate Join Lag.
  2. You’re able to join games faster as well due to the above point.
  3. The game’s performance over all has been improved by the removal of this.
  4. The 30ms ping limitation does not exist.
  5. We will be re-implementing all of the removed functions (bookmarking servers, sorting, map downloading, and player latency viewing).

What can it currently do?

Currently the most you’ll get out of this is playing some quick matches with friends, but in the future there are plans to integrate tons of things.

  1. Re-integrate a new H2V friends list or a “XLiveless” friends list across all GFWL games.
  2. Add custom Game Types/Variants to H2V (Zombies with automated team switching and etc, Cat & Mouse where people are automatically spawned in the vehicle etc).
  3. Real matchmaking systems.
  4. TeamSpeak API to integrate VOIP since H2V is missing any voice chat capabilities.
  5. And more.
Nov 3, 2015
PermaNulled

The Project Cartographer

Let me start by first telling you what The Project Cartographer is,
The Project Cartographer is an attempt at reviving Halo 2 Vista which started with the multiplayer services going down for it and no one hearing any information about it’s return.

Now while this is the initial goal,

Due to the method being used to perform such a feat I’ve also began focusing on other GFWL(Games for Windows Live) games which have had their multiplayer servers also discontinued, but we’ll get more into that later.

For now looking at Project Cartographer you’ll see it is a replacement for XLive and all multiplayer services in Halo 2 Vista,

It is in a functional alpha state currently and was not planned for public release there are people currently testing and we’re always open to additional people granted you’re able to use TeamSpeak and communicate actively with us on issues as well as not expecting a bug free release as this is still a pre-alpha release.

As far as getting the actual files and helping us test please check out the Halo2Vista forums,

http://www.halo2vista.com/forums/viewtopic.php?f=13&t=3639

Pages:«12