Accents in Macros
Moderators: dorpond, trevor, Azhrei, giliath, jay, Mr.Ice, MapTool BugReport Manager
Forum rules
Posts that do not conform to the READ ME FIRST sticky thread are subject to deletion.
Posts that do not conform to the READ ME FIRST sticky thread are subject to deletion.
Accents in Macros
Hi all,
I use Maptool 1.7. It is set Français (french). Unfortunately, everytime I use a accent for a property, variable or whatever can be used in a macro, I get an error.
I asked for french speaking users, they use a workaround in older versions. They cannot be used with Maptool 1.7 : the interface is different, and I cannot use the solution that works with some older versions.
Can anyone help me ?
Best regards.
Tymophil
I use Maptool 1.7. It is set Français (french). Unfortunately, everytime I use a accent for a property, variable or whatever can be used in a macro, I get an error.
I asked for french speaking users, they use a workaround in older versions. They cannot be used with Maptool 1.7 : the interface is different, and I cannot use the solution that works with some older versions.
Can anyone help me ?
Best regards.
Tymophil
Re: Accents in Macros
What's the error?
What was the workaround?
What was the workaround?
MT Framework: Call of Cthulhu 7th fork, D&D 5e Spell Library
MT Scenario: Uncle Timothy's Will.
MT Utilities: Handouts, VBL Move Block, Date.
MT Scenario: Uncle Timothy's Will.
MT Utilities: Handouts, VBL Move Block, Date.
Re: Accents in Macros
First example, I have a token property called Dextérité, another one called DEX with
The latter one simply doesn't work... It displays , instead of
Code: Select all
Dextérité:16
Code: Select all
DEX:{ floor((Dextérité-10)/2)}
Code: Select all
{ floor((Dextérité-10)/2)}
Code: Select all
3
Re: Accents in Macros
And what was the workaround that used to work?
And in what version of MapTool did it work?
And in what version of MapTool did it work?
Re: Accents in Macros
In which MapTool version was this working? I tried in 1.5.2 and it didn't work.
MT Framework: Call of Cthulhu 7th fork, D&D 5e Spell Library
MT Scenario: Uncle Timothy's Will.
MT Utilities: Handouts, VBL Move Block, Date.
MT Scenario: Uncle Timothy's Will.
MT Utilities: Handouts, VBL Move Block, Date.
Re: Accents in Macros
I read that in a very old version 1.3.b89, Maptool could use accents... If one would launch it with this bat file :
You could use accents... I found this old file and tried... and found that it didn't work.
I am gonna try something else...
Code: Select all
set VERS=1.3.b89
javaw -Xmx1024m -Xms512m -Xss6m -Duser.language=FR -Duser.region=FR -Dfile.encoding="UTF-8" -jar maptool-%VERS%.jar run
I am gonna try something else...
Re: Accents in Macros
That wouldn't change how the parser works and that is where the limitation is. It can't handle accented characters in variable names or anywhere else in macros.
Re: Accents in Macros
Is there any chance that this will change in future iterations of Maptool ?
Re: Accents in Macros
There's a fix in the works now and will likely be in the next release.
https://github.com/RPTools/parser/issues/30
https://github.com/RPTools/maptool/pull/1942
https://github.com/RPTools/parser/issues/30
https://github.com/RPTools/maptool/pull/1942
Downloads:
- Notepad++ MapTool addon
- RPEdit details (v1.3)
- Coding Tips: Modularity and Design
- Videos: Macro Writing Tools
Re: Accents in Macros
That is sweet to my ears !