Welcome, Guest

Author Topic: Fail Thread  (Read 7132 times)

FiahOwl

  • *****
  • Posts: 1234
  • This is, to give a dog and in recompense desire my dog again.
Fail Thread
« on: January 13, 2012, 11:54:49 AM »

This message is only viewable with Universe Sandbox Galaxy Edition. Access it and much more with promo-code '53071'.

« Last Edit: March 22, 2021, 01:25:08 AM by FiahOwl »

deoxy99

  • Universe Sandbox 1 Beta Team
  • *****
  • Posts: 872
  • ✨ the name's verb ✨
Re: Fail Thread
« Reply #1 on: January 13, 2012, 12:08:45 PM »
Want to know a failure? Mudkipz. :P

FiahOwl

  • *****
  • Posts: 1234
  • This is, to give a dog and in recompense desire my dog again.
Re: Fail Thread
« Reply #2 on: January 13, 2012, 12:18:57 PM »

This message is only viewable with Universe Sandbox Galaxy Edition. Access it and much more with promo-code '53073'.

« Last Edit: March 22, 2021, 01:25:06 AM by FiahOwl »

Bla

  • Global Moderator
  • *****
  • Posts: 1013
  • The stars died so you can live.
Re: Fail Thread
« Reply #3 on: January 13, 2012, 12:52:31 PM »
Ahhhhhhhhhhhhh

Code: [Select]
else //AI turns.
                    {
                        Map.cSetter = Nat[Turn-1].NatColor;
                        boolean search = true;
                        while (search = true) //The loop ensures that the claimed zone is empty. The code inside picks the zone.
                        {
                            
                            //Chooses a random empty zone adjacent to the zones already owned by the nation.
                            for (;;)
                            {
                                Map.yZone = (int)(Math.random()*Map.sqrtZoneNumber);
                            Map.xZone = (int)(Math.random()*Map.sqrtZoneNumber);
                            int i = 5*Map.yZone + Map.xZone;
                                
                                if (i==0) //Upper left corner zone.
                                {
                                    if (Map.z[i+1].Owner == Nat[Turn-1] || Map.z[i+Map.sqrtZoneNumber].Owner == Nat[Turn-1] && Map.z[Map.yZone*Map.sqrtZoneNumber+Map.xZone].Owner != null && Map.ClaimedZones<Map.ZoneNumber)
                                    {
                                        search = false;
                                    }
                                }
                                
                                else
                                {
                                    if (i==Map.sqrtZoneNumber-1) //Upper right corner zone.
                                {
                                    if (Map.z[i-1].Owner == Nat[Turn-1] || Map.z[i+Map.sqrtZoneNumber].Owner == Nat[Turn-1] && Map.z[Map.yZone*Map.sqrtZoneNumber+Map.xZone].Owner != null && Map.ClaimedZones<Map.ZoneNumber)
                                    {
                                        search = false;
                                    }
                                }
                                
                                else
                                    {
                                        if (i==Map.ZoneNumber-Map.sqrtZoneNumber-1) //Lower left corner zone.
                                {
                                    if (Map.z[i+1].Owner == Nat[Turn-1] || Map.z[i-Map.sqrtZoneNumber].Owner == Nat[Turn-1] && Map.z[Map.yZone*Map.sqrtZoneNumber+Map.xZone].Owner != null && Map.ClaimedZones<Map.ZoneNumber)
                                    {
                                        search = false;
                                    }
                                }
                                
                                else
                                        {
                                            if (i==Map.ZoneNumber-1) //Lower right corner zone.
                                {
                                    if (Map.z[i-1].Owner == Nat[Turn-1] || Map.z[i-Map.sqrtZoneNumber].Owner == Nat[Turn-1] && Map.z[Map.yZone*Map.sqrtZoneNumber+Map.xZone].Owner != null && Map.ClaimedZones<Map.ZoneNumber)
                                    {
                                        search = false;
                                    }
                                }
                                
                                else
                                            {
                                                if (i<Map.sqrtZoneNumber) //Top row zones (except corners).
                                {
                                    if (Map.z[i-1].Owner == Nat[Turn-1] || Map.z[i+1].Owner == Nat[Turn-1] || Map.z[i+Map.sqrtZoneNumber].Owner == Nat[Turn-1] && Map.z[Map.yZone*Map.sqrtZoneNumber+Map.xZone].Owner != null && Map.ClaimedZones<Map.ZoneNumber)
                                    {
                                        search = false;
                                    }
                                }
                                
                                else
                                                {
                                                    if (Map.sqrtZoneNumber%i == 0) //Left column zones (except corners).
                                {
                                    if (Map.z[i+1].Owner == Nat[Turn-1] || Map.z[i+Map.sqrtZoneNumber].Owner == Nat[Turn-1] || Map.z[i-Map.sqrtZoneNumber].Owner == Nat[Turn-1] && Map.z[Map.yZone*Map.sqrtZoneNumber+Map.xZone].Owner != null && Map.ClaimedZones<Map.ZoneNumber)
                                    {
                                        search = false;
                                    }
                                }
                                
                                else
                                                    {
                                                        if (i>=Map.ZoneNumber-Map.sqrtZoneNumber) //Bottom row zones (except corners).
                                {
                                    if (Map.z[i-1].Owner == Nat[Turn-1] || Map.z[i+1].Owner == Nat[Turn-1] || Map.z[i-Map.sqrtZoneNumber].Owner == Nat[Turn-1] && Map.z[Map.yZone*Map.sqrtZoneNumber+Map.xZone].Owner != null && Map.ClaimedZones<Map.ZoneNumber)
                                    {
                                        search = false;
                                    }
                                }
                                
                                else
                                                        {
                                                            if (Map.sqrtZoneNumber%i == 4) //Right column zones (except corners).
                                {
                                    if (Map.z[i-1].Owner == Nat[Turn-1] || Map.z[i+Map.sqrtZoneNumber].Owner == Nat[Turn-1] || Map.z[i-Map.sqrtZoneNumber].Owner == Nat[Turn-1] && Map.z[Map.yZone*Map.sqrtZoneNumber+Map.xZone].Owner != null && Map.ClaimedZones<Map.ZoneNumber)
                                    {
                                        search = false;
                                    }
                                }
                                
                                else
                                                            {
                                                                if (Map.z[i-1].Owner == Nat[Turn-1] || Map.z[i+1].Owner == Nat[Turn-1] || Map.z[i-Map.sqrtZoneNumber].Owner == Nat[Turn-1] || Map.z[i+Map.sqrtZoneNumber].Owner == Nat[Turn-1] && Map.z[Map.yZone*Map.sqrtZoneNumber+Map.xZone].Owner != null && Map.ClaimedZones<Map.ZoneNumber)
                                {
                                    search = false;
                                }}}}}}}}}
                            }
                        }
                        Map.z[Map.yZone*Map.sqrtZoneNumber+Map.xZone].claim(Nat[Turn-1]); //Claims the zone.
                    }

