-
July 23rd, 2024, 16:50 #41
I could, but I'd have to find a way to get the unvaulted code for Spell Tokens. But in general radial menus are one of the hardest places to coordinate between extensions; there's absolutely no built-in way to avoid these kinds of collisions. So it's probably for the best that I don't use it and instead use the image toolbar, which does have a lot of support.
-
July 23rd, 2024, 16:54 #42
-
July 24th, 2024, 01:34 #43
-
January 4th, 2025, 14:16 #44
Hello Saagael,
I noticed that for "per second", you are leveraging mattekure's Timer. Unfortunately, there is no way to change the URL for the "delayed response" time server (I have mine hosted on localhost as his server sometimes... times out - thus stopping the timer).
Would it be possible to leverage his option to point to the right server if his extension is loaded? Or alternatively add an option for this extension?
He is using:
Code:-- Constants DEFAULT_TIMER_URL = "https://mattekure.com/Timer/" LOCALHOST_TIMER_URL = "http://localhost:1803"
Code:function getTimerUrl() if checkUrlOptionDefault() then return DEFAULT_TIMER_URL else return LOCALHOST_TIMER_URL end end function checkUrlOptionDefault() return OptionsManager.isOption(TIMER_URL, DEFAULT_TIMER_URL) end
Code:Interface.openURL("https://mattekure.com/Timer/", onClock)
Last edited by Arnagus; January 4th, 2025 at 14:34.
-
January 7th, 2025, 00:49 #45
-
January 7th, 2025, 07:29 #46
-
January 7th, 2025, 21:13 #47
You introduced a spelling error
The function name misses the last letter: getTimerUr instead of getTimerUrl
Code:[ERROR] Script execution error: [string "PatrolDuty:scripts/manager_path_time.lua"]:69: attempt to call a field 'getTimerUr' a nil value
Not sure what is causing the interference.
-
January 7th, 2025, 21:27 #48
I'm not exactly sure what you mean here; things look like they're behaving on my end. Tokens are moving based on the timer, and I can disable the timer or disable token pathing and it stops/starts as expected. Were you seeing this behavior before the update?
If the token is moving then the timer must be running, there's not really any other way it could be moving.
What order are you adding and enabling things on the map that causes the incorrect behavior?
-
January 7th, 2025, 21:36 #49
-
January 7th, 2025, 21:54 #50
Ah, got it. I haven't done anything with the built-in timer that the Timer extension adds except pull the URL from its settings. Patrol Duty will only use its own timer that's started from an image's toolbar.
I can look at syncing the two, but for now they'll run separately.
Thread Information
Users Browsing this Thread
There are currently 10 users browsing this thread. (0 members and 10 guests)
Bookmarks