Commit Graph

244 Commits

Author SHA1 Message Date
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
David Anderson
f0f319a418 Add WinCSX to AMBuild scripts.
Former-commit-id: eca50829ae45c9d7bad2f0c79a95ba7a1e35c63e
2014-02-08 21:16:41 -08:00
David Anderson
1f15fdd6cb Update versioning for AMBuild and git.
Former-commit-id: ea473061ef1f3b52716decfb4dafcfd66167730d
2014-02-08 20:37:33 -08:00
David Anderson
59c3e271db Remove all files related to SVN versioning.
Former-commit-id: 57a320bfe97fcf87cf2adc6a5ee3ae07814f798d
2014-02-08 16:26:40 -08:00
David Anderson
c4e90ce865 Initial import of AMBuild infrastructure for C++ projects.
Former-commit-id: 53baa4f8c25525674f5e71f8f6ff2663928500ab
2014-02-08 01:14:15 -08:00
Scott Ehlert
bc57a4e74f Triggering a build.
Former-commit-id: 45b67bd4fcacf483065d7447a2c12e6c45806b24
2014-01-22 20:03:52 -06:00
Scott Ehlert
568bec17fc Fixed building with newly updated SDK.
Former-commit-id: bf0455aea7c54493b2b921a2fef52120163e0959
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: f77f6430a288cbe1200bae05c64494f6a0030bc6
2013-09-03 17:56:27 -05:00
Vincent Herbet
da30315556 Fix Wno-delete-non-virtual-dtor flag to be passed only for .cpp files.
Former-commit-id: 4f8b31483ddf784589bc2bd53f736772147c631d
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: 39fadf43027ccfaff20a7c671aec4f22fdf432ca
2013-08-10 19:10:54 +02:00
Vincent Herbet
ec644cf1a4 Fix unused but set variable compilation error under linux.
Former-commit-id: 1aa4373e3dce07d1a8331a74a557f56eca574520
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: 47487a4aa7b32a5767c2a23df5ddc7e9643c3428
2013-08-08 19:11:12 +02:00
Vincent HERBET
57dd24a2e0 Fix incomplete implementation of csstats_pause cvar (bug 5755, r=joropito)
Former-commit-id: 4766f848641edeab86fca1d6637fc0ae09af3744
2013-06-20 17:53:59 +02:00
Vincent Herbert
f606adfa69 Fix cs_user_spawn to properly respawn players (bug 3752, r=dvander)
Former-commit-id: 3bae515741f59ca9679cbacc1f81dce6734fa67b
2013-06-15 23:08:00 +02:00
Scott Ehlert
ce4b23b41a Fixed metamod paths in MSVC projects.
Former-commit-id: c99a90817fb726ee28783d9b1139e4d540daa9fa
2013-02-13 03:22:59 -06:00
Scott Ehlert
250cb89479 Really fixed HLSDK paths in MSVC project files.
Former-commit-id: e04d44c85196034f5deebbf3c46ecc9fc710aeed
2013-02-13 02:08:29 -06:00
Scott Ehlert
f01357aa7a Fixed HLSDK paths in VS 2010 projects files.
Former-commit-id: 32516f18ee3b87c2030ba5fad91f0b3e7a1ec741
2013-02-13 01:22:50 -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
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
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
cdf3807955 Bumped version numbers. 2008-08-17 00:50:57 +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
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
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
df522ebe6f Woops!
Fix for amb1096 - csstats_rank mode 2 caused a server lockup.
2008-03-04 18:40:15 +00:00
David Anderson
656d30be83 fixed amb1096 2007-11-13 01:44:17 +00:00
David Anderson
cc99d6d1fb finalized build numbers and all that other release crap 2007-10-26 02:23:21 +00:00
David Anderson
36241e2905 updated revision numbers 2007-10-26 00:28:17 +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
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
Steve Dudenhoeffer
ffb8fc683b Implemented amb291 - cs_{set,get}_c4_defusing() 2007-08-03 19:11:47 +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
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
7c4dccac8c Added amb30 - csstats_rankbots will stop bots from showing in /top15 2007-06-21 19:37:58 +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
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
Steve Dudenhoeffer
68d2b03e48 Added amb37, amb38, amb39 and amb205: various cstrike natives.
(Still need to test)
2007-04-25 15:40:15 +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
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
ce88004900 Tiny bit of reorganizing done to WinCSX 2007-03-13 21:10:28 +00:00
Scott Ehlert
b66fea0fbc Massive reorganization attempt - part 1.77 2007-03-13 19:22:44 +00:00
Scott Ehlert
af96229d5d Massive reorganization attempt - part 1.75 2007-03-13 18:44:23 +00:00
Scott Ehlert
c71be87a3a Massive reorganization attempt - part 1
Oh dear, what has DS done now?
2007-03-13 11:46:03 +00:00
Scott Ehlert
3ac076e098 Hello, I might have added some SLN files for the MSVC8 projects 2007-03-13 03:11:28 +00:00
David Anderson
cc6b9d3d81 added dynamic versioning
committed .sln files to a few wayward projects
2007-03-12 22:27:27 +00:00
David Anderson
c7febb4447 fix for issue am44593 2006-09-10 03:01:21 +00:00
Scott Ehlert
5c23cf416e Fixed makefiles (yes, again) for hlsdk move 2006-08-27 05:29:04 +00:00
Scott Ehlert
22bef17660 Changed makefiles to point to trunk's modified version of the HL SDK 2006-08-27 03:13:11 +00:00
Scott Ehlert
81ac41037b GCC Wallification 2006-08-27 02:17:18 +00:00
David Anderson
ee4f064073 Initial bump to GCC-4.1 2006-08-24 22:44:57 +00:00
Borja Ferrer
4692335abb bumped version 2006-08-21 02:01:57 +00:00
Borja Ferrer
afe7df87d2 Added request am40169 2006-08-20 00:20:47 +00:00
David Anderson
4fe8c71d62 Added request am41375 (animation toggling on silenced weapons) 2006-08-18 20:12:20 +00:00
Scott Ehlert
895039308f Added CZ models to CsInternalModel enum (request at41295) 2006-07-13 03:07:24 +00:00
Scott Ehlert
0eca298c2a Fixed makefile paths (I think) 2006-07-12 06:05:06 +00:00
Borja Ferrer
d4bfddc034 added 2 new natives 2006-06-10 20:46:12 +00:00
Borja Ferrer
e6064af9fb added request at30290 (VEN)
fixed cs_get_user_buyzone returning true when user was in bombtarget zone or other specific areas
2006-05-26 18:26:59 +00:00
Scott Ehlert
30ce0d9f1b Another pointless typo fix 2006-05-11 02:29:08 +00:00
David Anderson
8e3a5e6d58 sdk v4 2006-05-10 12:00:22 +00:00
Scott Ehlert
dc063594de Not sure why I decided to potentially crash the server with cs_set_user_vip o_O
Stayed tuned for another episode of "What Was DS Thinking?"
2006-05-04 05:32:45 +00:00
Scott Ehlert
6cc239c66f Two extra params in cs_set_user_vip for determining whether or not model and scoreboard are updated at28699
Version bumpage
2006-05-02 21:49:17 +00:00
Scott Ehlert
0939c54048 Makefile changes to fix the clean option
Changed arch from 686 to 586
2006-04-12 16:48:47 +00:00
Scott Ehlert
8276223e68 Compile with no RTTI 2006-04-06 14:27:50 +00:00
Scott Ehlert
2da45cfd1c MSVC8 Project File + SDK Update 2006-04-06 14:17:39 +00:00
David Anderson
5e22cd5f0a Fixed bug at27323 (AndraX2000) 2006-03-29 23:33:38 +00:00
Borja Ferrer
4b0b3c0c7c bumped version 2006-03-20 22:58:27 +00:00
David Anderson
a3142a520f bumped versSIIOOON 2006-03-04 06:48:44 +00:00
Borja Ferrer
55613eb882 fixed bug at24752 2006-01-27 22:43:51 +00:00
Borja Ferrer
0b834a3f9b communicate core when setting a new team or deaths 2005-12-08 20:00:43 +00:00
David Anderson
5d8150637b Bump of version+SDK 2005-11-20 19:42:14 +00:00
Borja Ferrer
be1475b732 fixed bug at20181 ( why was an #if 0 in the function :o ) 2005-10-29 18:27:24 +00:00
David Anderson
86c2c2db02 Fixed bug where core isn't notified of a team change 2005-10-02 09:57:25 +00:00
David Anderson
2d255829a6 bumped version 2005-09-22 02:13:45 +00:00
David Anderson
57ce74c4c7 Bumped version, lowered -O flag 2005-08-30 18:43:11 +00:00
David Anderson
864f7c268e Fixed module for AMD64 2005-08-25 08:34:09 +00:00
David Anderson
c30c3cf35c CVS cleanup 2005-08-24 06:57:32 +00:00
David Anderson
80bd845182 *** empty log message *** 2005-08-18 08:36:48 +00:00
David Anderson
e401231d25 *** empty log message *** 2005-08-18 06:40:24 +00:00
David Anderson
381e331dda updated sdk 2005-08-17 16:50:01 +00:00
Johnny Bergström
d0b5886d7d Added cs_get_armoury_type and cs_set_armoury_type 2005-08-07 20:43:29 +00:00
David Anderson
2d79c6e634 *** empty log message *** 2005-08-02 08:23:36 +00:00