How can an intelligent magic item cast the spells it knows without investing feats?

If an intelligent magic item (like a magic staff) somehow gains the ability to cast spells (like by taking levels of sorcerer), is there a way for it to cast its spells despite its lack of hands and a mouth if the intelligent magic item can’t also take feats like Silent Spell, Still Spell, and Eschew Materials?

For instance, is there some kind of feature that can be added to an intelligent magic item that could enable a magic staff to cast spells like a normal creature?

How does the Detect Magic spell see any creature that knows at least one cantrip? [duplicate]

The detect magic spell states (emphasis mine):

you sense the presence of magic within 30 feet of you. If you sense magic in this way, you can use your action to see a faint aura around any visible creature or object in the area that bears magic

And the definition of a cantrip in the PH is (emphasis mine):

A cantrip i s a spell that can be cast at will […]. Repeated practice has fixed the spell in the caster’s mind and infused the caster with the magic needed to produce the effect over and over.

Is a visible creature that knows and can cast at least one cantrip detected as "bearing magic" by the spell detect magic?

Randomly assign n elements to n agents such that each agent only knows its own element


I’m working on an app that involves shuffling and distributing playing cards to players. As a challenge, I tried to solve this problem in a way that doesn’t require a trusted intermediary.

In other terms, the task is to find a distributed algorithm that

  • uniquely assigns $ n$ agents numbers $ 1..n$
  • allows each agent to know nothing about the assignment but its own
  • when revealing the assignment, allows other players to verify the assignment

We also assume that knowing other’s assignment is an advantage for each agent, and revealing its own prematurely a disadvantage. Agents are also assumed to be able to talk with each other in a way hidden from all other agents.

Partial solution

The solution I came up with works only under the assumption that adversaries do not collaborate.

The idea is to create a set of $ n$ nonces, and assign each agent exactly one nonce. The set is then passed from agent to agent in an agreed upon order, hidden from all others, until each agent received the set exactly once. Each time an agent receives the set, it swaps its nonce with a new one, memorizes the new nonce, and confirms receival of the set to the others. This entire procedure is done twice, at which point, all agents have received the set at least once after all other agents swapped their nonces, making it impossible to recognize and hence map the nonces to the other agents.

When the last agent receives the set the second time, it shares it with everyone, and all agents confirm to the others that their nonce is contained in the set. The agents then assign a number to each nonce in the set based on an agreed upon random seed, giving us the required unique assignment.

To allow ownership verification, instead of the nonces, agents put the hash value of their nonce on the set, revealing the actual nonce only when verification is required.

The problem with this solution is that if adversaries are allowed to collaborate, each time an adversary receives the set, they can compare their versions, identify changes and potentially derive which nonce belongs to other agents, allowing them to know what number got assigned to them.

All ideas are appreciated!

Does anyone knows how to fix this Errors?

Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 1, Size: 0 at java.util.ArrayList.rangeCheck( at java.util.ArrayList.get( at bankingsystemfinal.CurrencyScrabbing.AddToLabels( at bankingsystemfinal.CurrencyScrabbing.( at bankingsystemfinal.BankingSystemFinal.main(


How a website knows if a video has been watched or downloaded?

there’s a video lecture streaming in a university platform that runs javascript, Can the owner detect if i’m downloading the video (via IDM) rather than just watching it ? In other words, How a website knows if a video has been watched or downloaded?

After much trouble such as quality fluctuations, unexpected changes in playback speed and frozen screens (also experienced by other users), I’ve decided to download the videos using (Internet Download Manager). That, however, violates the terms of the university, even though I obviously don’t intend to make any commercial use of the videos and I’m going to be the only one watching them. I’d like to know if the content provider can notice, that I’m not streaming the videos but downloading them.

How do I telegraph to players that, because they let guards escape, the enemy fortress knows they’re coming?

I’m DM’ing for a group of mostly first-time players, and this is my first time DM’ing. At the end of last session they approached their first big dungeon (goblin fortress), attacked some guards, and let them escape inside. They’re now blissfully camped out front of the dungeon. The guards escaped; the fortress is alert; they’re camped out front. Obviously, there should be (fun) consequences for their sloppiness.

I know how to punish the players for letting the guards escape, like getting ambushed in the night, traps in the dungeon, enemies are ready for them, etc. However, how do I telegraph to the players that these things are happening because the enemies know they’re coming?

Since we’re all first inexperienced, I’m worried that anything “special” I throw at them will be seen as “normal goblin dungeon”. For example, I want the goblins to attack them in their sleep, or maybe they enter a room and all the goblins have their bows drawn and pointed at the players. How do I let the players know that’s happening because the guards escaped inside and alerted their buddies, and not just something that normally happens?

Punishing the players for being sloppy sounds like fun. But how do I let them know they’re being punished?

Does using VPN or encryption on an Android phone do anything since Google knows who is logged into the phone?

Is it worth paying for a VPN to protect myself from Google tracking since, on an Android phone, you’re logged into a Google account and Google knows who you are, anyway?

Google can still track your activities depending on what Android OS reports to them. A related question would be whether encrypted messaging and email apps protect you on an Android since, once again, the OS is designed by Google and the OS can theoretically see the decrypted messages.

Since the caster of the Zone of Truth of spell knows whether a creature failed the save, can they use it to detect hidden/invisible creatures?

I’m DMing for a 5e party that includes a cleric, as many parties do. This cleric has found (what appears to be) an interpretation of the wording of the “Zone of Truth” spell that makes it even more powerful than it seems to be intended to be.

His idea is that since Zone of Truth tells you when a creature succeeds or fails the save, he could use it to detect if a hidden or invisible person enters the radius, as it would tell him that someone succeeded or failed the save.

Is this true? if not, is there any official example that specifically says it’s not true?

(And, if Zone of Truth WOULD do this, is there any way to prevent such a detection, as I know the party will do this a ton, and if it’s something they can do, I don’t want to deny it outright, but some villains may have countermeasures)

Can a LVL 1 Drow Bard have 3 cantrips because it ‘knows’ Dancing Lights?

Just starting out, and want to play a Drow Bard in DnD 5e.

Basically, the wording of the PHB is a bit confusing, does ‘knowing’ a cantrip mean you can ‘cast’ a cantrip for free without a slot (like it states later for Faerie Fire and Darkness) and unlimited times?

Or does it have to use one of your existing cantrip slots? Bards have access to 2 from the Bard list at level 1.

Would this mean it’s a waste to use a Drow Bard since the free cantrip is part of the Bards cantrip list?

It looks like this question was asked before, but no answer was given, hence I’m providing more info than the previous user.

SERENGINES + Xevil (recaptcha v2) module not working? anyone knows a fix?

i have never seen these weird parameters in Xevil before, I bought Serengines like 10 minutes ago, connected it and started the first project and now this happens. (the ones that are good, are actually from GSA SER regular projects, not SER-Engines) SERENGINES is the one creating these weird parameters.

Not only that, even the ones below with a status as OK ???? but had only 1 clicks and #0.0 
Basically it did nothing, but still states an OK message. 

I need this to work with Xevil recaptcha module, I dont wanna waste a single penny on 2captcha while I got a beast of a machine that can solve thousands of recaptchas without breaking a sweat.

So hopefully there’s a quick fix for this, i want to move forward, not backwards by buying a captcha service.