Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trains not showing on dynmap #7

Open
SamEmam opened this issue Feb 23, 2024 · 2 comments
Open

Trains not showing on dynmap #7

SamEmam opened this issue Feb 23, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@SamEmam
Copy link

SamEmam commented Feb 23, 2024

Dynmap loads with all tracks and stations, but trains do not show up.

image

Trains show up just fine on Create Track Map

image

No issues detected in network log.

Versions in use:

  • Server: Forge 1.20.1
  • Create: 0.5.1
  • CTM: NeoForge 1.4
  • Dynmap-trains: 1.2

Here is my addition to the dynmap configuration.txt

components:
  - class: org.dynmap.ClientComponent
    type: trains
    base-url: "http://server_url:track_map_port"
    worlds:
      ohana: "minecraft:overworld"
    # Configuration for each layer
    #   `hidden` - Whether or not should the layer be hidden by default
    #   `label` - The label of the layer to show in the UI
    layers: 
      trains:
        hidden: false
        label: Trains
      blocks:
        hidden: false
        label: Train Tracks
      signals:
        hidden: false
        label: Train Signals
      stations:
        hidden: false
        label: Train Stations
      portals:
        hidden: false
        label: Train Portals
    # Additional texts used in the UI 
    labels: 
      # Tooltip for portal marker 
      portal: "Portal to "
      # Tooltip for station marker 
      station: Station
      # Tooltip whether the station is assembling 
      assembling: Assembling
      # Tooltip for train marker 
      train: Train
      # Owner of train 
      owner: Owner
    # Width of the rectangles representing trains (in blocks) 
    train-width: 3
    # Width of the lines representing tracks 
    track-width: 0.75
    # Width of the outline around the track lines 
    track-outline: 1
    # Whether or not should the track outline visually separate track segments 
    track-separation-outline: true
@Zhincore Zhincore added the bug Something isn't working label Apr 1, 2024
@Zhincore
Copy link
Owner

Zhincore commented Apr 1, 2024

That's weird, I have no idea why that would be honestly

@ST-DDT
Copy link

ST-DDT commented Apr 1, 2024

Try curling/downloading the trains API endpoint and abort after a certain time with trains movement. Then check the downloaded output/file whether train data are present or not. And maybe post it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants