RPTools.net

Discussion and Support

Skip to content

It is currently Thu Aug 17, 2017 6:49 am 






Reply to topic  [ 1616 posts ]  Go to page Previous  1 ... 104, 105, 106, 107, 108  Next

Previous topic | Next topic 

  Print view

Author Message
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9315
Location: Netherlands
 Post subject: Wolph42's 'Drop-in' Bag of MT Tricks v.40 [INVISIB. PURGE]
PostPosted: Sun Aug 06, 2017 9:58 am 
New Version:

its ironic that the last version before the feature update was 40k :D (any warhammer fan will get that joke). Can't wait now to hit 'the answer'

Version 41
New Feature: This new version contains a full set of macro to make use of invisibility and invisibility purge. It works with onTokenMove and checks for purgin when a token moves. See the manual for more info.

Other stuff
- Updated manual for bot_getTokenFacing() and bot_setTokenFacing(), the descriptions were erroneous (the functions remain unchanged).
- added Jamz purple feet (invisible tokens) .
- setDoor can now be used when multiple doors are selected. ALL doors will be set according the given settings.
- fixed handout text issue.
- Experiment with "follow me" tokens (maybe for future "follow me" random dungeon).
- Added size options to polymorph/disguise macro. And fixed a bug in there as well.
- updated clean token names (search and replace characters. Added semicolon and open character.
- set 'allow players to edit macro' back to false for 177 macros
- updated installation instructions
- fixed vbl check OCL for MT 1.4+
- tbl check in manual

_________________
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
Great Wyrm
 
Joined: Mon May 10, 2010 11:59 am
Posts: 1621
Location: Chicagoland
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.41 [INVIS. PURGE]
PostPosted: Sun Aug 06, 2017 11:43 am 
Got the purple feet too! sweet :)

Hey, did I ever get you the "large" feet (or did you get them to me? dang, forget who finished those up lol). Anyhoo, do yo show the large/crackle feet for Huge+ tokens?

_________________
-Jamz
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
More information here: MapTool Nerps! Fork | TokenTool Nerps! Fork
Custom TokenTool (version 1.0b33): TokenTool.exe


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9315
Location: Netherlands
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.41 [INVIS. PURGE]
PostPosted: Sun Aug 06, 2017 1:33 pm 
I did implement some of you're stuff, not sure whether I did all of it. Been a while. Anyhoo, I need to exand the current functionality anyway so ill have a look.

The expantion will be:
- current purge inv. will be renamed to see inv.
- purge inv to be added
- add destroy inv. as we're working on it anyway.

Just to be clear and sure:

'Purge invisibility' 'negates' invisibility when in range, but when the 'inv. token' moves out of range the inv. restores?

_________________
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: Tue Nov 10, 2009 6:11 pm
Posts: 7782
Location: Bay Area
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.41 [INVIS. PURGE]
PostPosted: Sun Aug 06, 2017 5:19 pm 
wolph42 wrote:
Just to be clear and sure:

'Purge invisibility' 'negates' invisibility when in range, but when the 'inv. token' moves out of range the inv. restores?


Correct. It negates the invisibility and doesn't remove the spell.

_________________
Downloads:


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9315
Location: Netherlands
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.41 [INVIS. PURGE]
PostPosted: Mon Aug 07, 2017 3:30 am 
aliasmask wrote:
wolph42 wrote:
Just to be clear and sure:

'Purge invisibility' 'negates' invisibility when in range, but when the 'inv. token' moves out of range the inv. restores?


Correct. It negates the invisibility and doesn't remove the spell.

Thnx .

_________________
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: 9315
Location: Netherlands
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.41 [INVIS. PURGE]
PostPosted: Mon Aug 07, 2017 10:29 am 
ok expansion is ready. The following invisibility functions are now available:

Code:
Start Invisibility      bot_startInvisibility()
End Invisibility         bot_endInvisibility()
See Invisibility         bot_seeInvisibility()
Saw Invisibility         bot_sawInvisibility()
Purge Invisibility      bot_purgeInvisibility()
Purged Invisibilit      bot_purgedInvisibility()
Anul Invisibility       bot_anulInvisibility()
Annuled Invisibili      bot_annuledInvisibilityty()
Check Invisibility      bot_checkInvisibility()

