TheHunterManX / GBA-PK-multiplayer

Other
169 stars 35 forks source link

[BUG]: Cant see my friend #22

Closed Faloigi closed 1 year ago

Faloigi commented 1 year ago

Is there an existing issue for this?

Description of the bug

Me and my friend are connected but when start game we cant see eachothers in the game, i dont know why i think nobody has this problem. If someone know how to fix that pls tell me. (The problem can be caused by my friend connection i think cause if i look in the script screen i can see him to disconnect and riconnect sometimes. immagine_2022-12-06_190809461 )

Steps To Reproduce

.

televisionia commented 1 year ago

This usually happens from lag, I've only had this issue rarely and not for long. This could be from them having the emulator minimized or inactive (edit: from either user) and it pausing or just simply a bad connection. Especially if you are both overseas from each other. It could be to do with the update, however, but if you haven't switched to alpha 3, please do as it has better performance changes. Your save files should still be perfectly fine as they are based on the actual game, the script just makes you see each other and trade.

(edit 2 because I always come up with other things to say: If you want to stop it from pausing on minimizing or the window not being focused on, go to Tools - Settings - Interface and untick both of the boxes that say Pause.)

Faloigi commented 1 year ago

me and my friend has controlled the connection and it is ok, so the problem isnt the lag. Idk why we're connected but in the game we cant see eachothers.

televisionia commented 1 year ago

That's strange, are you both using the same ROM version? both 1.1 or both 1.0?

Faloigi commented 1 year ago

were using the 1.1 version of the ROM, and it still dont work so tell me if i need to use the 1.0. I've see a probably bug, in the client script when i start it say Connected to server: No but in the server script i can see the connection.

image but i repeat in the server script are write the connection so were connected but the client script say this.

televisionia commented 1 year ago

Oh, are you both using Alpha V3? If you are really still using alpha 3, then it must be a problem with the actual script. Maybe try redownloading alpha v3's scripts and edit the ip address again. Make sure you and your friend have the same scripts (you edit the client for him and send it to him and then you set up the server and run it)

Faloigi commented 1 year ago

it finally works thanks!!!

televisionia commented 1 year ago

No problem!