RPTools.net

Discussion and Support

Skip to content

It is currently Tue May 21, 2013 9:28 pm 




Forum rules


Do not conduct discussion here. Do that in the parent forum.



This topic is locked, you cannot edit posts or make further replies.  [ 13 posts ] 

Previous topic | Next topic 

  Print view

Author Message
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 2683
Location: Germany
 Post subject: When is a macro trusted?
PostPosted: Thu Jan 27, 2011 3:41 am 
Inspired by this discussion I tested several combinations of macro location, player/gm, auto-execute and if the macro is player-editable.

Not all combinations seem to be as expected.

I used this macro
Code:
I am [r: if(isTrusted(), "", "not")] trusted.

It was owned by the player client.

Here is my result chart
Attachment:
cif_trust_test.png
cif_trust_test.png [ 7.12 KiB | Viewed 696 times ]

_________________
"Cif's html works" (confirmed by independent studies)

most complete list of my maptool stuff


Top
 Profile  
 
 Offline
Great Wyrm
 
Joined: Sun Jun 22, 2008 6:53 pm
Posts: 1961
Location: Melbourne, Australia
 Post subject: Re: When is a macro trusted?
PostPosted: Thu Jan 27, 2011 4:57 am 
I am at work at the moment so I can't test it, but I believe the player editable flag is ignored on campaign macros isn't it?
If so then the results are what I would expect.
The rules are
  • Anything the GM types into the input box is trusted.
  • Anything a non GM types into the input box is not trusted.
  • Any auto execute macro that is non player editable is trusted.
  • Any auto execute macro that is player editable is not trusted.
  • Any non auto execute macro gets copied into the input box to be edited, so results in one of the first two rules
  • In another 2 months I will be answering this question again :)


Top
 Profile  
 
User avatar  Online
Site Admin
 
Joined: Mon Jun 12, 2006 12:20 pm
Posts: 11622
Location: Tampa, FL
 Post subject: Re: When is a macro trusted?
PostPosted: Thu Jan 27, 2011 2:22 pm 
Craig wrote:
In another 2 months I will be answering this question again :)

Then perhaps we can get CiF to put his spreadsheet image and the text of your post into the wiki for future generations... ;)

_________________
Interested in Time Magazine's Best Invention of 2008 Unix-powered laptop? No crashes or lockups. In fact, that series of articles has two such machines. The other is a Dell netbook. :)


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 2683
Location: Germany
 Post subject: Re: When is a macro trusted?
PostPosted: Thu Jan 27, 2011 3:55 pm 
I think I can do that :-) just have to find some spare time.

Maybe the wiki even supports tables better than phpBB, so I might even not use an image to display tabular data :-D

_________________
"Cif's html works" (confirmed by independent studies)

most complete list of my maptool stuff


Top
 Profile  
 
User avatar  Online
Site Admin
 
Joined: Mon Jun 12, 2006 12:20 pm
Posts: 11622
Location: Tampa, FL
 Post subject: Re: When is a macro trusted?
PostPosted: Thu Jan 27, 2011 5:39 pm 
Great -- thanks!

In the meantime I'm going to move this thread to the WIP-UserFAQ subforum as it does seem to come up periodically. And when CiF has it on the wiki, I'll come back and add a link, trim out the unneeded posts, and lock the thread. :)

_________________
Interested in Time Magazine's Best Invention of 2008 Unix-powered laptop? No crashes or lockups. In fact, that series of articles has two such machines. The other is a Dell netbook. :)


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 2683
Location: Germany
 Post subject: Re: When is a macro trusted?
PostPosted: Fri Jan 28, 2011 7:12 am 
I added to the existing Trusted Macro page. Give me feedback if you think something could be done better.

_________________
"Cif's html works" (confirmed by independent studies)

most complete list of my maptool stuff


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 5305
Location: Bay Area
 Post subject: Re: When is a macro trusted?
PostPosted: Fri Jan 28, 2011 8:04 am 
The values in your chart show up as ✓

_________________
Downloads:


Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 2683
Location: Germany
 Post subject: Re: When is a macro trusted?
PostPosted: Fri Jan 28, 2011 8:10 am 
It appears as a checkmark here. Page is UTF-8 encoded in my browser (macos, chrome)

Anyone else having problems? I surely can change it to some more basic character...

_________________
"Cif's html works" (confirmed by independent studies)

most complete list of my maptool stuff


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 5305
Location: Bay Area
 Post subject: Re: When is a macro trusted?
PostPosted: Fri Jan 28, 2011 8:17 am 
Apparently I don't have Dingbats font on my computer.

_________________
Downloads:


Top
 Profile  
 
User avatar  Online
Site Admin
 
Joined: Mon Jun 12, 2006 12:20 pm
Posts: 11622
Location: Tampa, FL
 Post subject: Re: When is a macro trusted?
PostPosted: Fri Jan 28, 2011 4:16 pm 
aliasmask wrote:
Apparently I don't have Dingbats font on my computer.

That's surprising. You're running Windows, right? And if that's not Dingbats I don't know what is...!?

:mrgreen:

Okay, I'll wait a couple days to see if we get any other responses, then I'll lock the thread and delete these extraneous posts. :)

_________________
Interested in Time Magazine's Best Invention of 2008 Unix-powered laptop? No crashes or lockups. In fact, that series of articles has two such machines. The other is a Dell netbook. :)


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 5305
Location: Bay Area
 Post subject: Re: When is a macro trusted?
PostPosted: Fri Jan 28, 2011 4:44 pm 
Okay, I'm confused. I only see the "box" character for the check mark in the browser (both chrome and ie8), but maptool does show the check when I use the unicode there.

Apparently I need to update some of my basic fonts. Windows Vista and newer versions which include IPA symbols with Arial, Courier New, Lucida, Tahoma and Times New Roman. I'll see if I can upgrade those fonts.

_________________
Downloads:


Last edited by aliasmask on Fri Jan 28, 2011 5:02 pm, edited 1 time in total.

Top
 Profile  
 
User avatar  Offline
Demigod
 
Joined: Mon Jun 29, 2009 9:37 am
Posts: 2683
Location: Germany
 Post subject: Re: When is a macro trusted?
PostPosted: Fri Jan 28, 2011 5:00 pm 
What character encoding shows your browser? IIRC a browser can be set to ignore the webpage specified character encoding...

Clueless if thats not it :(

_________________
"Cif's html works" (confirmed by independent studies)

most complete list of my maptool stuff


Top
 Profile  
 
User avatar  Offline
Deity
 
Joined: Tue Nov 10, 2009 6:11 pm
Posts: 5305
Location: Bay Area
 Post subject: Re: When is a macro trusted?
PostPosted: Fri Jan 28, 2011 6:15 pm 
There is a bunch of MS products that have the font, but I recently did a reinstall and currently didn't have it. After I downloaded arialuni.ttf, I could then see the check marks. But it doesn't come standard with XP.

_________________
Downloads:


Top
 Profile  
 
Display posts from previous:  Sort by  
This topic is locked, you cannot edit posts or make further replies.  [ 13 posts ] 

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 0 users online :: 0 registered, 0 hidden and 0 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 0 guests





Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Style based on Andreas08 by Andreas Viklund

Style by Elizabeth Shulman