Commit Graph

629 Commits

Author SHA1 Message Date
Johnny Bergström
6200ee6977 Fixed about box :-P 2005-01-21 16:23:55 +00:00
Johnny Bergström
e98fb7d6e4 Included WinCSX project 2005-01-21 16:09:25 +00:00
Johnny Bergström
4e6233b898 WinCSX 0.2 initial commitment 2005-01-21 16:08:36 +00:00
Johnny Bergström
544b74f839 Crashes after hitzones "fix".
This should fix that. Hopefully.
2005-01-17 07:45:20 +00:00
Johnny Bergström
53188ab941 New natives: cs_set_user_armor(), cs_get_user_armor()
cs_set_user_armor() should be used instead of fun's set_user_armor().
2005-01-16 16:30:18 +00:00
Johnny Bergström
188023b5ac Fixed get_stats in csx and get_stats2 in csx_sql
csx and csx_sql now have exact same functionality, apart from csx_sql can also export stats to sql database if activated with cvar...
2005-01-14 12:21:12 +00:00
Johnny Bergström
f18adbf9d6 Updated get_stats and get_stats2 to also retrieve authid 2005-01-14 12:14:34 +00:00
Johnny Bergström
9959ef52b3 Possibly fix the hitzones problem. 2005-01-13 11:02:14 +00:00
Johnny Bergström
8e58484fc5 get_stats now looks like this:
native get_stats(index,stats[8],bodyhits[8],name[],len,authid[],authidlen=0);
(authid + authidlen are new)
+ fixes
2005-01-12 01:24:40 +00:00
Johnny Bergström
a58ab24b0c Added cvar csx_sqlstats_exportstats 2005-01-11 15:31:47 +00:00
Johnny Bergström
a67085217f Fixes 2005-01-11 13:02:06 +00:00
Johnny Bergström
f08f16c20d Adds cvars:
cvar_t *csx_sqlstats_host;
cvar_t *csx_sqlstats_username;
cvar_t *csx_sqlstats_password;
cvar_t *csx_sqlstats_db;
cvar_t *csx_sqlstats_table;

