Commit Graph

1313 Commits

Author SHA1 Message Date
Arkshine
c2c78f6724 Cstrike: Random cleanup. 2014-07-05 00:04:20 +02:00
Arkshine
7cb004c728 Cstrike: Fix forwards [un]loading at map change. 2014-07-04 23:52:47 +02:00
Arkshine
58774361bb Cstrike: Make sure to execute forwards on alive players. 2014-07-04 16:57:40 +02:00
Arkshine
6c4cb27d3e Cstrike: Implement CS_OnBuyAttempt forward. 2014-07-04 10:41:13 +02:00
Arkshine
0728fee706 Cstrike: Make CS_OnBuy forward more reliable - part 4
Added support for shield , which is a special case.
Moved hashmap creation to OnPluginsLoaded.
2014-07-04 00:17:55 +02:00
Arkshine
884c5e9643 Cstrike: Make CS_OnBuy forward more reliable - part 3
Remove unused hooks.
2014-07-03 21:14:11 +02:00
Arkshine
0cf39307e0 Cstrike: Make CS_OnBuy forward more reliable - part 2
Purpose is to have the forward be called only on actual buying.
This has been requested on the forum.
2014-07-03 21:10:53 +02:00
Arkshine
6e50a0effd Cstrike: Make CS_OnBuy forward more reliable - part 1
Purpose is to have the forward be called only on actual buying.
This has been requested on the forum.
2014-07-03 13:40:05 +02:00
Arkshine
de73007922 Sync AMTL. 2014-07-03 11:26:50 +02:00
xPaw
9b1f4e01c7 🔥 Remove backwards compatible RadiusDamage 2014-06-05 23:20:06 +03:00
xPaw
2696f0af0e 🔥 Remove compatibility stuff from the core 2014-06-05 23:00:47 +03:00
Vincent Herbet
08378eed4b Merge pull request #25 from Arkshine/feature-client_buy-forward
Implement CS_OnBuy forward + Do some clean up (bug 5906)
2014-06-03 10:20:13 +02:00
Arkshine
2595fbe764 Cstrike: Remove unused defines and fix typo. 2014-06-03 10:05:56 +02:00
Arkshine
d2f2748e9e Cstrike: Enable/Disable detours whether CS_OnBuy and CS_InternalCommand are used in plugins + Add more check for safety. 2014-06-01 22:24:52 +02:00
Arkshine
f1e206fde6 Cstrike: Refactor code to seperate detours for readability/maintainability + Fix OSX symbols. 2014-06-01 19:00:37 +02:00
Arkshine
c96456503c Cstrike: Fix ResolveSymbol misuse under linux/osx. 2014-05-31 20:06:26 +02:00
Scott Ehlert
423eb0499b Align stack on 16 byte boundary in hamsandwich trampolines. 2014-05-31 06:34:52 -05:00
Scott Ehlert
3987085572 Combine prologue and epilogue code for void and non-void functions in hamsandwich trampolines. 2014-05-31 04:00:25 -05:00
Scott Ehlert
fe52f1eeac Don't bother saving and restoring eax in hamsandwich trampolines. 2014-05-31 03:09:17 -05:00
Arkshine
f08a4f5a66 Cstrike: Fix typo under OSX. 2014-05-31 09:14:00 +02:00
Arkshine
a984c85ffc Cstrike: Define "UseBotArgs" and "BotArgs" symbols in game data file. 2014-05-30 22:53:27 +02:00
Arkshine
f130a8ea89 Cstrike: Implement CS_OnBuy forward. 2014-05-30 16:54:36 +02:00
Arkshine
38e2e3e393 Cstrike: Move utility stuff in its own file. 2014-05-29 01:19:52 +02:00
Arkshine
e4ff6853dd Cstrike: Convert code to use CDetour and MemoryUtils. 2014-05-29 00:40:37 +02:00
Arkshine
d7b3b47aa4 Cstrike: Import some memory tools from SourceMod 2014-05-28 22:51:14 +02:00
Arkshine
62cf10f0c3 Cstrike: Move game datas in its own file. 2014-05-26 21:19:18 +02:00
Arkshine
f08e22db95 Cstrike: Rename cstrike.cpp to CstrikeNatives.cpp 2014-05-26 18:50:39 +02:00
Arkshine
88c489d393 Cstrike: Move AMXX API in a new file. 2014-05-26 18:08:41 +02:00
Arkshine
db76fc7b66 Fix cs_set_user_team issue on spectator 2014-05-12 14:41:08 +02:00
Arkshine
d3f22d2089 Add support for bot without "player" classname in Hamsandwich (bug 6111, r=ds) 2014-05-01 10:21:46 +02:00
Arkshine
c99a518ba4 Oh come one. 2014-04-18 22:31:14 +02:00
Arkshine
512e3ff61c Fix some typo and fix mac. 2014-04-18 22:22:09 +02:00
Arkshine
3d732bbbb6 Added SQL_SetCharset native to (re)set character set (bug 5999, r=ds). 2014-04-18 22:04:32 +02:00
Arkshine
d6d4badbda Fix crash in Hamsandwich with hooked function without return (hopefully last time) 2014-04-14 13:37:09 +02:00
Arkshine
0f890ce7f1 Fix crash in Hamsandwich with hooked function without return. 2014-04-14 11:39:08 +02:00
Arkshine
1a7daad657 Update globally Hamsandwich module (bug 5611, r=sawce) 2014-04-09 16:44:02 +02:00
DynamicBits
1503a6571f Fix TFC_PC_CIVILIAN value (bug 6042, r=arkshine) 2014-03-22 16:59:15 +01:00
David Anderson
d61abc5a18 Fix Windows build. 2014-02-13 00:13:43 -08:00
David Anderson
f0f319a418 Add WinCSX to AMBuild scripts.
Former-commit-id: eca50829ae
2014-02-08 21:16:41 -08:00
David Anderson
1f15fdd6cb Update versioning for AMBuild and git.
Former-commit-id: ea473061ef
2014-02-08 20:37:33 -08:00
David Anderson
59c3e271db Remove all files related to SVN versioning.
Former-commit-id: 57a320bfe9
2014-02-08 16:26:40 -08:00
David Anderson
922b4802f1 Port AMBuild scripts to Windows.
Former-commit-id: 9af9b5f205
2014-02-08 16:09:29 -08:00
David Anderson
90b2860fd2 Get parity with makefile flags.
Former-commit-id: d1ee3b0780
2014-02-08 14:49:03 -08:00
David Anderson
c4e90ce865 Initial import of AMBuild infrastructure for C++ projects.
Former-commit-id: 53baa4f8c2
2014-02-08 01:14:15 -08:00
Scott Ehlert
bc57a4e74f Triggering a build.
Former-commit-id: 45b67bd4fc
2014-01-22 20:03:52 -06:00
Scott Ehlert
568bec17fc Fixed building with newly updated SDK.
Former-commit-id: bf0455aea7
2013-09-05 19:51:52 -05:00
Scott Ehlert
2a458530b7 Fixed cstrike module crash on OS X (r=dvander).
Valve now compiles OS X binaries with -fvisibility=hidden, so dlsym no longer works with non-exported symbols.


Former-commit-id: f77f6430a2
2013-09-03 17:56:27 -05:00
DynamicBits
de818ab5ec Update tfcx LINUXOFFSET value (bug 5845, r=arkshine)
Former-commit-id: 0f1908fa74
2013-08-24 00:56:26 +02:00
Vincent Herbet
da30315556 Fix Wno-delete-non-virtual-dtor flag to be passed only for .cpp files.
Former-commit-id: 4f8b31483d
2013-08-10 19:29:28 +02:00
Vincent Herbet
419c8f6ee6 Fix client_death/damage forwards passing alive victims on ClientKill (bug 5812, r=Nextra)
Former-commit-id: 39fadf4302
2013-08-10 19:10:54 +02:00
Vincent Herbet
ddacdb0ab2 Add set_ent_rendering native (bug 5773, r=Nextra)
Former-commit-id: d322cd2e79
2013-08-10 14:16:26 +02:00
Vincent Herbet
ec644cf1a4 Fix unused but set variable compilation error under linux.
Former-commit-id: 1aa4373e3d
2013-08-10 13:01:23 +02:00
Vincent Herbet
0afe87be0a Add get_map_objectives native for CS (bug 5820, r=Nextra)
Former-commit-id: 47487a4aa7
2013-08-08 19:11:12 +02:00
Vincent Herbet
225494b559 Fix tfcstats_pause imcomplete implementation (bug 5836, r=Nextra)
Former-commit-id: ea7b0f56fd
2013-08-07 16:46:40 +02:00
Vincent Herbet
dca0bbcbb1 Fix tfcstats_rankbots not working as expected when disabled (bug 3192, r=Nextra)
Former-commit-id: 2ed695c8bb
2013-08-07 16:44:25 +02:00
Vincent Herbet
3e1c70a887 Allow [g|s]et_pdata_cbase usage at map end whereas player's private datas are still valid (following fakemeta behavior) (bug 5787, r=me)
Former-commit-id: 30394243ff
2013-07-31 17:54:46 +02:00
DynamicBits
2854e70c94 Fix DOD grenade_throw incorrect calling behavior and wrong returned weapon IDs (bug 5785, r=arkshine)
Former-commit-id: 79252c33fb
2013-07-27 23:08:33 +02:00
Vincent Herbet
2f964928ff Fix pfn_spawn metamod return to follow engine behavior (bug 5807, r=me)
Former-commit-id: efe3bda51b
2013-07-27 20:36:33 +02:00
Vincent Herbet
7498f84261 Fix uninitialized variable warning.
Former-commit-id: 65acac2b4f
2013-07-04 20:36:31 +02:00
Vincent Herbet
93339d9be4 Add client_cmdStart forward (bug 5779, r=me)
Former-commit-id: 785ce1ea81
2013-07-03 01:00:52 +02:00
connorr
90e7aa65a1 Fix incorrect behavior of impulse forwards (bug 3243, r=Arkshine)
Former-commit-id: 1aae4c3ec5
2013-07-03 00:19:12 +02:00
Vincent Herbet
1e7a4d2727 Comply to AMXX style for more consistency in 47c47df488e8
Former-commit-id: f9deb552af
2013-07-02 23:31:27 +02:00
Vincent Herbet
83e70d7dd7 Add [Get|Set]ModelCollisionBox and [Get|Set]ModelBoundingBox (bug 3527, r=joropito)
Former-commit-id: 4d174007b1
2013-07-02 20:48:18 +02:00
Vincent Herbet
c0fcf06c96 Add [get|set]_pdata_[bool|byte|short|vector|ehandle] and set_pdata_ent (bug 5770, r=joropito)
Former-commit-id: da3d13a9c0
2013-07-02 16:05:39 +02:00
Nextra
15572e2d61 Fix server crash when nvault is writting to journal file without write permission (bug 3231, r=Arkshine)
Former-commit-id: 6ad9e6bc8c
2013-07-02 10:20:21 +02:00
Vincent HERBET
57dd24a2e0 Fix incomplete implementation of csstats_pause cvar (bug 5755, r=joropito)
Former-commit-id: 4766f84864
2013-06-20 17:53:59 +02:00
Vincent HERBET
d5ce84a9f5 Fix pev_blending not working with set_pev (bug 5758, r=me)
Former-commit-id: 4c3fc7eb97
2013-06-16 22:15:19 +02:00
Scott Ehlert
f6ff4796b2 Fixed Linux and Mac builds.
Former-commit-id: 6f39588049
2013-06-16 12:55:22 -05:00
Vincent Herbert
f606adfa69 Fix cs_user_spawn to properly respawn players (bug 3752, r=dvander)
Former-commit-id: 3bae515741
2013-06-15 23:08:00 +02:00
connorr
de8257d7aa Fix set_view altering pev properties instead of entity_state for rendering players (bug 5382, r=arkshine)
Former-commit-id: 89a65c6a7f
2013-06-15 22:02:24 +02:00
Vincent Herbert
f608ae76ed Fix crash using [get|set]_usercmd (bug 5744, r=me)
Former-commit-id: 676952c02f
2013-06-15 20:59:11 +02:00
Scott Ehlert
146d77f819 Fixed Windows tsx build.
Former-commit-id: 9ffe036541
2013-02-13 03:32:25 -06:00
Scott Ehlert
ce4b23b41a Fixed metamod paths in MSVC projects.
Former-commit-id: c99a90817f
2013-02-13 03:22:59 -06:00
arkshine
a3aa086375 Fix crash in EngFunc_TraceTexture (bug 4576, r=dvander).
Former-commit-id: c439946a34
2013-02-13 00:27:53 -08:00
Reuben Morais
82ad133d91 Add hamsandwich support for Adrenaile Gamer (bug 4445, r=dvander).
Former-commit-id: e08f1dfccf
2013-02-13 00:25:48 -08:00
Scott Ehlert
250cb89479 Really fixed HLSDK paths in MSVC project files.
Former-commit-id: e04d44c851
2013-02-13 02:08:29 -06:00
Scott Ehlert
f01357aa7a Fixed HLSDK paths in VS 2010 projects files.
Former-commit-id: 32516f18ee
2013-02-13 01:22:50 -06:00
Scott Ehlert
37f7975416 Rebuilt compiler binaries and built new binaries for OS X. 2013-02-13 01:16:41 -06:00
Scott Ehlert
40c1fee55a Added support for Mac OS X and building with clang (bug 5601, r=dvander). 2013-02-13 01:14:37 -06:00
Scott Ehlert
6c22cb171d Synced hamdata.ini. 2013-02-04 18:40:04 -06:00
Scott Ehlert
77e900585a Backed out changeset 41ca53ad9bff 2013-02-04 18:37:37 -06:00
Scott Ehlert
86bfeec554 Synced hamdata.ini 2013-02-04 18:36:18 -06:00
Scott Ehlert
45343e6e27 Updated hamsandwich offsets for HL1 and CS 1.6 beta. 2013-02-04 07:31:33 -06:00
Scott Ehlert
944f608f09 Fixed hamsandwich vtable patching on Linux for newer GCC binaries. 2013-02-04 07:31:32 -06:00
Scott Ehlert
ad960a64e2 Fixed Linux ClientCommand detour crash in cstrike module for beta. 2013-02-02 23:41:45 -06:00
Scott Ehlert
da2eb8ea66 Hopefully fixed Windows build. 2011-07-01 21:51:27 -05:00
Scott Ehlert
9d65198786 Upgraded MSVC project files for VS 2010 and modified build tool to use them. 2011-06-29 00:50:14 -05:00
Hawk552
afc663a51a Lowered wait time in between threaded queries (bug 3740, r=dvander). 2010-04-27 00:24:50 -07:00
David Anderson
1bfdda7e71 Fixed more Makefile paths. 2010-04-04 18:00:36 -07:00
David Anderson
330fd1c2ae Fixed Makefile paths for Metamod. 2010-04-04 17:55:37 -07:00
David Anderson
73e3e52057 Updated version files for HG. 2010-04-04 17:22:45 -07:00
David Anderson
b706108ed6 Squashed commit of the following:
commit 011d9b6b07d904ad1e81ef7c747269903e2d47c4
Author: David Anderson <dvander@alliedmods.net>
Date:   Mon Jan 11 00:17:08 2010 -0600

    Initial import from Subversion (amxmodx/trunk rev 3757).
