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

Vanilla via NorthstarLauncher spams logs on v1.14.2 #492

Closed
GeckoEidechse opened this issue Jun 11, 2023 · 9 comments
Closed

Vanilla via NorthstarLauncher spams logs on v1.14.2 #492

GeckoEidechse opened this issue Jun 11, 2023 · 9 comments
Labels
bug Something isn't working

Comments

@GeckoEidechse
Copy link
Member

Bug

Launching NorthstarLauncher.exe without mods, e.g. NorthstarLauncher.exe -norestrictservercommands -profile=R2Vanilla and R2Vanilla is an empty folder results in console and logs being spammed with

[22:15:54] [SCRIPT CL] [error] Call was unable to find function with name 'NorthstarCodeCallback_GenerateGameState'. Is it global?
[22:15:54] [SCRIPT UI] [error] Call was unable to find function with name 'NorthstarCodeCallback_GenerateUIPresence'. Is it global?

Steps to reproduce

  1. Launch Northstar with no mods
  2. Play some Attrition match I guess (although it should already start happening in mp_lobby
  3. Check your console and/or logs

Specifications

  • Northstar version: v1.14.2
  • Platform: Steam

nslog2023-06-11 22-13-13.txt

@GeckoEidechse GeckoEidechse added the bug Something isn't working label Jun 11, 2023
@GeckoEidechse
Copy link
Member Author

@catornot ideas? 👀

@F1F7Y
Copy link
Member

F1F7Y commented Jun 11, 2023

This gets called from:
https://github.com/R2Northstar/NorthstarLauncher/blob/9cf27a61fd7e096f816c512375ef2340ea4dfb10/NorthstarDLL/shared/gamepresence.cpp#L40

imo the best option would be to have a -vanilla launch arg for playing on vanilla which could then disable northstar specific behavior like this. Would first need to remove -vanilla check from NorthstarLauncher ( here https://github.com/R2Northstar/NorthstarLauncher/blob/9cf27a61fd7e096f816c512375ef2340ea4dfb10/NorthstarLauncher/main.cpp#L259 ) which currently does nothing

@catornot
Copy link
Member

ask vanilla people to remove discord rpc plugin
simple solution

@GeckoEidechse
Copy link
Member Author

ask vanilla people to remove discord rpc plugin
simple solution

It still shows up even without DiscordRPC plugin from what I tested.

@F1F7Y
Copy link
Member

F1F7Y commented Jun 11, 2023

It still shows up even without DiscordRPC plugin from what I tested.

Yup, because it's called from Northstar.dll

@catornot
Copy link
Member

Oh right I forgor
I will move that functionality to the plugin instead of the plugins system in plugins v3 so it shouldn't be an issue in the future

@begin-theadventure
Copy link

begin-theadventure commented Jul 19, 2023

The error happens since v1.13.0, v1.12.7 is fine.

@begin-theadventure
Copy link

begin-theadventure commented Jul 19, 2023

Only Northstar.dll needs to be replaced to stop error spamming.

@GeckoEidechse GeckoEidechse pinned this issue Aug 17, 2023
@GeckoEidechse
Copy link
Member Author

GeckoEidechse commented Nov 16, 2023

Should be fixed by plugins v3 I think (haven't confirmed yet)

EDIT: I did end up confirming it at some point ^^

@GeckoEidechse GeckoEidechse unpinned this issue Jul 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

4 participants