that worked, thx.
not as elegant as the old syntax but it works.
still no idea why
[h:setConsumeables("BlasterAmmo", getConsumeables("BlasterAmmo")-B-1)]
[getConsumeables("BlasterAmmo")]
doesnt work on the new property
Search found 11 matches
- Fri Jan 10, 2020 12:52 am
- Forum: Macros
- Topic: getPropertyName & SetPropertyName
- Replies: 6
- Views: 681
- Thu Jan 09, 2020 9:13 pm
- Forum: Macros
- Topic: getPropertyName & SetPropertyName
- Replies: 6
- Views: 681
Re: getPropertyName & SetPropertyName
tried aliasmasks suggestion: [r:"Spent"] [B+1] [r:"Shots, Shots left left="] [A=json.get(Consumeables, "BlasterAmmo")] [C=A-B-1] [json.set(Consumeables, "BlasterAmmo" , C)] [json.get(Consumeables, "BlasterAmmo")] But json.set part simply doesnt work,...
- Thu Jan 09, 2020 8:47 pm
- Forum: Macros
- Topic: getPropertyName & SetPropertyName
- Replies: 6
- Views: 681
Re: getPropertyName & SetPropertyName
ok i have pinpointed the problem if not the solution
COnsumeables is set to text/plain,l but i cant figure out how to set it to json
nevermind, thats just a formatting feature
COnsumeables is set to text/plain,l but i cant figure out how to set it to json
nevermind, thats just a formatting feature
- Thu Jan 09, 2020 8:28 pm
- Forum: Macros
- Topic: getPropertyName & SetPropertyName
- Replies: 6
- Views: 681
Re: getPropertyName & SetPropertyName
The change is
[h:setConsumeables("BlasterAmmo", getConsumeables("BlasterAmmo")-B-1)]
[getConsumeables("BlasterAmmo")]
even in macro edit window when i replace GeneralSKill the set command is collored differently
https://prnt.sc/qll45i
vs
https://prnt.sc/qll4ab
[h:setConsumeables("BlasterAmmo", getConsumeables("BlasterAmmo")-B-1)]
[getConsumeables("BlasterAmmo")]
even in macro edit window when i replace GeneralSKill the set command is collored differently
https://prnt.sc/qll45i
vs
https://prnt.sc/qll4ab
- Thu Jan 09, 2020 7:40 pm
- Forum: Macros
- Topic: getPropertyName & SetPropertyName
- Replies: 6
- Views: 681
getPropertyName & SetPropertyName
Hi, any help would be appreciated. SO campaign im working on has a property 'GeneralSkill' which contains {"Combat":2,"Outdoors":1,"Thief":1,"Adept":2,"Acrobatic":1,"0":0,"Social":0,"BlasterAmmo":29} and i have the follo...
- Mon May 09, 2016 9:24 am
- Forum: MapTool
- Topic: Please Help, Maptools not using hamachi despite bindings
- Replies: 4
- Views: 1112
Re: Please Help, Maptools not using hamachi despite bindings
as for first part of the problem i finally got a callback from someone competent at my provider (after 6+ calls in some 4 months) who was able/willing to look into my account and see that Carrier-grade NAT (CGN){which blocks port forwarding} was turned on and turned it off. im able to host now the s...
- Mon May 09, 2016 9:05 am
- Forum: MapTool
- Topic: Please Help, Maptools not using hamachi despite bindings
- Replies: 4
- Views: 1112
Re: Please Help, Maptools not using hamachi despite bindings
My provider is B.net (croatia) im having some issues with them bc last few months my 'dynamic' ip has ben the same, ie behaves as static IP, and after several calls to their help desk i stil didnt get any explanation why. Service is cable my router is Thomson TWG850-4 connection information: local ...
- Mon May 09, 2016 7:34 am
- Forum: MapTool
- Topic: Please Help, Maptools not using hamachi despite bindings
- Replies: 4
- Views: 1112
Re: Please Help, Maptools not using hamachi despite bindings
Infact after further testing and several restarts it seems Maptools completly ignores 'adapters and bindings' , no matter what order i put the result stays the same 1: Ethernet 2: Wierless 3: Mobile internet (USB 4g device) 4: Hamachi Attached screnshoot of 2 different settings, and Network Interfac...
- Mon May 09, 2016 5:27 am
- Forum: MapTool
- Topic: Please Help, Maptools not using hamachi despite bindings
- Replies: 4
- Views: 1112
Please Help, Maptools not using hamachi despite bindings
My group and i are trying to switch to maptools. My 2 friends can host but i can't My techincal info (complete maptool debug file attached) Windows 7 pro SP1 64bit MapTool Version: 1.4.0.1 (tried -1.3.b91 too) (started from jar file) Java Version: 1.8.0_91 i have 2 problems 1) no one can connect to ...
- Mon May 02, 2016 8:26 pm
- Forum: Macros
- Topic: [B91-1.4.1.8, Nerps] Macro Writing Starter Kit
- Replies: 21
- Views: 16665
Re: [B91] Notepad++ and RPEdit Starter Kit for Windows
Hi. Not sure if this is right place to ask. is it possible to open .mtmacset files (exported macro set) in notepad++? Yes, but you first must add .zip to the end and then move the context.xml out of the zip folder to edit. But if you want to edit the macro set it's best to just do it with in MapToo...
- Mon May 02, 2016 6:15 pm
- Forum: Macros
- Topic: [B91-1.4.1.8, Nerps] Macro Writing Starter Kit
- Replies: 21
- Views: 16665
Re: [B91] Notepad++ and RPEdit Starter Kit for Windows
Hi. Not sure if this is right place to ask. is it possible to open .mtmacset files (exported macro set) in notepad++?