Thursday Terrain Corner

Tabletop Gaming News - 13 October 2016 - 11:00am
As we roll along, the weekend grows ever-closer. As I mentioned, I’ve got a full day of gaming scheduled for Saturday. That’ll include some games that use various bits of terrain on a game mat. You want your games to look good, right? I know I do. So let’s see what we can do to […]
Categories: Game Theory & Design

American Dynasty Political Board Game Up On Kickstarter

Tabletop Gaming News - 13 October 2016 - 10:00am
There’s a chance we’ll have another Clinton become the President next year. Like the Bushs, the Roosevelts, and the Kennedys, they’re a powerhouse political family, even if Hillary doesn’t make it to the Oval Office. But who, out of those families, is the greatest? Who will be known as the most powerful political dynasty in […]
Categories: Game Theory & Design

RAVE Alerts

New Drupal Modules - 13 October 2016 - 8:58am

This module provides integration with the RAVE system for campus alerts used 1400 campuses to communicate with 40% of the U.S. Higher Education population in the event of an emergency or campus closure.

Categories: Drupal

Figure Painter Magazine #40, Initiative #3 Available Now

Tabletop Gaming News - 13 October 2016 - 8:00am
The folks over at Robot Pigeon Publishing have certainly been busy. They not only have a new issue of their flagship magazine, Figure Painter Magazine, but also of Initiative. If you’re like me and you could really use to increase your ability in painting, you’ll want to check them out. Though even if you’re regularly […]
Categories: Game Theory & Design

A high performance lighting system for 2D games - by Alexander Birke Blogs - 13 October 2016 - 7:01am
Learn how Alexander Birke built a 2D lighting system capable of rendering hundreds of arbitrarily shaped lights, fast enough to run on mobile and handhelds, in this tech dive into his newly released game Laser Disco Defenders.
Categories: Game Theory & Design

4 Gods Now Available From Asmodee

Tabletop Gaming News - 13 October 2016 - 7:00am
Everybody wants to rule the world. In 4 Gods, you not only get to rule the world, but also create it. The game is a world-building game where players are deities who must create the world in a way that makes sense, but also gains you points for having supporters and mystical cities. The game […]
Categories: Game Theory & Design

Privateer Press Previews January Releases For Warmachine and Hordes

Tabletop Gaming News - 13 October 2016 - 6:00am
Here in the northern hemisphere, it gets pretty cold in January. Even in many of the regularly-warm sections of the place, it can get kinda cold. Thankfully, Privateer Press is bringing some warmth to your tabletops with a bunch of Protectorate of Menoth releases (there’s also a Retribution and Skorne release scheduled, too). Starting out, […]
Categories: Game Theory & Design

Dungeonology Review and Giveaway

Gnome Stew - 13 October 2016 - 3:38am

We recently got a review copy of the Dungeonology book by Candlewick Press and Matt Forbeck. It’s a D&D companion book aimed at a setting specific overview of the Forgotten realms and general D&D concepts. Written by Matt Forbeck with an introduction by Ed Greenwood, the book is a pretty interesting and interactive look at the Forgotten Realms and D&D tropes in general.

There are many pop up and interactive elements, including a gigantic map of the sword coast.Some of the elements are just for extra tactile effect and to create interactivity for a younger audience, while some like A Novice’s Spellbook or Volo’s Guide to the Forgotten Realms tucked away in the back provide a level of immersion if you were using it as an  in-world supplement.

Art and Design Quality

The art is pulled from current D&D books and will look very familiar to anyone who has pawed through the PHB. I couldn’t distinctly pick out any unique or new art aside from some design elemetns or some interactive things like the 3D lenticular stuff. That serves the book well if it is used as a stepping stone/introductory element for new players. When they get to the gaming books with rules, things will have a familiar feel. The quality of the book is great, and that isn’t surprising as candlewick/templar does this sort of thing regularly with their other “OLOGY” book series.


There are a few interesting ways I can see using this book. It is aimed at being kid friendly, so as a way to introduce a younger child (ages 10 and up suggested on the back) to D&D/fantasy games, it works very well as an enticing and fascinating introduction. For a new player, unfamiliar with D&D tropes or concepts, this is also an incredible overview of the adventuring lifestyle. Sections like The Adventuring Party, Equipment, Magic and Magic Items, and Monsters (just a few), work very well to outline some gaming tropes and concepts in a way that is uncluttered by a need to teach the rules alongside familiarizing with the concepts. I’d liken it to reading the companion guide to a video game and learning about the world without having to learn what buttons do what. It’s more immersive and can help teach some of the less concrete gaming concepts.

One other way I could see using this book is as an in-game prop — something the adventurers find or have access to. There is a plethora of information in the book that would eliminate the “have you ever encountered a mimic, how do you know to check to see if the chest is one?” issues that players who have been playing for a while have. Embracing the concept that the book is the knowledge the players have can provide a good basic grounding for a game that isn’t zero to hero in concept. There are a few things in the book that might spoil published adventures. I found a spolier for Storm King’s Thunder, a campaign I’m currently a player in, but that is a possibility with any supplemental product like this.

