Saxton Hell Forums
Server Discussion => Freak Fortress Hell => Topic started 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.
-
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.
-
I think that would be best, seeing as I usually don't want a duo.
and especially with the queue points not being reset
-
An opt out option would also be fun.
-
An opt out option would also be fun.
Then that begs the question: what if everyone opts out?
-
http://www.youtube.com/watch?v=zC1Hbiwfx6Q# (http://www.youtube.com/watch?v=zC1Hbiwfx6Q#)
-
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.
-
Then that begs the question: what if everyone opts out?
Perhaps donor only then?
-
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:
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)
-
jiminy cricket
is this the same code that uses ponies as variables
-
Yes.
-
Implement the code.
du it.
-
Dat coding. It looks... it looks similar to the guy who codes with ponies.
-
Looks alot like me throwing my keyboard across the street and having a car run over it :l
#_#_#_#_.
-
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.