Search found 22 matches
- Mon Mar 01, 2021 5:53 pm
- Forum: Macros
- Topic: Recurse limit hit while finding token
- Replies: 12
- Views: 153
Re: Recurse limit hit while finding token
I named the function findToken . I have no idea what happens when you name a UDF with an actual built-in function name, but it seems like that might not be the best idea. https://wiki.rptools.info/index.php/findToken You have to use "oldFunction". If it's a macro, and you don't use UDF, then it doe...
- Mon Mar 01, 2021 5:48 pm
- Forum: Macros
- Topic: No audio from playStream
- Replies: 5
- Views: 95
Re: No audio from playStream
Code: Select all
{stopSound()}
- Mon Mar 01, 2021 5:42 pm
- Forum: Macros
- Topic: Audio Streaming Capabilties
- Replies: 11
- Views: 1305
Re: Audio Streaming Capabilties
This feature is very cool. I setup a node js server on a Virtual Box debian virtual machine and poked a hole in my router for a virtual server, which I keep off/local unless I'm hosting. I am having trouble getting it to work with https, because java wants a signed certificate, which I generated, bu...
- Thu Jan 21, 2021 5:46 pm
- Forum: MapTool
- Topic: [1.7.0] canSeeToken wrong with snap to grid vbl
- Replies: 6
- Views: 120
Re: [1.7.0] canSeeToken wrong with snap to grid vbl
Thanks! This was just the "example" version. I will publish what I have soon, but it's very much "alpha" at this point, but because of how many of the built-ins work, I have overrides for most of them. I think in an effort to be system agnostic, Maptool really requires customization. However, that c...
- Thu Jan 21, 2021 4:19 pm
- Forum: MapTool
- Topic: [1.7.0] canSeeToken wrong with snap to grid vbl
- Replies: 6
- Views: 120
Re: [1.7.0] canSeeToken wrong with snap to grid vbl
Well, it can be done with a macro... [h: target = getSelected()] [h: x = getTokenX(1, target)] [h: y = getTokenY(1, target)] [h: mapInfo = getInfo("map")] [h: cellSize = json.path.read(mapInfo, "grid.['cell width']")] [h: points = "{}"] [h: points = json.set(points, "TOP_LEFT", json.set("{}", "x", x...
- Tue Jan 19, 2021 5:57 pm
- Forum: Bug Reports
- Topic: [Maptool 1.7.0] getMoveCount returns -1
- Replies: 1
- Views: 49
Re: [Maptool 1.7.0] getMoveCount returns -1
After extensive testing, I have found that AI Pathfinding works very well with MBL/VBL. However, the results are indeterminate for tokens with BLOCK set. For my purposes, block is not correct for all situations anyway, so simply leaving it off and handling blocking in onTokenMove works well. However...
- Sun Jan 17, 2021 9:55 am
- Forum: Bug Reports
- Topic: [Maptool 1.7.0] getMoveCount returns -1
- Replies: 1
- Views: 49
[Maptool 1.7.0] getMoveCount returns -1
If you have AI Path-finding enabled, and a token moves through another token with it's Terrain Modifier set to BLOCK, to a space at least one cell away from the other token, the move count on the token displays 0 but when you drop the token, the move count in onTokenMove returned from getMoveCount i...
- Wed Jan 13, 2021 6:17 pm
- Forum: MapTool
- Topic: [1.7.0] canSeeToken wrong with snap to grid vbl
- Replies: 6
- Views: 120
Re: [1.7.0] canSeeToken wrong with snap to grid vbl
Can't the canSeeToken logic be written to ignore the cell boundary? This is especially important for vbl between two adjacent squares with a wall in between. VBL beside a token shouldn't "block" that token.
- Wed Jan 13, 2021 3:15 pm
- Forum: MapTool
- Topic: [1.7.0] canSeeToken wrong with snap to grid vbl
- Replies: 6
- Views: 120
[1.7.0] canSeeToken wrong with snap to grid vbl
This isn't a "bug" per se, but more of a usability problem. If two tokens are visible, and you impersonate the first and select the second, then type into the chat [canSeeToken(getSelected())] The output to the chat is ["TOP_LEFT", "BOTTOM_LEFT", "TOP_RIGHT", "BOTTOM_RIGHT", "CENTER"] without_vbl.jp...
- Thu Dec 24, 2020 4:02 pm
- Forum: MapTool
- Topic: Hover Stat Block issue
- Replies: 3
- Views: 443
Re: Hover Stat Block issue
Just fair warning. I tried the "fix" as detailed here, https://www.rptools.net/2019/03/windows-10-dpi-scaling-strikes-again/ But one, it doesn't look any better and two, if I move a maptool window from one monitor to another, it crashes my computer with a blue screen. Something about an unknown kern...
- Fri Dec 18, 2020 9:14 pm
- Forum: Macros
- Topic: Problem with macro
- Replies: 2
- Views: 72
Re: Problem with macro
Works perfect, thanks! I'm still scratching my head about how it worked with the extra broadcast statement, but cheers for sorting me out! So 2 is OK, but 3 is too many?
- Fri Dec 18, 2020 7:24 pm
- Forum: RPTools Sightings
- Topic: Back in the Saddle
- Replies: 11
- Views: 4211
Re: Back in the Saddle
So, COVID and all, I've only used this setup a couple of times! But maybe later this summer! I built a table (don't laugh at my skills man), and cut out a 47x24 section and dropped it about 4" and added some felt. I made it 12" around the "mat" so you have enough room for a book/dice and can still r...
- Fri Dec 18, 2020 7:06 pm
- Forum: Macros
- Topic: Problem with macro
- Replies: 2
- Views: 72
Problem with macro
Hi all, Been playing with this for a couple of hours now, and it is working as intended. When I switched from an encounter map to a larger dungeon map, simply adding all the tokens wasn't good enough. I wanted to be able to selectively add tokens, and have it retain the original initiative for all c...
- Sun Jul 05, 2020 10:56 pm
- Forum: MapTool
- Topic: How do I fix a java.net.unknownhostexception.
- Replies: 5
- Views: 872
Re: How do I fix a java.net.unknownhostexception.
In case someone comes by this error, I had a player unable to connect with this error. She was on our chat, but on her laptop. Turns out her wifi was turned off on her desktop
. All good after she turned that back on.

- Thu Mar 26, 2020 5:23 pm
- Forum: MapTool
- Topic: Square Vision/ Grid Vision
- Replies: 2
- Views: 409
Re: Square Vision/ Grid Vision
just a follow up
If you set
you will get 5e darkvision and works correctly with light sources.
If you set
Code: Select all
Darkvision: grid r60#000000