Coder Social home page Coder Social logo

phantom's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

phantom's Issues

Connect to a Nukkit server whith a PS4

I am trying to connect to a server that I want to mount with plugins using PS4. The server is Nukkit type, the map cannot be downloaded and disconnected. Not even the message that a player wants to connect appears on the server console. The Nukiit server is for version 1.14
https://nukkitx.com

problem when joining to xbox

the servers keep loading permanentley and they give the error of: unable to conect to world, connection timed out

I can only run one instance of Phantom windows 10

I want to host 3 servers for my kids. All three servers have different port setting but run on the same machine with the same ip.

First Server:
Default settings and is shown in LAN
No phantom used

Second Server:
Phantom works without problems
Server is shown in LAN

Third Server:
Phantom gives theses error:

Starting up with remote server IP: 192.168.178.46:19140
INFO: 2019/12/21 10:49:20 proxy.go:84: Binding ping server to: 0.0.0.0:19132
Failed to start server: listen udp 0.0.0.0:19132: bind: An attempt was made to access a socket in a way forbidden by its access permissions.

It seems like I can only use one instance of phantom at a time.

Feature request: Ability to specify port in -bind option

In attempting to run phantom inside of docker on OSX (which does not have --net=host capabilities), not being able to specify a bind port which can be forwarded to the host prevents the application from running properly. Looking at the commit history, it appears that the static bind port functionality was removed in favor of a randomly generated port to provide for allowing multiple instances to run at once.

Request

Hi this isn't an issue but more of a request I was wondering if it was possible for you guys to make a video on how to set up phantom I'm not sure how to use it. Sorry for sounding like this I'm just super lost as all of this is new to me, I tried to read the usage section but am still super lost

multiple servers

Would it be possible to support multiple servers? Each on it's own port perhaps?
Right now, due to the other bug, I can't test multiple instances of phantom.

Side note: I'd suggest a different name. bedrockproxy? mcpeproxy? mcbproxy?

Seems to work well, thanks!

Unable to Connect to World

I'm having issues using this and would love some help!

No matter what I do I am getting a "Unable to connect to world" error. The server does always show up on the client, but it always fails to connect after a few seconds. Is there some logs I can access to figure out what is up?

My setup:
Bedrock server running on AWS Ubuntu instance. Version 1.12.1.1
I've tried clients on Xbox One and iOS 13
I've tried running Phantom on Mac or Raspberry Pi
I've tried in two different home networks

Players on Win10 and iOS can join the server successfully when they add the server directly but not through LAN.

Here is the print out of Phantom
./phantom-linux-arm7 -server minecraft.xxx.com:19132 Starting up with remote server IP: minecraft.xxx.com:19132 INFO: 2019/09/27 05:47:39 proxy.go:81: Binding ping server to: 0.0.0.0:19132 INFO: 2019/09/27 05:47:39 proxy.go:90: Binding proxy server to: 0.0.0.0:50878 INFO: 2019/09/27 05:47:39 proxy.go:97: Proxy server listening! INFO: 2019/09/27 05:47:39 proxy.go:244: Starting idle connection handler INFO: 2019/09/27 05:47:40 proxy.go:201: Opening connection to xxx.xxx.xxx.xxx:19132 for new client 192.168.1.19:53826! INFO: 2019/09/27 05:47:40 proxy.go:216: Opening connection to xxx.xxx.xxx.xxx:19132 INFO: 2019/09/27 05:48:04 proxy.go:201: Opening connection to xxx.xxx.xxx.xxx:19132 for new client 192.168.1.19:55657! INFO: 2019/09/27 05:48:04 proxy.go:216: Opening connection to xxx.xxx.xxx.xxx:19132 INFO: 2019/09/27 05:48:59 proxy.go:251: Cleaning up idle connection: 192.168.1.19:53826 read udp 192.168.1.10:57358->xxx.xxx.xxx.xxx:19132: use of closed network connection

Would love any help you could offer!

Needing to restart program

My friends and I are trying to use phantom so we can play on a server, but he gets disconnected after a while and has to reenter the command. Any solution or am I missing something? Or is it just a bug?

Local server, do I need phantom?

I have a local bedrock server (running on a linux server via docker). I can connect to it from my PC by typing in the local IP address of the server, but it does not show up as a LAN game, and thus I cannot connect to it from my xbox. I am fairly confident that phantom would solve this issue, but I feel like I should be able to get it working without phantom.

