Saxton Hell Forums

Server Discussion => Freak Fortress Hell => Topic started by: Granola-Bar on October 09, 2012, 06:33:22 pm

Title: Not being the boss you pick D:
Post by: Granola-Bar 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.
Title: Re: Not being the boss you pick D:
Post by: VoiDeD 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.
Title: Re: Not being the boss you pick D:
Post by: Granola-Bar 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
Title: Re: Not being the boss you pick D:
Post by: Weeaboo on October 09, 2012, 06:43:18 pm
An opt out option would also be fun.
Title: Re: Not being the boss you pick D:
Post by: VoiDeD 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?
Title: Re: Not being the boss you pick D:
Post by: DrJack Posts Ponies C: on October 09, 2012, 06:57:26 pm
http://www.youtube.com/watch?v=zC1Hbiwfx6Q# (http://www.youtube.com/watch?v=zC1Hbiwfx6Q#)
Title: Re: Not being the boss you pick D:
Post by: Luvedragon 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.
Title: Re: Not being the boss you pick D:
Post by: Weeaboo on October 09, 2012, 11:05:03 pm
Then that begs the question: what if everyone opts out?
Perhaps donor only then?
Title: Re: Not being the boss you pick D:
Post by: VoiDeD 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;
}

(http://www.vaq34.com/junk/wtf.gif)
Title: Re: Not being the boss you pick D:
Post by: bombs on October 11, 2012, 10:16:08 pm
jiminy cricket

is this the same code that uses ponies as variables
Title: Re: Not being the boss you pick D:
Post by: VoiDeD on October 11, 2012, 10:47:13 pm
Yes.
Title: Re: Not being the boss you pick D:
Post by: Weeaboo on October 12, 2012, 07:09:22 pm
Implement the code.
du it.
Title: Re: Not being the boss you pick D:
Post by: iR| Doctor Scootaloo on October 14, 2012, 03:11:24 am
Dat coding. It looks... it looks similar to the guy who codes with ponies.
Title: Re: Not being the boss you pick D:
Post by: h_twenty 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



#_#_#_#_.
Title: Re: Not being the boss you pick D:
Post by: Knucklejoe 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.