Commit Graph

1041 Commits

Author SHA1 Message Date
Borja Ferrer
414ecdfffa fixed crash when creating a new binlog file 2006-03-24 19:29:49 +00:00
Borja Ferrer
17bbc37638 fixed binlog max size name 2006-03-23 10:11:09 +00:00
David Anderson
ccb3b4fbb3 experimental fix for improving hud sync 2006-03-20 01:03:30 +00:00
David Anderson
83bf0d7b2a ~(, ,)o <-- turtle 2006-03-19 21:52:25 +00:00
David Anderson
f55a8c54cc binlog reader no longer logs plugin database in a separate file 2006-03-19 21:41:11 +00:00
Borja Ferrer
d84ef62e6c little optimization from PM 2006-03-19 20:39:25 +00:00
Borja Ferrer
b5e8bc9ec1 fixed bug at26868 2006-03-19 20:14:24 +00:00
David Anderson
ccaa4434ad committed new language code 2006-03-19 19:26:29 +00:00
David Anderson
555ac1c7f3 fixed corrupt file loads smashing the stack
added compile of support code
2006-03-18 22:10:05 +00:00
David Anderson
b9788b7e1b *** empty log message *** 2006-03-18 21:38:28 +00:00
David Anderson
c6e332a0f5 linux+amd64 compat 2006-03-18 20:59:38 +00:00
David Anderson
a1956bc83b added cpuid helper func 2006-03-18 08:56:58 +00:00
David Anderson
ff61158491 fix for binary db not being created on maxsize overflow 2006-03-17 23:29:33 +00:00
David Anderson
2c5520cad0 added optimization tweaker
added binary log maxsize support
2006-03-17 22:50:13 +00:00
David Anderson
e067a980be implemented a lot more binary opcodes
bumped versions
2006-03-16 06:36:01 +00:00
Borja Ferrer
7e97156fc4 added arrayset native 2006-03-16 00:13:13 +00:00
David Anderson
3699796bc6 finalized file format
added register op (working)
added msvc8 stuff (4better || 4worse)
2006-03-15 13:43:06 +00:00
David Anderson
adc2a7d169 initial import of binary logger support code 2006-03-14 19:36:18 +00:00
David Anderson
522511d059 implemented menu_cancel 2006-03-14 17:49:29 +00:00
David Anderson
7dae023a98 fixed bug at26580 2006-03-14 10:01:35 +00:00
Borja Ferrer
76c216d07e added request at26533 (Brad) 2006-03-13 22:43:55 +00:00
Borja Ferrer
2e0dcb860a fixed dynamic ExecuteForward not returning a valid result and patching the forward id 2006-03-10 19:04:04 +00:00
David Anderson
6c6389ba65 oh, last credits bit. wee <-- gaben? 2006-03-04 08:52:08 +00:00
David Anderson
0898418cf3 what... oh 2006-03-04 08:40:27 +00:00
David Anderson
a3142a520f bumped versSIIOOON 2006-03-04 06:48:44 +00:00
David Anderson
2d6c06b82f fixed fclose bug (NiLuJe) 2006-03-01 20:59:08 +00:00
David Anderson
19b5835ae4 added ClearSyncHud() 2006-03-01 02:20:44 +00:00
David Anderson
62489d05cc fixed hud message syncing 2006-03-01 00:10:23 +00:00
David Anderson
f7d4c6fe34 fixed the final bug in this I think 2006-02-28 10:42:52 +00:00
David Anderson
d2cc14fa18 crraaaaap 2006-02-28 10:10:44 +00:00
David Anderson
dc5506efe3 added experimental callback for modules to get authorization 2006-02-28 09:59:03 +00:00
David Anderson
628d38df7a experimental fix for new stats sync code 2006-02-28 09:43:20 +00:00
David Anderson
4aaa2f8e0f fixed memory leak 2006-02-27 10:10:52 +00:00
David Anderson
a43a3b0803 committed patch for correct typecasting 2006-02-26 05:03:05 +00:00
David Anderson
4fed42b5c7 gah >_< recompiled with -O1 -DWIN32 2006-02-24 15:47:40 +00:00
David Anderson
8502fb51b3 fixed bug where deleting oldmenus would make the next key non-unique 2006-02-24 08:34:37 +00:00
David Anderson
0520c606ec fixed possible overrun bug 2006-02-24 00:11:37 +00:00
David Anderson
6997c780d9 fixed bug where format() on copy-back would not null terminate 2006-02-24 00:09:33 +00:00
Borja Ferrer
631e709471 fixed bug where the string lenght wasnt decreased on some cases 2006-02-23 22:55:43 +00:00
David Anderson
01b58a4635 Fixed dictionary parsing not obeying the carat backtick
Fixed failed translations crashing
Added formatex()
Fixed buffer copyback problems in old usages
2006-02-23 00:02:33 +00:00
David Anderson
7362cd0621 sup twisty 2006-02-22 01:41:28 +00:00
David Anderson
635d18de92 tiny optimizations from evilspy 2006-02-22 01:36:29 +00:00
David Anderson
484014e2db fixed translate concat bug 2006-02-22 01:05:09 +00:00
David Anderson
2ba0b079ab initial import of new format zomg 2006-02-22 00:33:19 +00:00
David Anderson
2843c333aa Fixed bug at25472 2006-02-20 03:24:45 +00:00
David Anderson
c31e2be46f added backward compatibility for % mistakes 2006-02-15 17:31:30 +00:00
David Anderson
c7fbc7f55e more gaben 2006-02-14 23:59:24 +00:00
David Anderson
ea5c9f0af4 gaben 2006-02-14 23:56:55 +00:00
David Anderson
76609e2a4a fixed bug with translator cvar not being registered by core 2006-02-14 22:14:12 +00:00
David Anderson
1923d42c5f fixed old fmt bug 2006-02-14 20:28:52 +00:00
David Anderson
13360bec73 reformatted file a bit 2006-02-14 16:57:44 +00:00
David Anderson
f1a4cfee61 compilable now o_O 2006-02-14 15:13:26 +00:00
David Anderson
ac5d87b2c2 commited binaries + project file 2006-02-14 13:42:25 +00:00
David Anderson
bf0c1990dd committed new format() code 2006-02-14 12:01:22 +00:00
David Anderson
2c8808aaff fixed formatter bug on bad control code 2006-02-11 22:48:29 +00:00
David Anderson
82693ccae6 fixed serious OP_FLOAT_CMP bug (boy I was tired) 2006-02-11 21:51:28 +00:00
David Anderson
e74ff6a5a4 committed OP_FLOAT_CMP 2006-02-11 07:06:35 +00:00
Borja Ferrer
be1bc6f75c removed debug log for float testings 2006-02-10 19:47:09 +00:00
David Anderson
76358f4289 updated makefile 2006-02-10 15:53:13 +00:00
David Anderson
652f8b9f74 commited builds of latest asm stuff 2006-02-10 15:51:37 +00:00
David Anderson
dcaf3066bf experimental optimizer for float ops 2006-02-10 15:43:27 +00:00
Borja Ferrer
b527efde41 fixed bug where showmenus didn't properly clear newmenu bit 2006-02-10 14:16:00 +00:00
David Anderson
a195a0af30 fixed a re-entrancy bug 2006-02-09 12:04:35 +00:00
David Anderson
52aa992a2f fixed recursion problem
fixed handle leak
fixed player defaults
2006-02-09 11:53:22 +00:00
David Anderson
c602308acb fixed bug where exit wasn't guaranteed
fixed menu destroy bug at25132
2006-02-09 11:19:57 +00:00
Borja Ferrer
5a0b3b0f9f added a memcpy for MM 2006-02-09 11:17:22 +00:00
David Anderson
2a13d923fa committed menu padding and title setting 2006-02-08 22:09:31 +00:00
David Anderson
3507155189 removed MM-1.18 compat 2006-02-08 21:59:02 +00:00
David Anderson
1e4c71e8e3 fixed blank items destroying menus 2006-02-08 05:39:03 +00:00
David Anderson
33da5f3737 quick patch for dynamic native issues 2006-02-07 14:23:09 +00:00
David Anderson
459f91af24 optimized this further 2006-02-07 09:02:08 +00:00
David Anderson
29f46a56d9 got rid of stupid "buffor" 2006-02-07 08:57:34 +00:00
David Anderson
a2bd08cf64 fixed bug at16664 2006-02-07 08:56:36 +00:00
David Anderson
506a6e0465 added never display exit option to newmenus 2006-02-06 13:22:33 +00:00
David Anderson
53c029471f removed usage of CVAR_GET_STRING 2006-02-06 13:10:23 +00:00
Borja Ferrer
cc32f33815 lang debugger uses now make_string for THash 2006-02-06 12:57:14 +00:00
David Anderson
e2c1b8c178 Fixed bug where invalid keys were saved as blank translations
Fixed bug where dictionary caches were invalidated before being used
Loads with MM 5:11 now
2006-02-06 11:13:27 +00:00
David Anderson
458f2acfe7 fixed bug at25056 2006-02-06 04:29:50 +00:00
David Anderson
f0f8b78df9 added server_changelevel back
fixed bug where NULL FP_STRING could crash forwards
2006-02-05 00:32:20 +00:00
David Anderson
88d2b393d8 cvar queries actually run now
removed old fakemeta code
2006-02-03 04:19:18 +00:00
David Anderson
df082de817 committed newmenu api, take two 2006-02-03 03:00:48 +00:00
David Anderson
63b10cfaf5 Fixed DEP bug 2006-02-02 09:34:06 +00:00
David Anderson
f40ae48849 removed server_changelevel (at24675 - oneyed) 2006-02-01 12:33:31 +00:00
David Anderson
4426910b9a made find plugin fast inline for speed 2006-02-01 12:10:52 +00:00
David Anderson
eb010688af optimized + fixed parsing in strbreak() 2006-02-01 12:10:26 +00:00
David Anderson
314392bffe removed old cvarquery stuff, added support for queryclientcvarvalue2 2006-02-01 12:09:43 +00:00
David Anderson
28ede82f91 added cell list registering 2006-02-01 12:09:19 +00:00
David Anderson
a5819d8cf8 added create forward natives 2006-02-01 12:08:42 +00:00
David Anderson
cb291dbdd5 sync 2006-01-30 21:40:10 +00:00
David Anderson
04c54128af fixed case 2006-01-27 09:07:37 +00:00
David Anderson
82cb94ab56 removed old fakemeta #defines
added better mm version handling
2006-01-27 09:07:04 +00:00
Borja Ferrer
7c7422a553 added language debug 2006-01-24 18:47:08 +00:00
David Anderson
85f14422cb re-added file natives 2006-01-06 22:49:42 +00:00
David Anderson
66c278c64b wrong handle, oops 2006-01-06 21:05:48 +00:00
Borja Ferrer
04113f8a02 merged changes from SH:TinyHash 2006-01-06 18:52:12 +00:00
David Anderson
86c033a922 gab gab 2006-01-06 14:47:59 +00:00
David Anderson
3d00b8c545 Merged changes from SH:List
Fixed bug where natives did not use the debugger (experimental)
Removed array size detection :(
2006-01-06 14:37:58 +00:00
David Anderson
0c745590ec Added functions for smashing the stack and memory :) 2006-01-06 14:22:12 +00:00
Borja Ferrer
b46ee941d4 reverted tasks to v1.60 2006-01-06 05:10:17 +00:00
Borja Ferrer
0d3055e505 partial fix for dynamic natives when running on debug mode 2006-01-06 04:59:39 +00:00
David Anderson
d1b290c7a4 Fixed bug at23454 (DeciusMagnus) 2005-12-26 14:38:14 +00:00
David Anderson
f336585d4f Fixed GCC compatibility for now.
Removed ps_locked and replaced with ps_error.
Added set_fail_state.
Fixed md5_file.
2005-12-01 13:42:28 +00:00
David Anderson
80fdb2cdb2 Removed ps_locked flag 2005-11-29 21:59:21 +00:00
David Anderson
5ad341edd7 EXPERIMENTAL BTree+DL ADT for Tasks (USE AT RISK) 2005-11-29 00:52:35 +00:00
David Anderson
cbcc91cc09 BETA optimizations 2005-11-22 04:14:07 +00:00
David Anderson
c6fc34a64d Rewrote format() parser to be re-entrant and easier to read
Added various optimizations
Fixed memory leak in sh_tinyhash
2005-11-21 10:04:43 +00:00
David Anderson
f13599177f Rewrote language backend for integrity checking and optimization
Replaced CRC32 system with real hash-map
2005-11-21 01:35:37 +00:00
David Anderson
30f7f6d51f Fixed typo in SDK 2005-11-20 20:00:31 +00:00
David Anderson
922a2f6006 bumped version numbers 2005-11-20 19:47:49 +00:00
Borja Ferrer
4040410c97 first attempt on lang error logging 2005-11-20 03:47:47 +00:00
Borja Ferrer
8edf4d674f removed a native 2005-11-20 03:10:02 +00:00
Borja Ferrer
6ca3edad0c added GetFilename function 2005-11-20 00:00:33 +00:00
David Anderson
0551b46c8b gcc4 compatibility (Nijule) 2005-11-19 22:44:17 +00:00
David Anderson
e5a798357c Patch at21699 (Nijule) 2005-11-19 21:52:56 +00:00
David Anderson
71926e6d03 get_user_attacker fixes
version bump
2005-11-19 21:24:49 +00:00
David Anderson
62e7e22a93 Added functionality for the auto-channeler 2005-11-19 01:25:34 +00:00
David Anderson
a8bb28caa4 Committed new SDK function for player property mappings 2005-11-19 00:33:51 +00:00
Borja Ferrer
778c2080b0 zomg fix for oldmenus^2 2005-11-17 23:04:43 +00:00
Borja Ferrer
8cc10bdb3d patch for old showmenus 2005-11-15 21:58:47 +00:00
Borja Ferrer
db77e12615 synced with sh_string.h 2005-11-15 20:21:29 +00:00
David Anderson
79c4d0ca5c added linux compat 2005-11-13 22:34:32 +00:00
Borja Ferrer
2ac00713a7 fixed a menu bug at19364 2005-11-13 20:33:30 +00:00
Borja Ferrer
18bf26efb6 fixed but at20584 2005-11-12 00:46:26 +00:00
Borja Ferrer
d190b207b4 linux fix 2005-11-09 22:36:52 +00:00
Borja Ferrer
0dd88dccbd fixed and improved function at20081 2005-11-07 16:37:47 +00:00
David Anderson
d5c75fd6a5 What... 2005-10-30 14:17:32 +00:00
David Anderson
10a64737b5 Added optimizations to the task system
Added optimizations to the forward system
Fixed some debugger errors
2005-10-25 20:38:00 +00:00
Pavol Marko
c8d69c41bc Hello quickfix 64bit negative values to executeForwards -> now upcasting everything 32bit to cell before passing to executeForwards 2005-10-18 21:05:52 +00:00
David Anderson
21caa9a0de Really fixed callfunc this time (debugger invocation error) 2005-10-13 05:27:13 +00:00
Pavol Marko
a46ec5357e Am I wrong or should this be this way to prevent security bugs? 2005-10-09 15:39:20 +00:00
David Anderson
a75feafc4f Downgraded compile time flags to 586 2005-10-02 20:12:48 +00:00
Borja Ferrer
21d13507b1 fixed an error output msg 2005-09-28 22:10:11 +00:00
David Anderson
adfe7de08e callfunc_begin_i should not take -1 2005-09-27 19:51:23 +00:00
David Anderson
116536fe36 Fix for bug 19453 (karlos) 2005-09-26 22:11:44 +00:00
Borja Ferrer
f7dbc25461 fixed a small typo 2005-09-23 13:01:33 +00:00
David Anderson
be762580b7 Bumped versions 2005-09-22 02:13:23 +00:00
Borja Ferrer
ebd4974c75 final cleaned revision (I hope) 2005-09-16 23:48:51 +00:00
Borja Ferrer
f58c0f4508 added request for EKS at18961 2005-09-15 00:51:27 +00:00
David Anderson
b6a4514bd0 Fixed bug at18763 (karlos) 2005-09-11 18:57:33 +00:00
David Anderson
e3afe22a48 Fixed initialization bug in native filters
Fixed bug where address boundaries were not checked on arrays
2005-09-11 05:43:17 +00:00
David Anderson
73d70aff29 added module_exists 2005-09-11 04:43:40 +00:00
David Anderson
760e29e531 Finalized new debugging system 2005-09-11 03:58:38 +00:00
Borja Ferrer
76760b221d more cleaned-up code 2005-09-10 20:09:14 +00:00
Pavol Marko
369ece2d56 ----------------------------------------------------------------------
Linux compatibility problem in debugger.cpp, made Makefile also compile
debugger.cpp
2005-09-10 18:19:02 +00:00
David Anderson
cc37f479aa Added Phase 3 of the debugger (debug tracing from plugins) 2005-09-10 07:24:26 +00:00
Borja Ferrer
52b1d67ca2 latest cleaned files for today (i cant read more :o ) 2005-09-10 03:39:23 +00:00
Borja Ferrer
16ad8739e7 started the clean-up of cpp files 2005-09-10 00:59:24 +00:00
Borja Ferrer
e67457440d cleaned-up versions of header files 2005-09-10 00:38:42 +00:00
Borja Ferrer
fc955009da cleaned-up version of ccmd.h 2005-09-09 23:54:15 +00:00
David Anderson
0dc2ba85e8 Added set_error_filter() 2005-09-09 23:13:34 +00:00
David Anderson
f8aac5e88d Reworked code to support error handling, LogError() is separate from DisplayTrace() implementation 2005-09-09 16:04:44 +00:00
David Anderson
4738c92b8e Committed new debugger with AMX fixes 2005-09-09 03:23:31 +00:00
Pavol Marko
7ce59966fc Replaced with faluco's cleaned-up version of meta_api.cpp 2005-09-08 22:20:27 +00:00
Pavol Marko
97b5391118 Logs the map name on mapchange (as requested by lantz69 on forums) 2005-09-08 13:03:38 +00:00
Pavol Marko
f2527ecc86 The query_client_cvar native now checks for a non-zero g_engfuncs.pfnQueryClientCvarValue before proceeding 2005-09-06 16:31:54 +00:00
Pavol Marko
66b95f64a5 Now checks whether there is a non-zero g_engfuncs.pfnQueryClientCvarValue before setting newdll's pfnCvarValue function pointer 2005-09-06 16:31:07 +00:00
Pavol Marko
af79fe8e20 Added natives str_to_float and float_to_str; indents are now tabs 2005-09-06 16:29:27 +00:00
Pavol Marko
6bebf37f1a An optional array parameter (LIKE TEH TASKS ONE) can be now passed to cvar query handlers 2005-09-06 10:12:02 +00:00
Pavol Marko
2f27b7da8d zomg! updated teh vectorz codeses a bit! Hopefully didn't break anything 2005-09-06 09:34:13 +00:00
David Anderson
ad634924fa Fixed two bugs from at18519 (Lord of Destruction) 2005-09-05 21:43:05 +00:00
Pavol Marko
2d5f9ba181 Using the (*g_engfuncs.pfnQueryClientCvarValue) directlty instead of the macro so that it compiles on both metamod and metamod-p 2005-09-05 20:51:24 +00:00
Pavol Marko
aa0e4e121e Now properly cleaning up pending client cvar queries in the queue on client disconnect 2005-09-05 19:56:40 +00:00
David Anderson
57ce74c4c7 Bumped version, lowered -O flag 2005-08-30 18:43:11 +00:00
David Anderson
5d6c72bf42 Patch for pausing issues 2005-08-30 07:18:47 +00:00
David Anderson
63b2bbc67e Made more de-allocation safety precautions 2005-08-30 07:15:27 +00:00
Pavol Marko
dc57ef1e0c Simple implementation for cvar queries 2005-08-27 23:00:44 +00:00
Pavol Marko
462916d00f Got rid of many annoying warnings MSVC7.1 was reporting 2005-08-27 09:55:32 +00:00
David Anderson
7ea47c5a96 Fixed a deallocation mismatch with debug plugins in linux 2005-08-21 21:54:14 +00:00
David Anderson
5693d2629e Attempted fix at DEP 2005-08-21 19:30:27 +00:00
David Anderson
f986202b06 AMD64 no stdc++ support 2005-08-18 08:33:21 +00:00
David Anderson
a4168a2096 version bump 2005-08-18 07:53:14 +00:00
David Anderson
9ddc24898f same win32 fix 2005-08-18 06:37:50 +00:00
David Anderson
f5350c0e0e fix for win32 2005-08-18 06:37:05 +00:00
David Anderson
fa64bef511 New SDK for gcc-3 compilations 2005-08-18 06:34:34 +00:00
David Anderson
2d2506f1c4 Added memalign include 2005-08-18 01:04:52 +00:00
David Anderson
f334fec0a3 Added linux compile of altered JIT 2005-08-18 00:32:08 +00:00
David Anderson
03b6d3e77d Fixed alloc/dealloc mismatches 2005-08-18 00:29:43 +00:00
David Anderson
661f6c9851 Fixed bug at17357 (FireStorm) 2005-08-17 18:16:26 +00:00
David Anderson
b04498cddb Experimental fix for bug at16815 (karlos) 2005-08-17 17:32:51 +00:00
David Anderson
8648bf32a3 Improved error reporting a bit 2005-08-17 17:21:57 +00:00
David Anderson
1768ae4b23 Fixed bug at17117 (Twilight Suzuka) 2005-08-17 17:07:41 +00:00
David Anderson
13c65f006b SDK no longer manages memory by default 2005-08-17 16:48:31 +00:00
David Anderson
4e8eff3e04 Fixed bug at17021. 2005-08-17 16:41:38 +00:00
David Anderson
b2ade117ec Added bug fix at17218 (Freecode) 2005-08-17 16:12:45 +00:00
David Anderson
9eb36bd2bb Fixed bug where first call had wrong stack alignment
Tiny optimizations
2005-08-17 15:57:11 +00:00
David Anderson
85b7ac740b Experimental JIT fixes for linux crashing (no more xchg of esp) 2005-08-16 23:09:55 +00:00
David Anderson
98d3fb79d7 Fixed some mmgr bugs 2005-08-15 21:38:03 +00:00
David Anderson
c8fdea6216 Fixed bug found by T(+)rget 2005-08-03 16:33:52 +00:00
David Anderson
ef8715892b More hax 2005-08-02 11:19:56 +00:00
David Anderson
7825364e06 hax 2005-08-02 11:15:15 +00:00
David Anderson
4f9f548a58 yasm -f elf -m amd64 -g stabs 2005-08-02 08:29:02 +00:00
David Anderson
70bff9c430 Fixed AGAIN! 2005-08-02 08:10:04 +00:00
David Anderson
688c12ac8b fixed two bugs 2005-08-02 07:46:41 +00:00
David Anderson
f9563b5103 *** empty log message *** 2005-08-02 07:07:35 +00:00
David Anderson
38da105ac1 Few changes 2005-08-02 07:01:25 +00:00
David Anderson
a7133501d5 Fixed comments 2005-08-01 19:05:10 +00:00
David Anderson
d3acbcc319 (c) 2005-08-01 10:24:20 +00:00
David Anderson
a776e832dd New plugin file format, new zlib libraries 2005-08-01 09:02:52 +00:00
David Anderson
562633c040 SDK to update MF_AmxExec and add MF_AmxPush 2005-08-01 03:23:56 +00:00
David Anderson
0086b58f39 Completed AMD64 compatibility 2005-08-01 02:23:42 +00:00
David Anderson
13ed6ed2d6 Touching up new system for linux support 2005-07-31 22:16:54 +00:00
David Anderson
a7fb4e85c9 Fixed bug where 64bit code was not browsed properly 2005-07-31 22:16:44 +00:00
David Anderson
abfca025d5 Committed new register_native system 2005-07-31 20:11:58 +00:00
David Anderson
34acc54cc9 Initial import of native hack for x86 2005-07-31 06:48:08 +00:00
David Anderson
cdbfa38391 some of the string functions twilight wanted 2005-07-30 16:47:48 +00:00
David Anderson
6cf6edb5b6 Fixed bug at16581, devicenull 2005-07-29 19:25:24 +00:00
David Anderson
32a42886dd Finished new menu system (for now)
Fixed bug where client_print did not add newlines properly
2005-07-29 19:13:55 +00:00
David Anderson
5b1d0dd2b9 removed old project file 2005-07-29 06:41:33 +00:00
David Anderson
166b5ca650 omg new menu system 2005-07-29 06:33:57 +00:00
David Anderson
044fa19470 Fixed bug where callfunc crashes 2005-07-29 06:12:23 +00:00
David Anderson
1d6b173e87 Fixed a bug where bad plugins could crash 2005-07-28 18:00:40 +00:00
David Anderson
eaf102d78f Fixed bug where JIT did not work on linux (memory alignment issues) 2005-07-27 19:43:54 +00:00
David Anderson
68ad9c2b9a Ok makefile works on i386 now 2005-07-27 16:27:01 +00:00
David Anderson
191acd8e42 New Makefile, linux compatibility 2005-07-27 16:24:14 +00:00
David Anderson
ce043d0633 >:o 2005-07-27 00:51:35 +00:00
David Anderson
f18354807e Updated module SDK 2005-07-26 23:33:52 +00:00
David Anderson
6a97d73167 Committed brand new debugger system 2005-07-26 21:31:21 +00:00
David Anderson
586d09e533 I don't think I changed anything... 2005-07-26 21:30:35 +00:00
David Anderson
ba24020857 fixed amx_BrowseRelocate overwriting the flag state 2005-07-26 21:29:49 +00:00
David Anderson
4b9425cf3b Initial import of edited debug reader 2005-07-26 21:28:19 +00:00
David Anderson
ef2a9a2b34 Fixed switch case bug in JIT where no cases would crash 2005-07-26 21:28:04 +00:00
Pavol Marko
fdbee670c5 Uh, forgot... 2005-07-25 21:02:26 +00:00
Pavol Marko
a47ccb2a2a I'm high 2005-07-25 20:45:02 +00:00
Pavol Marko
9e46d2da47 WOW. 2005-07-25 20:39:58 +00:00
Pavol Marko
451a6d8464 PM STRIKES AGAIN (untested) 2005-07-25 19:09:49 +00:00
David Anderson
09a08fd2f6 quick fixes before adding debugger again 2005-07-25 06:48:54 +00:00
David Anderson
4609cb409b Whoa! Merged in Pawn! (Small 3.0)
Removed debug handling (will add back in soon)
Ported all amx_Exec()s to forward systems
Deprecated AMX Mod module support (incompatible with Pawn anyway!)
Deprecated many file natives (unused)
Deprecated some functionality of pause/unpause
Fixed some memory deallocation bugs (thanks fysh)
Bumped module API version to 3 (no new M/SDK yet!)
Bumped AMX Mod X version to 1.5!
Merged in CVector changes
2005-07-25 06:03:43 +00:00
David Anderson
79268c5316 ---------------------------------------------------------------------------
Fixed memory bug found by fysh
2005-07-24 07:06:25 +00:00
David Anderson
536a4f8472 Err, fixed these 2005-07-22 20:41:32 +00:00
David Anderson
29e1a5edc8 FAKEMETA IS GONE! SO LONG AND THANKS FOR THE FISH 2005-07-22 19:32:16 +00:00
David Anderson
3863bd3ccc Fixed bug where not-found natives were still valid 2005-07-19 16:12:48 +00:00
David Anderson
3cba7811bd Committed new auto-module registering system
require_module is now DEPRECATED
2005-07-15 19:15:58 +00:00
David Anderson
70396a2fc1 new sdk version (bumped interface!!!!) 2005-07-15 19:13:50 +00:00
David Anderson
b312da8c63 Fixed bugs GCC caught 2005-07-15 16:28:41 +00:00
David Anderson
fe2d28f711 Ported the new dir commands to linux 2005-07-15 16:14:00 +00:00
David Anderson
e1d1802cb9 Fixed bug at16027 2005-07-14 13:36:22 +00:00
David Anderson
116984afed New dir reading natives, new memory outputs 2005-07-13 23:31:02 +00:00
David Anderson
35ed810775 Patch for ifvers 5:11 (new MM API), eliminates fakemeta like mm-pext 2005-07-13 02:37:32 +00:00
David Anderson
35ecd40228 Fixed bug at15479 (karlos)
Fixed bug at11812 (Kamikaze)
Added new build_pathname implementation for reentracy.
build_pathname_r added to module API
2005-07-08 05:05:06 +00:00
David Anderson
e8d30a11d7 Patch for is_user_hltv (at14918 by Wallslide)
Fixed a few potential crash bugs
2005-07-08 02:01:01 +00:00
David Anderson
36d19dfe04 Fixed bug at15006 reported by EKS 2005-07-08 01:43:44 +00:00
David Anderson
de5eb6924a Added request at13457 from harbu. 2005-07-08 01:15:54 +00:00
David Anderson
13b6c0764c Added request at15060 by twistedeuphoria 2005-07-07 19:53:02 +00:00
David Anderson
943a75d7e1 Added requestfunction 2005-07-06 03:59:02 +00:00
David Anderson
611ad2be94 Malformat bug fixes, RC version bump 2005-07-06 03:20:00 +00:00
David Anderson
cc899d298d Modules can now intercommunicate through RegisterFunction() - UNTESTED
Registering a function will make it available through ReqFunc,
2005-07-05 22:01:29 +00:00
David Anderson
996f461157 Fixed a memory leak on plugun unload 2005-06-16 20:20:24 +00:00
Johnny Bergström
51ff0a2c49 Added stock file_copy to file.inc.
Also fixed fopen to return 0 on files that can't be opened.
Fixed native fopen to take const filename.
2005-05-29 16:36:35 +00:00
Johnny Bergström
ebf0945c6e Added numtostr and strtonum mappings... not adding this to string.inc ... but it's there now. :-P 2005-04-19 15:40:21 +00:00
Pavol Marko
448da8bd9e One more core skipping thingy 2005-03-11 19:16:00 +00:00
Pavol Marko
a4be1ac635 evilspy's fix 2005-03-11 16:31:49 +00:00
Pavol Marko
57eec2b88e evilspy's support for mm-p ext 2005-02-16 20:36:04 +00:00
Pavol Marko
26e8b0dbb6 client_disconnect forwards now get called for every client which is initialized (ie. client_connect was called for him) instead of clients which are ingame only (ie. client_putinserver was called) 2005-02-07 10:28:22 +00:00
David Anderson
e4beb3828a Increased version number 2005-01-31 19:33:17 +00:00
David Anderson
be28d95b8d Fixed DS's notice 2005-01-31 07:52:32 +00:00
David Anderson
a189c0bda7 Added amx_mkdir for twistedeuphoria 2005-01-30 05:32:10 +00:00
Pavol Marko
a384a78544 Silly me! 2004-12-25 21:24:50 +00:00
Pavol Marko
b4ad89e6ef Reverted last changes 2004-12-22 18:19:51 +00:00
Pavol Marko
2b4ed9cc27 Test: Hopefully fixed "bot bug" 2004-12-22 16:29:40 +00:00
Pavol Marko
e986848faf Removed bot member variable from CPlayer; instead, everything now calls the inline IsBot() function.
Hopefully that will fix the "bot bug"
2004-12-22 13:01:55 +00:00
Lukasz Wlasinksi
51b9fae4bc fixed strbreak 2004-12-10 23:37:43 +00:00
Johnny Bergström
456d7b69a2 fixed returning float parameters in read_data():s second parameter (by ref) 2004-11-13 08:56:11 +00:00
Felix Geyer
96c65dcfc4 corrected OriginalFilename 2004-11-12 22:04:12 +00:00
David Anderson
57607f1a28 *** empty log message *** 2004-11-11 11:49:38 +00:00
David Anderson
ee464539de Fixed authors and version numbers 2004-11-11 09:08:12 +00:00
David Anderson
8c215e5d6f removed 2004-11-10 05:41:18 +00:00
David Anderson
0513dae63e Added better credits ^^ 2004-11-10 05:38:23 +00:00
Pavol Marko
6457fc45c7 On dedicated servers, the command "amxx" now prints the AMX Mod X version 2004-11-08 19:51:20 +00:00
Steve Dudenhoeffer
74a1db4417 Upped buffer in write_file (1024->2048) 2004-11-06 21:56:24 +00:00
Pavol Marko
09c1471c3a normal (not SP) forwards now report runtime errors properly 2004-11-04 21:55:14 +00:00
Pavol Marko
50a882cf4c message_begin now reports an error instead of letting th server abort when the id is invalid 2004-11-04 21:54:46 +00:00
David Anderson
449f31d78c *** empty log message *** 2004-10-31 02:14:53 +00:00
David Anderson
fef70c0386 fix 2004-10-30 09:48:29 +00:00
David Anderson
719b32d71f Changed to memalign, stupid debian is obsolete 2004-10-30 09:42:54 +00:00
David Anderson
c9b2f2f060 took out this 2004-10-29 20:40:06 +00:00
David Anderson
d038e926fd *** empty log message *** 2004-10-29 20:35:44 +00:00
David Anderson
712859eb20 Fixed JIT crashing on some kernel configs (like FC2 >= 2.6.6) 2004-10-29 20:35:23 +00:00
David Anderson
826893d8d2 Fixed JIT crashing on some kernel config options (like FC2 >= 2.6.6) 2004-10-29 20:34:58 +00:00
Pavol Marko
741666b742 Added two natives:
-callfunc_begin_i
 -get_function_id