Final Thoughts and Get Our Copy!

Overall, the book is a very interesting concept and a beautiful art piece. For anyone with kids wanting to share the hobby, or anyone wanting to use the book to introduce gaming concepts, it is an excellent purchase. At $25 (currently cheaper on Amazon) it is a decent buy that comes in at far less than other gaming books and has a ton of interesting interactive elements for the price.

The Dungeonlogy book comes out on November 8th, but we’ve got the review copy sent to us and we want to send it to you! Just leave a comment on this post before October 21st and we’ll randomly choose (by dice roll, of course) one of the commenters or one of our Patreon supporters and send them the review copy of Dungeonology.


Categories: Game Theory & Design

Commerce Vipps

New Drupal Modules - 13 October 2016 - 3:23am

Vipps is a Norwegian payment application designed for smartphones developed by DNB. Vipps was released May 30, 2015 and by reaching 1 million users November 5, 2015 - Vipps is Norways largest payment application. Although Vipps is developed by DNB it is an application open for customers from any Norwegian bank and 40% of the users are non-dnb customers.

Categories: Drupal

The Hero's Journey of Journey - by Stanislav Costiuc Blogs - 13 October 2016 - 3:20am
In this 2-part post about Hero's Journey, I examine how Campbell's monomyth structure is applied to the game Journey.
Categories: Game Theory & Design

Crafting, creating and procedurally generating | This Week in Videogames Blogging - by Critical Distance Blogs - 13 October 2016 - 3:19am
This week, our partnership with games blogging curation site Critical Distance brings us picks from their Senior Curator Zoyander Street on the politics and practice of game development.
Categories: Game Theory & Design

How to make the most of your mobile user acquisition budget - by DALE CARR Blogs - 13 October 2016 - 3:17am
For marketers of mobile game apps, user acquisition is competitive - and every dollar counts. Here's what you need to know so you can set a realistic budget, track the most important metrics, and achieve your UA goals with maximum efficiency.
Categories: Game Theory & Design

How to make the nost of your mobile user acquisition budget - by DAL CARR Blogs - 13 October 2016 - 3:17am
For marketers of mobile game apps, user acquisition is competitive - and every dollar counts. Here's what you need to know so you can set a realistic budget, track the most important metrics, and achieve your UA goals with maximum efficiency.
Categories: Game Theory & Design

Dealing with the 64K Method Limit in Your Unity3D Game - by Russell Kinniccutt Blogs - 13 October 2016 - 3:17am
Overview of how to address the 64K DEX method limit in Unity3D for Android, and step-by-step instructions to export from Unity3D to an Android Project to enable ProGuard optimization and/or MultiDex support.
Categories: Game Theory & Design

15 of Gamasutra's best articles over the last quarter - by Kris Graft Blogs - 13 October 2016 - 3:10am
Hey readers! I’m back with another quarterly roundup of Gamasutra articles over the past quarter (July-September), as I continue my heroic efforts to excavate the best recently-published work.
Categories: Game Theory & Design

Aurelien Navarre: How to find PHP code in Drupal nodes

Planet Drupal - 13 October 2016 - 2:49am

Before Drupal 8 was released, the PHP Filter module was part of Drupal core and allowed site builders and developers to create a PHP filter text format. While very convenient for developers and themers, this was also very risky as you could easily introduce security or even performance issues on your site, as a result of executing arbitrary PHP code.

What's the use case for injecting PHP code in content anyway?

There never is a truly good reason to do so except when you're developing the site and willing to quickly test something. Most of the time, using PHP in content is either the result of laziness, lack of time (easiest to add raw PHP directly rather than having to build a custom module) or lack of Drupal API knowledge. PHP Filter is most often used to inject logic in nodes or blocks. As horrible as it sounds, there are very interesting (and smart!) use cases people have come up with and you have to respect the effort. But this is just not something acceptable as you should always advise a clear separation of concerns and use the Drupal API in every instance.

In the past 5 years I've seen things such as:

  • Creating logic for displaying ads after the body
  • Injecting theming elements on the page
  • Redirecting users via drupal_goto() which was breaking cron and search indexing
  • Using variable_set() to store data on node_view()
  • Including raw PHP files
  • ...

The list goes on and on and on.

After heated discussions, and because it was far too easy to have users shoot themselves in the foot, it was finally decided to remove the module from core for Drupal 8. But as the usage statistics for Drupal core page shows, we still have more than 1 million Drupal 6 and 7 sites out there that are potentially using it.

If you're still building Drupal 7 sites or if you're taking over maintaining a Drupal 6 or 7 site, it's thus your responsibility to ensure no PHP code is being executed in nodes, blocks, comments, views, etc.

Determine if the PHP text format is in use

