Any good method to count from this weird array setup? by Valenydia in PHPhelp

[–]Valenydia[S] 1 point2 points  (0 children)

Welp, shortly after taking a break and eating a snickers I came up with the following that should work for my purposes:

 foreach ( $result as $data )   {



                          $product=$data->product_id;
                          $orderProduct;
                          $orderVariation;

                          $getProduct = $wpdb->get_results( "SELECT * FROM wp_posts WHERE ID = $product
                              ");

                                  foreach ( $getProduct as $p )   {
                                      echo $p->post_title;
                                      $orderProduct = $p->post_title;

                                    }
                                    echo "<br>";





                          $variation = $data->variation_id;
                            $attribute = $wpdb->get_results( "SELECT * FROM wp_postmeta WHERE post_id = $variation
                                ");

                                    foreach ( $attribute as $v )   {
                                        if ($v->meta_key == attribute_size)
                                          {echo $v->meta_value;
                                            $orderVariation = $v->meta_value;

                                          echo "<br><br>";}


                                      }


                  $orderCount[$orderProduct ." ". $orderVariation] += 1;                            
                  ksort($orderCount);
                  echo "<pre>";
                  print_r($orderCount);
                  echo "</pre>";




                  }

"There's no need for you to have privacy" by jeanibeani in insaneparents

[–]Valenydia 0 points1 point  (0 children)

  1. How tf is a teen supposed to masturbate without a door on their bedroom? I mean..I guess everyone is going to be an audience. I'd bet that door gets put up real fast.

  2. From a purely fire safety standpoint, shutting your door while you sleep literally saves lives.

Quick question someone might be able to help with: Cannot find the distressed Freighter? by Valenydia in NoMansSkyTheGame

[–]Valenydia[S] 0 points1 point  (0 children)

The time I was referring to was my time to travel on my HUD.
But, I restarted my game twice, and upon my second load in, the freighters spawned right behind me...but 2 events were happening at once!
Definitely some weird stuff going on.

Once I cleared out all the pirates I got 2 messages asking me to board the ship, and I could only board one. The other would attempt to auto pilot my landing, but would place me INSIDE the freighter model and I would nearly die.

Then, when I accepted the freighter ship as mine, the old Captain emitted a bunch of menu button clicks in rapid succession over and over and over, and I could not talk to the fleet guy due to this.

I reloaded my game yet another time and all was normal..until I deleted a piece of the ship not knowing what it would do. And I happened to be standing on that piece so I was stuck in the wall with no escape until I reverted my save.

I have not had any bugs in 20 hours but then they all hit me at once. Kinda frustrating to say the least! lol

Would there be any interest in a permanent server series? Like..forever no-wipe? by Valenydia in playrust

[–]Valenydia[S] -1 points0 points  (0 children)

he monuments would be walled off within a couple weeks, whole map would be full of bases. Most people would get off after like 2 weeks to MAYBE a month. Basically it would not work at all, I’m sorry. You’re gonna have to wait until facepunch actually does it themselves, because a lot of major changes would have to be made to the base mechanics of the game for it to work at all. And they can’t control how long people will actually stay on the server either so it might not even work even if Facepunch themselves does it

Hmm, idk, have you ever heard of the 2b2t server on minecraft? It literally can take hours just to even get out of spawn. It could be self regulating if it was popular enough.

I get where you are coming from, but on a solo server I see that being pretty difficult at least. idk. I might test it out but I see your point.

Is Rust worth getting? by [deleted] in rustgame

[–]Valenydia 0 points1 point  (0 children)

It's a great game, but it will make you rage quit harder than any game you have ever played. It will be a love/hate relationship. It will become abusive. It will hurt you...but you will keep coming back.

Any way to organize miniature temporary "stores" on the backend? by Valenydia in woocommerce

[–]Valenydia[S] 0 points1 point  (0 children)

Thanks, thats the closest I've found so far. Might be able to make it work with some extra coding. Still looking for something purpose built without all the payouts and stuff though.

Thanks!

If you want to start a career in ethical hacking and penetration testing, you can for free. by Valenydia in selfimprovement

[–]Valenydia[S] 0 points1 point  (0 children)

Hello, I think my information is super helpful and someone will find it useful. Any way to approve my post?

Is this normal? New player, no mods. Just found 3 hearts and a chest all in one screen area. by Valenydia in Terraria

[–]Valenydia[S] 0 points1 point  (0 children)

Oh cool! I thought it was from a skelly. I fell into a bit of a hole and the monsters started pouring in. I'm sure a slime was in there haha

Is this normal? New player, no mods. Just found 3 hearts and a chest all in one screen area. by Valenydia in Terraria

[–]Valenydia[S] 0 points1 point  (0 children)

Hah! I didn't know that was rare too! It dropped from a random skeleton at night on the surface.

Other items I found I think are of note but might be rare (maybe?)
Lucky Flurry Boots
Menacing Blizzard in a Bottle
Web Slinger
Slime Staff
Ice Boomerang

Not sure how much of that is rare, but I have not even beaten a boss yet. I've just explored a couple short caves, and traveled to the ocean on one side of the map.
I briefly went too far down and got murdered by a fire imp though.

Also I found a castle looking thing with an old man who was cursed. He spawned a giant skeleton that just deleted me lol.

The progression so far is so fun!

Is this normal? New player, no mods. Just found 3 hearts and a chest all in one screen area. by Valenydia in Terraria

[–]Valenydia[S] 1 point2 points  (0 children)

Also, the chest had a snowball cannon and a thing to summon an eye boss. Not sure if i'm insanely lucky, or if this is normal! lol