Sorry if this is off-topic, but this community seems more knowledgeable about bedrock servers than others.

Stuck on "Proxy Server Listening!"

I know what the problem is, but I have an issue.
I accidentally pressed "no" to the firewall access, and I don't know how to enable it in the control panel firewall because I don't know what it was called. It still says my client (xbox) is connected, but it doesnt show the ping handler or the server in my friend's list.

Starting up with remote server IP: ---
INFO: 2020/01/29 00:34:36 proxy.go:75: Binding ping server to:----
INFO: 2020/01/29 00:34:36 clientmap.go:66: Starting idle connection handler
INFO: 2020/01/29 00:34:36 proxy.go:84: Binding proxy server to: ---
INFO: 2020/01/29 00:34:36 proxy.go:91: Proxy server listening!
INFO: 2020/01/29 00:34:36 clientmap.go:109: Opening connection to ---- for new client ----!
INFO: 2020/01/29 00:34:36 clientmap.go:128: Opening connection to ------

I removed the IPs from this section but this is all it displayed in case its another problem.

Stuck on 'Starting Ping Handler'

When I try to start phantom I get this:

C:\Users\colli\Downloads>phantom 139.99.197.26:19132
Starting up with remote server IP: 139.99.197.26:19132
INFO: 2019/03/13 17:43:02 proxy.go:60: Binding proxy server to: 0.0.0.0:19132
INFO: 2019/03/13 17:43:02 proxy.go:71: Proxy server listening!
INFO: 2019/03/13 17:43:02 proxy.go:209: Starting idle connection handler
INFO: 2019/03/13 17:43:02 proxy.go:192: Starting ping handler

It then just stays there. Any ideas?

Allow dns as well as IP

Could you add DNS as well as IP address. I'm using Azure as a host and the IP will change overtime so its easier to use a DDNS entry directly.

i can't get permissions

I'm on macOS and on terminal. whenever i put the "phantommacos.dms" thing into terminal and i press enter. it says permissions denied.

Feature Requests + Word of thanks :)

Hey I've been looking to create something similar to this, but didn't come around to it yet.
Simple tool, works good and is exactly what some have been looking for. Thanks alot!

