Commit graph

162 commits

Author SHA1 Message Date
Bill Currie
2448b18624 don't let clients scout around while customizing 2002-08-29 18:41:22 +00:00
Bill Currie
c40d6de2d7 fix some more uninitialized variables 2002-08-29 03:12:14 +00:00
Bill Currie
7c3dcf1d31 hopefully fix 3 entity leaks 2002-08-21 20:25:10 +00:00
Timothy C. McGrath
1afd36dc3d Another self.message which caused a crash likely due to not having a self.owner
check.

Tim McGrath (Misty)
2002-06-02 15:24:59 +00:00
Timothy C. McGrath
0c080c65c8 Fixed ownership checking of doors, caused interesting crashes due to another
bug which I had caused. (Gee, I should screw things up more often! ... er, no.)

Tim McGrath (Misty)
2002-06-02 05:23:47 +00:00
Timothy C. McGrath
151f9e61f0 Spelling error fix and two new misc obits because I was being silly :)
Tim McGrath
2002-05-14 06:51:49 +00:00
Timothy C. McGrath
c8157f4105 Fixed the lightning gun 'target bounces' bug. This was in the original quakec for customtf, but apparently never was being evaluated correctly
before someone fixed it for quakeforge aaaaandd.... IMHO, people shouldn't bounce into the air like they're on trampolines when you hit them
with the lightning gun :)

Also edited the way excess cells are discharged. No longer is there a cap on the minimum amount of cells that can be evaluted.
Original code made it so that if you had 101 cells and discharged it was the same as if you had 175... IMHO, not funny :)

Also, the excess cells output power is no longer dropped by a third of normal - I may change this back if there are problems with the lg
being too easy to kill people with excess cells... But then again, by nature excess cells are a one time shot - if you miss, they're gone.

Tim McGrath (Misty)
2002-05-13 16:12:26 +00:00
Bill Currie
1d74a0e909 fix SUB_UseTargets so it doesn't wind up nuking everything 2002-04-27 00:40:11 +00:00
Bill Currie
5a29efb8e2 fix some var shadow bugs 2002-02-23 18:12:21 +00:00
Adam Olsen
ad9c37dbd0 - add some BUGS
- fix some rogue on_hook resetters (should be using Reset_Grapple)
2001-12-21 15:04:59 +00:00
Adam Olsen
3f87cd8cc3 - X 2001-12-05 19:46:32 +00:00
Adam Olsen
0b97684c96 - bugs, todo
- cleaned up some misc bugs in the hook, as well as formatting
2001-12-05 18:47:21 +00:00
Bill Currie
6cc0a7f26c v_airgun.mdl only has 7 frames, not 8 2001-12-05 03:29:52 +00:00
Adam Olsen
1e8575dbf7 - fix the "flying tesla" bug (and a little whitespace beside it)
I compiled it, but I'm too lazy to test it.
2001-11-22 17:31:11 +00:00
Adam Olsen
4b92b3e4e5 - BUGS, TODO. yada 2001-11-22 16:38:39 +00:00
Bill Currie
f0a37abbd1 the server doesn't like think being NIL :/ 2001-11-10 06:35:43 +00:00
Bill Currie
b919c18ce1 remove the \n from the skin names. whos bright idea was that? 2001-11-07 05:05:14 +00:00
Bill Currie
99190cb79a world -> NIL for null entities. Seems to work (only issue would be borked
tests for foo == world -> !foo and for != world -> foo).
2001-11-02 17:00:52 +00:00
Adam Olsen
eb054058cd - BUGS
- fixed print from attempting to turret a sentry when you don't have
  enough metal
- fixed name order when bringing down a martyr
2001-11-02 06:38:25 +00:00
Bill Currie
7dd231a414 adapt to qfcc's new args 2001-10-26 15:23:45 +00:00
Bill Currie
111cb080d8 the break builtin doesn't parse now that qfcc has break 2001-10-25 16:41:11 +00:00
Bill Currie
c32a920e94 fix some unused/uninitialized* vars found by qfcc's new scoping.
* parameters were getting shaddowed by locals of the same name. this used to
  be harmless as the local def would just pick up the param rather than
  creating a new def, but now that params and locals are in separate scopes,
  this shaddowing becomes a potential problem.
2001-10-24 06:43:33 +00:00
Adam Olsen
abfb96ff68 - oops, remove the (commented out) debugging code :) 2001-10-20 21:10:34 +00:00
Adam Olsen
9cae55b7d8 - make mass heal do a maximum of 200 hp per person
- nudge flares a bit, so they work better with QF
2001-10-20 20:33:01 +00:00
Bill Currie
655fa7e52a more uninit var cleanup 2001-10-19 07:34:22 +00:00
Bill Currie
c01e44c7a4 fix some more uninitialized vars found by qfcc 2001-10-19 03:31:30 +00:00
Bill Currie
23d81b1e8c fix some uninitialized variables that qfcc has so far detected 2001-10-18 20:10:39 +00:00
Adam Olsen
09bf5a80dc - comment out the cheat check's speed check, so we can use the rest
without it
2001-10-18 13:30:35 +00:00
Bill Currie
0ff237871e Cleanup after qfcc's typechecking changes. This includes the elimination of
SUB_Null.
2001-10-17 07:48:11 +00:00
Bill Currie
158baea0c1 TeamFortress_SetSpeed:
o lots of whitespace
  o optimise the NIT_SCUBA test
  o only change cl_*speed when maxspeed changes
  o set cl_*speed to maxspeed rather than 1000 so cl_movespeedkey 0.5
    actually works