_________________
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
Great Wyrm
 
Joined: Mon May 10, 2010 11:59 am
Posts: 1621
Location: Chicagoland
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.41 [INVIS. PURGE]
PostPosted: Mon Aug 07, 2017 1:59 pm 
Oh, ok then lol That should cover all the bases now :) Awesome work!

_________________
-Jamz
____________________
Custom MapTool 1.4.x.x Fork: maptool.nerps.net
More information here: MapTool Nerps! Fork | TokenTool Nerps! Fork
Custom TokenTool (version 1.0b33): TokenTool.exe


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9315
Location: Netherlands
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.41 [INVIS. PURGE]
PostPosted: Tue Aug 08, 2017 2:52 am 
JamzTheMan wrote:
Oh, ok then lol That should cover all the bases now :) Awesome work!


thanks. Let me know when you find something.

note that I udpated a couple of things in version 41b (the campaign macros were wrong and ive added the macros to the BoT virtual menu as well).

_________________
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
Cave Troll
 
Joined: Thu Nov 06, 2008 10:05 pm
Posts: 28
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.41 [INVIS. PURGE]
PostPosted: Thu Aug 10, 2017 4:38 am 
When i try to use the invisibility macros, this happens:

Unknown macro: checkInvisibility@lib:OnTokenMove

Also when i click the check invisibility on the OnTokenMove, i get:

lib:OnTokenMove:
« 'broadcast("this function is under construction. Turn off: Invisibility in the BOT settings (toggles tab)")' = 'broadcast("this function is under construction. Turn off: Invisibility in the BOT settings (toggles tab)")' = broadcast("this function is under construction. Turn off: Invisibility in the BOT settings (toggles tab)") »

Why is this?
Using v41

EDIT: actually on a new campaign, importing onTokenMove and EventMacros, and saving and reloading without doing anything else, i still get the same error (unknown macro) just by moving the token around.

Also, i can make tokens invisible, but the various purge/see/annul don't work: the "Caster" token is not added to the ownerlist of the invisible tokens, and they still cannot see it.


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9315
Location: Netherlands
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.41 [INVIS. PURGE]
PostPosted: Thu Aug 10, 2017 7:36 am 
I've corrected some mistakes, but they are different errors than that you present.

To be sure:
1. you have created all the necessary states?
2. you have run the settings and entered the (correct!) state names you use?

and thus 3: download the update first. Just the lib:ontokenmove should be version erm 41b or c

edit: ah after rereading you message: the 'under construction' message meant exactly that: I was working on it. If you download it while I work on it you get that message. Note that if you download the campaign file its always 'life', meaning that I don't have a dev and production version but just that one.

(actually currently working on a new feature which works in 1.4.0.5 and in this case I *did* make a copy because I want to leave the b91 compatibility version available for some time. But that is something completely apart from the one available for download).

_________________
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
Cave Troll
 
Joined: Thu Nov 06, 2008 10:05 pm
Posts: 28
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.41 [INVIS. PURGE]
PostPosted: Thu Aug 10, 2017 7:41 am 
wolph42 wrote:
I've corrected some mistakes, but they are different errors than that you present.

To be sure:
1. you have created all the necessary states?
2. you have run the settings and entered the (correct!) state names you use?

and thus 3: download the update first. Just the lib:ontokenmove should be version erm 41b or c

edit: ah after rereading you message: the 'under construction' message meant exactly that: I was working on it. If you download it while I work on it you get that message. Note that if you download the campaign file its always 'life', meaning that I don't have a dev and production version but just that one.

(actually currently working on a new feature which works in 1.4.0.5 and in this case I *did* make a copy because I want to leave the b91 compatibility version available for some time. But that is something completely apart from the one available for download).


I created all the states (i get errors if i try to rename them in your configuration, but anyway) and ran settings.
I'm running v 1.4.1.7
Version is 41c. I wasn't using the live version

Here are the steps im doing. I just tried 1.4.0.5 and i get the same things.
-Redownloaded onmovetoken, 41b now.
-New campaign. I import onmovetoken and eventmacros.
-If i move the tokens around, i get
Undefined function: bot_checkInvisibility
-I add the invisibility states, then save and reload the campaign
-Settings popup, i leave everything on default. I get this error: Error running onCampaignLoad on lib:OnTokenMove : Impossibile trovare la mappa BASE nella funzione setCurrentMap.
- Add a npc and a pc token. I get: Macro sconosciuta checkInvisibility@lib:OnTokenMove.
- Dragging the black BOT macro on to campaign, i click "Set invisibility" on the npc token. Token has state=invisibility. The PC token cannot see it.
- I connect a client to my server; select the GM
- I "purge invisibility" on the PC token, input range=10, and it gets state=invisibility_purge; then move it next to the NPC. Still the PC cannot see it.
- I "purged invisibility" on the PC token. I get error:  Condizione invalida in IF (isOwnedByAll()) roll option.       Statement options (if any): h,if(isOwnedByAll())       Statement Body : macro.return = getAllPlayerNames() ; macro.return = json.union(getOwners("json"), getLibProperty("gmNames", "lib:EventMacros"))
- Whenever i click End/Saw/Purged/Anulled invisibility i get that error.

Still the PC token cannot see the invisibile NPC


Last edited by Madeiner on Thu Aug 10, 2017 7:56 am, edited 1 time in total.

Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9315
Location: Netherlands
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.41 [INVIS. PURGE]
PostPosted: Thu Aug 10, 2017 7:55 am 
can you share your campaign file (e.g. dropbox link) here so I can have a look.

oh and just to be on the save side, download the last ontokenmove file.

_________________
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
Cave Troll
 
Joined: Thu Nov 06, 2008 10:05 pm
Posts: 28
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.41 [INVIS. PURGE]
PostPosted: Thu Aug 10, 2017 7:58 am 
wolph42 wrote:
can you share your campaign file (e.g. dropbox link) here so I can have a look.

oh and just to be on the save side, download the last ontokenmove file.



https://www.dropbox.com/s/ekence9qcyh0y ... cmpgn?dl=0

Here it is. Thanks.
Saved with 1.4.0.5
Note i added step to step instruction to reproduce this in the previous post


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9315
Location: Netherlands
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.41 [INVIS. PURGE]
PostPosted: Thu Aug 10, 2017 9:12 am 
sigh...apparently I fixed it at home...and then did not save it!
Fixed it again, version 41d, you can download the tok.

_________________
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
Cave Troll
 
Joined: Thu Nov 06, 2008 10:05 pm
Posts: 28
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.41 [INVIS. PURGE]
PostPosted: Thu Aug 10, 2017 9:41 am 
The link keeps downloading 41b for me, or at least it says so on campaignload.

However, it works now! (there is still the error, but it works)

Also, a small (hopefully) request.
I'm trying to setup a campaign, and i have this problem:
viewtopic.php?f=86&t=27289

I *believe* i can fix this, by having the object be invisible and using a "state" to display a network connection (always visible object in FOW is invisible, but state is still shown)
However, i just noticed that i cannot ANNUL invisibility on an object.
Any chance the invisibility code can be made to run on objects too?
Or, is there a way to automatically turn a token that just lost its visibility into an object?

Basically, what i want is a way to have a token always shown on the map once it's been discovered, even when the characters leave. And i want said token to be completely visible when a small part of it is visible. And the token is very long but thin...


EDIT: cancel that. I just discovered that you need to get closer to a certain corner of the token for the dispel invisibility to work, so i can't use it with very long tokens


Last edited by Madeiner on Thu Aug 10, 2017 10:18 am, edited 1 time in total.

Top
 Profile  
 
Display posts from previous:  Sort by  
Reply to topic  [ 1616 posts ]  Go to page Previous  1 ... 104, 105, 106, 107, 108  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