2014-02-06 23:06:54 -08:00
David Anderson
0b4f28fecf SQL_QuoteString can now be used without a DB handle (bug 3427, r=sawce). 2009-01-08 20:02:09 +00:00
David Anderson
cdf3807955 Bumped version numbers. 2008-08-17 00:50:57 +00:00
David Anderson
73ea754640 Fixed not building because sdk stuff was moved around. 2008-08-16 23:24:25 +00:00
David Anderson
ce9728af93 Fixed GeoIP not compiling on gcc 2008-08-16 23:20:07 +00:00
David Anderson
6486c56a15 Bumped versions. 2008-08-16 22:47:59 +00:00
Scott Ehlert
0dc6a4a5dd Whoa, amb1941: All of AMX Mod X is now officially moved over to Visual Studio 2005 (MSVC 8)
Also did the following:
* Removed -fPIC from all Linux makefiles
* AMXX build tool now also moved over to VS 2005
* AMXX build tool binary renamed from "AMXXRelease" to "builder"
* MSVC project files now can use environment variables to point to the paths of the Metamod headers and HL SDK: $(METAMOD) and $(HLSDK) respectively
2008-08-16 09:48:39 +00:00
Scott Ehlert
626bfe5240 Updated GeoIP code 2008-08-16 08:24:19 +00:00
Scott Ehlert
e4a3647b88 Updated GeoIP database to August 2008 2008-08-16 07:59:05 +00:00
Scott Ehlert
f942a857d0 Moved sven module of out trunk for now 2008-08-16 07:46:30 +00:00
Steve Dudenhoeffer
240c92e20f Updated all module SDKs to stop the most annoying issue ever: amxxmodule.h required size_t but did not include stddef.h
Also stopped dodfun, dodx, tfcx and tsx from loading on games other than the ones they are designed for.
2008-04-29 06:53:55 +00:00
Steve Dudenhoeffer
1d7cbd4203 Added check for mod game when a module loads: If the module has the optional function, and reports that it is not an expected game, the module will not load.
This should fix how some people seem to think the counter strike modules will work on games other than counter strike.
2008-04-27 00:07:06 +00:00
Steve Dudenhoeffer
4049a0c3be Initial addition of ns_remove_upgrade (amb1635): oh god I hope this will suffice 2008-04-26 21:40:56 +00:00
David Anderson
6d03b29963 forgot 32-on-64 support for this 2008-04-15 23:36:13 +00:00
David Anderson
44e078c7c0 added support for building 32-bit on 64-bit machines 2008-04-15 23:26:54 +00:00
Steve Dudenhoeffer
e3e64233ec Fix for amb1596 ; csx was allocating a buffer to small for csstats.amxx's stats[] array 2008-04-10 05:48:36 +00:00
Steve Dudenhoeffer
9348f9931e amb1096 affected DoD, TS and TFC modules, fixed. 2008-03-23 03:45:21 +00:00
Steve Dudenhoeffer
69a8a86ff6 Fix for nvault not loading on some Linux servers - nvault no longer uses exceptions, so libstdc++ is no longer needed 2008-03-04 19:06:39 +00:00
Steve Dudenhoeffer
df522ebe6f Woops!
Fix for amb1096 - csstats_rank mode 2 caused a server lockup.
2008-03-04 18:40:15 +00:00
Steve Dudenhoeffer
9801c4166f Fix for amb1389 - client_changeteam had a reversed syntax 2008-03-04 17:22:40 +00:00
Steve Dudenhoeffer
80db0ed0b3 Fix for amb1452 - ns_give_item was giving wrong items 2008-03-04 17:19:15 +00:00
David Anderson
b9d98ede39 fixed amxx build 2008-01-07 18:18:52 +00:00
Zor
e6c8afa5de Removed the olddeadflag from CPlayer and moved the spawn forward into the PStatus Client Message 2007-12-28 19:13:24 +00:00
David Anderson
1497d58e41 removed -fno-threadsafe-statics, didn't do anything 2007-11-13 16:46:59 +00:00
David Anderson
fd028ca1e7 fix for amb1077 - PT_TLS bugs in glibc 2007-11-13 16:45:55 +00:00
David Anderson
df96a81a75 fixed code that was clearly never tested (amb1126) 2007-11-13 02:25:20 +00:00
David Anderson
656d30be83 fixed amb1096 2007-11-13 01:44:17 +00:00
David Anderson
408e69c41c fixed amb1079 - threaded queries with results would crash 2007-10-30 00:09:18 +00:00
David Anderson
cc99d6d1fb finalized build numbers and all that other release crap 2007-10-26 02:23:21 +00:00
David Anderson
7f51048438 fixed ns makefile 2007-10-26 01:31:28 +00:00
David Anderson
212697b950 whoops, that was one terrible commit. the bug is really fixed now. 2007-10-26 01:09:08 +00:00
David Anderson
6a567f3c77 fixed a memory corruption bug in CVector 2007-10-26 01:03:23 +00:00
David Anderson
36241e2905 updated revision numbers 2007-10-26 00:28:17 +00:00
David Anderson
f6276db4d0 fixed amb1067 - SQL_SetAffinity crashed when targeting sqlite 2007-10-26 00:10:09 +00:00
David Anderson
dbf6143747 fixed linux build 2007-10-23 11:24:51 +00:00
David Anderson
4aafcc50a0 lowered thread think time from 500ms to 200ms 2007-10-22 22:21:20 +00:00
David Anderson
a86b1c5097 added amb281 - multiple result sets for MySQL 2007-10-22 21:31:02 +00:00
David Anderson
b7f8503655 added amb844 - get_pdata_ent 2007-10-22 19:52:06 +00:00
David Anderson
748d000c02 fixed the other native relying on this offset as well 2007-10-03 00:54:19 +00:00
David Anderson
c1791361da now for the one byte fix... 2007-10-03 00:51:25 +00:00
David Anderson
6a483cfcae fixed amb291 issue 2007-10-03 00:50:30 +00:00
David Anderson
fcdd17480c fix for amb253 - database now spinlocks instead of failing to lock 2007-10-02 23:38:31 +00:00
David Anderson
639db5846e workaround for msvc optimizing away stack usage on detour 2007-08-16 16:30:16 +00:00
David Anderson
16f6048d74 updated comment so future bail doesn't ask "which one is right" 2007-08-10 07:17:40 +00:00
David Anderson
e2c1bad224 fixed a serious bug in the ClientCommand detour for cstrike, crashing on cl_autobuy 2007-08-10 07:12:04 +00:00
David Anderson
0b581b1506 fixed mysql makefile 2007-08-09 16:03:41 +00:00
David Anderson
9e0f3f01a7 fixed ns win32 build 2007-08-04 00:02:35 +00:00
David Anderson
06b461acd7 fixed msvc7 project files for ns 2007-08-03 23:51:10 +00:00
Steve Dudenhoeffer
ffb8fc683b Implemented amb291 - cs_{set,get}_c4_defusing() 2007-08-03 19:11:47 +00:00
Steve Dudenhoeffer
aa2cac0f0c added fastdelegates, sheesh 2007-08-03 17:41:34 +00:00
Steve Dudenhoeffer
2bc6d965f6 Fix for amb437
dod_set_user_kills & dod_set_user_score no longer have the dead scoreboard class side effect.