Exports players' statistics at map change to SQL db right after it saved those to the dat file.
2005-01-11 12:23:57 +00:00
David Anderson
ec9d4a52fe Updated library to 7.4.6 2005-01-10 16:42:46 +00:00
David Anderson
40640c92d4 *** empty log message *** 2004-12-09 18:25:46 +00:00
Lukasz Wlasinksi
c5b3919122 fixed custom weapons system 2004-12-08 23:40:42 +00:00
Lukasz Wlasinksi
29a22bb5fd more changes in Damage MSG 2004-12-03 00:57:16 +00:00
Lukasz Wlasinksi
2baf9c4c20 damage message changes 2004-12-02 02:11:09 +00:00
Lukasz Wlasinksi
c4727c1dc3 fixed grenade problems ( returning wrong (older) owner ) 2004-11-30 15:46:09 +00:00
Johnny Bergström
08fea0eea1 Removed some unneeded stuff from class. 2004-11-15 00:20:28 +00:00
Johnny Bergström
11fa330f10 Renamed to CStrike :-D gyar!! 2004-11-13 19:49:25 +00:00
David Anderson
6251521102 *** empty log message *** 2004-11-11 11:07:37 +00:00
David Anderson
719af5c72c *** empty log message *** 2004-11-11 10:55:22 +00:00
David Anderson
ee464539de Fixed authors and version numbers 2004-11-11 09:08:12 +00:00
David Anderson
db77c245e6 Fixed copyrights and version numbers 2004-11-11 08:58:54 +00:00
Lukasz Wlasinksi
f73a8356f6 do not touch my modules ! ;P 2004-11-10 00:45:21 +00:00
Lukasz Wlasinksi
77c5198009 fixed modules problems when declared also in metamod's plugins.ini 2004-11-10 00:25:53 +00:00
Johnny Bergström
28a1182cd2 Updated EngFunc_SetKeyValue :-) 2004-11-09 16:47:33 +00:00
Johnny Bergström
16444a713a Updated EngFunc_SetKeyValue 2004-11-09 16:47:06 +00:00
Steve Dudenhoeffer
f950d384b6 Fixed crash in FM_MessageBegin 2004-11-07 20:36:49 +00:00
Felix Geyer
dc7e1e2494 updated to November 2004-11-06 13:13:02 +00:00
Johnny Bergström
850557df5a Updated get_user_hitzones 2004-11-02 16:51:42 +00:00
Johnny Bergström
ee8e30417c Confirmed all offsets for all platforms. (fixed backpack ammo offsets for players which was off, and also fixed offsets for 32 bit linux concerning weapons and the cs_?et_weapon_* natives should now work) 2004-10-29 14:44:48 +00:00
Johnny Bergström
8f18856e91 Fixed SetView (by always hooking Spawn and precaching the needed dummy model rpgrocket.mdl) 2004-10-27 19:06:43 +00:00
David Anderson
ddfba00791 Fixed 2004-10-25 23:08:06 +00:00
David Anderson
4e0bfe161e fixing SAWCE'S error 2004-10-25 17:06:24 +00:00
Lukasz Wlasinksi
3d1162ecd9 client_ forwards will now work with kill command 2004-10-25 11:05:59 +00:00
Steve Dudenhoeffer
3414cd7ce7 fixed pev bug.. 2004-10-24 21:03:12 +00:00
Johnny Bergström
66386cca59 Fixed entity_set_byte 2004-10-24 15:41:25 +00:00
David Anderson
4edd77faee Crash bug fix from Damaged Soul 2004-10-24 01:11:41 +00:00
Steve Dudenhoeffer
89eda75b1f Touch it and die, bail. 2004-10-20 14:24:54 +00:00
Steve Dudenhoeffer
f14808e009 Updated SDK
Fixed client_built forward...
2004-10-20 14:24:03 +00:00
Lukasz Wlasinksi
ee3404fea0 removed "is_alive" check from ResetHUD function 2004-10-16 22:22:54 +00:00
Steve Dudenhoeffer
14c3930b3d Damnit, bail 2004-10-16 14:26:11 +00:00
Johnny Bergström
3efa25a5fb Fixed entity_set_edict 2004-10-14 08:15:41 +00:00
Johnny Bergström
c29a7d34e5 Renamed cs_get_weapon_type -> cs_get_weapon_id 2004-10-14 06:09:01 +00:00
Lukasz Wlasinksi
ea70c77dd8 enabled emitsound_post function (knife shot fix, Damaged Soul ) 2004-10-07 08:58:01 +00:00
David Anderson
92eda7c214 *** empty log message *** 2004-10-06 18:43:26 +00:00
Felix Geyer
fec17424fb updated to October 2004-10-05 20:16:50 +00:00
David Anderson
74dca8b6ef Fixed some bugs 2004-10-05 08:51:57 +00:00
David Anderson
2a187988f6 fixed project 2004-10-05 08:35:05 +00:00
David Anderson
d1ee9ee9ba *** empty log message *** 2004-10-05 08:33:31 +00:00
David Anderson
380f560fa4 Finalized (not tested!) 2004-10-05 08:32:23 +00:00
David Anderson
8a57648b87 AMD64 support 2004-10-05 08:13:55 +00:00
David Anderson
80b8591295 Fixed a few bugs, added makefile 2004-10-05 08:04:13 +00:00
David Anderson
ef8ad4a894 *** empty log message *** 2004-10-05 07:18:09 +00:00
David Anderson
41b6f6bd4a Initial import (untested!) 2004-10-05 07:17:49 +00:00
David Anderson
9e8f380121 changed is_valid_ent 2004-10-05 00:45:15 +00:00
David Anderson
77aa0f4f8e Fixed bad error checking routine 2004-10-04 20:32:26 +00:00
David Anderson
7963eb1cde added ms.net projs 2004-10-04 12:39:03 +00:00
David Anderson
02d8b2c523 Added makefile 2004-10-04 08:15:06 +00:00
David Anderson
227fb0411e Moved to other dirs 2004-10-04 08:11:28 +00:00
David Anderson
5e52c45968 New SDK + debugging engine 2004-10-04 08:00:32 +00:00
David Anderson
18b75cb07c Updated a bunch of SDKs and moved the rest to the new debugging system. 2004-10-04 06:14:30 +00:00
David Anderson
4e1c5a3e02 *** empty log message *** 2004-10-04 05:51:48 +00:00
David Anderson
5db290890f Fixed debugging stuff 2004-10-04 05:51:27 +00:00
David Anderson
bb12f71137 made worldspawn a valid ent 2004-10-03 23:21:54 +00:00
David Anderson
0a3911231b made worldspawn a valid ent 2004-10-03 22:49:29 +00:00
David Anderson
846ef95c58 Added debugging engine 2004-10-03 22:33:55 +00:00
David Anderson
601bb30b7e Added debugging engine 2004-10-03 21:54:27 +00:00
David Anderson
9728b79c33 Fixed configuration error 2004-10-03 21:44:48 +00:00
David Anderson
90baf98057 Added debugging engine 2004-10-03 21:43:03 +00:00
David Anderson
8ad6437dd8 Added debugging engine 2004-10-03 21:33:09 +00:00
David Anderson
02bf904467 Added debugging support 2004-10-03 21:10:10 +00:00
David Anderson
62e4bbcfe9 Added new debug mode to fun module, also cleaned up error checking code 2004-10-03 20:19:47 +00:00
David Anderson
fc15ac1f41 Added debugging engine 2004-10-03 20:00:23 +00:00
David Anderson
f3cfd31668 Added AlertMessage to fakemeta 2004-10-03 07:04:08 +00:00
Lukasz Wlasinksi
d5646ae238 update .. 2004-09-29 17:43:25 +00:00
Johnny Bergström
df43d897df Fioxed call_think:
if (!is_ent_valid(iEnt)) {
		EngineError(amx, "Invalid Entity %d", iEnt);
		return 0;
	}

