Page: inittrackerplayerview

From 5etools Community Wiki
Jump to: navigation, search

framless
v1.111.0

Screen InitTrackerPlayerView.png

DM Screen: Initiative Tracker (Player View)

The Player View is part of a peer-to-peer (i.e., serverless) system to allow players to connect to a DM's DM Screen initiative tracker.


Instructions (How to use it)

As a player, the usage is as follows:


The Player View is part of a peer-to-peer (i.e., serverless) system to allow players to connect to a DM's DM Screen initiative tracker. As a player, the usage is as follows:
  • Enter a name into the "Player Name" field.
  • Paste a "server token," provided by a DM, into the "Server Token" field.
  • Click "Connect."
After a short delay, you should be connected to the DM and this page will change to display the encounter in the DM's tracker. Please note that this system is highly experimental. Your experience may vary.



Feature Support


Known Issues/Limitations

Looks like its perfect... (Did we miss anything?)


FAQ

===Can I run the Initiative tracker Locally (offline)===
Simple Answer, NO.
Honest Answer, Yes. But, its more complicated than most can do.
It requires a "satellite" server to bounce the initial handshake off, and you could [ https://github.com/peers/peerjs-server | run the server yourself].
You will need go into the site's js/utils-p2p.js to change.
class PeerVe extends Peer {
   constructor (role) {
        super();
    ...
over to
class PeerVe extends Peer {
    constructor (role) {
        super(CryptUtil.uid(), {host: "localhost", port: 9000, path: "/myapp"});
    ...
(Where the host/port/path are as specified in the README on [ https://github.com/peers/peerjs-server |that server's GitHub repository].
TL;DR - it requires (a) a LAN, (b) you running a PeerJS server on that LAN, and (c) tweaking some locally hosted version of 5etools code to point at your personal PeerJS server.
Best Practices

None as yet (Do you have any suggestions?)



Related Features



Did that answer your question(s)?

If not please check the under Support; Troubleshooting or the Known Issues page for further guidance, or go to the Discord community and leave a comment in the issues channel.

If you enjoy the project, please follow this link to see how you can contribute and help make it even better.