So, before you start wondering if you have an issue to fix, let's find out if the PHP module is enabled.

mysql> SELECT name FROM system WHERE name = 'php'; +------+ | name | +------+ | php | +------+ 1 row in set (0.00 sec)

Now, we need to confirm there is indeed a PHP filter text format on your site. You can use the Security Review module, navigate through the Drupal UI, or query MySQL, which is preferred here and later on because it gives us the granularity we need.

mysql> SELECT format,name,status FROM filter_format WHERE format="php_code"; +----------+----------+--------+ | format | name | status | +----------+----------+--------+ | php_code | PHP code | 1 | +----------+----------+--------+ 1 row in set (0.00 sec)

When you do have the php_code text format in use on a site, then you need to start your investigation. In this post we'll focus only on nodes. But the same logic applies for all entities.

Audit all nodes with the php_code text format

In the below example we only have 4 nodes. This means php_code was used only when it was required. But it might very well be that all nodes on a site would use the PHP text filter by default. Tracking down issues would then become more challenging. Worse, removing the text filter entirely would be a very time-consuming task in terms of site auditing, as you might not know what is or isn't going to break when you do the change.

mysql> SELECT nid,title,bundle,entity_type FROM field_data_body LEFT JOIN node ON node.nid=field_data_body.entity_id WHERE body_format='php_code'; +------+-----------------------+----------+-------------+ | nid | title | bundle | entity_type | +------+-----------------------+----------+-------------+ | 7571 | Test nid 7571 | article | node | +------+-----------------------+----------+-------------+ | 538 | Test nid 538 | page | node | +------+-----------------------+----------+-------------+ | 5432 | Test nid 5432 | article | node | +------+-----------------------+----------+-------------+ | 1209 | Test nid 1209 | article | node | +------+-----------------------+----------+-------------+ Find PHP code in nodes

Now that we know which nodes have the php_code text filter set, it's easy to find out if there's indeed PHP code in them, and if it's breaking the site in any way, causing performance troubles, or introducing a security hole.

mysql> SELECT body_value FROM field_data_body WHERE entity_id=7571; +--------------------------------------------------------------+ | body_value | +--------------------------------------------------------------+ | Thank you for participating! Your results can be found below. <?php include path_to_theme()."/calculator-results.php"; ?> | +--------------------------------------------------------------+ What about Drupal 8?

As we said in the introduction, the PHP Filter module now lives in contrib instead of Drupal core. And it's very good like that, because it'll prevent the vast majority of Drupal users from installing it. Because, you know, if they can, they will.

If it does exist in production though, then you're in for the same investigation. Fortunately, with Drupal 8 it's even easier to determine when a node is using the php_code text format as you only need one MySQL query and no JOIN.

mysql> SELECT entity_id,bundle,body_value,body_format FROM node__body WHERE body_format = 'php_code'; +-----------+---------+----------------------------+-------------+ | entity_id | bundle | body_value | body_format | +-----------+---------+----------------------------+-------------+ | 1 | article | <?php echo 'hi there!'; ?> | php_code | +-----------+---------+----------------------------+-------------+ 1 row in set (0.00 sec)

Now that you know how to find PHP code in nodes, it's your job to review the code and fix it if necessary, then find ways to remove it completely (custom / contrib module? Theming?). You'll feel a sense of joy when you can switch back to Basic HTML, Markdown, or any other controlled and secure text format.

Categories: Drupal

The video game naturelness of Capcom&#039;s Dead Rising - by Jean Auguste Blogs - 13 October 2016 - 12:18am
The protagonist of Dead Rising (2006, Capcom) is a freelance photographer and photojournalist who has covered many world events, wars, and other big stories. Looking for the next big scoop, he stumbles onto some strange events happening in a small town.
Categories: Game Theory & Design

The Math of Idle Games, Part I - by Anthony Pecorella Blogs - 12 October 2016 - 11:50pm
Let's take a look under the hood of idle and incremental games! What do the cost and production formulas look like? Can you estimate progression patterns without manually playing the game? How do you balance multiple elements to keep them interesting?
Categories: Game Theory & Design

Snippets Card Game Up On Kickstarter

Tabletop Gaming News - 12 October 2016 - 2:00pm
No, Snippets aren’t just for Wednesdays and Fridays here on TGN. I mean, sure, we had a snippets post earlier. But this post is about Snippets, a new word game that’s currently up on Kickstarter. In the game, players get a note pad and pencil so they can write out their answer. Then, a Snippet […]
Categories: Game Theory & Design

Crop Instance

New Drupal Modules - 12 October 2016 - 1:42pm

Crop Entity allows you to create a context specific crop of an image. When you crop an image from e.g. a node form, a crop entity will be created and a relation from the node to the crop will be registered. Thereby you can safely reuse images from your media library and crop them specific to the content at hand. It creates a new image in the file system that will replace the original image when rendering the referencing entity.

Categories: Drupal


Subscribe to As If Productions aggregator