Code Monkey home page Code Monkey logo

Comments (5)

SoftwareGuy avatar SoftwareGuy commented on June 9, 2024

I got rid of Mirror from the example project as now this basically just demonstrates a Server Browser list but it seems that people want to use this as a project base.

Give me a bit and I'll re-import Mirror and set things up again...

from nodelistserver-example.

Archadin avatar Archadin commented on June 9, 2024

Thanks a lot. i am actually trying to understand the script itself rather than using it as a project base but i couldnt get it to work after adding mirror network manager and a transport to the Logic gamobject. also in the readme there was this;

The main logic you want to take a look at is the NodeListServerNetMan.cs file. That is pretty much a barebones Network Manager with NodeListServer Adapter calls added where appropriate. See the Example scene's objects in its Hierarchy. If you're using custom code, just add the Node List Server Adapter component somewhere, and then you can call it's public functions where needed.

explanation so i assumed i needed "NodeListServerNetMan.cs" file.

from nodelistserver-example.

Archadin avatar Archadin commented on June 9, 2024

If you dont mind me asking some more questions while i am at it. I wanted to ask a couple more questions.

Do i need to do anything other that creating a server build with this project ?

As i understand the NodeListServer is used for Adding/Removing servers to a directory which itself is another server(?) and listing existing servers for clients. So can i use this(after modifying it) with dedicated servers in playfab. Can i somehow get the list of dedicated servers in the playfab and show them to the clients for them to click and connect to ?

btw what i mean up there is that if i can accomplish all these without making a heavy customization to the original code.

Sorry for the long question and all the gibberish.

from nodelistserver-example.

SoftwareGuy avatar SoftwareGuy commented on June 9, 2024

If you dont mind me asking some more questions while i am at it. I wanted to ask a couple more questions.

Do i need to do anything other that creating a server build with this project ?

This project is best used as a reference point, when I put Mirror back in place I will include a slightly modified version of Pong that usually ships with Mirror. You would just build that scene into a player and it'll automatically connect and register up.

As i understand the NodeListServer is used for Adding/Removing servers to a directory which itself is another server(?) and listing existing servers for clients. So can i use this(after modifying it) with dedicated servers in playfab. Can i somehow get the list of dedicated servers in the playfab and show them to the clients for them to click and connect to ?

btw what i mean up there is that if i can accomplish all these without making a heavy customization to the original code.

Yeah, you could customize this code to a PlayFab server list displaying setup.

Sorry for the long question and all the gibberish.

All good mate, if you didn't ask questions then you wouldn't get answers 😉

from nodelistserver-example.

Archadin avatar Archadin commented on June 9, 2024

Thank you for the help. I will open a new ticket or ask from Mirror discord channel if i get stuck again.

from nodelistserver-example.

Related Issues (7)

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.