dod_set_pl_deaths comment has been updated to reflect the side effect.
2007-08-03 17:35:12 +00:00
David Anderson
605bef0482 ham sammich is now versioned properly 2007-08-03 17:01:31 +00:00
David Anderson
2379aa3108 fixed msvc7 project files 2007-08-03 16:36:04 +00:00
Steve Dudenhoeffer
e254ef6b15 Added ns_get_user_team for a replacement for get_user_team. 2007-08-03 02:57:59 +00:00
Steve Dudenhoeffer
c77176a4ce Re-added svn versioning to module 2007-08-02 16:33:34 +00:00
Steve Dudenhoeffer
c604eefde0 Merge of rewritten NS module into trunk 2007-08-02 16:20:32 +00:00
Steve Dudenhoeffer
48022d3c5c Implemented amb673 - pre-compiled regular expression support.
Also commented in the include file a bit better.
2007-08-01 17:36:10 +00:00
Steve Dudenhoeffer
a28a80e45f Few additions to fakemeta:
Implemented amb632 - lookup_sequence, also added set_controller (since it dealt with models).

Implemented set_pev_string, for setting with an already allocated string handle.  Also added pev_serial, to get the entity serial number.
2007-07-24 06:05:43 +00:00
Steve Dudenhoeffer
2cbf7fca08 Forgot to update SVN with TS3.0 and RegisterHamFromEntity changes 2007-07-19 18:43:27 +00:00
Steve Dudenhoeffer
4b02ffa920 Fix for amb519: geoip_code2 and geoip_code3 will overflow the result buffer on an unsuccessful lookup.
Added two replacement natives for those two: geoip_code2_ex and geoip_code3_ex, could not modify the old natives without breaking backwards compatibility.
2007-07-19 18:37:13 +00:00
Steve Dudenhoeffer
8316318c31 Fix for amb343 - tfc_clearmodel didn't function as advertised. 2007-07-17 02:18:04 +00:00
Steve Dudenhoeffer
7b6d4ce699 Fix for amb503 - csx module not setting meta result when paused. 2007-06-30 05:11:13 +00:00
Steve Dudenhoeffer
a3342213b5 Added amb427: Additional weapons to dod_{get,set}_user_ammo 2007-06-22 18:25:16 +00:00
Steve Dudenhoeffer
b3e61b1d75 Fix for amb108 - statsx keeping port when saving stats by ip - this should still allow for old stats files to work, but there is a small chance for idiosyncrasies if there are multiple users with the same ip (but different port) saved. 2007-06-22 15:35:46 +00:00
Steve Dudenhoeffer
6865b984e0 Fixed accidental reversal of think and touch virtual index under Day of Defeat. 2007-06-22 05:06:49 +00:00
Steve Dudenhoeffer
7c4dccac8c Added amb30 - csstats_rankbots will stop bots from showing in /top15 2007-06-21 19:37:58 +00:00
Steve Dudenhoeffer
7690f1a099 Fixed the mirror system not working. 2007-06-12 15:59:10 +00:00
Steve Dudenhoeffer
4504875df9 Fixed Makefile
Fixed a few forwards not having FP_DONE at the end (doh!)
2007-05-16 15:24:14 +00:00
Steve Dudenhoeffer
cd023c30d9 Added GPL header to all files.
Item_CanDrop -> {CS,DOD}_Item_CanDrop

