Code Monkey home page Code Monkey logo

msg-app-v4's Introduction

MSG APP V4

Oh, its another msg app?

It will be done really soon dont worry!!

NEWS:

TUNNELING SUPPORT!!! YOU CAN NOW ACTUALLY RUN A SERVER WITHOUT PORT FORWARDING See tutorial bellow for more

How to set up the server:

Download the code/server folder

Next you will need to set up a tunnel using playit

(you can use another tunneling service but playit is really great)

  1. Go to Playit.gg and create an account.
  2. Click Add tunnel
  3. Set tunnel type to custom
  4. Leave the Local Ipv4 to 127.0.0.1 and set the Local Port to 5000 (see config)
  5. Set port type to "TCP" and leave port count to 1
  6. Click create tunnel
  7. Download the newest version of playit. (As of writing 0.9.3)
  8. Run the Playit program It asks you to sign in again, after that: In playit.gg (website) look at the tunnel you created. Take note of the following values:
  • IPv4 = <TUNNEL IP>
  • Port = <TUNNEL PORT>

Make new file called 'confing.py', and put the following content in it:

# DONT MODIFY IP, PORT, AUTHIP OR AUTHPORT UNLESS YOU KNOW WHAT UR DOING!
ip = '127.0.0.1'
port = 5000

authip = '147.185.221.229'
authport = 49805

# Fill this is for server discovery. 
# If you dont have a server account, the only way for the client to join will be by specifying a custom ip
server_name = '<SERVER NAME>'
server_id = '<SERVER ID>'     
server_password = '<SERVER PASSWORD>'

# Where the auth server will tell the client to connect when joining a server.
# MAKE SURE TO FILL THEESE IN!!!
server_ip = '<TUNNEL IP>'
server_port = '<TUNNEL PORT>'

MAKE SURE TO FILL ALL OF THE VALUES IN!

Finally run the playit program (aka agent) and server.py. If it gives you some over-simplified error msg and doesent close try typing "debug" Then it might give you the actual error message.

Now you can try to connect, if you have a server account you will see the server in server discorvery once its running, but if you dont, heres how to connect:

  1. Make sure playit AND the server are running.
  2. Open the client.
  3. Log in using your username and password (if u want account dm me on discord)
  4. When the client asks u to select server type in "c" or "custom" and enter the server_ip and server_port.
  5. It should work lul

Plug-in tutorial:

Step 1: Install server Step 2: Stop trying to make a plugin if u dont know how to code and arent familiar with apis Step 3: Read the server code and examples to see how tf u do this Step 4: Stop trying to make plugins because ur stupid

msg-app-v4's People

Contributors

omena0 avatar

Stargazers

 avatar

Watchers

 avatar

msg-app-v4's Issues

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.