Skip to content

Potential Bug: sync url in general section may not be propagating to sync.targets.default section #106

@retrieving123

Description

@retrieving123

if a user inputs a sync url/token in the general section, it does not propagate to the [sync.targets.default] section of the toml/vars file

secondary issue (or possibly the actual root cause), [sync.targets.default] section might be ignored and only [sync.targets.nextspocksclub] (and possibly [sync.targets.spocksclub]) is actually used by the vars file.

Steps to reproduce:
specify token/url in the general section (only) of the modconfig.pages.dev site
copy/paste to toml file
launch stfc
kill fkr hostile
refresh next.spocks.club syncing section, no change in rep

text from toml file

#  <[===================================================================]> 
#                                                                          
#       ****           *                    ****                           
#       *   *   ***   ***     ***          *      *   *  ***     ***       
#       *   *      *   *         *          ***    ****  *  *   *          
#       *   *   ****   *      ****             *      *  *  *   *          
#       ****    ****   **     ****         ****    ***   *  *    ***       
#                                                                          
#  <[===================================================================]> 

[sync]
# The url of the server to proxy the connection through
proxy = ""

# The token that is used to provide authentication
token = "<redacted>"

# The url of the server to send data to
url = "https://next.spocks.club/sync/ingress/"

# Subgroup: Data
# --------------

battlelogs = true
buffs = true
buildings = true
inventory = true
jobs = true
missions = true
officer = true
research = true
resources = true
ships = true
slots = true
tech = true
traits = true

# Subgroup: Diagnostics
# ---------------------

debug = false
logging = false

# Subgroup: Network
# -----------------

resolver_cache_ttl = "300"
verify_ssl = true

text from VARS file

[sync]
battlelogs = false
buffs = false
buildings = false
debug = false
inventory = false
jobs = false
logging = false
missions = false
officer = false
proxy = ''
research = false
resolver_cache_ttl = 300
resources = false
ships = false
slots = false
tech = false
traits = false
verify_ssl = true

    [sync.targets]

[ui]
always_skip_reveal_sequence = true
disable_escape_exit = true
disable_first_popup = false
disable_galaxy_chat = false
disable_move_keys = false
disable_preview_locate = false
disable_preview_recall = false
disable_toast_banners = false
disable_veil_chat = false
disabled_banner_types = ''
extend_donation_max = 80
extend_donation_slider = true
show_armada_cargo = true
show_cargo_default = true
show_hostile_cargo = true
show_player_cargo = true
show_station_cargo = true

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions