jhead / phantom

Use your own Minecraft server with your Xbox or PS4 and play with friends!
MIT License
611 stars 76 forks source link

1.16.0 not pining #96

Closed End3rgamer27 closed 4 years ago

End3rgamer27 commented 4 years ago

Hi I'm Endergamer, and I play on the PS4. I noticed that phantom no longer works in 1.16, can you please fix this?

End3rgamer27 commented 4 years ago

I am using phantom 0.1.1 and my pc is windows 10

Jim-Kroovy commented 4 years ago

I'm using the latest release and it's working for Xbox One in 1.16 on Windows 10, although it takes a very long time to connect if there are resource packs on the server. Not sure if this can help but that's my 2 cents until you get reply.

EDIT: If cancelling after accepting the "Download Resource Packs" the LAN connection disappears in minecraft and everything needs restarting for it to work again.

rickx7pb commented 4 years ago

I have the same issue on ps4, since they started the new update I try to join the phantom server but it keep saying that the server outdated or something like that.

counterfitninja commented 4 years ago

If it says server is outdated it means the server needs to be on 1.16 as well as your client, or update the ps4 version

End3rgamer27 commented 4 years ago

When I try to use phantom 0.5.1 the ps4 doesn't even ping it.

End3rgamer27 commented 4 years ago

EDIT: If cancelling after accepting the "Download Resource Packs" the LAN connection disappears in minecraft and everything needs restarting for it to work again.

Thank for the info.

Jim-Kroovy commented 4 years ago

I honestly feel the readme of this this repo needs sorting out a bit so someone that is not a programmer or IT technician can actually use this and understand what it's doing.

A few reasons it might not ping/work:

Your anti-virus/firewall might be blocking it

Your wifi/internet isn't very strong - I found on my brothers budget internet connection it would take up to 3 minutes to start pinging and even then it was taking in excess of 20 minutes to load him into any server.

Phantom uses port 19132 of your connection so if you are running anything else through that it won't work.

And as counterfitninja said

If it says server is outdated it means the server needs to be on 1.16 as well as your client

End3rgamer27 commented 4 years ago

I honestly feel the readme of this this repo needs sorting out a bit so someone that is not a programmer or IT technician can actually use this and understand what it's doing.

A few reasons it might not ping/work:

Your anti-virus/firewall might be blocking it

Your wifi/internet isn't very strong - I found on my brothers budget internet connection it would take up to 3 minutes to start pinging and even then it was taking in excess of 20 minutes to load him into any server.

Phantom uses port 19132 of your connection so if you are running anything else through that it won't work.

And as counterfitninja said

If it says server is outdated it means the server needs to be on 1.16 as well as your client

Thank you. I will try letting it through the firewall. Bit it couldn't be anything else, because I have pretty good internet and I waited about 20 minutes. + the server has the port of 19132 and it is 1.16

counterfitninja commented 4 years ago

Actually seeing the same now. May be the resource pack. I'll try things later to see if I can work around it

Jim-Kroovy commented 4 years ago

The servers port shouldn't matter unless you are running the server on the same internet connection phantom uses - eg: If i run my server on port 19132 then i try to run phantom on the same internet connection that the servers running on it will throw an error in the command line because ports can't multi-task like that.

And yeah anything with resource packs has been hell, it either takes hours to load or just never happens lol

counterfitninja commented 4 years ago

Ok i can confirm that 1.16 is not working when there are Behavior/ Resource packs to download. Its causing my Xbox Minecraft to crash. Works fine on Android and Win10

End3rgamer27 commented 4 years ago

Should I allow phantom through private and public or just private firewall?

jhead commented 4 years ago

I honestly feel the readme of this this repo needs sorting out a bit so someone that is not a programmer or IT technician can actually use this and understand what it's doing.

Hey @Jim-Kroovy, I would appreciate PRs to update the readme to be more clear if you feel so inclined 😄

Should I allow phantom through private and public or just private firewall?

@End3rgamer27, you can do both to be safe but it should be just Private.

jhead commented 4 years ago

For anyone using a resource pack, can you send me a link to the packs you're using so that I can test? @Jim-Kroovy @counterfitninja

I've actually never tested phantom with a resource pack but I can imagine why this is happening, since the resource pack data would be sent through your PC, through phantom, to your Xbox/PS4, which could be very slow. There might be some optimizations I can do to improve that.

