Invalid Menu Items – The most interesting question


The question needs it so I captured the error.It is necessary so please watch it.

https://youtu.be/lME3lY-kNbA if it doesnt open, please try this:

I told the question on youtube video so I share only the code like what I said on video.

I hear that video,video,video are you youtuber? πŸ˜€ no, it needed

this one works:

function deneme() {      // Add new taxonomy, make it hierarchical like categories     //first do the translations part for GUI          $  labels = array(             'name' => _x( '000', 'taxonomy general name' ),             'singular_name' => _x( '000', 'taxonomy singular name' ),             'search_items' =>  __( '000' ),             'all_items' => __( 'All Locations' ),             'parent_item' => __( 'Parent Locations' ),             'parent_item_colon' => __( 'Parent Location:' ),             'edit_item' => __( 'Edit Location' ),             'update_item' => __( 'Update Location' ),             'add_new_item' => __( 'Add New Location' ),             'new_item_name' => __( 'New Topic Location' ),             'menu_name' => __( '000' ),         );      // Now register the taxonomy          register_taxonomy('000',array('post'), array(             'hierarchical' => true,             'labels' => $  labels,             'show_ui' => true,             'show_admin_column' => true,             'query_var' => true,             'show_in_rest' => true,             'rewrite' => true,             'rewrite' => array( 'slug' => '000' ),             'has_archive' => true,         ));      }      add_action( 'init', 'deneme', 0 ); 

and this is the problem source:

nowadays, I select prayer for functions names πŸ˜€ such as masallah ( I hope the god protect ) or insallah ( I hope God will help to become real ) but yes I am here to ask πŸ˜€

// 2. ekleme  function masallah() {  // Add new taxonomy, make it hierarchical like categories //first do the translations part for GUI      $  labels = array(         'name' => _x( 'Districts', 'taxonomy general name' ),         'singular_name' => _x( 'District', 'taxonomy singular name' ),         'search_items' =>  __( 'Search Districts' ),         'all_items' => __( 'All Districts' ),         'parent_item' => __( 'Parent Districts' ),         'parent_item_colon' => __( 'Parent District:' ),         'edit_item' => __( 'Edit District' ),         'update_item' => __( 'Update District' ),         'add_new_item' => __( 'Add New District' ),         'new_item_name' => __( 'New Topic District' ),         'menu_name' => __( 'Districts' ),     );  // Now register the taxonomy      register_taxonomy('Districts',array('post'), array(         'hierarchical' => true,         'labels' => $  labels,         'show_ui' => true,         'show_admin_column' => true,         'query_var' => true,         'show_in_rest' => true,         'rewrite' => true,         'rewrite' => array( 'slug' => 'districts' ),         'has_archive' => true,     ));  }  add_action( 'init', 'masallah', 0 ); 

Need help with an interesting variant of the travelling salesman problem

I’m working on an assignment in my CS class and the gist of the problem is as follows.

A salesman has a map of some apartments (over 300 blocks). I am given the (x,y) coordinates of each block as well as the “money” he will earn by visiting each block. I need to find the shortest route for the salesman to take such that he will earn x amount of money. He does not have to visit all the blocks. At the end of the day he will have to return to the origin (0,0).

I used a greedy algorithm by finding the shortest possible path he can take at each step. E.g from the origin I find the block with the lowest euclidean distance from the origin. Lets say this block is (2,2). I then find the block with the lowest euclidean distance from (2,2) until I have x amount of money. Using this greedy algorithm I then performed a 2-opt local search to improve my solution further.

The problem lies here though: when I perform a 3-opt local search using the implementation from wikipedia (https://en.wikipedia.org/wiki/3-opt), I get a much worse result than either the greedy or the 2-opt. Is there something wrong with the wiki code and if not, what did I do wrong? Thanks.

How can I write up interesting filler for my campaign?

Before I ask the main question, bear with me whilst I set the scene as it is now:

I’m running an original campaign set in a city. I’m building this campaign around a generated map, and making it a navigable whole-city zone. The main arc of this campaign involves eventually overthrowing the government, which has largely failed in their task of operating the business of the empire. At the end of the fourth session, just yesterday, I actually ran out of content for the session almost an hour before I thought I would. In my defence, one of the encounters should have been at least 30 minutes, but the players just blew right through it in 2 minutes. That’s gonna bite them in the ass in a few sessions, and if that’s how their characters want to operate, so be it. But that doesn’t help me much as the DM, running out of content early. If anyone has advice on getting my players to take the bait, I’d appreciate that as well as my main question.

So I’m going to employ the old ‘Adventurer’s Guild’ trope to present some space filling side quests. Problem is, for the main arc to keep making sense, all the side quests have to take place within a day’s walk of the city. I’ve got a couple standard ones sketched out. One session length, gold payout at the end, boring if you ask me, but it’s probably what they’re hoping for.

What I’d like is to make an obviously boring ‘joke’ quest that ends up being several sessions long and takes several bizarre, hard left turns. I can write crazy crap all day, so I suppose my question is how do I present it to them? How do I give them a quest that they’re never going to take, until it’s the last one on the list? And then when they finally do it they’ll hate themselves for not doing it sooner.

Character development question for a god of Knowledge and Machines: How to make a god an interesting character?


System

We are playing a custom system, and in the system we are all gods that create a universe, having mortals with a primary planet. The mortals are in the early iron age.

There is a rotating GM, but one main GM that has the final say. During the session, players are encouraged to take creative powers to add to the world, so decisions about what is going on are somewhat handled by players, but again final say goes to the current GM.

Gods

There are many gods, some npc, some pc.

Each god has 2+ attributes, e.g: Fire and Honor, or Transformation and Storytelling. There are five PCs and one rotating GM. As gods level up, they may take on new attributes.

Each god has a realm, and the realms can be though of as part of the character. The gods can also create things and control them, for instance, my god has an elevator which “takes you where you want to go, unless it thinks there’s somewhere else you should be”. So, if the PCs use my elevator, I can choose to send them somewhere besides where they want to go.

Threats

The threats that come up in session tend to be concerning other NPC gods, and maybe to a much milder degree PC gods. An example threat might be a trickster god stealing the aurora and requiring someone a mortal to purchase it back from him, or the god of the mortal world being in pain from the mortals digging into it, and our party has to find a way to solve the issue.

My Character

My god is the god of Knowledge and Machines. He’s similar to Will Rogers in manner, knows godly amounts of knowledge, uses machines to benefit mortals. He has buddhist master levels of patience. Nothing much threatens him really.

My character’s backstory

My character came about when the king of the gods wanted to know the answer to a riddle, and created my character.

My character helped create the planet the mortals live on. He has a realm that appears to be a serene countryside, but is really made up of machines.

Eventually, the king of the gods basically disintegrated, and my god was exposed to the timeline of a previous incarnation of the universe, before my god existed. This caused his mind to fragment into two realities and started “corrupting” him. This is where I have a few ideas, but I’m not sure how to execute them.

Threats

The threats that come up in session tend to be concerning other NPC gods, and maybe to a much milder degree PC gods. An example threat might be a trickster god stealing the aurora and requiring someone a mortal to purchase it back from him, or the god of the mortal world being in pain from the mortals digging into it, and our party has to find a way to solve the issue.

Question(s)

So, I guess I don’t know where to go with my character. There’s no real change to be had as a normal healthy god, so I introduced the corrupted aspect. I’m trying to

  • How should I interact with the other god PCs in interesting ways without antagonizing them as a corrupted god?
  • How can I redeem my god and bring him back to a non-corrupt state, but still leave room for growth? His original “healthy” form was too perfect and didn’t have room for growth. His corrupted form is more interesting, but I feel like it can be too antagonistic.
  • How can I get my god to take action? In the past he tended to be fairly passive, because he values allowing others to find their own meaning and not interfering with their quest to find meaning, even if that meant allowing them to destroy or steal something he owns. Now that he’s corrupted, I’m having him get upset about things being “not perfect”, and trying to “fix” them, or even just outright destroy them.

How to make combat with a lot of NPCs more interesting and more manageable?

I am a DM for a D&D 4e campaign. During a recent encounter, my players took some NPC allies along with them. I allowed this, because there were only two PCs on that particular adventure, and I thought that combat might be more interesting if there were more than just a couple participants.

However, the problem with having such a skewed ratio of PCs to NPCs (like 2 PCs, 5 friendly NPCs, and 4 enemies) was that way more time was spent on the NPCs turns than on the PCs turns, which I don’t think was fun for anyone. In addition, it was very hard for me to keep track of nearly ten different NPCs in the fight.

First off, I think I can reduce the number of allies that the players have. I can safely kill of 2 or 3 without making anyone especially mad. However, both in this adventure and later ones, there will probably be times with the PCs adventure alongside NPCs, and I’d like to keep those combat encounters from having the same problem.

How do I make a fight in which a lot of friendly NPCs are involved more interesting and more streamlined, both for myself (the DM) and for my players?

New interesting music software for content creators

To all creators, video editors and creative minds!

We kindly ask for your attention to introduce you to our new web service, which can represent a truly great improvement in your daily video and music editing workflow.

We are thrilled to introduce CreateMusic to you. Our web-based software enables you to create a truly individual and fully-adaptive soundtrack for your video with just a few clicks. And when we say adaptive, we mean really adaptive. It’s all happening in your…

New interesting music software for content creators

100 interesting persuasive speech topics for grade 6th edition

Arthur King from Kenner was looking for 100 interesting persuasive speech topics for grade 6th edition

Teddy Murphy found the answer to a search query 100 interesting persuasive speech topics for grade 6th edition

100 interesting persuasive speech topics for grade 6th edition[/b]

[​IMG]

100 interesting persuasive speech topics for grade 6th edition

How do I make a longterm “chase” sequence interesting?

I have a lovely quartet of players trapped in the wilderness, at least 10 days march from the nearest settlement, which is their destination.

There is an antagonistic force in the area, and I had originally planned for it to “hunt” them — bring less than its full force to bear, to drag out and otherwise endanger them throughout their journey. But I’m looking for something to break up the monotony of 10 days of travel plus once-a-day (or so) combat. The PCs are attempting to escort civilians, so “sidequests” that involve diverting from their destination aren’t likely to lure them off.

The arc of this part of the story is that the antagonistic force has switched from passive aggression “you were tasked with slaying a werewolf by a third party, who fights to defend himself”, to active aggression “you are being pursued by werewolves”, with the intent to drive home that their foe is canny, intelligent, and not to be underestimated.

Outside of that, what can I do to spice up the journey, to keep things interesting when they’re not being set upon by monsters?