TheHunterManX / GBA-PK-multiplayer

Other
176 stars 38 forks source link

Error connecting. Error type: unknown error #74

Closed NumbProductions closed 2 months ago

NumbProductions commented 2 months ago

When trying to run the script i get prompt with an error code:

Started GBA-PK_Client.lua Error connecting. Error type: unknown error Please restart the script

Tried restarting multiple times, any fix?

TheHunterManX commented 2 months ago

This is caused when the connection does not go through. Please make sure you are using the correct IP and they are port forwarding

NumbProductions commented 2 months ago

How do i make sure we are using the correct IP and port forward?, We have tried many fixes cant seem to find one.

TheHunterManX commented 2 months ago

IP can be found on a public website like https://whatismyipaddress.com/ unless you are both using the same router, in which case you can find the ip address using ipconfig in command prompt. port forwarding tutorial can be found on youtube, which depending on the router can vary in how to do it. Port forwarding is only required on different routers.

RoRo62-cr commented 2 months ago

How do you do this with Hamachi? Will you need to port forward when using hamachi ? Also which Ip do I use the top one or the one the 2nd one?

https://github.com/user-attachments/assets/a0f282f7-2d86-4922-bc7d-eb7dde7cc7e3

TheHunterManX commented 2 months ago

You don't need port forwarding with hamachi, you can simply copy his IPv4 and paste it in client. Then when he runs the server.lua then you simply need to run the client.