Don't worry, I will make it work... :P

Edit: Don.

Code: [Select]
                    else //AI turns.
                    {
                        search:for (;;) //The loop ensures that the claimed zone is empty. The code inside picks the zone.
                        {
                            //Chooses a random empty zone adjacent to the zones already owned by the nation... Sometimes.
                            Map.yZone = (int)(Math.random()*Map.sqrtZoneNumber);
                            Map.xZone = (int)(Math.random()*Map.sqrtZoneNumber);
                            int i = Map.sqrtZoneNumber*Map.yZone + Map.xZone;
                               
                                if (i==0) {if (Map.z[i+1].Owner == Nat[Turn-1] || Map.z[i+Map.sqrtZoneNumber].Owner == Nat[Turn-1] && Map.z[Map.yZone*Map.sqrtZoneNumber+Map.xZone].Owner != null && Map.ClaimedZones<Map.ZoneNumber) {break search;}} //Upper left corner zone.
                                else {if (i==Map.sqrtZoneNumber-1) {if (Map.z[i-1].Owner == Nat[Turn-1] || Map.z[i+Map.sqrtZoneNumber].Owner == Nat[Turn-1] && Map.z[Map.yZone*Map.sqrtZoneNumber+Map.xZone].Owner != null && Map.ClaimedZones<Map.ZoneNumber) {break search;}} //Upper right corner zone.
                                else {if (i==Map.ZoneNumber-Map.sqrtZoneNumber-1) {if (Map.z[i+1].Owner == Nat[Turn-1] || Map.z[i-Map.sqrtZoneNumber].Owner == Nat[Turn-1] && Map.z[Map.yZone*Map.sqrtZoneNumber+Map.xZone].Owner != null && Map.ClaimedZones<Map.ZoneNumber) {break search;}} //Lower left corner zone.
                                else {if (i==Map.ZoneNumber-1) {if (Map.z[i-1].Owner == Nat[Turn-1] || Map.z[i-Map.sqrtZoneNumber].Owner == Nat[Turn-1] && Map.z[Map.yZone*Map.sqrtZoneNumber+Map.xZone].Owner != null && Map.ClaimedZones<Map.ZoneNumber) {break search;}} //Lower right corner zone.
                                else {if (i<Map.sqrtZoneNumber) {if (Map.z[i-1].Owner == Nat[Turn-1] || Map.z[i+1].Owner == Nat[Turn-1] || Map.z[i+Map.sqrtZoneNumber].Owner == Nat[Turn-1] && Map.z[Map.yZone*Map.sqrtZoneNumber+Map.xZone].Owner != null && Map.ClaimedZones<Map.ZoneNumber) {break search;}} //Top row zones (except corners).
                                else {if (Map.sqrtZoneNumber%i == 0) {if (Map.z[i+1].Owner == Nat[Turn-1] || Map.z[i+Map.sqrtZoneNumber].Owner == Nat[Turn-1] || Map.z[i-Map.sqrtZoneNumber].Owner == Nat[Turn-1] && Map.z[Map.yZone*Map.sqrtZoneNumber+Map.xZone].Owner != null && Map.ClaimedZones<Map.ZoneNumber) {break search;}} //Left column zones (except corners).
                                else {if (i>=Map.ZoneNumber-Map.sqrtZoneNumber) {if (Map.z[i-1].Owner == Nat[Turn-1] || Map.z[i+1].Owner == Nat[Turn-1] || Map.z[i-Map.sqrtZoneNumber].Owner == Nat[Turn-1] && Map.z[Map.yZone*Map.sqrtZoneNumber+Map.xZone].Owner != null && Map.ClaimedZones<Map.ZoneNumber) {break search;}} //Bottom row zones (except corners).
                                else {if (Map.sqrtZoneNumber%i == 4) {if (Map.z[i-1].Owner == Nat[Turn-1] || Map.z[i+Map.sqrtZoneNumber].Owner == Nat[Turn-1] || Map.z[i-Map.sqrtZoneNumber].Owner == Nat[Turn-1] && Map.z[Map.yZone*Map.sqrtZoneNumber+Map.xZone].Owner != null && Map.ClaimedZones<Map.ZoneNumber) {break search;}}//Right column zones (except corners).
                                else {if (Map.z[i-1].Owner == Nat[Turn-1] || Map.z[i+1].Owner == Nat[Turn-1] || Map.z[i-Map.sqrtZoneNumber].Owner == Nat[Turn-1] || Map.z[i+Map.sqrtZoneNumber].Owner == Nat[Turn-1] && Map.z[Map.yZone*Map.sqrtZoneNumber+Map.xZone].Owner != null && Map.ClaimedZones<Map.ZoneNumber) {break search;}}}}}}}}} //Middle zones.
                        }
                        Map.z[Map.yZone*Map.sqrtZoneNumber+Map.xZone].claim(Nat[Turn-1]); //Claims the zone.
                    }
