The Gang Garrison 2 Forum
May 20, 2013, 09:28:51 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Chat with us on IRC: http://ganggarrison.com/irc.html
Server: irc.esper.net, Channel: #gg2
 
   Home   Help Search Login Register  
Poll
Question: Where do you live?
West Coast (USA)
East Coast (USA)
Mid Coast (USA)
Europe
Canada
Other

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 »
  Print  
Author Topic: +-+!!!February Four vs Four Tourney Fest!!!+-+ (Giving IRC interviews)  (Read 46816 times)
NAGN
Developer
******
Offline Offline

Posts: 16895


Yeah so now I have an idea


« Reply #270 on: February 09, 2010, 03:58:49 pm »

Wait a moment...

hang on...
Logged



[im
a/d
pro donglosaur
*****
Offline Offline

Posts: 4922



« Reply #271 on: February 09, 2010, 04:04:41 pm »

The first (class limit #) of the class can freely move in and out of the spawn, as long as they don't die, regardless of how many there are total.
Logged

go canada or whatever, maybe your country is cool too
I_am_awesome
Guest
« Reply #272 on: February 09, 2010, 04:06:46 pm »

I just saw it, wouldn't it have to check 10 things every time someone spawns though?

Since it's an organized tourney, we may as well just use class doors, since the only problem was on unorganized teams. If you get blocked in, being a competent enough player to have a team, you'd probably know to switch out.

PROS
- It's foolproof, it's literally impossible for more than the allowed number to be outside the spawn, assuming there's no spawns outside the spawn room.
- Server-side guaranteed
- Inconvenience minimal assuming competent team

(I gave up because I'm fat)

I'm experimenting with assigning variables to players when their character object is created, which I'm going to implement with doors instead of into the classchange scripts.

It assigns scouts scoutOrder, pyros pyroOrder, etc. and checks with any scout/pyro object whether there is one with scoutOrder of 1, if not, you become 1. If there's a 1 and no 2, you become 2.

If your scoutOrder etc. is greater than the class limit, you'll be unsafe, meaning spawn gates will block you.

If your scoutOrder is less than the class limit, you'll be safe, meaning spawn gates won't.

The only problem I can see with this so far is that dying will reset your order variable.


no it doesn't. it just checks the stuff it also checks every frame in the team doors, but only when someone trys to change his class.

just trust me it works 100% server side, no people over the class limit and the most important (and the only reason why i bothered) it doesn't lag the server to shit like the team doors when someone walks into them the whole time.

hell i only added like 8 lines of code, the single } included...

>:[
Logged
NAGN
Developer
******
Offline Offline

Posts: 16895


Yeah so now I have an idea


« Reply #273 on: February 09, 2010, 04:09:21 pm »

It shouldn't cause lag,

Plus aren't collisions checked every frame, Bassie pointed that out to me a while a go z7
Logged



[im
a/d
pro donglosaur
*****
Offline Offline

Posts: 4922



« Reply #274 on: February 09, 2010, 04:09:35 pm »

I'm a stubborn fuck who wants to make team doors unbroken.
Logged

go canada or whatever, maybe your country is cool too
RebelINS
Moderator
*****
Offline Offline

Posts: 6676


Future is so bright I gotta wear shades


« Reply #275 on: February 09, 2010, 04:10:47 pm »

Why is any of this necessary? A simple class limit door works because the teams should be communicating what classes they are playing. I don't think anyone on any team is going to 'accidentally' pick a class that is already in play and wonder why they can't leave the spawn. If they aren't communicating either in-game or otherwise, that should be an accepted detriment to the team.
Logged

a/d
pro donglosaur
*****
Offline Offline

Posts: 4922



« Reply #276 on: February 09, 2010, 04:14:08 pm »

Why is any of this necessary? A simple class limit door works because the teams should be communicating what classes they are playing. I don't think anyone on any team is going to 'accidentally' pick a class that is already in play and wonder why they can't leave the spawn. If they aren't communicating either in-game or otherwise, that should be an accepted detriment to the team.

That's what I said.
Logged

go canada or whatever, maybe your country is cool too
I_am_awesome
Guest
« Reply #277 on: February 09, 2010, 04:14:30 pm »

well it's snares tourney so he can do whatever he wants.
Logged
NAGN
Developer
******
Offline Offline

Posts: 16895


Yeah so now I have an idea


« Reply #278 on: February 09, 2010, 05:17:28 pm »

well it's snares tourney so he can do whatever he wants.
Well it won't matter if the mod doesn't work now does it?
Logged



[im
Snare
International Rep
Veteran Beta Tester
*****
Offline Offline

Posts: 934


Momentai...


« Reply #279 on: February 09, 2010, 05:23:29 pm »

Someone do me a favor and tell me what 10 to 6 in PST is in UTC-6... Central Time US & Canada

I'm pretty sure that's a 2 hour difference, so 12-8 CST
Logged

I_am_awesome
Guest
« Reply #280 on: February 09, 2010, 06:02:23 pm »

well it's snares tourney so he can do whatever he wants.
Well it won't matter if the mod doesn't work now does it?

?

is it so hard to understand "here you have a working class limit mod that works server side. do whatever you want with it."?
Logged
NAGN
Developer
******
Offline Offline

Posts: 16895


Yeah so now I have an idea


« Reply #281 on: February 09, 2010, 06:05:41 pm »

No no.no

Not what I mean
Logged



[im
Blazephlozard
Hero Member
*****
Offline Offline

Posts: 1146


Using the wrong side of the scrubby-sponge


« Reply #282 on: February 09, 2010, 08:37:14 pm »

sum1 plz join winnur teem  z7
Logged


Scout's Semen Brew
Level 15 Ejaculate
Coated enemies become very sticky and move 25% slower
Alt-Fire: Drink it yourself and recover 75 health

Takes longer to recharge after each use
The Scout is a quick shot in more ways than one.
Tankmen
Guest
« Reply #283 on: February 09, 2010, 08:39:16 pm »

sum1 plz join winnur teem  z7
I'll join
Logged
Waterfall
Guest
« Reply #284 on: February 10, 2010, 07:12:44 pm »

AcidLead, Killah Zillah, Ren Partycat, might you be interested in forming a group?

Edit: AcidLead confirmed
« Last Edit: February 10, 2010, 07:38:07 pm by (NI)(RMS) Waterfall » Logged
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.309 seconds with 21 queries.