Commit Graph

162 Commits

Author SHA1 Message Date
David Anderson
3c18289465 Fixed race condition where client cookie callbacks could be fired against wrong clients (bug 3375). 2008-10-31 08:28:08 -05:00
David Anderson
253109d1c9 Rewrote querying in client prefs to not use prepared queries (bug 2698, r=pred).
Prepared queries had annoying race conditions and became unusable on connection timeouts.
2008-10-20 03:40:46 -05:00
David Anderson
c0c9fc3267 Fixed buffer reallocation in dbi.mysql leaving stale pointers behind and crashing (bug 3352). 2008-10-19 22:57:28 -07:00
David Anderson
5a2f8afd33 Fixed calling the wrong GetError(), causing misleading spew (part of bug 2698). 2008-10-17 02:04:09 -05:00
David Anderson
974f31c149 Various clientprefs logging to try and catch bug 2698 in the act. 2008-10-15 01:01:36 -07:00
Matt Woodrow
ff7cb43f6a Build fix attempt one (1) 2008-10-09 13:58:53 +13:00
Matt Woodrow
dc3b4a57cc Structs now builds for the old engine (bug 3286) - again. 2008-10-09 13:35:14 +13:00
Matt Woodrow
7009e755fe Backed out changeset: 44b02986c01b
Damn you tortoisehg
2008-10-09 13:33:47 +13:00
Matt Woodrow
bba2cfc6f7 Structs now builds for the old engine (bug 3286) 2008-10-09 13:24:44 +13:00
David Anderson
4e7000368f Fixed clientprefs race condition on first run (bug 3294, r=pred). 2008-10-05 01:09:58 -05:00
David Anderson
168f42323b Missing regex vc9 project files (this is getting really tiresome). 2008-09-27 17:54:02 -07:00
David Anderson
64e7d0b737 Forgot to commit game.cstrike.ext msvc9 project files. 2008-09-27 17:43:30 -07:00
David Anderson
2e8c0c8f7d Added environment variable for MySQL5 since vcbuild.exe is being a pain. 2008-09-27 17:25:53 -07:00
David Anderson
88a71ddad4 Migrated to Visual Studio 2008 for default builds (bug 3257). 2008-09-27 14:59:09 -07:00
Matt Woodrow
f4dba84ae5 Core now detects and handles a changed maxplayers value (bug 2537 and bug 2758) 2008-09-26 19:08:49 +12:00
Matt Woodrow
187ff255bd GCC will not beat me! 2008-09-18 18:42:13 +12:00
Matt Woodrow
a0107299f3 Predcrab - Destroyer of builds strikes again 2008-09-18 18:27:41 +12:00
Matt Woodrow
46095d797c Merge 2008-09-18 15:33:50 +12:00
Matt Woodrow
5687a7ba90 Added Struct Abstraction extension (bug 2666 and bug 2663)
--HG--
rename : extensions/structs/structs.txt => gamedata/structs.gamedata.txt
rename : extensions/structs/structs.inc => plugins/include/structs.inc
rename : extensions/structs/structtest.sp => plugins/testsuite/structtest.sp
2008-09-18 15:32:22 +12:00
David Anderson
09ea2e13aa Fixed SDKTools not cleaning up its handle types on shutdown (but 2753). 2008-09-15 04:28:26 -05:00
David Anderson
fb44b51d26 Updated version files so I can build again. 2008-09-14 22:16:35 -07:00
David Anderson
bcf1b092ae Mirrored buildbot/version template changes from branch.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402539
2008-09-14 06:13:25 +00:00
David Anderson
29d1246b8d Fixed another sdktools team native crash, if m_szTeamName wasn't available (bug amb1779, r=pred).
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402530
2008-09-08 07:00:34 +00:00
David Anderson
e141cf74d5 Fixed three bugs with team natives that appeared on INS: bounds checking had wrong binary shortcut order, bounds checking was off by one, error condition was not returned properly. Out-of-range team indexes no longer cause crashes now.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402523
2008-09-07 22:17:12 +00:00
David Anderson
fe4e39a2dd Fixed amb1935 - When deleting a topmenu category, child objects were not removed from the name cache.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402485
2008-09-02 06:01:12 +00:00
Matt Woodrow
58870a30fb Fixed structs sig.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402481
2008-08-29 02:26:22 +00:00
Matt Woodrow
e52e3c4639 Initial Import of beta structs extension.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402440
2008-08-08 00:17:37 +00:00
Matt Woodrow
a01848c774 Increased Clientprefs error reporting and a rare leak on database connection failed.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402434
2008-08-05 08:00:54 +00:00
David Anderson
463cfb0015 fixed a crash-on-load bug in clientprefs
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402420
2008-07-16 02:48:50 +00:00
Matt Woodrow
3ed5d1e8d7 Fixed build. I <3 you too gcc.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402419
2008-07-15 02:26:22 +00:00
Matt Woodrow
e64e2534eb Fixed amb1810 - Clientprefs no longer blocks load.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402418
2008-07-15 00:24:08 +00:00
Scott Ehlert
846caf1298 Builds against latest OB SDK now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402410
2008-07-12 09:05:19 +00:00
David Anderson
b743af8a72 fixed cstrike build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402407
2008-07-12 03:19:55 +00:00
Matt Woodrow
81632dda97 Fixed unload crash with tf2 extension.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402391
2008-07-09 02:03:13 +00:00
Matt Woodrow
d2d2578314 Fixed more critical hit crashes when compiled on msvc8.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402358
2008-07-05 22:28:02 +00:00
Borja Ferrer
d0cbd943f1 fixed eyeangles helper not being freed
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402345
2008-07-05 00:15:18 +00:00
Matt Woodrow
89c49c3976 And again with the fixes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402337
2008-07-03 07:30:50 +00:00
Matt Woodrow
7314d81947 Forgot SM doesn't use the new sdk yet
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402318
2008-07-01 09:10:21 +00:00
Matt Woodrow
d530d0c726 Big critical hits cleanup. Cleaner, easier to maintain, uses less memory and should be much less likely to cause crashes when valve change things on me.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402317
2008-07-01 09:04:00 +00:00
David Anderson
b01dd0798c clientprefs now uses the new dbi dependency shim
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402316
2008-07-01 06:13:09 +00:00
Matt Woodrow
cdf54a3db1 Fixed mem leak in clientprefs
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402310
2008-06-30 23:07:54 +00:00
Matt Woodrow
e0a69507a0 Single most annoying and hard to find bug ive ever come across. I'd like to thank MSVC for not firing the one breakpoint I actually needed. Oh and a possible fix to sdktools.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402295
2008-06-29 05:04:41 +00:00
Matt Woodrow
29de57d415 Fixed an uninitialised string causing weird results.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402292
2008-06-29 03:27:15 +00:00
Matt Woodrow
42359a243a Entity Outputs now fail silently if the mod is not supported.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402282
2008-06-26 08:07:47 +00:00
Matt Woodrow
bc8c9ba691 Should fix amb1756 - Invalid access on TraceRay handles.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402256
2008-06-19 03:13:57 +00:00
Scott Ehlert
ac68a441ee All natives that use a recipient filter now actually validate the clients passed to them.
This includes StartMessage(), StartMessageEx() from Core as well as EmitSound(), EmitSentence(), and TE_Send() from SDKTools

(Warning: This may potentially cause a minor compatibility problem with plugins that don't check client validity before passing to these natives)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402252
2008-06-11 08:07:17 +00:00
Matt Woodrow
72a1fb06d0 I'm sure i'll get this right eventually.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402250
2008-06-09 07:24:24 +00:00
Matt Woodrow
8a7ced18de Second attempt at fixing SetUserInfo (try committing the right file this time)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402249
2008-06-09 07:21:26 +00:00
Matt Woodrow
06c8f3a093 Fixed SetUserInfo to work on bots
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402248
2008-06-09 07:18:49 +00:00
Matt Woodrow
22aa6561b5 Added SetUserInfo command to sdktools.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402247
2008-06-09 07:12:32 +00:00
David Anderson
2c94b1268a phase0, new versioning. we don't use build numbers anymore except (VS_VERSIONINFO stays until phase 3 is done)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402242
2008-06-02 05:03:27 +00:00
Matt Woodrow
46ce91c4f7 Fixed amb1735 - Client Prefs create table queries typo
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402241
2008-06-01 22:31:58 +00:00
Scott Ehlert
5b4f98b354 Fixed amb1727 - TF2_Disguise and TF2_RemoveDisguise had incorrect signatures
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402223
2008-05-30 22:38:04 +00:00
David Anderson
3b4c800baa (merging from branch) fixed amb1583 - MySQL string fetch from prepared queries returned corrupted data.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402217
2008-05-29 04:47:42 +00:00
David Anderson
ca9b2784bd extensions now use the repository build number intsead of their local commit number
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402204
2008-05-29 03:19:55 +00:00
David Anderson
81af704f58 added amb1715 - tracehull
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402201
2008-05-28 03:04:28 +00:00
Matt Woodrow
044ee841f2 Fixed amb1690 - Client prefs tables now create themselves.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402199
2008-05-26 07:51:36 +00:00
Matt Woodrow
8cd8228251 Fixed amb1358 - Timeleft not reseting on TF2 restarts
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402183
2008-05-25 02:07:52 +00:00
Matt Woodrow
dea6b06e2c Added a load-block for incorrect mods to TF2 and cstrike extensions.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402173
2008-05-24 04:08:29 +00:00
Matt Woodrow
c16afc9cd3 Fixed amb1687 - Infinite loop in Entity Outputs
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402157
2008-05-20 02:51:02 +00:00
David Anderson
80b2ea646a fixed a delayed unload crash in sdktools
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402155
2008-05-20 02:24:42 +00:00
Matt Woodrow
f7613f80f1 Fixed Crit hits sigs for Windows and cleaned up the code somewhat
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402154
2008-05-18 00:51:51 +00:00
David Anderson
b90386276f fixed wrong re-use of variable
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402153
2008-05-17 18:14:34 +00:00
David Anderson
8ad5d61878 added a new ia32 macro for the mov eax opcode
cleaned up a bit of the crit hook code

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402152
2008-05-17 08:30:17 +00:00
Scott Ehlert
9023afff0d Trunk build fixes
Fixed up IGameHelpers.h such that it no longer requires HL2SDK headers if a function doesn't need them

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402144
2008-05-13 08:22:49 +00:00
Matt Woodrow
f388b0612b Build fix attempt
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402142
2008-05-12 09:18:50 +00:00
Matt Woodrow
d88ba02fde CLIENT PREFS ARE GO!!1!shiftone!!1!
Fully implemented amb734 - Including console interface and menu for clients to use.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402140
2008-05-12 08:06:47 +00:00
Scott Ehlert
6e91780e73 Err, fixed Linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402139
2008-05-12 02:05:57 +00:00
Scott Ehlert
77ff2c40bd Symbols no longer stripped on Linux for easier debugging
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402137
2008-05-11 07:49:30 +00:00
David Anderson
aee95b6c74 bug fix, optimization
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402135
2008-05-10 19:21:11 +00:00
David Anderson
f1ef53cdff implemented amb1613 - p2p voice filters now work
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402134
2008-05-10 19:17:21 +00:00
Matt Woodrow
35eb2f2ce5 A sad response to amb1655 - TF2_SetPlayerInvuln is broken and now removed.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402127
2008-05-08 23:43:02 +00:00
Scott Ehlert
c5330c73b7 Attempted fix for amb1648 - stack corruption when GetClientEyeAngles() is called on Windows
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402124
2008-05-02 07:47:38 +00:00
Matt Woodrow
7a968cb33c Re-added the msvc8 folder that I broke.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402122
2008-05-02 01:31:15 +00:00
Matt Woodrow
a2aa6b0daf Added msvc9 Project files to sdktools. Badly.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402121
2008-05-01 23:48:27 +00:00
Matt Woodrow
8df36003a8 Updated TF2 Extension to fix critical hits.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402119
2008-05-01 07:29:46 +00:00
Matt Woodrow
90b739ae48 I love you gcc.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402102
2008-04-25 06:05:35 +00:00
Matt Woodrow
f41aefc525 Cleaned up a few sdktools files.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402097
2008-04-25 05:20:17 +00:00
Matt Woodrow
0c22ab3972 Trying to upgrade clientprefs to msvc9 - Part 2
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402096
2008-04-25 00:08:27 +00:00
Matt Woodrow
221e7d48a7 Trying to upgrade clientprefs to msvc9 - Part 1
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402095
2008-04-24 23:27:50 +00:00
Matt Woodrow
0771411eac Fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402085
2008-04-19 04:14:47 +00:00
Matt Woodrow
e6de7c0c2d Fixed amb1607 - TF2 extension critical hit crashes.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402083
2008-04-19 03:41:14 +00:00
Matt Woodrow
84bde330cd Fixed build.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402073
2008-04-17 06:08:18 +00:00
Matt Woodrow
e63a5cd3dc Initial import of amb734 - Client preferences extension.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402072
2008-04-17 04:58:09 +00:00
David Anderson
946834b868 added amb1620 - ActivateEntity
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402068
2008-04-16 23:29:03 +00:00
Matt Woodrow
90d4fed4a9 Fixed minor player selection bug in tf2 extension
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402059
2008-04-14 03:13:15 +00:00
Borja Ferrer
6d2a3a7964 fixed amb1586 for real
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402052
2008-04-12 23:03:30 +00:00
Borja Ferrer
800838d76a fixed build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402048
2008-04-12 02:11:16 +00:00
Borja Ferrer
a483ec5dc5 experimental fix for amb1586 - team native crash
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402044
2008-04-12 01:35:45 +00:00
David Anderson
c42a26bb66 fixed crash bug on shutdown
removed implementations from header

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402043
2008-04-12 01:33:55 +00:00
Matt Woodrow
75a77c1925 Fixed amb1611 - Spy knife critical detour reading from wrong gamedata key
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402041
2008-04-12 00:58:34 +00:00
Scott Ehlert
c473d75d3d Added more missing svn:keywords properties to some files (this should be the last of them before I never have to do this again)
Moved sm_memtable files in sqlite extension to sdk directory (to be consistent with topmenus)
Some extension source files had an incorrect extension name in their headers

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402037
2008-04-11 17:16:36 +00:00
Scott Ehlert
70301419b1 Added svn:keywords property to some files that didn't have them already
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402030
2008-04-10 19:28:26 +00:00
Borja Ferrer
ad37496d34 just some cleaning
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402029
2008-04-10 19:25:50 +00:00
David Anderson
472e9969d9 added util.cpp to makefile
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402027
2008-04-10 18:44:15 +00:00
Matt Woodrow
ec69b34cbb Added Critical Hit hook to TF2 extension
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402016
2008-04-10 04:49:17 +00:00
Scott Ehlert
f08ce7f62f Oh god, Spring Cleaning Part San (3) - Finaare
- Removed batsupport extension
 - Made EVERY makefile consistent with the changes originally made to the sample extensions's makefile
 - Sample MM:S extension now uses unified makefile
 - Various innumerable changes to VS project files

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402012
2008-04-09 09:10:28 +00:00
David Anderson
544ed79284 fixed typo in the tf version files
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401999
2008-04-06 08:20:22 +00:00
David Anderson
222b543adb added regex versioning to windows
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401998
2008-04-06 08:20:02 +00:00
David Anderson
2bec3aaa49 added versioning to regex (linux only)
added regex/tf to version markup list
bumped all svn_versions to 1.1

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401997
2008-04-06 08:13:30 +00:00