Author Topic: Auto-spawn upon joining team  (Read 9111 times)

tskuzzy

  • Posts: 95
  • Turrets: +9/-2
Auto-spawn upon joining team
« on: October 17, 2009, 10:26:52 pm »
I haven't really thought this idea out much, so it could be a very bad idea.,,

I see a lot of people complaining about how single goons can destroy a feeder human team (even with one or two good humans on them) within minutes. Why not let players get a free automatic spawn upon joining a team? The game gets more balanced once both teams get a decent number of people out on the playing field so why not start out that way?

Discuss.
[GI]tskuzzy at your service :)

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Auto-spawn upon joining team
« Reply #1 on: October 17, 2009, 10:34:40 pm »
this has been suggested several times, and the main issue is that it's complicated to find a spawn point for all the players.
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

tskuzzy

  • Posts: 95
  • Turrets: +9/-2
Re: Auto-spawn upon joining team
« Reply #2 on: October 18, 2009, 01:23:59 am »
this has been suggested several times, and the main issue is that it's complicated to find a spawn point for all the players.
Why not just spawn at the telenode? :o
[GI]tskuzzy at your service :)

Luigi1

  • Posts: 227
  • Turrets: +86/-21
Re: Auto-spawn upon joining team
« Reply #3 on: October 18, 2009, 01:25:49 am »
actually guys, there are binds that can already do this!

im not sure what they are... (talk to me ingame and i could help you) but i know volt made them.

the bind puts you to the team you want and spawns you

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Auto-spawn upon joining team
« Reply #4 on: October 18, 2009, 01:52:45 am »
this has been suggested several times, and the main issue is that it's complicated to find a spawn point for all the players.
Why not just spawn at the telenode? :o
that works for one player, not for the whole team.
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

tskuzzy

  • Posts: 95
  • Turrets: +9/-2
Re: Auto-spawn upon joining team
« Reply #5 on: October 18, 2009, 02:27:56 am »
Quote from: tskuzzy
Why not just spawn at the telenode? :o
that works for one player, not for the whole team.
Well, they're not really spawning all at once per se. You could still have them spawn one at at time at the telenodes albeit with a much lower wait time.
Its also not as if 20 players are joining human team all at once. Its more like 1 person/second or so.
« Last Edit: October 19, 2009, 03:35:37 am by tskuzzy »
[GI]tskuzzy at your service :)

Vector_Matt

  • Posts: 732
  • Turrets: +2/-1
Re: Auto-spawn upon joining team
« Reply #6 on: October 19, 2009, 03:07:54 am »
The first thing that came to mind was, what if you want to be a builder when you join?
Theoretically there could be a variable that the client sends telling the server what default class they wanted to spawn as, but that seems like more trouble than it's worth.
Alternately the client could be set to automatically send a spawn request of the desired type when joining a team, but it doesn't take long to select a class form the list anyway, so I don't see how that would really help.

MitSugna

  • Guest
Re: Auto-spawn upon joining team
« Reply #7 on: October 19, 2009, 03:08:52 am »
Starting with a low spawn delay then rising it by time might work. But I have doubts.

tskuzzy

  • Posts: 95
  • Turrets: +9/-2
Re: Auto-spawn upon joining team
« Reply #8 on: October 19, 2009, 03:37:32 am »
The first thing that came to mind was, what if you want to be a builder when you join?
Theoretically there could be a variable that the client sends telling the server what default class they wanted to spawn as, but that seems like more trouble than it's worth.
Alternately the client could be set to automatically send a spawn request of the desired type when joining a team, but it doesn't take long to select a class form the list anyway, so I don't see how that would really help.
Nono. I meant you get one "free" spawn right after you join the team. Not spawn immediately after joining.
[GI]tskuzzy at your service :)

Vector_Matt

  • Posts: 732
  • Turrets: +2/-1
Re: Auto-spawn upon joining team
« Reply #9 on: October 19, 2009, 03:55:18 am »
 :o Oops... Well, your post makes much more sense now.

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Auto-spawn upon joining team
« Reply #10 on: October 19, 2009, 04:31:58 am »
The first thing that came to mind was, what if you want to be a builder when you join?
Theoretically there could be a variable that the client sends telling the server what default class they wanted to spawn as, but that seems like more trouble than it's worth.
Alternately the client could be set to automatically send a spawn request of the desired type when joining a team, but it doesn't take long to select a class form the list anyway, so I don't see how that would really help.
Nono. I meant you get one "free" spawn right after you join the team. Not spawn immediately after joining.
the delay is on the nodes, not the players.
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