« Last Edit: January 13, 2012, 01:55:08 PM by Bla »

atomic7732

  • Global Moderator
  • *****
  • Posts: 3849
  • caught in the river turning blue
    • Paladin of Storms
Re: Fail Thread
« Reply #4 on: January 13, 2012, 03:09:59 PM »

Bla

  • Global Moderator
  • *****
  • Posts: 1013
  • The stars died so you can live.
Re: Fail Thread
« Reply #5 on: January 13, 2012, 03:11:11 PM »
HEY, it was meant to have a missing e! Nawt fail!

Quote from: Nueism
Formerly NeutronStar | FORRRREEEEVVVVEEEERR

atomic7732

  • Global Moderator
  • *****
  • Posts: 3849
  • caught in the river turning blue
    • Paladin of Storms
Re: Fail Thread
« Reply #6 on: January 13, 2012, 03:14:53 PM »
How is that a fail?

Bla

  • Global Moderator
  • *****
  • Posts: 1013
  • The stars died so you can live.
Re: Fail Thread
« Reply #7 on: January 13, 2012, 03:16:53 PM »
You misspellwd forever.

deoxy99

  • Universe Sandbox 1 Beta Team
  • *****
  • Posts: 872
  • ✨ the name's verb ✨
Re: Fail Thread
« Reply #8 on: January 13, 2012, 04:03:03 PM »
Well, you misspelled "misspelled" and "not". :P

Bla

  • Global Moderator
  • *****
  • Posts: 1013
  • The stars died so you can live.
Re: Fail Thread
« Reply #9 on: January 13, 2012, 04:06:42 PM »
You misspelled misspilled!

blotz

  • Formerly 'bong'
  • *****
  • Posts: 813
  • op pls
Re: Fail Thread
« Reply #10 on: January 16, 2012, 05:20:05 PM »
yeah, i just remembered that i thought ftw (for the win) was wft, but backwards. That was fail.

atomic7732

  • Global Moderator
  • *****
  • Posts: 3849
  • caught in the river turning blue
    • Paladin of Storms
Re: Fail Thread
« Reply #11 on: January 16, 2012, 05:40:29 PM »
yeah, i just remembered that i thought ftw (for the win) was wft, but backwards. That was fail.
lol so did I!

