RPTools.net

Discussion and Support

Skip to content

It is currently Mon Feb 19, 2018 3:25 am 






Reply to topic  [ 1696 posts ]  Go to page Previous  1 ... 110, 111, 112, 113, 114  Next

Previous topic | Next topic 

  Print view

Author Message
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9478
Location: Netherlands
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Wed Feb 14, 2018 7:41 am 
ok I've came up with a doable and (hopefully) useful solution based on your earlier described issue. i've added a 'help' button under the menu-->setup-->utils section of the BoT menu (book with a ? on top of it). This shows a short reference overview of the descriptor options from which you can also copy paste to speed things up.

What is required is that you re-download the zip and import the "Table.Bag of Tricks Table.mttable" table as it contains an additional pic (the book with the ?) and the BoT.rptok file (lib:ontokenmove) with the new code and menu. Version 40d (IRC).

edit: @FB: missed a part of your last post creating a new one currently.

_________________
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent and
DPI.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9478
Location: Netherlands
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Wed Feb 14, 2018 8:12 am 
I've done some extra bug checks in the same version, so if you downloaded anything, do so again. i've e.g. also updated the NILDIK example token in the zip (so it shows title and info link use).

Quote:
That's not what the titlelink tag is supposed to produce.

then you misinterpreted his intentions. The titlelink creates the title of the link on which you can click to open the screen with the additional info.

I can have a look to see if it can ALSO change the title of the new form (no promises). I'll post once more when I've done that

_________________
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent and
DPI.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9478
Location: Netherlands
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Wed Feb 14, 2018 8:34 am 
ok the title now sticks to the new frame, allowing to have multiple frames open. I didn't change the version number so download the bot.rptok (only change for this one) to update.

@FB: I've read your suggestion for input() or form{} a couple of times... the input screen is doable save the 'sort' section that sounds like a hellish pain to make in MT. I also think that the customizability will be highly compromised with it. For example I can imagine that a gm has 5 descriptions ready to share and depending on the player actions will share these and wants to have a couple of links and/or images to share with it as well. Doing this in an input field, it could have e.g. 10 text/image/infolinks sections which you can fill up and then it creates the gm text. Then as you point out, you should create something to sort these fields (which I'm not going to make due to the staggering amount of work that would require to create something that would be crappy to use in the end...) which the user can only use after he has submitted all the fields...then he wants to update a couple of things...it would be really messy.

In other words: not worth the effort to create. The new nildik help macro pop-up though should make things simpler as you have everything at hand.

_________________
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent and
DPI.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS


Top
 Profile  
 
 Offline
Dragon
 
Joined: Mon Aug 03, 2015 5:30 pm
Posts: 251
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Wed Feb 14, 2018 10:29 am 
wolph42 wrote:
taustinoc wrote:
I've had good luck with Google Drive so far. (Except when saving from MapTool. If I try to save while it's doing a sync, it locks the file and I have to quit Drive to get it unlocked. Other than that, though, it seems to work pretty well.)


What I'm aiming at is stable public links that don't go obsolete all of a sudden to files that are 'locally' stored (or in other words: automatically synced with the cloud).
Is that something that google drive supports/


