RPTools.net

Discussion and Support

Skip to content

It is currently Mon Feb 19, 2018 7:20 am 






Reply to topic  [ 1696 posts ]  Go to page Previous  1 ... 108, 109, 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: 9479
Location: Netherlands
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Sat Jan 27, 2018 8:12 pm 
looks like an error. ill need to cgeck 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  
 
 Offline
Cave Troll
 
Joined: Fri Aug 07, 2015 12:16 pm
Posts: 61
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Sun Jan 28, 2018 5:55 am 
Thank you!
This whole token "project" is a really great thing btw. That must have cost you an incredible amount of time. :)

I am running into another error when i try to use the teleport pads:
I named two tokens 'PadStart 1' and 'PadEnd 1'. Then i ran the 'initialize pads' macro which seemed to have worked fine. It tells me that it has found two tokens named 'PadStart 1' and 'PadEnd 1'. When i move another token on one of the pad-tokens nothing happens except for an error message like this:
   Invalid condition in IF(getState(invisState, meTok)) roll option.       Statement options (if any): h,if(getState(invisState, meTok)), CODE       Statement Body (first 200 characters): { [seeingToks = getTokenNames("json", json.set("{}","setStates", json.append("", seeInvisState)))] [purgingToks = getTokenNames(

It seems like I did some stupid mistake in setting up the tokens as I am sure you tested out the basic functionality (as is seen in your youtube video)... Could it be the maptool version i am using? (maptool - 1.4.1.7)


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9479
Location: Netherlands
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Sun Jan 28, 2018 6:33 am 
Nah you didnt i forgot a check in the code for when the invisibility state is not present...

_________________
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: Fri Aug 07, 2015 12:16 pm
Posts: 61
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Sun Jan 28, 2018 6:46 am 
so if my tokens have a state called 'invisState' it should work?


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9479
Location: Netherlands
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Sun Jan 28, 2018 8:53 am 
no alas not. invisState is a variable containing the actual name of the state. You can check in te BoT settings what the actual names are. In the mean time I'm debugging these issues

_________________
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: 9479
Location: Netherlands
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Sun Jan 28, 2018 9:08 am 
ok fixed the issues. You can redownload the onTokenmove rptok file of the summontoken issue.

As for the invisibility...its *kind* of a newbie issue...In lib:eventMacro on default 'invisibility' is turned on, you should turn this off if you're not using it (and no states are defined).
I've updated the lib:eventmacros so its turned off for future sue, but its far easier for you to simple turn it off in the settings.

Thank you for the reports

_________________
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: Fri Aug 07, 2015 12:16 pm
Posts: 61
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Sun Jan 28, 2018 10:31 am 
redownload from this thread or from somewhere else?
i redownloaded, deleted the old token, dragged the new token in my campaign, reloaded the campaign and am getting the same error message (Undefined function: bot_summonToken) when i try to use the summon token macro.
i also unchecked 'invisibility' in the settings, now i do not get any error but also nothing else happens, the token is not teleported...
what am i doing wrong? :?


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9479
Location: Netherlands
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Sun Jan 28, 2018 1:34 pm 
apologies, i forgot that my dropbox is cleaning up, will probably take a couple of hours. Its in the share folder it just has to sync. Try again in a couple of hours.

_________________
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: Fri Aug 07, 2015 12:16 pm
Posts: 61
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Mon Jan 29, 2018 1:41 am 
Thank you! Now the summon token macro is working. Very Useful!!!
Teleporting from one pad to another does not work though. No error message after i unchecked 'invisibility' in the settings but also no teleporting... Is that supposed to work?


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9479
Location: Netherlands
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Mon Jan 29, 2018 2:47 am 
thats weird I tested it on my side and it worked (after the update, but thats irrelevant). can you share the campaign file, then ill have a look (you can use e.g dropbox to share).

You *did* initialize the map right? And 'special pads' is checked in the toggles tab of the settings?

_________________
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: Fri Aug 07, 2015 12:16 pm
Posts: 61
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Tue Jan 30, 2018 2:43 am 
Here is the campaign file.
i think i initialized correctly, the window tells me that it found the two pads. i also checked 'special pads'.
I tried moving the pad-tokens to the object layer but that did not make any difference.


WB_System_v4.0.cmpgn [1.81 MiB]
Downloaded 4 times
Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9479
Location: Netherlands
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Tue Jan 30, 2018 4:47 am 
ok checked it. You're a special case, you're using a gridless map and the BoT is optimized for snap-to-square-grid. So basically you're using the opposite of what its build for. Nonetheless most things should work (but very likely a couple of things won't work).

All the pad functions work with moveOn, MoveOff, MoveOver, etc events (5 in total). When you have a gridded map its really easy to determine whether a token was on the 'same' coordinate of a pad during its travel (or start or end). With a gridless map not so much. I don't know how MT handles moveOverToken in this particular case (e.g. overlapping pixels? Only Up-Left corner?) which means you have to play with it a bit.

tl;dnr: if you make the pads (significantly) bigger it will work.

_________________
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: Fri Aug 07, 2015 12:16 pm
Posts: 61
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Tue Jan 30, 2018 5:21 am 
Thank you for the help.
I tried it with a map with grid and tokens that snap to the grid. Now they are teleported. :D


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Fri Mar 20, 2009 4:40 am
Posts: 9479
Location: Netherlands
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Tue Jan 30, 2018 5:37 am 
thats the other way. As I said: it works on gridless as well (tested it) but your teleport-pads need to be big(ger) enough for them to 'detect' a token moving over them.

But on the whole, if you're planning to use more BoT functions you're better of on a grid.

_________________
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: Fri Aug 07, 2015 12:16 pm
Posts: 61
 Post subject: Re: Wolph42's 'Drop-in' Bag of MT Tricks v.43 [EMBARKATION]
PostPosted: Tue Jan 30, 2018 6:13 am 
i played around with the pad-token-size on a gridless map. but no matter how big i make the grid-tokens the teleport does not happen.


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