2004-10-29 19:50:38 +00:00
Pavol Marko
cc4bbadfa2 Added special cases for %% and % at end of phrase for formatting of phrases defined in language definition files. 2004-10-29 13:11:12 +00:00
David Anderson
ff5b1dd7cc Changed error output format 2004-10-29 01:49:00 +00:00
David Anderson
3587483fa6 LogError() now can log native function names. 2004-10-29 00:21:44 +00:00
Johnny Bergström
5eb095b514 Added native get_user_msgname(msgid, name[], len); 2004-10-25 23:00:16 +00:00
Pavol Marko
b569ea3c3f Fixed bug where message_begin could not send MSG_PAS_R and MSG_PVS_R (reliable versions) messages. Reported by Damaged Soul 2004-10-20 14:16:46 +00:00
David Anderson
db4041114f Fixed a bug in amx_client_languages
Added lang_phrase
2004-10-08 19:26:26 +00:00
Pavol Marko
b52d77e8bf Fixed big bug in executeForwards where float parameters were skipped and the stack might be messed up
(thanks to BAILOPAN)
2004-10-08 19:18:41 +00:00
David Anderson
264dd7a10d Fixed error outputs for CLang 2004-10-05 19:29:35 +00:00
David Anderson
39070081d1 fixed empty log message on debug trace 2004-10-04 22:56:36 +00:00
David Anderson
00d8ffe503 Fixed a debug trace output 2004-10-04 20:36:21 +00:00
David Anderson
b9c83aa4a2 Reworked SDK LogError() to include module names
improved debugging output
2004-10-04 05:50:28 +00:00
Pavol Marko
01770f0e5b Fixed possible problem where a file handle could stay open on memory allocation failure 2004-10-03 17:04:29 +00:00
Pavol Marko
87ff81a499 Added important comment 2004-10-03 17:03:14 +00:00
Pavol Marko
981f41aee0 Fixed problem where file handles could possible stay open 2004-10-03 16:55:12 +00:00
Pavol Marko
605ca152c2 Fixed 2 possible crashbugs 2004-10-03 16:49:09 +00:00
David Anderson
f3cfd31668 Added AlertMessage to fakemeta 2004-10-03 07:04:08 +00:00
Pavol Marko
b83f2f5257 - Fixed bug where metamod was reporting "Could not find memloc for cvar xx" when modules registered cvars (fix by ghost_of_evilspy) 2004-10-02 08:18:54 +00:00
Pavol Marko
06f61cf92a Added more debugging info to case where CForwardMngr::m_PreparedArrays is >= (max params num) 2004-10-02 08:11:33 +00:00
Johnny Bergström
5a5ff6d8ea Fixed parameter type in FN_PvAllocEntPrivateData (from long to int32) 2004-10-01 08:52:25 +00:00
Steve Dudenhoeffer
bbe2626fd1 :gyar: a couple minor improvements :attack:
Global pointer for function tables
Better support for compiling under Cygwin gcc