Yes. You have to install the desktop app (I'm assuming Windows here - I don't actually know if there's a Mac version), which gives you a folder that will sync automatically (I believe the current version also supports syncing other folders, too, as more of a backup system). You right click on the file you want to share, and there's a context menu link to share through Google Drive. You can share with specific people (by email address) or "Get shareable link".

I would test it first to make sure it's doing what you need, but once it's set up, it should be stable.

(I believe the free account include 15 GB of storage. I could be wrong, but it's more than most free cloud services. 100 GB is $2/month.)


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9478
Location: Netherlands
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Wed Feb 14, 2018 10:32 am 
thnx, ill check it out!

_________________
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent and
DPI.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS


Top
 Profile  
 
 Offline
Dragon
 
Joined: Mon Aug 03, 2015 5:30 pm
Posts: 251
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Wed Feb 14, 2018 11:25 am 
I will give you one head's up: There's a weirdness between Drive and MapTool and Windows that causes me issues occasionally when I save large campaign files. If I try to save again while Drive is syncing, Drive will have the .cmpgn file locked. When that happens, I have to exit Drive completely to unlock it.

So if you're dealing with large .cmpgn files, it's safest to put Drive on Pause (there will be a white triangle icon in the system tray where you can do this) while you're working on stuff, then unpause it when you're done. (I *think* you have to unpause it manually when you're done, or it will remain on pause even on a reboot. Alternately, you can exit out of the desktop Drive entire and it will restart when you reboot, or you can restart it manually. It should be somewhere on your start menu.)

I really only get this with really big (for me, anyway) campaign files, like over 50 meg.

BTW, you can also share entire folders as well as individual files. Just right-click on the folder instead of a file.


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9478
Location: Netherlands
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Wed Feb 14, 2018 3:30 pm 
thanks for the heads up. ill go and check. if i get it working ill probably do both. (hopefully that won't cause an issue).

_________________
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent and
DPI.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS


Top
 Profile  
 
 Offline
Dragon
 
Joined: Mon Aug 03, 2015 5:30 pm
Posts: 251
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Wed Feb 14, 2018 3:48 pm 
I'd be very cautious about trying to sync the same folder to two different cloud services (if that's what you're thinking). I know that Drive does some hard core file locking. I suspect most of the other cloud backups do as well (they'd pretty much have to, to work right). If they both try to sync at the same time (and Drive syncs every couple of minutes), you could end up with a mess, or something could crash. (Sometimes, when I'm doing silly things, like forgetting to turn syncing back on, then updating the same file on a different computer) I end up with multiple copies of the same thing, and it's hard to figure out which is more recent.


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Sun Feb 25, 2007 11:53 am
Posts: 3837
Location: MD
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Thu Feb 15, 2018 2:26 am 
wolph42 wrote:
ok the title now sticks to the new frame, allowing to have multiple frames open. I didn't change the version number so download the bot.rptok (only change for this one) to update.

Excellent! Thanks. :)

It would be nice if the same method was applied to send titles of the images and text links to the chat window, too. That way it would be easier for players to go back and look for a specific room's description or image instead of having to click though a bunch of generic "Click to view image/description" links. ;)

Oh, and out of curiosity, do you know what fonts MT has available to use (like in the shareText macro)? Is it any that are on a person's computer or some java supported subset?

Quote:
@FB: I've read your suggestion for input() or form{} a couple of times... the input screen is doable save the 'sort' section that sounds like a hellish pain to make in MT. I also think that the customizability will be highly compromised with it. For example I can imagine that a gm has 5 descriptions ready to share and depending on the player actions will share these and wants to have a couple of links and/or images to share with it as well. Doing this in an input field, it could have e.g. 10 text/image/infolinks sections which you can fill up and then it creates the gm text. Then as you point out, you should create something to sort these fields (which I'm not going to make due to the staggering amount of work that would require to create something that would be crappy to use in the end...) which the user can only use after he has submitted all the fields...then he wants to update a couple of things...it would be really messy.

In other words: not worth the effort to create. The new nildik help macro pop-up though should make things simpler as you have everything at hand.

I think I'll make a quick room input since most rooms from modules follow a pretty predictable pattern: Public Description followed by GM Notes. I think I know how I'd do sorting that wouldn't make it too bad, but it's really not worth filling in sort fields when I'd use them so rarely. Any extra image, text share, or gm info display could just go into a "Room Appendix" at the bottom where the order would be less important.

_________________
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Sun Feb 25, 2007 11:53 am
Posts: 3837
Location: MD
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Thu Feb 15, 2018 2:57 am 
Full Bleed wrote:
It would be nice if the same method was applied to send titles of the images and text links to the chat window, too. That way it would be easier for players to go back and look for a specific room's description or image instead of having to click though a bunch of generic "Click to view image/description" links. ;)

Actually, the more I toy with this, the more I think displaying images, text, and info box titles might need to be an option. I could see some situations where a GM might want to obscure the actual title or limit the number of windows on their screen (i.e always have shared room descriptions go into a single box.) So I think that it should probably look for a flag on the titles. Maybe if it has a "-h" at the end, it could hide the title name and use a generic name. I do this when naming maps that I want to hide from my player's map selection options.

_________________
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9478
Location: Netherlands
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Thu Feb 15, 2018 8:08 am 
Full Bleed wrote:
It would be nice if the same method was applied to send titles of the images and text links to the chat window, too. That way it would be easier for players to go back and look for a specific room's description or image instead of having to click though a bunch of generic "Click to view image/description" links. ;)

we're still talking about Nildiks room descriptor right? (just to be sure)

_________________
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent and
DPI.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Sun Feb 25, 2007 11:53 am
Posts: 3837
Location: MD
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Thu Feb 15, 2018 8:33 am 
wolph42 wrote:
Full Bleed wrote:
It would be nice if the same method was applied to send titles of the images and text links to the chat window, too. That way it would be easier for players to go back and look for a specific room's description or image instead of having to click though a bunch of generic "Click to view image/description" links. ;)

we're still talking about Nildiks room descriptor right? (just to be sure)

Yes. When you "share text" it always posts "Click to view description" in chat. When you "share image" it sends "Click to view image" to chat. It would be much better if you could provide "target tags" for the descriptions and images to be sent to the chat.

"Click to view description" could be "Click to view Main Entrance."

"Click to view image" could be "Click to view Engraving on Wall."

Otherwise you end up with all these links in chat that look the same and make it harder for players to go back and find things.

_________________
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9478
Location: Netherlands
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Thu Feb 15, 2018 9:27 am 
clear!, I'll have a look.

edit: (after having a look) and how do you envision the appearance of 'main entrance' in 'share text: main entrance' ? As in where does the title 'main entrance' come from?

Should ALL tags be preceded with a <titleLink> tag? Or should each have its own title tag e.g. <titleLink>, <titleText> and <titleImage> or a completely different method?

Keep in mind that the initial set titleLink defined the variable 'title' which is used from thereon. It only changes when the tag is used again.
E.g. having three infoLinks tags preceeded by only one titleLink tag, will give all three the infoLinks the same title!!

edit: ah wait, I think I know a way to reset the titleLink after each tag. This means that if you wnat to set the title for e.g. <image> you can again use <titleLink> and given that this is all early stage I'm gonna change 'titlelink' into 'title' its shorter and more generic.

I'll post when I'm done.

_________________
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent and
DPI.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9478
Location: Netherlands
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Thu Feb 15, 2018 11:33 am 
ok i've updated it with the title options (note that <titlelink> no longer works, it now is <title> and it works in front of ALL the special links.

you only need to replace rptok. version number hasn't changed. give me some feedback and then i'll finalize it.

_________________
GETTING STARTED WITH MAPTOOLS - TUTORIALS, DOCS, VIDEOS, TOOLS, ETC

My stuff
Excel Tools: Table and Light editors
MT Tools: Bag of Tricks: Tools for Maptool, Dungeon Builder I, Dungeon Builder II,onMouseOverEvent and
DPI.
Frameworks: Dark Heresy, Rogue Trader, Deathwatch, Black Crusade, Only War, SET Card Game, RoboRally
Wiki: Debugging Tutorial, Speed Up Your Macros, Working With Two CODE Levels, Shortcut Keys, Avoiding Stack Overflow, READ THIS


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Sun Feb 25, 2007 11:53 am
Posts: 3837
Location: MD
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Thu Feb 15, 2018 4:15 pm 
wolph42 wrote:
ok i've updated it with the title options (note that <titlelink> no longer works, it now is <title> and it works in front of ALL the special links.

you only need to replace rptok. version number hasn't changed. give me some feedback and then i'll finalize it.

Nice. I like it.

I made a couple changes to the showDescription macro so that it shows the title tag value in the GM links when you're using a title tag:

Code:
[textBox   = replace(textBox,"<share>", "[h:share='")]
[textBox   = replace(textBox,"</share>", "']<table border=1 width=100% bgcolor=silver><tr><td border=0>[r: share]<br>[h: linkText = if(title == '', 'Share text', 'Share text: '+title)][r: macrolink(linkText, 'sendMacroChat@lib:OnTokenMove' , 'all',json.append('',title, share))]</table>[h: title='']")]
   
[textBox   = replace(textBox,"<image>", "[h: image=")]
[textBox   = replace(textBox,"</image>", "]<img src=[r:image]-100></img><br>[h: linkText = if(title == '', 'Share image', 'Share image: '+title)][r: macrolink(linkText, 'sendMacroChat@lib:OnTokenMove' , 'all' , json.append('',title,image,"+height+"))][h: title='']")]


Thanks for the updates!

_________________
Maptool is the Millennium Falcon of VTT's -- "She may not look like much, but she's got it where it counts."


Last edited by Full Bleed on Fri Feb 16, 2018 5:47 am, edited 1 time in total.

Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 1696 posts ]  Go to page Previous  1 ... 110, 111, 112, 113, 114  Next

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 243 on Sun Nov 04, 2012 6:14 am

Users browsing this forum: No registered users and 2 guests





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman