Author Topic: Not being the boss you pick D:  (Read 8713 times)

Offline Granola-Bar

  • Donator
  • ***
  • Posts: 4
Not being the boss you pick D:
« on: October 09, 2012, 06:33:22 pm »
Almost EVERY time i pick a boss, the donator who is after me, picks a duo and I am chosen to be with them.
This really pisses me off, i want to know why this keeps happening  also.

Offline VoiDeD

  • Full Admin
  • *****
  • Posts: 2,441
Re: Not being the boss you pick D:
« Reply #1 on: October 09, 2012, 06:38:21 pm »
Generally the only time you'll be forced into a duo is if the person ahead of you in the queue becomes a duo boss. I'll agree it's annoying, but it's how FF2 was made.

I do, however, have an idea for how we can solve this. Instead of dragging in the next player, the duo partner can be selected randomly and their queue points would not be reset. I think that would be a fair way to handle duos.

Offline Granola-Bar

  • Donator
  • ***
  • Posts: 4
Re: Not being the boss you pick D:
« Reply #2 on: October 09, 2012, 06:40:58 pm »
I think that would be best, seeing as I usually don't want a duo.
and especially with the queue points not being reset

Offline Weeaboo

  • Member
  • *
  • Posts: 62
Re: Not being the boss you pick D:
« Reply #3 on: October 09, 2012, 06:43:18 pm »
An opt out option would also be fun.

Offline VoiDeD

  • Full Admin
  • *****
  • Posts: 2,441
Re: Not being the boss you pick D:
« Reply #4 on: October 09, 2012, 06:45:57 pm »
An opt out option would also be fun.

Then that begs the question: what if everyone opts out?

Offline DrJack Posts Ponies C:

  • Member
  • *
  • Posts: 323
  • Dragons Dragons Dragons Dragons Dragons Dragons
Re: Not being the boss you pick D:
« Reply #5 on: October 09, 2012, 06:57:26 pm »

Offline Luvedragon

  • Full Admin
  • *****
  • Posts: 183
Re: Not being the boss you pick D:
« Reply #6 on: October 09, 2012, 10:25:14 pm »
It'd be like dividing by 0.

I do like the idea of randomly selecting someone and not resetting their points. Really frustrating when it happens.


Offline Weeaboo

  • Member
  • *
  • Posts: 62
Re: Not being the boss you pick D:
« Reply #7 on: October 09, 2012, 11:05:03 pm »
Then that begs the question: what if everyone opts out?
Perhaps donor only then?

Offline VoiDeD

  • Full Admin
  • *****
  • Posts: 2,441
Re: Not being the boss you pick D:
« Reply #8 on: October 11, 2012, 08:51:25 pm »
Alright well, for now, I made it so only the main player of a duo will get their queue points reset. The second player will keep the points and become the boss for the next round (I hope).

The main reason for why I didn't implement random selection just yet is because I have no fucking clue what the code is doing. Seriously. Look at it:
Code: [Select]
if (playing > 2)
for (new i = 1; i <= MaxClients; i++)
{
KvRewind(BossKV[Special[i-1]]);
KvGetString(BossKV[Special[i-1]], "companion", s, 64);
if (StrEqual(s,""))
break;
Boss[i] = FindBosses(see);
if (PickSpecial(i,i-1))
{
KvRewind(BossKV[Special[i]]);
for (new pingas = 0; Boss[i] == Boss[i-1] && pingas < 100; pingas++)
Boss[i] = FindBosses(see);
see[Boss[i]] = true;
BossLivesMax[i] = KvGetNum(BossKV[Special[i]], "lives",1);
SetEntProp(Boss[i], Prop_Data, "m_iMaxHealth",1337);
if (LastClass[Boss[i]] == TFClass_Unknown)
LastClass[Boss[i]] = TF2_GetPlayerClass(Boss[i]);
}
else
Boss[i] = 0;
}


Offline bombs

  • Member
  • *
  • Posts: 85
  • happy trees
Re: Not being the boss you pick D:
« Reply #9 on: October 11, 2012, 10:16:08 pm »
jiminy cricket

is this the same code that uses ponies as variables

Offline VoiDeD

  • Full Admin
  • *****
  • Posts: 2,441
Re: Not being the boss you pick D:
« Reply #10 on: October 11, 2012, 10:47:13 pm »
Yes.

Offline Weeaboo

  • Member
  • *
  • Posts: 62
Re: Not being the boss you pick D:
« Reply #11 on: October 12, 2012, 07:09:22 pm »
Implement the code.
du it.

Offline iR| Doctor Scootaloo

  • Member
  • *
  • Posts: 119
  • I need to go out more.
Re: Not being the boss you pick D:
« Reply #12 on: October 14, 2012, 03:11:24 am »
Dat coding. It looks... it looks similar to the guy who codes with ponies.

Offline h_twenty

  • Member
  • *
  • Posts: 204
  • The Demopan is only OP when I play him.
Re: Not being the boss you pick D:
« Reply #13 on: October 24, 2012, 10:29:13 pm »
Looks alot like me throwing my keyboard across the street and having a car run over it :l



#_#_#_#_.
Joined during 2011.
I'm h_twenty, and I approve this messege.

Offline Knucklejoe

  • Full Admin
  • *****
  • Posts: 416
  • Friendly Neighborhood Judo Master
Re: Not being the boss you pick D:
« Reply #14 on: November 06, 2012, 10:58:59 am »
I always thought you were supposed to code stuff to where you could read it 10 years down the line, not make random variable names that you won't remember what they are 2 weeks from now.

Bad code is bad.