tskuzzy

  • Posts: 95
  • Turrets: +9/-2
Re: Auto-spawn upon joining team
« Reply #11 on: October 19, 2009, 04:45:41 am »
the delay is on the nodes, not the players.
Well, it wouldn't be terribly difficult to implement a second queue for players that just joined the team. This second queue would act alongside the normal spawn queue except with a much lower spawn rate.
[GI]tskuzzy at your service :)

MitSugna

  • Guest
Re: Auto-spawn upon joining team
« Reply #12 on: October 19, 2009, 04:51:12 am »
I don't want to discourage you but it might be terrible difficult depending on the current implementation(which I don't know).
Ignore my comment if you know the implementation...

tskuzzy

  • Posts: 95
  • Turrets: +9/-2
Re: Auto-spawn upon joining team
« Reply #13 on: October 19, 2009, 09:13:28 pm »
I don't want to discourage you but it might be terrible difficult depending on the current implementation(which I don't know).
Ignore my comment if you know the implementation...
No, I haven't had a look through the code. But as a programmer myself, I have a pretty darn good guess. :P
[GI]tskuzzy at your service :)

benmachine

  • Posts: 915
  • Turrets: +99/-76
    • ben's machinery
Re: Auto-spawn upon joining team
« Reply #14 on: October 30, 2009, 01:19:27 pm »
Fun fact: if you somehow managed get 64 players on a team to all join the spawn queue at once, the game would think that the queue was empty and wouldn't spawn any of them.
benmachine

tskuzzy

  • Posts: 95
  • Turrets: +9/-2
Re: Auto-spawn upon joining team
« Reply #15 on: October 30, 2009, 10:31:20 pm »
Fun fact: if you somehow managed get 64 players on a team to all join the spawn queue at once, the game would think that the queue was empty and wouldn't spawn any of them.
o_o
Why would that happen? I can't imagine that would be caused by an integer overflow...
[GI]tskuzzy at your service :)

gimhael

  • Posts: 546
  • Turrets: +70/-16
Re: Auto-spawn upon joining team
« Reply #16 on: October 30, 2009, 11:02:16 pm »
The spawn queues are simple circular buffers with MAX_CLIENTS == 64 entries, so it uses modulo 64 arithmetic, and 64 == 0 (mod 64).

tskuzzy

  • Posts: 95
  • Turrets: +9/-2
Re: Auto-spawn upon joining team
« Reply #17 on: October 30, 2009, 11:06:24 pm »
The spawn queues are simple circular buffers with MAX_CLIENTS == 64 entries, so it uses modulo 64 arithmetic, and 64 == 0 (mod 64).
O_O
Why would the spawn queue be implemented as a circular buffer?? That makes no sense :o What's wrong with a simple linked list?
[GI]tskuzzy at your service :)

kevlarman

  • Posts: 2737
  • Turrets: +291/-295
Re: Auto-spawn upon joining team
« Reply #18 on: October 30, 2009, 11:12:42 pm »
qvms don't have access to (a proper) malloc(), so static memory is used heavily.
Quote from: Asvarox link=topic=8622.msg169333#msg169333
Ok let's plan it out. Asva, you are nub, go sit on rets, I will build, you two go feed like hell, you go pwn their asses, and everyone else camp in the hallway, roger?
the dretch bites.
-----
|..d| #
|.@.-##
-----

gimhael

  • Posts: 546
  • Turrets: +70/-16
Re: Auto-spawn upon joining team
« Reply #19 on: October 31, 2009, 07:28:18 am »
Actually you wouldn't need malloc() if you store the link pointers in the client_t structures.

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Auto-spawn upon joining team
« Reply #20 on: October 31, 2009, 01:54:06 pm »
But if you did that for everything, how many millions of linked lists would you end up with?
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Plasma

  • Posts: 60
  • Turrets: +1/-3
Re: Auto-spawn upon joining team
« Reply #21 on: December 07, 2009, 11:00:21 pm »
You know what someone brought up an idea in another topic with something similar to this that oculd solve spawn killers...      
In the other post it said something about 2 seconds invincibility so they could spawn and by the time their invincibility wore off they could spawn another person.
 :telenode: :human: :tyrant:->  :telenode: :human: :human: :tyrant: or  :egg: :egg:  :dretch: :granger: :battlesuit:  -> :egg:  :egg: :dretch: :dretch: :dretch: :granger: :battlesuit:

but then again by the time they get to your nodes you'd have lost the game anyway...
« Last Edit: December 07, 2009, 11:02:19 pm by Plasma »