So I don't think this should get very much more complicated. A few things to add in the future would be:

  • DNS support. (#1)
  • A simple GUI (Idk if any gui is simple in GO, but I can imagine quite a few users would be discouraged by CLI)
  • Android support. (Host the proxy on your phone, since everybody has one)

Change display name from remote server

Is it possible to change the display name from Remote Server to a customer name. I have a couple of services running and remembering the difference is tricky,

Version 0.2.0 not working on windows host

I do not own an XBOX, this was the result of guiding a friend through the process.
v0.2.0:

Reads the number of maximum players correctly.
Throws an "unable to connect" message when trying to use it.

v0.1.0:

Reads an incorrect number of maximum players.
Connects flawlessly.

Can't Build on i386 Linux Architecture

I currently have an older box that I just got an Ubuntu 18.04 install going on with NukkitX Minecraft PE server. I'd like to setup this proxy i the hopes that it makes it easier for my kids to join the server. Currently, no matter what tweaks I make to the Makefile I can't get it to build on the i386 architecture. I have Go installed and make. Seems like this should build.

Make it possible to set proxy port

Hi everyone!

In my opinion it would be a great feature to be able to set the proxy port (optionally). I installed phantom on a linux server at home, but it is hard to open port on firewall because it is random for proxy.

What do you think, @jhead , is it possible to implement this feature?

Thanks

Not working from Windows 7

I'm trying to run phantom on my old Windows 7 laptop to allow my Xbox one Minecraft to connect to a remote server hosted at Aternos : https://aternos.org/server/
phantom
Attached the output from the command prompt which looks ok as far as I can tell? But I don't see anything within the Minecraft app on Xbox, there is nothing in the friends section and my servers section just shows the 5 featured servers.
Should it be working on Windows 7?

Problem using program

Whenever I try to use it, it doesn't work. I drag the EXE file into a cmd, add a space and paste the server info but nothing happens. Am I doing something wrong?

Cubecraft doesn't work

panic: runtime error: slice bounds out of range

goroutine 34 [running]:
github.com/jhead/phantom/internal/proxy.(*ProxyServer).processDataFromServer(0xc000092000, 0xc0000e4000, 0x53ee60, 0xc0000b8030)
        /Users/justin/dev/phantom/internal/proxy/proxy.go:254 +0x48f
created by github.com/jhead/phantom/internal/proxy.getServerConnection
        /Users/justin/dev/phantom/internal/proxy/proxy.go:213 +0x280

How can I run multiple proxies?

I created 2 additional virtual lans and running 3 instances

phantom -server 1.2.3.4:19132 -bind 1.0.0.0:19132
phantom -server 1.2.3.4:19133 -bind 1.0.0.1:19133
phantom -server 1.2.3.4:19134 -bind 1.0.0.2:19134

It's getting stuck at Starting idle connection handler

Apparently the -bind option is not working.

Requirements for hardware?

Sorry for creating an issue for my question. Sub Reddit was archived.

Will this work on a old 1st gen Raspberry Pi B? I have a couple of those laying around, would be great to just set up at friends’ house for them to join from Xbox.

Change readme to include PS4 support

With bedrock finally coming to PS4 I decided to test and see if this tool worked on PS4. After setting it up it worked. I didn't need to change anything.

Native mobile app

Placeholder for investigation into offering a native mobile app on iOS and Android

Unable to connect to server

So the server appears in LAN games on my phone, but I can't connect to it. Specifically, it gives me an "unable to connect to server" error message. Now I'm just doing this for testing purposes as I don't have an Xbox, but I'm setting this up for someone else who does.

(Edit is because I fixed my original problem)

I must be stupid

So forgive me as I am not a command prompt master like most of you are but how do I enter the correct ip address for my server? My son is wanting me to set up a server for him and I have spent like 2 hours try to get this to work. I have dragged and dropped it into the command prompt and hit enter but it doesn't let me edit the ip.

Phantom only works on same network?

This is more of a question than a statement; I think I misunderstood what this program does; I thought it could allow me to use my server with my friend on an Xbox without being on the same network, like a server, but the Xbox sees it as a LAN. Is it saying I can use it just as a LAN on the same WiFi, rather than an external server?

cant use -bind

The code gives me a usage() message and exits. I suspect this is incorrect:
if len(os.Args) != 2 {
example:

$ ./phantom-linux -bind 0.0.0.0:19135 1.2.3.4:19132
Usage: ./phantom-linux <server-ip>

Options:
  -bind string
        Bind address and port (default "0.0.0.0:19132")

Only working on port 19132

I have 2 server running on the same remote server but on different ports. It seems that Phantom only works on port 19132. If i use port 19134 it does not show up.

MacOS can't use Pro servers.

Hi, so I am currently trying too join a pro server but this keeps coming up saying unable too join, but when I join a basic server it connects fine.

Error

i typed
$ ./phantom-windows 104.219.6.162:19132
to test it and it told me the following
I am currently running windows 10 , 64 bit with 4 gb of ram

Capture1

Building on mac

Good Day,
I couldn't get this to build on my Mac. I'm not experienced enough with Go so I'm sure its something I'm doing wrong. Here is a screenshot:

Screen Shot 2019-07-01 at 12 40 08 PM

Server does not show up on LAN server list

i keep getting the server to star at idle connection handler and wont go further.

Starting up with remote server IP: ********:41199
INFO: 2019/07/27 ******** proxy.go:60: Binding proxy server to: 0.0.0.0:19132
INFO: 2019/07/27 ******** proxy.go:71: Proxy server listening!
INFO: 2019/07/27 ******** proxy.go:192: Starting ping handler
INFO: 2019/07/27 ******** proxy.go:209: Starting idle connection handler

IM seeing conflicting info is PS4 supported as of yet

I want to say a massive thanks for this project and the amount of time and effort you have spent te improve its quality of life so as i wondering is PS4 supported and if not is there any plans i see in the readme it says its not but for some reason i kind of believe it does

Issues connecting

I cannot get phantom to work, I run off Mac but anytime I put in ./phantom-macos it says command not found, I've already done the chmod file but still nothing

An issue and a request

The issue is when I'm on my Xbox the server shows up for a second, but than disappears. The request is if it is possible could you had switch support, on switch the server dosent even show up.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.