Added Ham_CS_Item_GetMaxSpeed

Reversed classname and callback parameters for RegisterHam.

Finished commenting ham_const.inc.
2007-05-16 03:57:18 +00:00
Steve Dudenhoeffer
b660df8df6 Added {get,set}_pdata_cbase{_safe} - compliments Fakemeta's get_pdata functions, but this will set/get an offset that is a CBaseEntity.
Split constants from hamsandwich.inc into ham_const.inc.

Finished commenting native calls, need to finish the constant comments.
2007-05-13 14:01:13 +00:00
Steve Dudenhoeffer
b1a086ee93 Added {get,set}_pdata_cbase{_safe} - compliments Fakemeta's get_pdata functions, but this will set/get an offset that is a CBaseEntity.
Split constants from hamsandwich.inc into ham_const.inc.

Finished commenting native calls, need to finish the constant comments.
2007-05-13 13:59:54 +00:00
Steve Dudenhoeffer
504ddb4c2f Expanded ESF entries (they had the Linux binary in a retarded location).
Added vanilla HLDM support.

Fixed a weird crash when compiled in release build for Linux.

Expanded HamFilter error messages a tad.
2007-05-12 17:33:58 +00:00
Steve Dudenhoeffer
d38d2f56e1 Fixed large return values (Vectors) in MSVC. 2007-05-12 13:16:05 +00:00
Steve Dudenhoeffer
9b0ed67c9c Fixed vtable for TFC and NS 2007-05-11 16:54:26 +00:00
Steve Dudenhoeffer
1081e84981 Disassembled the rest of the mods, all but cs are untested currently. 2007-05-11 15:02:25 +00:00
Steve Dudenhoeffer
ee64440fef Removed TFC_DBGetItemName because I can't figure out the return value syntax (it doesn't sound like a useful function anyway).
Disassembled DoD for the new virtual functions.

