Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

How can I prevent players from pinging each other to find their way in my maze?

Hello! The players are lost in the maze, and I'd like to prevent them from using pinging to find each other. I'm using dynamic lighting, and it works well, but you can still see the players' pings through complete darkness. Even if I ask them not to ping or use the rule, mistakes can still happen. Thanks in advance for your answers, and sorry for the Google Translate.
Drop a wandering monster on each ping
1777429257
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hi Sagredin! Pings represent a random teleport trap. Move their token. Alternatively, it represents suddenly disorientation: If using Explorer mode, clear it. If your players are genuinely trying not to ping, and you want to reduce the chances of an accident, ask them to move their token using only cursor keys. Unfortunately, there is no way to disable the ping function.
If you have your players change their color to transparent, then their ping should not be visible. It looks like there's an unintended bug where any player being set to transparent seems to prevent anyone from pinging (which I'm going to send in a bug report on right now), at least that is happening in my test game and pinging doesn't work until logging out and logging back in. So in the meantime you could just set your own color to transparent, and it looks like it'll prevent everyone else from pinging as well. But I'm guessing that this bug (if it's not just my computer) will eventually get fixed so I wouldn't recommend relying on it long term. For anyone with a Pro or Elite subscription, you can use a script to adjust a player's user color, using either a HEX value or 'transparent'. Use command !playercolor or this macro: !playercolor --name|?{Player name} --color|?{Color|Red,#ff0000|Green,#00ff00|Blue,#0000ff|Transparent,transparent|Custom HEX,?{Custom HEX color|#ff0000}}  on('ready',function(){ on('chat:message',function(msg){ if(msg.type!=='api')return; if(!msg.content.startsWith('!playercolor'))return; if(msg.content.trim()==='!playercolor'){ sendChat('PlayerColor','/w gm [Set Player Color](!playercolor --name|?{Player name} --color|?{Color|Red,#ff0000|Green,#00ff00|Blue,#0000ff|Transparent,transparent|Custom HEX,?{Custom HEX color|#ff0000}})'); return; } if(!playerIsGM(msg.playerid)){ sendChat('PlayerColor','/w "'+msg.who+'" Only the GM can use this command.'); return; } const args={}; msg.content.replace('!playercolor','').trim().split(/\s+--/).forEach(part=>{const pieces=part.split('|');if(pieces.length>=2)args[pieces[0].replace(/^--/,'').toLowerCase()]=pieces.slice(1).join('|').trim();}); const name=args.name,color=args.color; if(!name||!color){ sendChat('PlayerColor','/w gm Usage: !playercolor --name|NAME --color|#ff0000 or --color|transparent'); return; } let normalizedColor=color.toLowerCase().trim(); if(normalizedColor.includes('transparent')){ normalizedColor='transparent'; }else{ normalizedColor=normalizedColor.replace(/^#+/,''); if(/^[0-9a-f]{3}$/.test(normalizedColor))normalizedColor=normalizedColor.split('').map(function(char){return char+char;}).join(''); normalizedColor='#'+normalizedColor; } if(normalizedColor!=='transparent'&&!/^#[0-9a-fA-F]{6}$/.test(normalizedColor)){ sendChat('PlayerColor','/w gm Invalid color. Use hex format like #ff0000, ff0000, #1ab, or transparent.'); return; } const matches=findObjs({_type:'player'}).filter(p=>(p.get('_displayname')||'').toLowerCase()===name.toLowerCase()); if(matches.length===0){ sendChat('PlayerColor','/w gm No player found named "'+name+'".'); return; } matches.forEach(function(player){player.set('color',normalizedColor);}); sendChat('PlayerColor','/w gm Set "'+name+'" to '+normalizedColor+'.'); }); });
1777446017
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Creative! Ping Buddy uses this for invisible ping pulls, but resets afterward. I was not aware of the bug you describe. I wonder if it's new.
keithcurtis said: Creative! Ping Buddy uses this for invisible ping pulls, but resets afterward. I was not aware of the bug you describe. I wonder if it's new.  The inability for players/GM to ping is not new and I have been reporting it for several months now. It usually happens during a session and the ping function stops working for everyone. I have not been able to connect it to anyone having a ping color of transparent.   Players and GM entering a game and automatically being assigned transparent as their ping color is another bug which I have been reporting. I had been told by several devs that this cannot happen in Jumpgate, but I have reported several instances of this occurring. 
1777471859
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
I don't think I've encountered either of these bugs, myself. Is it a random occurrence? Could they be due to a misbehaving mod script? (I hesitate to derail a thread, so if you want to pursue in a DM, I'm fine with that).
Anyway, thanks for your replies, I appreciate the transparency, but I really like the idea of ​​teleportation, I might try that! Have a good day!
I'm able to reproduce this bug pretty easily. It isn't random at all - if my test account changes the user color to transparent and pings , anyone who is logged into the game cannot see pings until they log out and back in. I've tested in a brand new game with no Mod scripts, on both Chrome and Firefox without any browser extensions, etc. Oginme, are you using Keith's PingBuddy script or the Teleport script, or any other script that changes players' user color? 
1777486812

Edited 1777486939
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Hmm. I am seeing several player color related bugs, irrespective of pinging, at least on the API side. Investigating. EDIT: Also, I don't seem to be able to set the user color to transparent, even in the GUI. At least in the current system (Jumpgate). How are you accomplishing this?
I don't think I'm doing anything special! Definitely Jumpgate games as well.
1777501159
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Yeah, eventually it either magically started working, or I stopped doing something stupid that I didn't notice I was doing.
1777501951

Edited 1777502724
Oginme
Elite
Jarren said: I'm able to reproduce this bug pretty easily. It isn't random at all - if my test account changes the user color to transparent and pings , anyone who is logged into the game cannot see pings until they log out and back in. I've tested in a brand new game with no Mod scripts, on both Chrome and Firefox without any browser extensions, etc. Oginme, are you using Keith's PingBuddy script or the Teleport script, or any other script that changes players' user color?  I do use the teleport mod.  It is not linked to teleporting tokens though.  I have had games where I sign in with my players, someone will ping on the map and their ping will no longer be visible even when they change their ping color (which has never been discovered as 'transparent').  After one person loses the visual ping, everyone else will lose it as soon as they attempt to ping.. First one shows, second one is transparent. There have been a couple of cases where no one was able to ping right from the start. I have not seen the teleport script change a player's ping color, but I will keep an eye out for it. Note: I am jumping this over to a new thread .