counterfitninja commented 4 years ago

I currently have a world with the trulybedrock pack on it. Not tested anything else.

https://www.trulybedrock.com/season-2/ is a link you can grab it. Mi e does not takes ages, it actually crashes Minecraft. I can test other maps tomorrow.

Jim-Kroovy commented 4 years ago

Yeah, i haven't been able to test my own server with phantom on my end as i'm running my server on 19132, but i know that my resource pack kills Minecraft for my brother when he tries to get on from his house and it's only a work in progress 75kb re-texture of the armour.

I do have some pretty decent random spawning functions that i've written installed, but as i understand it behaviour packs should be running on the server not on the client?

Anyway here's the little armour retex.

Acceptable.zip

EDIT: I'll do a read-me pull request for you tomorrow if i have time : )

End3rgamer27 commented 4 years ago

@End3rgamer27, you can do both to be safe but it should be just Private.

Thank you. I have let it through, but it still doesn't show up on LAN.

End3rgamer27 commented 4 years ago

I have 1 internet, but 2 modems. I use one modem for pc the other one for ps4. Could this be the problem?

imnotjack91 commented 4 years ago

based on your description, is it safe to assume you meant 1 modem and 2 routers? (modems are the entry point where internet from ISP is converted from fiber, coax or DSL into rj45 / ethernet effectively hosting an over-arching network) (routers host networks and/or route the traffic to other networks and send traffic to the internet via the modem) if my assumption is correct then we will need more details about exactly how this is mapped.

imnotjack91 commented 4 years ago

as an example. i have my "modem/gateway" connecting to my fibre connection. it has a built in switch so i have a fortinet router plugged in that i connect my server to. also connected to my modem/gateway is my personal router that hosts my wifi, gaming and smart equipment. i have my public ip address forwarded to my fortinet router so my personal network is invisible to incoming traffic. so i will put my network map like this: modem>router1, router2< router1>switch, 1 laptop, 4 phones, roku, 3 ipads switch>desktop, printer, xbox, 3 laptops< router2>server, NAS, Terminal server< NAT is turned off on router1 firewall is completely closed on router1 multiple server ports are opened on router2 switch is unmanaged

End3rgamer27 commented 4 years ago

based on your description, is it safe to assume you meant 1 modem and 2 routers? (modems are the entry point where internet from ISP is converted from fiber, coax or DSL into rj45 / ethernet effectively hosting an over-arching network) (routers host networks and/or route the traffic to other networks and send traffic to the internet via the modem) if my assumption is correct then we will need more details about exactly how this is mapped.

No, I have 2 modems that are different and 1 internet, that is the same for both modems. At least that is what my dad told me.

imnotjack91 commented 4 years ago

ok. do you know how the 2 modems are sharing the same ISP? it is technically impossible for 2 "modems" to share the same ISP UNLESS: 1 modem has a built in switch and is not being used as a MODEM but is being used for its ROUTER capabilities. im not going to say your dad is wrong just yet and im not going to say hes using incorrect terminology, but what hes saying isnt making sense to someone who lives and breaths this stuff. this is where that network map i made an example of will come in handy. so the questions im looking to answer are the following:

  1. which modem communicates with the ISP? (internet service provider)
  2. how is the second modem getting internet if there is only 1 internet connection?
  3. is the second modem acting as a slave (or access point) of the 1st modem?
  4. Is it possible that what we are calling a "modem" is actually a router and we are just mixing up terminology? (it really sounds like number 4 is the most likely scenario and I'm trying really hard not to be disrespectful about it as i know, work with and support so many people who get the 2 mixed up on a DAILY basis) but again, please try to recreate a map of your network (dont provide your public ip address on any forums EVER)
End3rgamer27 commented 4 years ago

ok. do you know how the 2 modems are sharing the same ISP? it is technically impossible for 2 "modems" to share the same ISP UNLESS: 1 modem has a built in switch and is not being used as a MODEM but is being used for its ROUTER capabilities. im not going to say your dad is wrong just yet and im not going to say hes using incorrect terminology, but what hes saying isnt making sense to someone who lives and breaths this stuff. this is where that network map i made an example of will come in handy. so the questions im looking to answer are the following:

  1. which modem communicates with the ISP? (internet service provider)
  2. how is the second modem getting internet if there is only 1 internet connection?
  3. is the second modem acting as a slave (or access point) of the 1st modem?
  4. Is it possible that what we are calling a "modem" is actually a router and we are just mixing up terminology? (it really sounds like number 4 is the most likely scenario and I'm trying really hard not to be disrespectful about it as i know, work with and support so many people who get the 2 mixed up on a DAILY basis) but again, please try to recreate a map of your network (dont provide your public ip address on any forums EVER)

ok, so I asked my dad and here's what he said: one receives internet, transfers it to the other and the other one send out the signal. He also said that 1 modem is used as a router.

imnotjack91 commented 4 years ago

ok. and is the server/host on the main modem or the secondary modem (acting as router)? also, can you provide the INTERNAL IP addresses for the the PS4 and the windows 10 pc? (this will help identify if there is a subnet involved which will effect my next reply. and rememeber..... NEVER GIVE OUT YOUR PUBLIC IP ADDRESS.

End3rgamer27 commented 4 years ago

my private ipv4 is: 192.168.1.76 (I ran cmd and typed ipconfig)

End3rgamer27 commented 4 years ago

Here is what I got after running ipconfig (it is in Italian):

Windows IP Configuration Ethernet adapter Connessione alla rete locale (LAN):
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Wireless LAN adapter Connessione alla rete locale (LAN)* 11:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :

Wireless LAN adapter Connessione alla rete locale (LAN)* 12:
Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Wireless LAN adapter Wi-Fi:

Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::e0b3:d62:3b7f:8a52%14
IPv4 Address. . . . . . . . . . . : 192.168.1.76
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.251

EDIT: I DID NOT give my public ipv4 address.

jhead commented 4 years ago

Hey @End3rgamer27, it's tough to troubleshoot without knowing exactly how your LAN + wifi + any devices like routes are setup on the network. If your PS4 isn't seeing phantom at all, that would suggest that your PS4 and phantom device (PC) are not on the same LAN. Depending on your network setup, this could happen if your PC is hardwired while the PS4 is on wifi, or vice versa.

This definitely isn't specific to 1.16.0 from what I can tell, as many others have been able to get it working, myself included.

End3rgamer27 commented 4 years ago

Thank you, this could be the problem I am moving both of them to a LAN cable soon, and I will see if that works.

End3rgamer27 commented 4 years ago

Could the problem be that my ps4 is jailbroken? I don't know if it's jailbroken for sure, but it might be.

End3rgamer27 commented 4 years ago

OK, I think I found the problem: My ps4 is jailbrkoken. I'm not 100% sure, but I think it is. Does anybody know how to un-jailbreak it without deleting data?

joshuaxlino commented 4 years ago

OK, I think I found the problem:

My ps4 is jailbrkoken.

I'm not 100% sure, but I think it is.

Does anybody know how to un-jailbreak it without deleting data?

The jailbreak should not be the problem. It is most likely a connection problem. Does the jailbreak change anything like connection methods or have more network settings? You can also try if you have a second device with minecraft (win10,ios,androidOS) and see if it pings.

End3rgamer27 commented 4 years ago

I don't know if the ps4 is broken, but on my windows pc I have minecraft bedrock, and it doesn't ping either.

On Wed, 22 Jul 2020 at 21:40, joshuaxlino notifications@github.com wrote:

OK, I think I found the problem:

My ps4 is jailbrkoken.

I'm not 100% sure, but I think it is.

Does anybody know how to un-jailbreak it without deleting data?

The jailbreak should not be the problem. It is most likely a connection problem. Does the jailbreak change anything like connection methods or have more network settings? You can also try if you have a second device with minecraft (win10,ios,androidOS) and see if it pings.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jhead/phantom/issues/96#issuecomment-662656512, or unsubscribe https://github.com/notifications/unsubscribe-auth/AP5OMB6GLB2KXBAVGZQ4PRTR446EVANCNFSM4OH5GRVA .

joshuaxlino commented 4 years ago

Add me on discord, i may be able to help you there. JereyX#1823

End3rgamer27 commented 4 years ago

I do not have a discord account.

End3rgamer27 commented 4 years ago

I don't know if the ps4 is broken, but on my windows pc I have minecraft bedrock, and it doesn't ping either.

Also the pc I have minecraft bedrock on is the same pc I am running phantom on.

End3rgamer27 commented 4 years ago

I finally fixed the problem!😄! I moved both the ps4 and the pc to LAN, and then it worked. Thank you all for your help, and have a wonderful day!