Fixed cs weapon virtual functions.  Oops :o
2007-05-10 17:17:33 +00:00
Steve Dudenhoeffer
0c56e2803e Added more virtual functions to the table, only have counter-strike disassembled currently. 2007-05-10 16:08:02 +00:00
Steve Dudenhoeffer
5fc89085d6 Added the ability to change parameters on the fly.
Added GetHamReturnStatus()
2007-05-09 14:58:55 +00:00
Steve Dudenhoeffer
f747acdc7c Added return type modification / retrieval.
Added HAM_{IGNORED,HANDLED,OVERRIDE,SUPERCEDE} to include file.

Added the ability to disable and re-enable hooks.
2007-05-08 17:26:51 +00:00
Steve Dudenhoeffer
4e2493759e Hopefully fixed up HamExecuteB for the last time.
Fixed a small memory leak because I wasn't deleting post forwards at map change.

Hopefully fixed an erroneous display of 'stray' keys.
2007-05-07 13:51:40 +00:00
Steve Dudenhoeffer
1f1ecfa590 Added module auto load to hamsammich.
Started the stupid comment crap.
2007-05-05 12:36:12 +00:00
Steve Dudenhoeffer
bd2ad31f5e Fixed HamExecuteB and made its system a bit more logical. 2007-05-04 15:42:02 +00:00
Steve Dudenhoeffer
fb5e7dbfdb Added unhooking of virtual tables at map change.
Removed some more debugging output.
2007-05-04 14:56:57 +00:00
Steve Dudenhoeffer
0ac5ce46a7 Removed legacy code from my search to find the mystical link errors.
Removed some debug output from Trampolines.
2007-05-04 13:07:02 +00:00
Steve Dudenhoeffer
1073a42409 Fixed silly link errors in MSVC 2007-05-04 13:05:09 +00:00
Steve Dudenhoeffer
66d7d39bee First commit of the rewrite
Doesn't build on windows for some retarded reason
2007-05-04 12:51:13 +00:00
Steve Dudenhoeffer
46bd9127fb Removing files for a r3wr1t3 2007-05-04 12:39:53 +00:00
David Anderson
6170cbc95a implemented amb92 2007-05-02 23:11:49 +00:00
Scott Ehlert
e34120803d Implemented request amb242: added cs_get/set_user_hostagekills() natives 2007-05-01 21:38:39 +00:00
Scott Ehlert
fdb094045e Wow, nice typo DS 2007-05-01 21:27:52 +00:00
Scott Ehlert
8c45216cfd Oh, forgot to reset ServerPrint 2007-04-30 18:32:40 +00:00
Scott Ehlert
897ed0cb10 Implemented request amb237 - added ServerPrint to Fakemeta 2007-04-30 18:29:33 +00:00
Scott Ehlert
fd8489d088 Fixed amb116 - DispatchKeyValue didn't work with worldspawn (entity 0) 2007-04-28 16:19:04 +00:00
David Anderson
710cd548a9 added linux support to CS_InternalCmd 2007-04-26 20:07:31 +00:00
David Anderson
0377715cdc added CS hook to catch internal bot commands and rebuy commands for players 2007-04-26 19:18:55 +00:00
Scott Ehlert
fc2b220c38 Fixed amb230 - radius_damage didn't completely kill players on some mods 2007-04-25 18:13:16 +00:00
Steve Dudenhoeffer
68d2b03e48 Added amb37, amb38, amb39 and amb205: various cstrike natives.
(Still need to test)
2007-04-25 15:40:15 +00:00
David Anderson
82c3807bd5 implemented SQL_QuoteString and SQL_QuoteStringFmt
fixed sqlx test script not working on first load
2007-04-25 13:55:56 +00:00
Scott Ehlert
5d6d0282b0 Fixed amb110 - socket_change() returned 1 if select() syscall returned -1 (KoST) 2007-04-24 19:17:30 +00:00
Scott Ehlert
33e01af955 Fixed Windows builds of all modules - they were broken as a result of all the moves of svn_version.h *sigh* 2007-04-24 18:50:16 +00:00
David Anderson
bfe1ff6e15 implemented amb27 (SQL_Rewind)
fixed builds
2007-04-24 15:46:33 +00:00
David Anderson
adfc2ab451 fixed mysql msvc7 build 2007-04-24 15:26:08 +00:00
Scott Ehlert
8e1f54465d Fixed amb226 - missing return after pfnClientPrintf 2007-04-20 19:02:35 +00:00
Zor
8dc310f1bb Fixed error on compile that svn_version.h could not be found in moduleconfig.h 2007-04-15 10:26:55 +00:00
Zor
9cca961024 Fixed error with the dod_client_spawn not being called when the player spawns after a map cap and not being dead 2007-04-15 10:24:45 +00:00
Scott Ehlert
ae46e3f6ab Moved svn_version.h and svn_version.tpl out of SDK directories... 2007-03-27 16:07:28 +00:00
Scott Ehlert
118b002ee8 Synced Module SDK files with most recent fixes
- Fixed potential issue with Meta_Query
 - Removed debug message from GiveFnptrsToDll that has been present for a long long time

Again I ask why?
2007-03-21 20:22:20 +00:00
Scott Ehlert
a004e906dd Updated SQLite to 3.3.13 - why? I have no idea 2007-03-21 20:19:37 +00:00
Scott Ehlert
eaa4122c5a Fixed amb107: socket_open doesn't return error by reference 2007-03-19 09:45:45 +00:00