Git Product home page Git Product logo

northstar's Introduction

Northstar

GitHub release (latest by date) GitHub release downloads (latest by date) Join the chat at Discord Read the wiki

Northstar is a modding framework client that allows users to host their own Titanfall 2 servers using custom scripts and assets to create custom content, as well as being able to host vanilla content.

Installation | Troubleshooting | Wiki

Development

Northstar's development is split into 6 repositories:

  1. NorthstarLauncher (Code for the C++ hook DLL)
  2. NorthstarMods (Code for the squirrel mods responsible for server gamelogic recreation and custom content)
  3. NorthstarStubs (D3D11 and GFSDK stubs for the Northstar dedicated server)
  4. NorthstarNavs (Custom navmesh files used for AI navigation)
  5. NorthstarDiscordRPC (Discord RPC plugin)
  6. Atlas (Backend API for server browser, player authentication, and persistence)

The documentation is split into three repositories:

  1. NorthstarTF (Main website)
  2. NorthstarWiki (Wiki covering installation, hosting and configuration of Northstar)
  3. ModdingDocs (Guides and tutorials on how to mod using Northstar)

Special Thanks

Thanks to everyone that's put up with me and helped out with this project, it's been a fun passion project I've had throughout 2021 so releasing it is pretty cathartic. Specifically:

  • Thanks to the Icepick developers for making the Icepick, I initially forked it for earlier versions of Northstar and it was a great base to experiment with stuff on before moving to the custom launcher.
  • Thanks to everyone on R5R team for giving me advice on some later parts of development.
  • Thanks to everyone in the testing server for putting up with me and helping find bugs.
  • Thanks to everyone else that's helped, gave advice, all that.

northstar's People

Contributors

abarichello avatar alystrasz avatar aspoonplaysgames avatar bobthebob9 avatar f1f7y avatar geckoeidechse avatar kylegospo avatar personmeetup avatar pg9182 avatar striketester avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

northstar's Issues

1.1.1 Private Match Settings Don't Work

When ever I turn on a private match setting (such as deadly ground or spicy.) It doesn't show up on the Private Lobby menu, it also prevents me from starting the match. I also cant exit to the multiplayer lobby, I have to fully exit to the main menu

11th gen intel processors are incompatible

we figured it out. its an incompatibility with AES-IN.
below is the original post

///it leaves absolutely no error whatsoever
you click on a server, console says you're being authenticated aaaaaand... nothing
here's what I myself have tried specifically so far:
port forwarding the 8081 TCP
checking the master server hostname
checking for any vpk mods
refreshing/restarting server list, game lobby, game itself, steam, origin, and whole PC
re-agreeing to the authentication agreement
disabling firewall
message.txt

attached file is my logs. sorry i couldnt have them be fancily displayed or anything, im not used to github

Feature Request: Dedicated Linux Servers for cheaper(free) cloud server hosts (If at all possible)

So a lot of hosts for cloud servers online with near to full access run Linux and having the server code run on Linux would make it a lot easier to host more dedicated servers more easily.

Like you could potentially even host a server for free similar how you can do it with Minecraft on the Oracle always free tier.

I am pretty sure you have more important stuff to focus on for now but this would really be a cool thing to happen. Or if someone finds a way to run the server using a CMD version of Proton then that would work as well.

Server gets Error 500 response from Master Server after updating to 1.1.0/1.1.1

Again, relatively self-explanatory from the title.
Same server as from Issue #33 gets an Error 500 response from the master server while launching after the updates today.

Server launch arguments are +setplaylist gg +mp_gamemode gg +map map_colony02
Server config is unedited, spare the server name and post-match lobby being turned off.

Show country information for servers

It would be quite useful to show country information for servers on the list, either in the description or the list.