I'm also assuming "wft" -> "wtf"

matty406

  • *****
  • Posts: 82
Re: Fail Thread
« Reply #12 on: January 16, 2012, 06:07:42 PM »
Nerptun 8 plant frm suhn

Darvince

  • *****
  • Posts: 1842
  • 差不多
Re: Fail Thread
« Reply #13 on: January 16, 2012, 06:15:27 PM »
septuhn r 7 plasopwetkikohjl{"Sglhlpjlgphl pjh frm ssudn

Darvince

  • *****
  • Posts: 1842
  • 差不多
Re: Fail Thread
« Reply #14 on: January 03, 2017, 06:11:33 PM »
remember when i had sex with gibberish

atomic7732

  • Global Moderator
  • *****
  • Posts: 3849
  • caught in the river turning blue
    • Paladin of Storms
Re: Fail Thread
« Reply #15 on: January 03, 2017, 06:26:41 PM »
juptur 5 plant

JMBuilder

  • *****
  • Posts: 94
  • The demand for memes is high.
Re: Fail Thread
« Reply #16 on: January 03, 2017, 07:15:25 PM »
Here's a childhood fail. When I was little, I would sing "'Tis the Season Jooby-Jolly."

Darvince

  • *****
  • Posts: 1842
  • 差不多
Re: Fail Thread
« Reply #17 on: January 08, 2017, 11:40:09 PM »
once upon a time, i died.

DiamondMiner10

  • *****
  • Posts: 219
Re: Fail Thread
« Reply #18 on: January 09, 2017, 12:05:37 AM »
once there was an ugly barnacle
he was so ugly that everyone died


~the end~

tuto99

  • *****
  • Posts: 533
  • Baba Booey
Re: Fail Thread
« Reply #19 on: January 09, 2017, 04:58:17 AM »
eart 3th plan frm d son

Darvince

  • *****
  • Posts: 1842
  • 差不多
Re: Fail Thread
« Reply #20 on: January 31, 2017, 05:05:42 PM »
i didn't do any schoolwork and so i quietly got removed from my school without being notified

atomic7732

  • Global Moderator
  • *****
  • Posts: 3849
  • caught in the river turning blue
    • Paladin of Storms
Re: Fail Thread
« Reply #21 on: January 31, 2017, 05:12:19 PM »
rip

i like how this thread starts off with every sentence capitalized but it suddenly becomes lowercase

Pizzaeater1K

  • ****
  • Posts: 56
Re: Fail Thread
« Reply #22 on: February 01, 2017, 04:23:47 PM »
i like cheese because cheese is tasty because cheese is yum yums tasties.
this is due to the fact that cheese is yums yums tasties with a mix of yummy

vh

  • formerly mudkipz
  • *****
  • Posts: 1140
  • "giving heat meaning"
Re: Fail Thread
« Reply #23 on: February 01, 2017, 05:06:57 PM »
i wrote code for my job and we're not gonna use it because we decided to go in a completely different direction. i still got paid though

tuto99

  • *****
  • Posts: 533
  • Baba Booey
Re: Fail Thread
« Reply #24 on: February 01, 2017, 06:44:58 PM »
Here's a fail: my sophomore year.

FiahOwl

  • *****
  • Posts: 1234
  • This is, to give a dog and in recompense desire my dog again.
Re: Fail Thread
« Reply #25 on: February 01, 2017, 07:04:06 PM »

This message is only viewable with Universe Sandbox Galaxy Edition. Access it and much more with promo-code '178809'.

« Last Edit: March 22, 2021, 01:28:04 AM by FiahOwl »

Darvince

  • *****
  • Posts: 1842
  • 差不多
Re: Fail Thread
« Reply #26 on: February 01, 2017, 08:33:57 PM »
a slightly smaller fail: it took me over a minute to gather up the energy to wash the dishes

FiahOwl

  • *****
  • Posts: 1234
  • This is, to give a dog and in recompense desire my dog again.
Re: Fail Thread
« Reply #27 on: February 01, 2017, 08:59:07 PM »

This message is only viewable with Universe Sandbox Galaxy Edition. Access it and much more with promo-code '178811'.

« Last Edit: March 22, 2021, 01:28:02 AM by FiahOwl »

atomic7732

  • Global Moderator
  • *****
  • Posts: 3849
  • caught in the river turning blue
    • Paladin of Storms
Re: Fail Thread
« Reply #28 on: February 01, 2017, 09:02:07 PM »

Darvince

  • *****
  • Posts: 1842
  • 差不多
Re: Fail Thread
« Reply #29 on: February 01, 2017, 09:04:05 PM »