Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PPSSPP Ad-hoc general info thread
10-19-2020, 08:28 AM (This post was last modified: 10-19-2020 08:36 AM by AdamN.)
Post: #106
RE: PPSSPP Ad-hoc general info thread
(10-18-2020 08:19 PM)Kamilo8927 Wrote:  
(10-18-2020 05:35 PM)AdamN Wrote:  May i know what kind of IP was it? because that toggle excluding some IP format which normally can't be used for multiplayer.

As i remembered detecting IP list on android and linux is using the same code, only windows have a different code.
Does the same VPN software on Windows (assuming it have windows version) can be detected?

Anyway, i found a bug in some blocking socket implementation that could cause a disconnection on timeout.

(10-16-2020 07:54 PM)Kamilo8927 Wrote:  Hello
My friend have 1 problem with his ppsspp. We are on patapon 3 server using their multiplayer settings to work it fine. We also using devbuild in between 274 and around 500 because they work fine with patapon 3 game. We also use port 60000 and vpn app of other discord server. The problem is for everyone on server setting up whole settings with port 60000 works fine and initialize network correctly but for my friend every port working correctly but not port 60000. When he sets up port 60000 and trying to initialize network error poping out saying "failed to bind to port 60555" but port 60000 is maxed port. Does anyone know how to fix this error? He using windows 10 on laptop.
Try changing Port Offset to 10000 on All players.

I can't give you IP because of rules of other discord server but all this works fine on windows and android and if i remember correctly even on iOS. All players can't change their port to 10000 because this is in rules too that player who play monster hunter play on port 0 while players who play patapon 3 play on port 60000. I didn't set up this rules tho. I can talk with someone who made this rules but probably all older players won't gonna change port anyway. I just need fix why ppsspp trying to initialize port 60555 while setting up 60000. It happen very rarely tho but it eliminate this player from playing multiplayer with others.

LOL that IP question is for Zinx777 not you.

And regarding Port Offset, different PC have different background service running (depends on what kind of software they are installing/using), so it's possible that one of the player to be unable to use port 60555.

Why it's 60555, because originally that game is probably using port 555 which shifted by port offset (60000) became 60555 which is normal, also different games will use different port and usually more than 1 ports.

There are 2 solution for this:
1). Use a different port offset on All players (recommended is 10000 because background service on windows rarely use these port 10xxx range)

2). Ask the player who get error "Failed to bind 60555" to find which application/program is using that port, and turn that app/program off.
You can use this tool to find out which program is using Local Port 60555 https://www.nirsoft.net/utils/cports.html

My Modified PPSSPP :
==============
Win32&64: https://www.dropbox.com/s/i6699cyf1tzu29b/PPSSPP_1.10.3-adhocfix_Win32x64.zip?dl=0
Android(ARMv7): https://www.dropbox.com/s/dmz6jvesmm3uwp2/PPSSPP_1.10.3-adhocfix_ARMv7.apk?dl=0
Find all posts by this user
Quote this message in a reply
10-19-2020, 03:40 PM
Post: #107
RE: PPSSPP Ad-hoc general info thread
I've updated the test builds on my signature with this PR https://github.com/hrydgard/ppsspp/pull/13563

- Fix Shaun White Snowboarding
- Fix disconnection issue due to a bug with blocking PTP Socket implementation
- Improved performance on games that use GameMode API

My Modified PPSSPP :
==============
Win32&64: https://www.dropbox.com/s/i6699cyf1tzu29b/PPSSPP_1.10.3-adhocfix_Win32x64.zip?dl=0
Android(ARMv7): https://www.dropbox.com/s/dmz6jvesmm3uwp2/PPSSPP_1.10.3-adhocfix_ARMv7.apk?dl=0
Find all posts by this user
Quote this message in a reply
10-19-2020, 11:57 PM (This post was last modified: Yesterday 04:20 AM by AdamN.)
Post: #108
RE: PPSSPP Ad-hoc general info thread
Errr.. looks like LEGO Indiana Jones 2 got broken again, i couldn't even get it to work on localhost anymore Sad not sure since when..hopefully not too long behind

Edit: it's weird sometimes it works sometimes it doesn't Sad but answering "yes" too fast when someone joining seems to have higher chance to failed, need to wait for a bit in order to success.

My Modified PPSSPP :
==============
Win32&64: https://www.dropbox.com/s/i6699cyf1tzu29b/PPSSPP_1.10.3-adhocfix_Win32x64.zip?dl=0
Android(ARMv7): https://www.dropbox.com/s/dmz6jvesmm3uwp2/PPSSPP_1.10.3-adhocfix_ARMv7.apk?dl=0
Find all posts by this user
Quote this message in a reply
Yesterday, 03:43 PM (This post was last modified: Yesterday 03:49 PM by Zinx777.)
Post: #109
RE: PPSSPP Ad-hoc general info thread
(10-19-2020 08:28 AM)AdamN Wrote:  
(10-18-2020 08:19 PM)Kamilo8927 Wrote:  
(10-18-2020 05:35 PM)AdamN Wrote:  May i know what kind of IP was it? because that toggle excluding some IP format which normally can't be used for multiplayer.

As i remembered detecting IP list on android and linux is using the same code, only windows have a different code.
Does the same VPN software on Windows (assuming it have windows version) can be detected?

Anyway, i found a bug in some blocking socket implementation that could cause a disconnection on timeout.

(10-16-2020 07:54 PM)Kamilo8927 Wrote:  Hello
My friend have 1 problem with his ppsspp. We are on patapon 3 server using their multiplayer settings to work it fine. We also using devbuild in between 274 and around 500 because they work fine with patapon 3 game. We also use port 60000 and vpn app of other discord server. The problem is for everyone on server setting up whole settings with port 60000 works fine and initialize network correctly but for my friend every port working correctly but not port 60000. When he sets up port 60000 and trying to initialize network error poping out saying "failed to bind to port 60555" but port 60000 is maxed port. Does anyone know how to fix this error? He using windows 10 on laptop.
Try changing Port Offset to 10000 on All players.

I can't give you IP because of rules of other discord server but all this works fine on windows and android and if i remember correctly even on iOS. All players can't change their port to 10000 because this is in rules too that player who play monster hunter play on port 0 while players who play patapon 3 play on port 60000. I didn't set up this rules tho. I can talk with someone who made this rules but probably all older players won't gonna change port anyway. I just need fix why ppsspp trying to initialize port 60555 while setting up 60000. It happen very rarely tho but it eliminate this player from playing multiplayer with others.

LOL that IP question is for Zinx777 not you.

And regarding Port Offset, different PC have different background service running (depends on what kind of software they are installing/using), so it's possible that one of the player to be unable to use port 60555.

Why it's 60555, because originally that game is probably using port 555 which shifted by port offset (60000) became 60555 which is normal, also different games will use different port and usually more than 1 ports.

There are 2 solution for this:
1). Use a different port offset on All players (recommended is 10000 because background service on windows rarely use these port 10xxx range)

2). Ask the player who get error "Failed to bind 60555" to find which application/program is using that port, and turn that app/program off.
You can use this tool to find out which program is using Local Port 60555 https://www.nirsoft.net/utils/cports.html

I found someone that couldn't use 10000 as port offset btw.
Mostly I go for 1500 as port offset as it mostly works fine most of the time.
So cool to see new changes and improvements to ad-hoc.

(10-19-2020 08:28 AM)AdamN Wrote:  Edit: it's weird sometimes it works sometimes it doesn't Sad but answering "yes" too fast when someone joining seems to have higher chance to failed, need to wait for a bit in order to success.

lol it's either you press very fast on ok or wait.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: