Search found 9 matches

by stolkun
Sun May 03, 2020 5:29 am
Forum: MapTool
Topic: jsonPath filter In Maptool 1.6.1
Replies: 4
Views: 442

Re: jsonPath filter In Maptool 1.6.1

Ye i resolved my problem by using the regex of jsonpath cause using a list in my @.Sphere doesn't work with the filter in ^^ Thanks a lot
by stolkun
Wed Apr 29, 2020 10:20 am
Forum: MapTool
Topic: jsonPath filter In Maptool 1.6.1
Replies: 4
Views: 442

Re: jsonPath filter In Maptool 1.6.1

Ye i tried what you said and you're right, I hope one day we will be able to research like a regex with json path read thanks ^^
by stolkun
Wed Apr 29, 2020 5:47 am
Forum: MapTool
Topic: jsonPath filter In Maptool 1.6.1
Replies: 4
Views: 442

jsonPath filter In Maptool 1.6.1

Hello there, so i was using json.path.read to search through my datas but i had a problem with the filter In that i tried to use: [h: res = json.path.read(notes, "\$.[?(@.Classe == '" + class + "' && '" + school + "' in @." + type + " && @.Niveau <= " + lvl + ")]")] which correspond to for example :...
by stolkun
Sat Apr 18, 2020 12:22 pm
Forum: MapTool
Topic: json.path.read encoding Maptool-1.5.14
Replies: 5
Views: 345

Re: json.path.read encoding Maptool-1.5.14

I attached the token with the notes and macro click on showSpells and you see it will give out "line 1:22: expecting '"', found 'Ã'" because "Prêtre" is written with accent and parser can't read it :/
by stolkun
Sat Apr 18, 2020 10:23 am
Forum: MapTool
Topic: json.path.read encoding Maptool-1.5.14
Replies: 5
Views: 345

Re: json.path.read encoding Maptool-1.5.14

Hi there! It's hard to know how to fix your issue for sure because we don't know what's in the "notes" json. Maybe this will help you: [h: notes = json.set("{}", "Classe", "Prêtre")] [r: res = json.path.read(notes, "[?(@.Classe == 'Prêtre' )]")] If you need an example of my notes it was the...
by stolkun
Fri Apr 17, 2020 6:14 am
Forum: MapTool
Topic: json.path.read encoding Maptool-1.5.14
Replies: 5
Views: 345

json.path.read encoding Maptool-1.5.14

Hello there, so i have a problem with the macro parser to write some code because the macro parser don't have standard utf8 cause it can't read accent so for example with [r: res = json.path.read(notes, "\$.[?(@.Classe == 'Prêtre' )]")] it won't work and will throw out an exception because he can't ...
by stolkun
Sun Mar 29, 2020 5:12 pm
Forum: MapTool
Topic: Start server on vps
Replies: 4
Views: 360

Re: Start server on vps

So i didn't find a way to make it work with xpra but i was able to do it using X11 with putty on server side and installing Xming on client side could launch server like that and it worked :D
by stolkun
Sat Mar 28, 2020 2:55 pm
Forum: MapTool
Topic: Start server on vps
Replies: 4
Views: 360

Re: Start server on vps

So i tried to do it as described in the doc but after setting it all up, it worked very randomly most of the time like 9 out of 10 the 2 last line of this paragraph wouldn't show and when they wouldn't show it wouldn't work and the only time it worked i lost the connection instantly and i don't know...
by stolkun
Fri Mar 27, 2020 4:43 pm
Forum: MapTool
Topic: Start server on vps
Replies: 4
Views: 360

Start server on vps

Hello gentleman, So i was here wondering if it was possible to run maptool on distant vps and start a server on it and so i would like to know if yes or no it's possible and if yes how do you start the server because i know how to install it but not how to launch start the maptool server from a dist...

Go to advanced search