2001-10-17 04:48:19 +00:00
Adam Olsen
0dc44cb1ac - comment out the double-remove check, since the engine should handle
that now
- add an ASSERT macro, not that it's used
- change the build placement distances from +30 - -20 to +50 - -40
- add DMSG_MARTYR handlers, which will hopefully make the BUG deaths
  stop
2001-10-17 03:28:37 +00:00
Adam Olsen
ac4e5a8adb - fix double-remove of exploding mines 2001-10-15 05:43:35 +00:00
Adam Olsen
1171a6ffe4 - make the grapple set the player's gravity to 0 when it's active,
then to 1 again when it's released.  stops that annoying bobbing
  effect.
- also reindent one of the functions, since it annoyed me so much
2001-10-14 00:57:50 +00:00
Adam Olsen
55500b87d6 - change all usages of MSG_BROADCAST to MSG_MULTICAST, since that's
what quakeworld uses anyway
- when changing a player's team with the admin commands, change the
  player's color, not the admin's color :)
2001-10-13 23:02:22 +00:00
Adam Olsen
0cb97bdfbc - fix the "infinite sensors with aura of resistance" bug 2001-10-13 19:44:27 +00:00
Adam Olsen
d9a3e54a66 - make medic axes trigger buttons 2001-10-13 01:33:54 +00:00
Adam Olsen
63999de0a0 - don't recheck the placement location if trace_fraction == 1 2001-10-12 23:28:18 +00:00
Adam Olsen
81f9c7f253 - add a ALLOW_RCON_ABUSE define, so that stuffing commands to the
clients can be disabled (the default)
- fix teleporter space checking to only check the space a player would
  take up
- add a check so that teslas can't get negative health when hacking.
  (shouldn't happen?!)
- clean up building placement, so that anywhere from 20 below to 30
  above your feet is fair game.  it then checks for solid a second
  time if the top was solid
- add defines for checkmove (SV_Move wrapper)'s type field
  (MOVE_NORMAL, MOVE_NOMONSTER, MOVE_MISSILE)
- add a printtrace function, since I do it so often in debugging.
- BUGS, TODO
2001-10-12 06:10:59 +00:00
Adam Olsen
3d3c7170fc - reduce build drop distance from 128 to 64
- fix the "building in wall" tests when over a doorway
- change a message :)
- add the initial code for checking if a sentry is in a wall.  doesn't
  work yet though, so it's commented out.
2001-10-11 04:18:32 +00:00
Adam Olsen
1df4a0fd59 - return to old behavior of assault cannon has 2048 range, rest have
1024
- increase assault cannon damage from 5 to 8 (since it doesn't fire as
  much as it used to)
- reduce light assault damage from 4 to 3
- give light assault the same spread as an assault cannon
2001-10-09 12:25:52 +00:00
Adam Olsen
f7f447b6f0 - handle cases in Give_Frags_Out where atk or targ are world 2001-10-08 22:11:20 +00:00
Adam Olsen
5f966cf9a3 - fix timeleft so that it sets serverinfo, not localinfo. oops :)
- make it so spies remove their timer if they abort disguising
2001-10-08 19:13:33 +00:00
Adam Olsen
0c498dd760 - tweak a few things to use setorigin instead of self.origin =
- make sure telefrags happen even on your first spawn
- do a reverse telefrag if your target is invicible
2001-10-08 11:14:13 +00:00
Adam Olsen
c04bac87f3 - gib people who leave the map :) 2001-10-07 22:47:59 +00:00
Adam Olsen
5ec3dff93e - totally disable TeamFortress_ChecKTeamCheats
- fix GetNoPlayers (didn't init num_players)
- overhaul the map cycler
  - automatically restart if a cyclenumber doesn't work
  - fix minp/maxp
  - exec mapcfg.cfg each map change  (affects minp/maxp)
  - exec mapcfg/MAP.cfg each map change.  (affects minp/maxp)
- fix a "rockets explode on observers" bug
- make it so colors aren't reset every time you respawn
2001-10-07 22:15:22 +00:00
Adam Olsen
a1ecc5dda3 - BUGS/TODO
- clean up GetNextMapNum, as well as handling an unset maxmapnum
- remove an extra obituary print (leftover from my cleanups)
- cleanup UserInfoCallback a bit
- little tweak to Multi_Finish
- make it so friends{1,2,3,4}_mask infokeys override the map values if
  set, so you can force friendly teams on broken maps
2001-10-05 23:05:28 +00:00
Adam Olsen
01a28bdf9d - a crusader aura robustness fix (shouldn't ever happen, but
apparantly does)
2001-10-05 22:58:43 +00:00
Adam Olsen
d2f77c5cca - fix that hover boots money cheat
- re-comment the ARMY_TEST define and friends.  don't want that on
  normally :)
2001-10-02 09:06:20 +00:00
Adam Olsen
05c05180dc - rename ClientObituary to Obituary
- rename Obit_* to Obituary_*
- further cleanups of Obituary_Player.  This is about as clean and
  uniform as it's gonna get.
2001-10-02 01:24:28 +00:00
Adam Olsen
c3ccddb39f - BUGS
- make soldiers sometimes retreat when low on health
- make "static" mode soldiers work.  more or less.
- Massive cleanup of obituary.qc.  I'd be surprised if there isn't a
  bug or two.
2001-10-01 11:37:02 +00:00