Skip to content
New issue

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

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

Already on GitHub? # to your account

Update README.md: .Net version + example code #89

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

XertroV
Copy link

@XertroV XertroV commented Apr 21, 2024

The default LoginAsync method doesn't work for me. I get a permissions error with Trackmania date=2024-03-18_16_00 git=126882-1ec72453936 GameVersion=3.3.0

This updates the readme example to use a more verbose connect/auth flow but it works for me (and evo csharp controller does things in this order too)

Unhandled exception. GbxRemoteNet.Exceptions.XmlRpcFaultException: (-1000) Permission denied.
   at GbxRemoteNet.GbxRemoteClient.CallOrFaultAsync(String method, Object[] args)
   at GbxRemoteNet.GbxRemoteClient.SetApiVersionAsync(String version)
   at GbxRemoteNet.GbxRemoteClient.LoginAsync(String login, String password)

Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@snixtho
Copy link
Member

snixtho commented Apr 26, 2024

It is correct that the readme uses LoginAsync, the AuthenticateAsync is a direct XMLRPC call and only really used for more custom implementations such as EvoSC#. If LoginAsync doesn't work, it is a bug.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants