dnd 5e – If I ready a action (spell) in response to a companion’s attack, what is a fair GM rulling over the order of events?

@Medix2 proposes a well-cited answer for the RAW scenario, but I will propose some solutions to turn this ruling in your party’s favor.

The cleric is putting a lot on that readied action: concentrating until their trigger occurs, and the potential loss of a spell slot if the trigger doesn’t occur. I think there are opportunities here to translate your cleric player’s intent into the game such that it both works the way they want, and plays nicely enough with the RAW.

From ‘Other Activity on Your Turn’ in the basic rules:

[…] You can communicate however you are able, through brief utterances and gestures, as you take Your Turn. […]

One way you could make this work, and potentially invite some combat roleplay, is to rule that the characters need to verbally coordinate such attacks, or create some other system of communicating this intent. The cleric holds their spell for the fighter’s signal and yells to the fighter ‘Let me know when!’; then the fighter, on their turn, yells to the cleric “Now!” while making a mad dash toward their target, sword in tow. This seems a clear enough ‘perceivable circumstance’ to act as a trigger, and eliminates the vague wording of “when the fighter starts to attack”.

If you have particularly roleplay-averse players, or if you want to introduce this method to them naturally, this character interaction could be described by you, the DM, to explain how the intended actions of the players can actually play out in the world in a way that is friendly with the rules. I feel that this is likely the best solution, as it both explains why the previous trigger didn’t work and sets a model to translate player intent to character action moving forward.

This ruling is less strictly rules-friendly, but is the way I rule readied action triggers in my own games. The term ‘perceivable circumstance’ is not a defined game term, and is subject to your interpretation. Because of this, I would allow an ambiguous trigger such as ‘when X starts to attack’, but consider the triggered spell/attack/movement a simultaneous effect with the attack. Xanathar’s Guide proposes an excellent way to handle Simultaneous Effects in Chapter 2:

[…] If two things happen at the same time on a character or monster’s turn, the person at the game table – whether player or DM – who controls that creature decides the order in which those things happen. […]

If you handle it this way, then the fighter can choose to allow the bolt to go off before their attack. And, as a bonus, if the cleric attempts to ready their action for when an enemy is about to attack, that enemy will probably decide that their attack resolves first, as the original readied action rules would have dictated. In RP terms, a cleric and a fighter who have been travelling and fighting together for some time would likely understand each others’ intents in combat better than they’d understand that random enemy they stumbled upon; in short: coordinating with teammates is easy, but enemies are unpredictable. This ruling changes very little about how readied actions work, yet allows a lot of Rules as Fun combat interactions that might not otherwise work.

outlook.com – Recurring events are not imported from Hotmail to Google Calendar

When I export the calendar from Hotmail and then import it into Google Calendar, then the recurring events only show up once.

How can I make sure that the recurring events in Hotmail also stay recurring events in Google Calendar?

plugins – How do I hide the event description within template of The Events Calenar using Ultimate Member shortcode?

OK, so the goal is to hide the event description with Ultimate Member shortcode (um_loggedin).

I tried doing echo do_shortcode but it’s not working…

This is the code I used within wp-content/themes/hello-elementor/tribe-events/single-event.php:

<?php echo do_shortcode('(um_loggedout)'."Sorry, but only loggedin users are allowed to access the details".'(/um_loggedout)');?>

<?php echo do_shortcode('(um_loggedin)'.the_content().'(/um_loggedin)');?>

php – Custom template for future events, filtered by separate date/hours/mins/am-pm fields

I’m using Modern Events Calendar plugin but have added extra fields via ACF, so need to build a custom template rather than use the plugin shortcodes. The plugin saves:

  • 1 field for date (mec_start_date);
  • 1 for hours (12-hour format) (mec_start_time_hour);
  • 1 for minutes (mec_start_time_minutes);
  • and 1 for AM or PM (mec_start_time_ampm).

I only want to display events that are in the future – I’ve managed to get the template fetching 3 items from today or the future, but can’t figure out how to narrow that down further to exact time in the future (e.g with current code if an event has already happened today, I would still see it until tomorrow).

$onlineArgs = array(
'post_type'  => 'mec-events',
'posts_per_page' => 3,
'meta_key'  => 'mec_start_date',  // Compare start dates
'meta_value' => date('Y-m-d'), // This is the date format
'meta_compare' => '>=', // Get dates greater than or equal to 'today'
'meta_query' => array(
    'relation' => 'AND',
    'event_start_date_clause' => array(
        'key'     => 'mec_start_date',
        'compare' => 'EXISTS',
    ),
    'event_start_time_clause' => array(
        'key'     => 'mec_start_time_hour',
        'compare' => 'EXISTS',
    ), 
    'event_start_ampm_clause' => array(
        'key'     => 'mec_start_time_ampm',
        'compare' => 'EXISTS',
    ),
),
'orderby' => array(
    'event_start_date_clause' => 'ASC', // Order by dates ascending
    'event_start_ampm_clause' => 'ASC', // Then AM or PM (ASC puts AM first)
    'event_start_time_clause' => 'ASC', // Finally start hour ascending
),
);

Any suggestions gratefully received!

How to Create Events Calendar

How onthisday.com has been made?
I’d want to make something similar.

I guess I need to have a database with some events happened in a day (6 february 2021, 6 february 2020, 6 february 2019 … 6 february 2014)
and then I want to show all the events happened on that day.

I have no idea on how to start and I’ll appreciate any help.
Thanks

google cloud platform – Files Missing From BigQuery Firebase Historic Events Table

We use the BigQuery Sandbox integration in Firebase to pull all of our app reporting. For one of our projects, it looks like a number of historic event tables are missing. I’ve checked the logs in GCP and it doesn’t appear that anyone has deleted them.

Could someone offer assistance on what could cause this to happen and how to retrieve the missing files?

Thanks!

collision detection – Cannot decide between using a MessageBus and entities for events in my ECS game

For example, let’s say that the player walks into an enemy and in response, a chain of events should occur (such as: his score goes up, the enemy dies, a cinematic starts, etc.)

I see two “proper” ways of accomplishing this:

Method 1:

There exists a global message bus in the game. Any system can emit events to it, and any other system can listen for some events from it. For example, the system handling the players score would look like this:

messageBus.listen("playerhitsenemy", e => {
  score += e.monsterType;
});

and the collision system may look like this:

messageBus.emit("playerhitsenemy", { monsterType: 5 });

Similarly, other systems can listen for the same event, such that when something happens, the CPU immediately moves from processing the current system to the other system processing this event. That is, the emit call is basically just a list of callbacks that are immediately invoked and sent the message.

Method 2:

The second method, instead, is to encode events / messages as entities themselves. That is, when an event occurs (such as the player hitting something in the collision detection system), this would happen:

let newEntity = new Entity();
newEntity.components.push(new MessageComponent());
newEntity.components.push(new MessagePlayerHitsEnemyComponent(5));
entityAdmin.spawnNewEntitiy(newEntity);

That is, a new “message” entity is created, and it is given the generic Message component and the concrete event component type as well, MessagePlayerHitsEnemy.

Then, all systems interested in these messages would have something like this in their execute function:

for (let entity of entityAdmin.query(MessagePlayerHitsEnemyComponent) {
  let monsterType = entity.getComponent<MessagePlayerHitsEnemyComponent>();
 
  score += monsterType;
}

And then at the end of the frame there would be a system whose responsibility was deleting all messages, like so:

for (let entity of entityAdmin.query(MessageComponent) {
  entityAdmin.remove(entity);
}

I cannot decide which is better. The first method seems simpler and probably more efficient in Javascript, considering it’s just immediately invoking all the requested functions. However, the second one seems more “correct”, in each system is iteratively processed. That is, first the collision system runs in its entirety, then the scoring system, etc. There is no “jumping around” from system to system during execution. Each system processes everything in its entirety, and then the second system processes everything it’s interested in, etc.

So, in essence, the first method seems simpler and more efficient, while the latter method seems more “correct”, pure, verbose, debuggable, and extendable. Which one should I pick?

How do I use ADB Input Events for users, other than phone owner?

I can easily automate input events using something like this:

adb shell input tap 300 300

And I am doing this, indeed, to automate configs exporting process for some owner installed apps.

Although, I would like to automate configs exporting process for apps installed by other phone users, but I had no success, so far. This is because other users can’t enable ADB.

My phone is using Android 9.

overheating – How to retrieve BIOS errors from BIOS events logs?

As in my office there are 60 desktop pc of amd Ryzen 7 2700x 3700x 3800x with b450 x470 x570 b550 asus gigabyte MSI motherboards all have UEFI BIOS and RTX 3070 RTX 3090 RTX 2080ti graphic cards used for 3d graphic designing animation video editing and used day and night for designing editing work.

Operators and designers are not aquaent with hardware. Now many time due to Heavy usage the BIOS or Windows gives errors if overheating of CPU processors RAM or GPU graphic card or any system problems.

I want to get the past history of such errors on PCs occurred so I have searched and finded that generally BIOS gives errors of overheating overclocking while booting In POST and finded it in some queries in some forums regarding BIOS events log.

So I am interested to know, that do UEFI BIOS records or logs any overheating or overclocking or system hardware errors and do UEFI or any BIOS events log is saved somewhere, if yes then how can we retrieve such information which system softwares tools we can find the BIOS event logs and save it, can we get it into windows. If no then how to log system hardware errors if bios?