Tracker

Jul 03, 2004 09:16 Tracker
Im trying to make a custom tracker. I have met with limited success. Currently it can send out game data. But I cannot figure out how winbolo tells the tracker that it has hosted a game.

Any information on the tracker is apreciated e-mail stephenmc@platinum.net or post here. Idealy i would like a copy of another custom tracker to look at. But port numbers or anything will help
Jul 03, 2004 17:02
I know that someone else had built a custom tracker from scratch. I believe it was neo. Min had a hand in it as well, testing and such. Unfortunately, I rarely see neo anymore.
Jul 04, 2004 05:08
WinBolo game clients and servers send WinBolo info packets every few minutes to update the tracker. These are sent via UDP to the IP and port specified

Format of the info packets can be found in the sample code folder.
Jul 04, 2004 05:12
One thing to note, the serveraddress member of the GAMEID stucture is the IP of the server if sent from a client. If it is 0 the update originated from a server and the packet originating address should be used instead.
Jul 04, 2004 11:11
Elvis wrote:
WinBolo game clients and servers send WinBolo info packets every few minutes to update the tracker. These are sent via UDP to the IP and port specified

Format of the info packets can be found in the sample code folder.


It is not quite the format...

It might be easier for ppl out there if the document was not in the form of a .c program, and instead in at least somewhat-readable english.

Since there are many ppl who do not know C but are still trying to create a tracker.

Edit: Plus, what does the winbolods send to the tracker to initialize a game, so that the tracker knows to ping it for info every few minutes?
Jul 04, 2004 12:49
Jay the Speeding Ray wrote:
It is not quite the format...

It contains the exact format of the data structure sent. Most members of the structure have a comment next to them detailing what is present in them. They all contain meaningful names.

It might be easier for ppl out there if the document was not in the form of a .c program, and instead in at least somewhat-readable english.

If you wanted to you could rewrite the structure in english if you want. Eg.
[code:1:6c685ae5ad]BYTE gametype; /* Game type (1, 2 or 3: open, tourn. & strict) */[/code:1:6c685ae5ad]
The 25th byte in the structure contains the game type. It has a value of 1 if the game is open, two if it is a tournament, 3 if it is a strict tournament.

Edit: Plus, what does the winbolods send to the tracker to initialize a game, so that the tracker knows to ping it for info every few minutes?

The server sends an info packet every few minutes to the tracker. The current tracker does not ping the games at all.

Since there are many ppl who do not know C but are still trying to create a tracker.

If you need any help feel free to post back here or in the addon's forum. If you don't know C you can ignore the code as its an example of how to send a request and receive the response. All that you need is described in the INFO_PACKET, GAMEID and BOLOHEADER structures.
Jul 04, 2004 13:25
Thank you for showing me the error of my ways :D

That post shows what not having a good nights sleep does to me...