This would involve:

  • NorthstarMasterServer: Adding the MaxMind GeoLite2 database path to the server config and loading it on startup (possibly with the maxmind package)
  • NorthstarMasterServer: Adding a field for the country based on the IP when a server is added
  • Either:
    • Modifying the client to show the information separately
      • NorthstarLauncher: Parse the country information
      • NorthstarMods/Northstar.Client: Showing the country information in the server browser
    • Modifying the server to include the information in the existing fields
      • NorthstarMasterServer: Adding the country to the server name and/or description

@BobTheBob9, would you accept a PR for this, and if so, which approach would you rather take for showing the info?

I get this error when I double click NorthstarLauncher

"The application was unable to start correctly (0xc0000005). Click OK to close the application". The solution I found online (related to other programs) was to reinstall, I've done so and it still shows me this error. The first time I launched the Launcher it asked me to put my Origin credentials, I logged in and checked the box for it to remember my password.

Official IRC or Matrix

I can see official Discord in description but not everyone agrees to trade their privacy for their favorite game so it would be great to also have official IRC or Matrix room, maybe bridged to Discord

Lobby is full when one player joins

playlist private_match lobby has 16slots but others fail to join with error server full. after one match of any mode, the lobby can be joined.

UI is cutoff on 4:3 monitors

So with mat_letterbox_aspect_goal 1.33 and mat_letterbox_aspect_threshold 1.33 in autoexec.cfg, you can play the game in 4:3 (I still rock a 4:3 CRT, playing at 1920x1440 @ 90hz)

The games standard UI normally gets cutoff on the left and right edges. But maybe it's possible to get Northstar's UI to conform to a letterboxed 16:10 region on monitors taller than 16:10?

I'll post a screenshot below, it looks like the UI is left justified instead of centered, but I'm not sure:
4x3 UI

Launcher Error - Solved

I did everything as in the instructions for installation, after this i launch NorthstarLauncher as administrator, the console comes up but right after it i get this Launcher Error message:

Failed to load the launcher DLL at 'C:\Users(my pc username)\Desktop\custom server stuff\bin\x64_retail/tier0.dll':
The specified module could not be found.

Anybody with advice on this, because i am totally lost.
Northstar error1

Linux release for the servers

Opening this since #1 was closed.

Servers are usually hosted on linux machines. A linux release for the server portion would be welcomed, having to go through wine is not exactly ideal, and I'm not sure if it even works.

Northstar updater

When you start Northstar, it looks for a newer version. If it found, it updates itself with the player's permission.

[Titan Brawl] Switching pilot class will switch you into a pilot.

  • Spawn in.
  • Immediately switch pilot class once your titan has landed.
  • Your titan disappears, and you're a pilot now.

Also has the unfortunate side effect of letting you call another titan once you fill your meter, allowing for titanfall kills.
Attempting to get inside your titan gives one of the following outcome:

  • You immediately blow up and die.
  • Sometimes, the server just outright crashes.

Dedicated server memory commit

Dedicated server reserves huge amount of memory.
image
when hitting 100% of commit Windows triggers memory exhaustion and kills processes.
Workaround: extend pagefile (to increase commit max size)

Suggestions to improve the REAMDE

Add a link to the releases and install instructions to the README for the people that have never used github before

Mention that you should rename Northstar.exe (whatever the name is) to Titanfall2.exe so you can start the game from steam.
Renaming Northstar.exe is also the easiest way for Linux users to use this with proton

Servers say there full when there not

Servers in the server browser above 9 or so people (from my tests) will give me an error that says "server is full". I was able to join servers that had like 2 people but plenty of half empty servers are unjoinable.

Can't find servers

nslog24-12-2021 20-05-10.txt

there is the log however I am getting an error when looking at the server list. The lines in particular are
[2021-12-24 20:11:18.362] [info] Requesting server list from https://northstar.tf
[2021-12-24 20:11:18.801] [info] Got 28 servers
[2021-12-24 20:11:18.801] [error] Failed reading masterserver response: malformed server object

Not sure how this is happening I have opened up a server on the same computer and people are able to connect to me

.dll build instructions or build pipeline

