AdrianCassar / Xenia-WebServices

Xenia Web Services is a REST API designed to support the Xenia Xbox 360 emulator in providing online and multiplayer functionality.
MIT License
28 stars 15 forks source link

Add Forza Horizon 2 server ip address #22

Closed TechSasuke closed 4 months ago

craftycodie commented 5 months ago

I'm not sure we should be adding localhost servers here we could instead, add an option to xenia netplay config to allow you to provide localhost as an LSP for all titles, if there was a reason to do so

What's the use case here?

TechSasuke commented 5 months ago

The case here is that the game works with P2P just like all other Forzas, but this specific one needs to recognize that it can connect with the LSP to be able to play Online (Online Road Trip), and I'm studying this and would like to try to add a localhost server to try and get the game to recognize Localhost as the LSP, which should theoretically work (since if the game recognizes the IP as valid it will think it has connected to the LSP).

craftycodie commented 5 months ago

Wouldn't the game realise that there's no web server running locally?

TechSasuke commented 5 months ago

As far as i know for Online Road Trip the game wouldn't check that, but for other functions that requires a LSP probably.

AdrianCassar commented 5 months ago

I agree with codie, xenia web-services shouldn't point to local servers on production (this repo). Feel free to setup xenia web-services and test the outcome of adding an LSP entry. For example, adding an LSP entry like this for MW2 completely breaks MP.

The description key is actually a filter, i checked FH2 and it doesn't seem to have one so adding a description may have unintended consequences.

I tested this LSP entry and it didn't seem to have any affect on Online Road Trip. Furthermore, you'd want to determine what ports the server would be running on.

TechSasuke commented 5 months ago

I understood. I didn't quite understand how to configure Xenia Web-Services in my PC and i'm actually still studying how the online part of this game works so setup Xenia Web-Services to test would help a lot.

craftycodie commented 5 months ago

If you do get it setup, let us know if you have any problems and I'll do my best to simplify the process for future

Sent from Outlook for Androidhttps://aka.ms/AAb9ysg


From: Rodrigo Todescatto @.> Sent: Monday, April 15, 2024 10:34:36 PM To: AdrianCassar/Xenia-WebServices @.> Cc: Codie Newark @.>; Comment @.> Subject: Re: [AdrianCassar/Xenia-WebServices] Add Forza Horizon 2 server ip address (PR #22)

I understood. I didn't quite understand how to configure Xenia Web-Services in my PC and i'm actually still studying how the online part of this game works so setup Xenia Web-Services to test would help a lot.

— Reply to this email directly, view it on GitHubhttps://github.com/AdrianCassar/Xenia-WebServices/pull/22#issuecomment-2057848873, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACZKE4XNVQTUJY36TJPS6EDY5RBWZAVCNFSM6AAAAABFEXUXKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJXHA2DQOBXGM. You are receiving this because you commented.Message ID: @.***>