Scott Ehlert
bd9fab6cf5
Added support for Dark Messiah engine and game. (no bug, r=me).
...
The development of this feature would not be possible without the support of the following people from the game's community:
Dylan Riggs, Carl Pettengill, Ed Moreland, and Christian.
2009-02-18 02:19:22 -06:00
Scott Ehlert
992c05b6aa
Wow, buildbot, just wow. You built 1.1 instead of 1.2 again.
2009-01-28 02:14:41 -06:00
Scott Ehlert
f4a5457941
Merged changes from sourcemod-1.1 branch.
2009-01-28 00:00:19 -06:00
Scott Ehlert
7167a807bf
Fixed a crash in the Event Manager when a game fired an event from a listener that was looking for the same event (bug 3468, r=me).
...
In other words it was a problem where our FireEvent hooks were being re-entered for the _same_ game event. The Event Manager was not able to handle this and crashed.
2009-01-27 23:53:48 -06:00
Scott Ehlert
22675ba2e7
Fixed crash in GetClientInfo() native on L4D (bug 3569, r=me).
...
The CreateFakeClient signature (used for verification before retrieving the IServer interface pointer) changed in a recent update. The IServer pointer was therefore null and GetClientInfo() did not check for this.
The CreateFakeClient signature is also no longer hardcoded. It is modifiable in gamedata/sdktools.games/engine.*.txt.
2009-01-22 15:20:45 -06:00
Scott Ehlert
157f050f89
Fixed a memory leak when game events were hooked as EventHookMode_Post (no bug, r=me).
...
The duplicated event data that was being carried over to the IGameEventManager2::FireEvent post hook was not being freed. EventHookMode_Post is the default so this leak could have happened fairly often.
2009-01-27 13:41:57 -06:00
Scott Ehlert
e1d2b88c23
Fixed some inconsistencies in admins_simple.ini (bug 3540).
2009-01-02 00:31:23 -06:00
Scott Ehlert
4b1deee7e1
El merge.
2008-12-29 00:12:37 -06:00
Scott Ehlert
bf5fefe84f
Merge from sourcemod-1.1 branch.
2008-12-29 00:11:32 -06:00
Scott Ehlert
5c92b0d154
Bumped version to 1.1.1 and added back -dev build string.
2008-12-28 23:50:26 -06:00
Scott Ehlert
2b7ccf6625
Tagging SourceMod 1.1.0
2008-12-28 23:41:14 -06:00
Scott Ehlert
dd338d40f3
Triggering build.
2008-12-08 03:28:08 -06:00
Scott Ehlert
1cc8440900
Triggering build.
2008-12-08 00:46:54 -06:00
Scott Ehlert
47cf8f4233
Merge from 1.1 branch.
2008-12-07 21:07:14 -06:00
Scott Ehlert
eedfd2d70d
Shell script code in Makefiles is _really_ POSIX compliant now.
...
Missed an equal sign :\
2008-12-07 21:05:51 -06:00
Scott Ehlert
4e88626d65
Merge, agh.
2008-12-07 20:54:23 -06:00
Scott Ehlert
a1b91ac136
Merge from 1.1 branch.
2008-12-07 20:52:06 -06:00
Scott Ehlert
4bbd74b702
Shell script code in Makefiles is now POSIX compliant and is able to be run on dash.
2008-12-07 20:40:31 -06:00
Scott Ehlert
1d07d24054
Triggering a build?
2008-12-07 00:49:29 -06:00
Scott Ehlert
0a0fd0c64a
Triggering yet another build.
2008-12-07 01:26:03 -05:00
Scott Ehlert
a7c6fc12d8
Triggering a build on an off chance.
2008-12-06 23:53:55 -06:00
Scott Ehlert
48f0a49f9b
Triggering a build perhaps.
2008-12-06 23:26:18 -06:00
Scott Ehlert
b63d714a06
Triggering a build maybe.
2008-12-06 22:17:51 -06:00
Scott Ehlert
7bdcea5814
Merged changes from 1.1 branch.
2008-12-05 15:57:49 -06:00
Scott Ehlert
f418f38589
Added L4D build config to sample extension's project files.
2008-12-05 15:56:36 -06:00
Scott Ehlert
52377b509b
Triggering another build to fix bug 3478 for real.
2008-12-03 10:41:00 -06:00
Scott Ehlert
14152bb7ba
Triggering build to fix bug 3478.
...
The structure of typedescription_t in our L4D SDK was wrong and it has been updated.
Not only does this fix sm_dump_datamaps in SDKTools, but it also fixes issues with the datamap-related natives in Core where there was a datamap within a datamap.
2008-12-03 10:34:32 -06:00
Scott Ehlert
d51aaec97d
Fixed a memory leak that occurred when a ConCmdIter handle was closed. (L4D engine)
...
Note: These handles are used by the FindFirstConCommand and FindNextConCommand natives.
2008-12-02 10:57:42 -06:00
Scott Ehlert
90a44ea6c8
Pushed build.
2008-11-28 23:49:37 -06:00
Scott Ehlert
fef83838f9
Merged another change from 1.1 branch.
2008-11-28 23:34:18 -06:00
Scott Ehlert
1422a9abe3
Merged changes from 1.1 branch.
2008-11-28 23:32:59 -06:00
Scott Ehlert
7b1adfe00b
Added msvc9 project file for sample_ext
...
Also updated msvc8 project file for compilation against MM:S 1.7
2008-11-27 02:37:31 -06:00
Scott Ehlert
28e1568eb7
Missed a reference to SOURCEMM16 in JIT project files (bug 3445).
2008-11-27 02:20:08 -06:00
Scott Ehlert
0a6eac7c27
Added .hgignore so that 'hg status' can ignore untracked files of certain types.
2008-11-27 00:49:37 -06:00
Scott Ehlert
ecaced40f2
Now compiles against Metamod:Source 1.7 (bug 3445).
2008-11-27 01:13:51 -06:00
Scott Ehlert
25a0a192a2
Added /MP back to core and sdktools MSVC project files.
2008-11-24 09:41:46 -06:00
Scott Ehlert
843ff25de4
Moved SE_* constants from PrePreprocessorDefinitions to AdditionalOptions in MSVC project files.
...
-Doing this should make it a bit easier to maintain in the future.
Also added back /MP to core and sdktools.
2008-11-24 09:33:11 -06:00
Scott Ehlert
4563c00deb
Merge.
2008-11-24 08:39:46 -06:00
Scott Ehlert
7a38e5584c
OriginalFilename field in core/version.rc now has correct filename based on engine.
2008-11-24 08:37:06 -06:00
Scott Ehlert
e26ce2b457
OriginalFilename field in core/version.rc now has correct filename based on engine.
2008-11-24 08:25:36 -06:00
Scott Ehlert
9c1e45d97c
Fixed crash when L4D server went into hibernation mode after having had an active bot and a reserved name was used by this bot
...
- When going into hibernation, ClientSettingsChanged is called for remaining bots
- Hook checks bot's name against reserved names in admins config and tries to kick using IClient::Disconnect
- Method of getting IClient relies on client having an INetChannel pointer
- Bots do not have an INetChannel pointer so this results in a crash
2008-11-21 14:09:50 -06:00
Scott Ehlert
c2756c731f
Try 2 of eliminating VPK warning.
...
Previous commit was more complicated then it really needed to be.
2008-11-19 02:38:28 -06:00
Scott Ehlert
d6fc82f8fa
Merge.
2008-11-19 02:16:45 -06:00
Scott Ehlert
2acf1b08d5
'Relatized' the path passed to FileToKeyValues() native.
...
This eliminates the annoying warning in L4D:
***VPK: FindFile Attempting to use full path with VPK file!
2008-11-19 02:14:43 -06:00
Scott Ehlert
9ae456b9d1
Updated makefiles to link against binaries at l4d directory instead of l4d_demo
2008-11-18 06:00:31 -06:00
Scott Ehlert
5bbeddc134
Oops, removed something I shouldn't have
2008-11-17 22:13:32 -06:00
Scott Ehlert
373fbb6ca3
Removed debugging code from ConVarManager
2008-11-17 22:11:06 -06:00
Scott Ehlert
43f5d71724
Fixed IndexOfEdict and PEntityOfEntIndex inlines to be in line with updated edict_t structure in SDK
2008-11-14 23:08:24 -06:00
Scott Ehlert
41b61ed36f
Fixed tab inconsistency in some build tool source files.
2008-11-14 16:55:09 -06:00
Scott Ehlert
31e30faace
Triggering build
2008-11-14 09:58:40 -06:00
Scott Ehlert
ff7a2c6b73
Added preliminary support for Left 4 Dead; some things may not yet work.
2008-11-14 09:18:30 -06:00
Scott Ehlert
acea705df8
Moved IDA scripts from editor/ida to tools/ida_scripts
...
--HG--
rename : editor/ida/gcc_fpic.idc => tools/ida_scripts/gcc_fpic.idc
rename : editor/ida/linux_vtable_dump.idc => tools/ida_scripts/linux_vtable_dump.idc
2008-11-14 03:51:57 -06:00
Scott Ehlert
7e3f9ada31
Moved IDA scripts from editor/ida to tools/ida_scripts
...
--HG--
rename : editor/ida/gcc_fpic.idc => tools/ida_scripts/gcc_fpic.idc
rename : editor/ida/linux_vtable_dump.idc => tools/ida_scripts/linux_vtable_dump.idc
2008-11-14 03:38:59 -06:00
Scott Ehlert
2f0965c14b
Fixed Linux build
2008-11-12 23:22:33 -06:00
Scott Ehlert
c1c5d2656c
The replicate and notify parameters for SetConVarX and ResetConVar are now ignored on Orange Box.
...
- OB engine automatically replicates and fires server_cvar event notification for changes cvars.
- Added a note about this in comments for affected natives.
2008-11-12 23:14:49 -06:00
Scott Ehlert
00bb796db2
Version 1.2 of fPIC script
...
- Now works with GCC 4.3 compiled binaries (like Left 4 Dead)
- Fixed: Redefining alignment blocks as data caused IDA to pop up an annoying warning
2008-11-06 17:07:53 -06:00
Scott Ehlert
6c1259f6e6
Import of IDA script to demangle fPIC on x86 (checkin=dvander).
2008-11-06 00:08:24 -08:00
Scott Ehlert
326e8ee205
Fixed tags for sourcemod-central
...
sourcemod-1.0.0 - Orginally tagged by David Anderson <[email protected] > on Mon Mar 17 01:28:54 2008 UTC
2008-09-14 03:43:26 -05:00
Scott Ehlert
bda56bf33f
Eliminated head: da55a80522cf, a remnant of sourcemod-1.1.0 branch
2008-09-14 03:01:05 -05:00
Scott Ehlert
7439f15d7e
Eliminated head for dead branch: refac-jit
2008-09-14 02:59:26 -05:00
Scott Ehlert
7a4967abc9
Eliminated head for dead branch: sourcemod-1.1.0
2008-09-14 02:58:58 -05:00
Scott Ehlert
6749545991
Eliminated head for dead branch: dvander
2008-09-14 02:58:07 -05:00
Scott Ehlert
124c3f4575
Eliminated head for dead branch: faluco
2008-09-14 02:57:14 -05:00
Scott Ehlert
56b77a536f
Removed files for dead branch: refac-jit
...
--HG--
branch : refac-jit
2008-09-14 02:55:49 -05:00
Scott Ehlert
e175cce776
Removed files for dead branch: sourcemod-1.1.0
...
--HG--
branch : sourcemod-1.1.0
2008-09-14 02:55:25 -05:00
Scott Ehlert
097f42a01c
Removed files for dead branch: faluco
...
--HG--
branch : faluco
2008-09-14 02:54:50 -05:00
Scott Ehlert
93944e7f4b
Fixed build.
...
"Nice" improvement DS.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402474
2008-08-24 05:05:04 +00:00
Scott Ehlert
1251093ec1
Improved bot detection slightly. This was meant to go along with the fix for amb1801.
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402473
2008-08-24 04:35:48 +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
Scott Ehlert
c2917a8dd4
Fixed Windows build
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402409
2008-07-12 04:08:41 +00:00
Scott Ehlert
bd2361c8ae
Bumped IForwardSys
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402388
2008-07-08 21:17:05 +00:00
Scott Ehlert
c9a81c0651
- Fixed amb1802: Crash when client was disconnected as a result of false being returned in OnClientConnect and a function that operated on this client was used. A client's connection state was not reset when this happened.
...
- Removed IForwardFilter due to overall horribleness (should be safe since no one seems to use it). Perhaps it might be back one day?
- Added ET_LowEvent forward exec type which is exactly the same as ET_Event, except that it returns the lowest value rather than the highest
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402386
2008-07-08 09:20:47 +00:00
Scott Ehlert
8a5d833c89
Updated DOD:S Beta offsets
...
Added FireOutput support for DOD:S (amb1749)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402309
2008-06-30 05:43:31 +00:00
Scott Ehlert
4a32aff158
Fixed regression (introduced by revision 2242 aka Phase 0) where 'sm plugins list' displayed all plugins as having an id of 1
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402253
2008-06-11 08:28:34 +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
Scott Ehlert
9ac54e5fb2
Fixed rare crash in event manager when a null IGameEvent pointer was passed to the IGameEventManager2::FireEvent() hooks
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402245
2008-06-06 04:55:27 +00:00
Scott Ehlert
076b5191c9
Removed TF2_GivePlayerWeapon() and TF2_EquipPlayerClassWeapons() stocks as they no longer work at all
...
The 'weapons' paramater in the TF2_SetPlayerClass() class is now ignored since it no longer works
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402237
2008-05-31 22:33:17 +00:00
Scott Ehlert
d595e020cd
Added #pragma deprecated to GetEntDataEnt() and SetEntDataEnt()
...
(these were already considered deprecated, but now the compiler will officially complain about them)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402225
2008-05-30 22:42:30 +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
Scott Ehlert
df83dbc04e
Fixed Windows trunk build
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402202
2008-05-28 04:28:04 +00:00
Scott Ehlert
aa73e41f29
Fixed CrazyDebug not working with Episode One games
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402191
2008-05-25 12:46:03 +00:00
Scott Ehlert
e794883b1f
Added support for recent Day of Defeat Beta
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402175
2008-05-24 06:06:13 +00:00
Scott Ehlert
47fa9d9464
Fixed amb1688 - Linux GivePlayerItem/GiveNamedItem offset for Day of Defeat was incorrect
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402161
2008-05-20 09:45:13 +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
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
Scott Ehlert
1e70b04f48
Removed odd debug code, err, in CrazyDebug of all places
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402131
2008-05-09 08:22:39 +00:00
Scott Ehlert
1adb549a8d
CrazyDebug just got crazier!
...
1) Now works with SrcDS -console + DEP on Windows
2) Updated vcproj files for OB, Episode 1, etc
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402129
2008-05-09 08:04:27 +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
Scott Ehlert
5c6a2868d9
Updated TF2 virtual offsets for goldrush/medic update
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402109
2008-04-30 04:15:09 +00:00
Scott Ehlert
21c0466b3d
Added any tag to ADT array functions to fix potential tag mismatches
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402094
2008-04-24 10:25:44 +00:00
Scott Ehlert
9487f9d631
Updated NOTICE.txt to describe how to add svn:keywords to existing files
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402079
2008-04-17 10:00:52 +00:00
Scott Ehlert
678cb82ec0
Gah, finalized the revised ILibrarySys::GetFileExtension() code
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402078
2008-04-17 09:28:46 +00:00
Scott Ehlert
c4c8948d95
Oops. Fixed ILibrarySys::GetFileExtension() to work properly on Windows again.
...
(Had accidentally copied revised version from my Linux-only propcheck program)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402075
2008-04-17 09:23:18 +00:00
Scott Ehlert
1e1f0de4ec
Rewrote ILibrarySys::GetFileExtension() to fix the following issues:
...
- Crash when NULL was passed
- Crash when blank string '\0' was passed
- Incorrect result returned when file name began with a period. These files are now considered to not have any extension.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402074
2008-04-17 09:19:36 +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
Scott Ehlert
e1aba62c15
added debug out for fopen failure - really
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402026
2008-04-10 18:14:30 +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
Scott Ehlert
4d3d51b5dd
Fixed amb1577 - CreateConVar return documentation was incorrect
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401980
2008-04-02 17:43:58 +00:00