Would be nice to have .dll build instructions or better yet a build pipeline. This would increase transparency and increase the number of people who might put this on their machine.

"Tier0.dll not found" When trying to run .exe and .bat files.

When I try to launch NorthStar Launcher.exe, r2ds.bat, or Titanfall2-unpacked.exe, It gives me an error that says "Failed to load the launcher DLL at E:_MY STUFF\Downloads\Titanfall 2 Server\bin\x64_retail\teir0.dll" "The specified module could not be found." I repaired C++.

Server crashes when more than one player joins during first match

Quite self-explanatory from the title, I assume.
Whenever a second or more players try to join my server after a player successfully joined and started the first round after the server launched, the server will crash without an error.
After the first game has passed, people can freely join and leave the server without issues and the server operates smoothly.

Was tried with both game mode and playlist set to gg (Gun Game) and tdm (Skirmish) on Angel City, Colony and Glitch.

AI nav meshes

(people have been linking this issue to people asking why attrition isn't selectable, so i'm editing to clarify)

AI nav meshes are required for any gamemode with AI, like Attrition, Frontier Defense, etc.

They were only stored on Respawn's servers, and Respawn isn't giving them up.

We need to re-create them ourselves.


If you are a rogue Respawn dev about to give us the files: Unless you have the full permission from your legal team, please don't; we could get sued for even looking at them. For this mod to be legal, we have to reverse-engineer it properly.


Apparently Titanfall 2 uses a custom format for nav meshes, and those are required for any gamemode with AI

We should, y'know, work on that.

Dedicated server crash fatal error

[2021-12-25 01:21:32.481] [info] [DEDICATED PRINT] [574.383] [2021-12-25 01:21:32.482] [info] [DEDICATED PRINT] FatalError: [2021-12-25 01:21:32.482] [info] [DEDICATED PRINT] Tried to remove entity #209:npc_dropship [209]:models/vehicle/crow_dropship/crow_dropship_hero.mdl while a player (#6, 'PlayerSomm', lifestate #0) was attached.

better install instructions

the install instructions are ambiguous if they want you to extract the contents of custom server stuff to the Titanfall 2 install folder, or id you should put the contents of the folder in the Titanfall 2 folder.

It's the latter, but of course I picked the wrong one the first time around. The instructions should be updated to clarify this,

Unable to authenticate

Every time I click "Launch Northstar", it tells me "Disconnected: Authentication failed." I clicked "yes" on that first pop-up regarding the authentication but nothing happens.

Console doesn't show text on linux

this happens regardless of northstar or console, cl_showpos and cl_showfps don't show either, but if there was anywhere that could shine light on this, it'd be here

image

Game crashes when clicking on Northstar option in the main menu

Both in v1.0.1 and v1.1.1, I run the Northstar client and are able to get to the main menu. When I click on the Northstar option in the main menu, the game transfers to a loading screen while lowering to 10 FPS, loads for one minute, then proceeds to crash to desktop and opening the Origin app (no error pop-ups appear). I haven't heard anyone else have this problem and if it matters, I am on Steam.

Sonar is stuck.

When someone pulses a sonar, it's stuck till the end of the game and I become glowing orange indefinitely.

Make full servers more obvious

Especially as more servers are added and more players are playing, it would be quite useful to have a visual indicator that a server is full when skimming the list.

One way to do this could be to show the server name in a dimmer font (similar to how the player list works in the networks box in the lobby).

I can't invite my friend to private match!

Here's the story: "I just finished getting into the Northstar Client and my friend did too. Problem was, I could not invite him through Steam or Origin..." Is there a way you can fix this? :)

No indication of permissions needed

When Titanfall 2 is installed to a directory that requires admin access to write, Northstar will not function. The launcher will instead run a seemingly unmodded version of the game.

This makes sense and is fine, but there is no indication that this is the issue, and no mention of this in the wiki.

Keep in mind that both steam and origin install, by default, to a directory within program files. That means that this will effect the majority of users.

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.