Commit Graph

525 Commits

Author SHA1 Message Date
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