was

	if (is_ent_valid(iEnt)) {
		EngineError(amx, "Invalid Entity %d", iEnt);
		return 0;
	}
2004-09-29 06:17:44 +00:00
Steve Dudenhoeffer
3b90cca5bd Fixed user_slap for NS 2004-09-28 02:44:26 +00:00
Steve Dudenhoeffer
b7c9cfeea4 Changed touch paramters on give item 2004-09-27 21:52:41 +00:00
Johnny Bergström
ecc07d4b45 Fixed some small mistakes. 2004-09-27 13:45:13 +00:00
Johnny Bergström
8da965552b TK offset for AMD64 added. 2004-09-27 13:28:51 +00:00
Johnny Bergström
cfe36dea52 Added 2 of 3 new offsets for amd64 2004-09-27 10:54:41 +00:00
Johnny Bergström
c669efd609 New stuff in cstrike module:
cs_get_user_driving()
cs_set_user_tked()
cs_get_user_tked

Also cs_?et_user_deaths() offset updated.

Thanks to Damaged Soul for these.
2004-09-26 13:02:22 +00:00
Johnny Bergström
3fc3ece5b0 Added cs_get_weapon_type(index) 2004-09-25 23:24:34 +00:00
Johnny Bergström
6887dfef16 CS: buyzone offset update to 235 2004-09-24 21:13:07 +00:00
Johnny Bergström
5157be6e3d Updated offset for VIP: to 209 2004-09-24 05:21:39 +00:00
Steve Dudenhoeffer
82ca25b231 wow... =/ 2004-09-23 21:00:43 +00:00
Steve Dudenhoeffer
a555f9b3f0 Fixed message blocks (jtp10181) 2004-09-23 20:59:26 +00:00
Lukasz Wlasinksi
5233be593f added dod_set_user_kills 2004-09-21 21:25:30 +00:00
Lukasz Wlasinksi
8d06f80eeb fixed some bugs in weapon stats functions 2004-09-21 18:04:22 +00:00
Steve Dudenhoeffer
f074af039b (>'.')------P(x_@<) 2004-09-19 22:01:23 +00:00
Lukasz Wlasinksi
30ec1eec60 fixed meta result error in player prethink 2004-09-19 19:44:47 +00:00
Lukasz Wlasinksi
04b88c16a9 many changes , bomb countdown fix, custom_weapon_add fix, bomb damage support in death,damage forwards, added gasnades plugin with custom weapon support so gas damage/kills will be detected by csstats. 2004-09-19 09:51:05 +00:00
Johnny Bergström
768ea7519f get_info_keybuffer() now works in client_authorized 2004-09-18 13:14:20 +00:00
David Anderson
3eed3b7f07 Removed CString references 2004-09-18 05:39:14 +00:00
David Anderson
3419aa4dc5 Fix for isspace 2004-09-17 19:04:44 +00:00
David Anderson
ab2794d4bd Fixed files not fclose()ing
Module no longer reloads on mapchange
2004-09-17 01:19:03 +00:00
Lukasz Wlasinksi
ec5f944c03 added csx module 2004-09-16 18:15:20 +00:00
Johnny Bergström
d43807a248 Added get_string() to engine:
/* Converts a string offset into a real string. Some of the forwards in fakemeta
   uses string offsets. (FM_CreateNamedEntity) */
native get_string(_string, _returnString[], _len);
2004-09-16 11:02:51 +00:00
Steve Dudenhoeffer
0c2dbdbc47 Minor check in get_tr added 2004-09-15 18:55:30 +00:00
Steve Dudenhoeffer
1485014229 Fixed traceresults and trace hooks.. 2004-09-15 18:40:18 +00:00
Pavol Marko
8fbbda13c6 added FNullEntity check 2004-09-15 15:17:52 +00:00
David Anderson
a96d26d573 *** empty log message *** 2004-09-15 08:33:39 +00:00
Lukasz Wlasinksi
fb7d1c0a7d fixed wrong kills and deaths number 2004-09-15 08:25:07 +00:00
David Anderson
4ed906248d Fixed traceresults (Freecode) 2004-09-14 23:39:22 +00:00
David Anderson
569ef4d494 fix for tracelien forward 2004-09-14 18:02:32 +00:00
Johnny Bergström
26465afbf7 Fixed cs_set_hostage_follow for amd64 2004-09-14 17:57:34 +00:00
Steve Dudenhoeffer
9a21e3e9d3 Removed some debugging output 2004-09-14 15:41:55 +00:00
Johnny Bergström
60940512e2 Fixed amd64 offsets... cs_get_hostage_follow works, cs_set_hostage_follow doesn't yet :-( 2004-09-14 09:58:45 +00:00
Johnny Bergström
d4e69d97e0 Added amd64 offsets. They aren't 100% tested to work (but should work...) 2004-09-14 09:35:52 +00:00
David Anderson
f171842cf8 added traceresult stuff 2004-09-14 06:16:52 +00:00
David Anderson
35ffbf8ca6 Fixed API error 2004-09-12 22:16:56 +00:00
Lukasz Wlasinksi
8589f0bcf5 fixed null weapon problems in get_user_astats 2004-09-12 18:00:53 +00:00
David Anderson
f2dcb89609 possible bad library 2004-09-12 07:24:35 +00:00
David Anderson
1ba9a39b3f removed iostream 2004-09-12 00:44:15 +00:00
David Anderson
5453b55bdc *** empty log message *** 2004-09-12 00:38:17 +00:00
David Anderson
16f51ea619 *** empty log message *** 2004-09-12 00:32:11 +00:00
David Anderson
b209d92a2a Fixed bug noted by JJKiller 2004-09-12 00:20:00 +00:00
David Anderson
0def8c9354 wow 2004-09-12 00:17:21 +00:00
David Anderson
ac59f75523 Fixed memory allocation 2004-09-12 00:14:34 +00:00
David Anderson
f2faf990a0 Fixed bug reported by JJKiller 2004-09-12 00:13:46 +00:00
David Anderson
7f6e9f5e20 *** empty log message *** 2004-09-11 22:46:28 +00:00
David Anderson
c12b04d302 new SDK 2004-09-11 21:58:46 +00:00
David Anderson
e7cd31b1d5 *** empty log message *** 2004-09-11 21:13:02 +00:00
David Anderson
8377680989 memory test 2004-09-11 17:42:08 +00:00
David Anderson
00582481c6 stdc++ errors 2004-09-11 17:36:45 +00:00
Felix Geyer
d2fe1dc043 Updated to September 2004-09-11 00:23:00 +00:00
David Anderson
d303a2e0b7 *** empty log message *** 2004-09-10 23:06:29 +00:00
Steve Dudenhoeffer
4d34270ee9 Ok, then 2004-09-10 18:43:37 +00:00
Steve Dudenhoeffer
2573c9c4d2 Added pev_ideal_yaw 2004-09-10 16:28:27 +00:00
Steve Dudenhoeffer
49d24f6829 oops 2004-09-10 16:06:30 +00:00
Steve Dudenhoeffer
6f9ec854dc Added DLLFunc_Clientinfo something or other 2004-09-10 16:05:21 +00:00
Steve Dudenhoeffer
5867e3398f Added client_spawn(id) & client_changeteam(id,newteam,oldteam) forwards 2004-09-10 13:57:10 +00:00
David Anderson
7b626ab632 fixed 2004-09-10 05:38:16 +00:00
David Anderson
a055d3d373 Upgraded CVector 2004-09-10 03:31:36 +00:00
Steve Dudenhoeffer
0a74f09273 blah 2004-09-10 02:58:41 +00:00
David Anderson
8089d42eda Cleanup, added new module forcing to plugins 2004-09-09 22:09:55 +00:00
Lukasz Wlasinksi
66da3375ba fixed bugs in set/get user ammo natives 2004-09-09 19:51:00 +00:00
David Anderson
388915e6f8 Fixes 2004-09-09 13:44:43 +00:00
David Anderson
4d8a927ff7 Fixed cells 2004-09-09 13:43:08 +00:00
Steve Dudenhoeffer
17faf3af1f woops 2004-09-08 22:05:01 +00:00
David Anderson
1c3a871831 Possible fix for forward unregister bug 2004-09-08 21:43:50 +00:00
David Anderson
a313c5b95b updated strings 2004-09-08 21:13:04 +00:00
Lukasz Wlasinksi
c5d7417f8e added client_score forward 2004-09-08 18:09:01 +00:00
Steve Dudenhoeffer
4c202dadb0 *** empty log message *** 2004-09-08 09:38:59 +00:00
Steve Dudenhoeffer
78dc3ffd39 Re-added util functions 2004-09-08 09:38:05 +00:00
David Anderson
1d3dd15e61 Upgraded amxscript format 2004-09-08 07:48:23 +00:00
David Anderson
02446ac5f1 Fixed LoadAmxScript 2004-09-08 07:47:01 +00:00
David Anderson
2601879c0b Upgraded SDKs 2004-09-08 07:37:34 +00:00
David Anderson
02d60ded5d Made memory management optional 2004-09-07 06:17:50 +00:00
David Anderson
0fe010f4f0 fixed header 2004-09-07 01:58:18 +00:00
David Anderson
8d0b5360c2 Fix for find_ent 2004-09-06 18:59:59 +00:00
David Anderson
44c5265757 SDK JIT fix 2004-09-06 09:18:23 +00:00
Johnny Bergström
b040f4474b Fixed sending 0 to find_ent_by_owner. 2004-09-06 08:21:13 +00:00
David Anderson
e0e4f5cb34 heh oops 2004-09-05 20:06:26 +00:00
David Anderson
c0d73ce572 Fixed a bug where SP forwards were not unregistered
Fixed a bug where pfn_touch might not be called correctly
2004-09-05 20:03:01 +00:00
Steve Dudenhoeffer
7d3d04b13d Tweaked register_impulse 2004-09-05 19:53:40 +00:00
Steve Dudenhoeffer
88e199ff10 fixed registered impulses 2004-09-05 19:12:35 +00:00
Steve Dudenhoeffer
57e93ef281 Added a fixed user_kill 2004-09-05 17:29:11 +00:00
Steve Dudenhoeffer
a66d04d26f Removed ns_*_icon 2004-09-05 15:53:46 +00:00
Steve Dudenhoeffer
d20e9527f7 Updated all offsets for NS 3.0 beta 5 2004-09-05 13:54:09 +00:00
Steve Dudenhoeffer
5c72931b94 NS b5 stuffs 2004-09-05 12:33:35 +00:00
David Anderson
2a622424a0 new sdk 2004-09-03 06:59:56 +00:00
Johnny Bergström
dd5c75888a Added forwardmacros.h to project 2004-09-02 18:24:48 +00:00
David Anderson
e8ec0ad5bf Improved error reporting 2004-09-02 10:26:00 +00:00
David Anderson
961b92db2c Backported mysql changes 2004-09-02 09:07:07 +00:00
David Anderson
af6349454d Updated for 0.20, fixed makefiles 2004-09-02 08:35:58 +00:00
David Anderson
04c43f8589 Fixed a bug reported by kama - recommend not use -wait for rewrite 2004-09-02 01:31:39 +00:00
David Anderson
9d733d7a6b CVS terrorist strikes again! 2004-09-02 01:14:16 +00:00
David Anderson
30ddeda877 oops 2004-09-02 01:13:17 +00:00
David Anderson
72e5e9885f new makefile 2004-09-02 01:12:29 +00:00
David Anderson
e2c9dbaa62 fixes 2004-08-31 06:39:08 +00:00
David Anderson
b2f3a52884 Attempt at reverting set_user_hitzones() 2004-08-31 06:32:38 +00:00
Steve Dudenhoeffer
51e8519d96 Fixed a bug fsfod made because i'm never wrong 2004-08-31 05:23:49 +00:00
Steve Dudenhoeffer
c6d2516df8 fixed all registered forwards 2004-08-31 05:02:19 +00:00
David Anderson
8cb5ad18f5 Removed some messiness 2004-08-31 02:29:31 +00:00
David Anderson
b34179e997 Fixed memory leak in detach 2004-08-31 02:05:27 +00:00
David Anderson
2134a7e36d Messages can now be registered by multiple plugins (thanks fsfod) 2004-08-30 22:24:43 +00:00
David Anderson
6da1dc3e4a Fixed bug in set_msg_arg_int() reported by fsfod 2004-08-30 16:14:41 +00:00
David Anderson
1e36d0ca39 *** empty log message *** 2004-08-30 06:38:11 +00:00
David Anderson
945900605d Backported SDK changes 2004-08-30 03:34:13 +00:00
David Anderson
ebe778d0ee Fixed bug where meta tables would not be NULL'd correctly 2004-08-30 01:11:48 +00:00
David Anderson
4e9de62da6 Added new SDK version 2004-08-29 19:51:38 +00:00
David Anderson
d9b768e2cf Added new SDK version 2004-08-29 19:39:18 +00:00
David Anderson
9a3e53478e Added better error reporting
Added new SDK version
2004-08-29 17:55:11 +00:00
David Anderson
4015655141 added 4byte struct alignment (fsfod) 2004-08-28 03:57:29 +00:00
Steve Dudenhoeffer
980ccfddf5 fixed building in debug mode issues 2004-08-26 21:27:39 +00:00
Steve Dudenhoeffer
891be11032 register_impulse fix 2004-08-26 18:58:46 +00:00
Steve Dudenhoeffer
9fb04f552c Moved includes to /plugins/include 2004-08-24 21:40:51 +00:00
Steve Dudenhoeffer
fb8a883eec Removed old include files (now located in plugins/include) 2004-08-24 21:06:45 +00:00
Steve Dudenhoeffer
8d714dd84e Added "ns_give_item"
Fixed SPForward registers
2004-08-24 21:05:01 +00:00
Steve Dudenhoeffer
c6c958db2d Fixed another small error 2004-08-24 09:27:20 +00:00
Steve Dudenhoeffer
185070a9ad Fixed a small error because I'm an idiot 2004-08-24 09:21:07 +00:00
David Anderson
5464977fb7 New makefiles 2004-08-24 05:50:59 +00:00
David Anderson
f5fc9d026f newlines fixed 2004-08-24 05:44:31 +00:00
David Anderson
7cbe114cf0 Fixed a message bug 2004-08-24 05:07:14 +00:00
Lukasz Wlasinksi
c95e1d8ae3 fixed: plmenu and get_user_team bugs 2004-08-23 18:10:50 +00:00
David Anderson
9a98b20d1b gcc 2004-08-23 14:25:31 +00:00
David Anderson
ff9bce89f2 new makefile 2004-08-23 14:22:25 +00:00