:avast:
2004-09-30 06:18:23 +00:00
Steve Dudenhoeffer
687a0f23da Added MSG_ONE_UNRELIABLE 2004-09-28 17:29:22 +00:00
Pavol Marko
c2a2fc7dbe Added forward parameters overrun check in prepareArray 2004-09-27 14:33:50 +00:00
Pavol Marko
3f0d3c257a Increased maximal number of forward parameters 2004-09-27 14:33:20 +00:00
David Anderson
dde43b6e0d Fixed CVARs not registering properly (hullu) 2004-09-21 15:49:36 +00:00
David Anderson
be3d078d5a added is_amd64_server 2004-09-21 02:40:30 +00:00
David Anderson
fb2be2256f added amx_strtok for jtp10181 2004-09-19 17:20:14 +00:00
Steve Dudenhoeffer
4008743091 Fixed GetPlayerTeam 2004-09-19 16:43:55 +00:00
Pavol Marko
1c6636b106 Fixed bug where memory allocated for FP_ARRAY parameters was not released. 2004-09-19 09:32:52 +00:00
Pavol Marko
5527afc91e Added MF_Prepare*ArrayA functions
The MF_Prepare*ArrayA functions have a third "bool copyBack" parameter which defaults to false and specifies whether the array should be copied from plugin space to module space after function execution (=whether the original array should be updated)
The MF_Prepare*Array are equivalent to MF_Prepare*ArrayA(ptr, size, false);
2004-09-18 16:54:04 +00:00
Pavol Marko
4d04072672 Added MF_Prepare*ArrayA functions
The MF_Prepare*ArrayA functions have a third "bool copyBack" parameter which defaults to false and specifies whether the array should be copied from plugin space to module space after function execution (=whether the original array should be updated)
The MF_Prepare*Array are equivalent to MF_Prepare*ArrayA(ptr, size, false);
2004-09-18 13:37:46 +00:00
Pavol Marko
f828e1c8a0 small changes 2004-09-18 13:34:39 +00:00
Pavol Marko
34abaa1d56 The prepare*Array functions now have a third "bool copyBack" parameter which defaults to false and specifies whether the array should be copied from plugin space to core / module space after function execution (=whether the original array should be updated) 2004-09-18 13:33:21 +00:00
Pavol Marko
5133915e9c Fixed crashbug in get_module: if a not-new-api or bad-file module didn't load, it crashed 2004-09-17 18:33:15 +00:00
Pavol Marko
895948ca45 fixed bug where 'v' was considered a whitespace character 2004-09-17 18:32:00 +00:00
David Anderson
26349730e5 Fixed locking issue with lang files 2004-09-17 01:59:27 +00:00
David Anderson
c0374c5fe5 COFF fix 2004-09-17 01:26:42 +00:00
David Anderson
f9a57a83a0 Changed how plugins.ini is read 2004-09-17 00:46:33 +00:00
David Anderson
b7c0c47c05 New "debug" status for amxx plugins.
Correctly switches between amx_opcodelist and nodebug.
Fixed metamod and amxmodx GPL alignment.
Fixed debug mode not being set for non-JIT.
2004-09-17 00:27:28 +00:00
David Anderson
f6facb5349 Removed old code 2004-09-16 22:15:07 +00:00
David Anderson
1728c02561 Added debug info to OP_RETN in JIT 2004-09-16 22:14:05 +00:00
David Anderson
c90d922443 Added some notes about how the JIT works 2004-09-16 20:31:38 +00:00
David Anderson
2f1de39dd3 JIT's OP_CALL now supports a debug hook 2004-09-16 20:08:11 +00:00
David Anderson
1980c524d3 fix 2004-09-16 02:42:40 +00:00
David Anderson
31604d44a8 exported debug engine 2004-09-15 21:34:06 +00:00
David Anderson
dba30f7ee6 Exported error logger to modules 2004-09-15 21:28:20 +00:00
David Anderson
1aaf540be4 converted core to new debugging engine 2004-09-15 21:27:35 +00:00
David Anderson
d3751054da New debugging engine 2004-09-15 21:21:46 +00:00
David Anderson
083fe35188 New AMX headers 2004-09-15 04:18:35 +00:00
David Anderson
9e4a611b7f Removed old debugging engine 2004-09-15 04:09:47 +00:00
David Anderson
44bb871f7e amx_debug is now set correctly. 2004-09-14 19:27:55 +00:00
Pavol Marko
c1a138f370 Experimentally changed back to old g_initialized method 2004-09-14 19:01:44 +00:00
David Anderson
91decabfde Added MNF_GetPlayerTeam for mahnsawce 2004-09-14 16:18:52 +00:00
David Anderson
844fbf581e for autobuilder 2004-09-13 06:58:54 +00:00
Pavol Marko
fed8228712 Fixed small bug where the behaviour of a CTask object would be undefined if a plugin delted the task when it executes 2004-09-12 17:00:22 +00:00
David Anderson
69e7cbc722 removed debug info 2004-09-12 07:18:54 +00:00
David Anderson
b0315f5d56 Added more error reporting 2004-09-12 04:35:24 +00:00
David Anderson
ec55a2ab97 possible fix for dbi bug 2004-09-12 04:03:54 +00:00
David Anderson
1082ef31c7 Modules no longer need to have the correct extension (requested by UgLyPuNk) 2004-09-12 03:48:21 +00:00
David Anderson
9922b5016f Fixed stdc errors 2004-09-11 21:55:33 +00:00
Pavol Marko
77fffb46b2 Added allocator / reallocator / reallocator funcs in not-memtest builds so modules can use them 2004-09-11 21:52:18 +00:00
David Anderson
9006673b09 amd64 now does lstdc++ 2004-09-11 19:38:58 +00:00
David Anderson
96271810d8 no g++ 2004-09-11 17:42:50 +00:00
David Anderson
c2255016d2 stdc++ errors 2004-09-11 17:32:25 +00:00
David Anderson
9e1c5f2808 amd64 zlib 2004-09-11 17:20:59 +00:00
David Anderson
897d93a892 amd64 2004-09-11 17:17:08 +00:00
David Anderson
04be9fb703 fixed libz linking 2004-09-11 16:47:29 +00:00
Pavol Marko
acf722e855 Hopefully fixed SDK 2004-09-11 16:35:14 +00:00
David Anderson
dafc8bb678 added libz 2004-09-11 00:18:07 +00:00
Pavol Marko
7334f968a8 added MF_GetPlayerEdict (replacement for INDEXENT on players) and MF_Format. 2004-09-10 21:17:05 +00:00
Pavol Marko
c7f8b3f965 Added the Format function for C style strings 2004-09-10 21:00:42 +00:00
Pavol Marko
316ddad7ab Added the Format function to the module api 2004-09-10 20:58:55 +00:00
David Anderson
3ec4ccd9da Added new "amxx plugins" plugin fail message 2004-09-10 15:52:48 +00:00
David Anderson
90eafe59a6 register_module -> require_module 2004-09-10 05:18:57 +00:00
David Anderson
a055d3d373 Upgraded CVector 2004-09-10 03:31:36 +00:00
Pavol Marko
e378c45be7 Fixed bug where the first registered forward would be automatically unregistered on unregisterForward too 2004-09-09 20:32:34 +00:00
Pavol Marko
1df654c6a1 registerSPForward now returing -1 if no func found 2004-09-09 15:05:06 +00:00
David Anderson
b8721e0123 Fixed module correction output 2004-09-09 06:04:50 +00:00
David Anderson
6c73a7d8d1 New module registering ability 2004-09-09 05:16:53 +00:00
David Anderson
39cb15cc56 nothing 2004-09-08 18:27:39 +00:00
David Anderson
313e0603e9 LoadAmxScript change 2004-09-08 07:35:51 +00:00
David Anderson
1d145d6c79 Linux port 2004-09-08 07:22:48 +00:00
David Anderson
079a3e8bcd Fixed JIT line op problem 2004-09-08 07:05:16 +00:00
David Anderson
3010241fbd Fixed JIT line op problem 2004-09-08 06:45:32 +00:00
David Anderson
55dfbefb40 Fix for line ops parsing 2004-09-07 21:52:03 +00:00
David Anderson
226c7300be Made memory management optional 2004-09-07 08:24:03 +00:00
David Anderson
f2af6ad1e6 Cleaned up float bugs 2004-09-07 06:18:20 +00:00
David Anderson
3d0e25a8ef Made memory management optional 2004-09-07 06:11:17 +00:00
David Anderson
baef3362ed Fixed a bug that caused crashes on registering a forward after unregistering a forward 2004-09-07 05:43:55 +00:00
David Anderson
fe2e3a1468 *** empty log message *** 2004-09-07 04:11:26 +00:00
David Anderson
3cbcebae56 possible bug fix 2004-09-07 02:16:05 +00:00
David Anderson
cd6e51271c Added more build information 2004-09-06 22:27:55 +00:00
David Anderson
711ad7b3dc endif bug 2004-09-06 22:25:43 +00:00
David Anderson
7ed66f0b38 Fixed line errors in JIT
Fixed externs in amx.cpp
2004-09-06 22:18:58 +00:00
David Anderson
3297cf2e9b Added assembler implementation 2004-09-06 09:09:36 +00:00
Pavol Marko
5094bba5e9 added MNF_GetPlayerEdict 2004-09-05 22:09:45 +00:00
Pavol Marko
8df987cf95 minor changes 2004-09-04 18:31:59 +00:00
Pavol Marko
de30d647d4 added the %c formatting sequence (untested) 2004-09-04 17:50:03 +00:00
David Anderson
37a5a38be5 Changed amx structure for compatibility 2004-09-03 06:53:00 +00:00
David Anderson
32b07e4c0c Fixed JIT on Linux 2004-09-02 08:25:48 +00:00
David Anderson
fbb7c0bb92 Changed addons/amxx to addons/amxmodx 2004-09-02 02:16:38 +00:00
David Anderson
5c6b34b1d8 Fixed some bugs in CLang 2004-09-02 00:22:56 +00:00
David Anderson
7a627f75cf Removed references to _snprintf() - math wrong but compatibility of snprintf() unknown 2004-09-01 22:03:44 +00:00
David Anderson
02cb4b94f5 Commited new SDK 2004-09-01 21:13:30 +00:00
Pavol Marko
ec5f9ec5ca Added buffer overflow (stack corruption) checking. To be tested! 2004-09-01 17:02:24 +00:00
Pavol Marko
551d51ea42 When AMXX can't open the logfile it outputs an error rather than crashing 2004-09-01 17:01:52 +00:00
David Anderson
560cd184cc Fixed JIT issues 2004-09-01 16:46:27 +00:00
David Anderson
14297c8408 Bad commit?!
New make
2004-09-01 15:56:31 +00:00
Felix Geyer
34c6a1d4be stop removing my changes *evil* 2004-09-01 11:34:48 +00:00
David Anderson
e979252742 More fixes from malex 2004-08-31 22:40:30 +00:00
David Anderson
2f37ab7ede Fixed bug where radians were not converted properly (malex) 2004-08-31 15:16:16 +00:00
David Anderson
b1dd324354 Fixed client_command forward 2004-08-31 15:10:12 +00:00
Pavol Marko
f06796c275 Changed so that a MOTD will also display when there is no ServerName message (as proposed by karlos on the forums). 2004-08-31 13:20:29 +00:00
David Anderson
0b2eae8e0a Fixed a bug where remove_task() crashed
amxx_mm -> amxmodx_mm
2004-08-31 06:49:22 +00:00
David Anderson
4fff936626 amxx_mm -> amxmodx_mm 2004-08-31 06:46:44 +00:00
David Anderson
91aacb1036 Fixed bug where file stats were incorrect (malex) 2004-08-30 23:29:37 +00:00
Pavol Marko
b33a53d258 fixed bug where expressions like %02d would not be evaluated correctly 2004-08-30 15:14:50 +00:00
Felix Geyer
bec1e418e7 removed "J" from amxmodx_version cvar again 2004-08-30 15:02:07 +00:00
Felix Geyer
5c6db6d743 added missing zlib.lib 2004-08-30 14:41:32 +00:00
Pavol Marko
ac25c5fc60 %% in a format input string now produces one % in the output string correctly 2004-08-30 14:35:16 +00:00
David Anderson
b254f14285 Fixed bug where MF_GetScriptName() was NULL 2004-08-30 02:00:01 +00:00
David Anderson
38e89f11f4 Fixed possible bug for %% 2004-08-30 01:39:15 +00:00