hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
10.77k stars 2.12k forks source link

I'm seeing my own profile in my battle lobby. #19288

Open MrCoderMD opened 1 week ago

MrCoderMD commented 1 week ago

I'm playing tekken 6 on 1.17.1. I have no problem connecting lan with my friend. The problem is that both of us are seeing our own profile in our battle lobby. I'm seeing my profile in my battle lobby and he's seeing his profile in his battle lobby. I tried this with other devices as well and still got the same result. Please help me with this issue.

anr2me commented 1 week ago

So both of you can't see each other but saw yourself instead?

Which adhoc server are you using? built-in adhoc server? or standalone? or public adhoc server like socom.cc may be (which is not supported for LAN play)? (and hopefully not using localhost when playing on LAN)

Also, did you load from a savestate where you might have a different MAC address? i remembered there was a game that cache/store MAC address in memory at boot time and never read MAC address from syscall again during gameplay, thus keep using the old MAC when loaded from savestate, but forgot which game it was.

And, since adhoc games identify players by MAC address, make sure each players have a different MAC address (ie. not sharing the PPSSPP.ini file)

Meanwhile, adhoc servers identify players by IP address, so there could also be ghosting effects when a player abnormally disconnected from adhoc server but the adhoc server didn't aware of it yet (ie. if the server have longer timeout) at the time the player tried to connect again, but happened to have a different IP, thus seeing the player as a different one. However, this usually happened when using public adhoc server with dynamic public IP (shouldn't happen on LAN as the IP rarely changes).

Btw, does other games have the same issue? as we haven't seen anyone reporting this kind of issue.

MrCoderMD commented 1 week ago

I'm using a built in adhoc server. My friend connected to my wifi to get my ip address. If we have a different mac address, then nothing appears in battle lobby. It only says "Network initialised".

On Fri, 21 Jun, 2024, 5:32 am AdamN, @.***> wrote:

So both of you can't see each other but saw yourself instead?

Which adhoc server are you using? built-in adhoc server? or standalone? or public adhoc server like socom.cc may be (which is not supported for LAN play)? (and hopefully not using localhost when playing on LAN)

Also, did you load from a savestate where you might have a different MAC address? i remembered there was a game that cache/store MAC address in memory at boot time and never pulled a new one from syscal, but forgot which game it was.

And, since adhoc games identify players by MAC address, make sure each players have a different MAC address. Meanwhile adhoc servers identify players by IP address, so there could also be ghosting effects when a player abnormally disconnected from adhoc server but the adhoc server didn't aware of it yet (ie. if the server have longer timeout) at the time the player tried to connect again, but happened to have a different IP, but this usually happened when using public adhoc server with dynamic public IP (shouldn't happen on LAN as the IP rarely changes).

— Reply to this email directly, view it on GitHub https://github.com/hrydgard/ppsspp/issues/19288#issuecomment-2181748827, or unsubscribe https://github.com/notifications/unsubscribe-auth/BAEFCCMEA7W6UR3XBNFQIZ3ZINURXAVCNFSM6AAAAABJUCY72SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBRG42DQOBSG4 . You are receiving this because you authored the thread.Message ID: @.***>