Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support torque game engine based games #559

Open
skylord123 opened this issue Mar 28, 2024 · 2 comments
Open

feat: Support torque game engine based games #559

skylord123 opened this issue Mar 28, 2024 · 2 comments

Comments

@skylord123
Copy link

skylord123 commented Mar 28, 2024

What is this feature about?
Torque Game Engine based games such as Tribes 2, Blockland, and Age of Time all run on older Torque Game Engine (which is the predecessor to Torque 3D).

Would be nice to support querying these servers.

Additional context/references
I uploaded the source for TGE v1.2 and the query source code is here (Age of Time is based on v1.2):
https://git.skylar.tech/skylord123/TorqueGameEngine2005/src/commit/4f5d1133b87cb39928506bec5160965fa1c2ed7f/engine/game/net/serverQuery.cc

Here is the source for TGE v1.5 (which Blockland uses):
https://github.com/ldarren/tge-152-fork/blob/master/engine/game/net/serverQuery.cc

Tribes 2 runs on TGE before it was released so probably closely matches TGE v1.2.

The official Age of Time server can be queried at 45.148.165.55:28000

Dedicated Blockland server: 45.148.165.55:28300
Other servers for BL can be found at https://blockland.us/browse.php

@CosminPerRam
Copy link
Member

Looks very promising, thanks for the provided great documentation around it, will have a try at it soon.

Both 1.2 and 1.5 have this defined

// This is basically the server query protocol version now:
static const char* versionString = "VER1";

and it seems that the files are exactly similar, so there shouldn't be problems around querying specific version of the game engine.

@skylord123
Copy link
Author

skylord123 commented Aug 21, 2024

Looks very promising, thanks for the provided great documentation around it, will have a try at it soon.

@CosminPerRam Sorry to bother you I am just curious if you had a chance to check this out? I recommend using blockland servers to test this as they seem to be stable. From my testing the official AOT server seems to be returning garbage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants