Commit Graph
100 Commits
Author SHA1 Message Date
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
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
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
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
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
Pavol Marko 0ea68c81dc test dlls 2004-09-15 16:09:58 +00:00
Pavol Marko 8fbbda13c6 added FNullEntity check 2004-09-15 15:17:52 +00:00
Pavol Marko c1a138f370 Experimentally changed back to old g_initialized method 2004-09-14 19:01:44 +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
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
Pavol Marko acf722e855 Hopefully fixed SDK 2004-09-11 16:35:14 +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
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
Pavol Marko b23eba293d fixed 64 bit bugs with float-to-bool conversion and unary - operator 2004-09-08 18:35:22 +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
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
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
Pavol Marko b33a53d258 fixed bug where expressions like %02d would not be evaluated correctly 2004-08-30 15:14:50 +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
Pavol Marko 727c798892 fixed crash bug 2004-08-29 19:49:08 +00:00
Pavol Marko c1d75857f3 fixed crash bug 2004-08-29 18:51:25 +00:00
Pavol Marko 6d91af30b8 fixed memory leak 2004-08-29 18:50:38 +00:00
Pavol Marko a1d36ff75d possible fix for the : issue 2004-08-29 18:00:16 +00:00
Pavol Marko 54fb9fbfef registerSPForwardByName now automatically unregisters the forward again and returns -1 if the function is not found 2004-08-29 16:52:54 +00:00
Pavol Marko 5a80d24780 Fixed NewDLL heap corruption 2004-08-29 16:48:31 +00:00
Pavol Marko b8bbe4ae8f Fixed small NewDLL issues 2004-08-29 13:32:55 +00:00
Pavol Marko da13f4797d Reenabled NewDLL functions 2004-08-29 13:32:31 +00:00
Pavol Marko 93cd6dbed5 Fixed problem with pack not popped (=> hlsdk structures should be aligned correctly again) 2004-08-28 21:29:25 +00:00
Pavol Marko 8c8ccc51c4 Probably fixed problem with forwards getting garbage parameters 2004-08-28 21:25:29 +00:00
Pavol Marko c7982c2bc3 Probably fixed problem with forwards getting garbage parameters 2004-08-28 21:25:03 +00:00
Pavol Marko b63ae4eed8 added GetLangR, which doesn't construct a CLang object when not found;
GetDef now uses GetLangR, so when users set their language to an invalid value, no such language is created.
2004-08-21 21:08:30 +00:00
Pavol Marko b6d142f481 Lang strings can now contain ^n (newline), ^t (tabulator) and ^^ (^). 2004-08-19 19:34:49 +00:00
Pavol Marko 16c406fe1a Fixed bugs 2004-08-19 18:35:18 +00:00
Pavol Marko 3af9ae8927 Fixed bugs 2004-08-19 16:37:55 +00:00
Pavol Marko 213694cccc Added comments 2004-08-19 16:37:32 +00:00
Pavol Marko 008474fbe5 Fixed bugs:
client_print: if used with index=0, the message was printed many times
 show_hudmessage: correct language handling for index index=0
2004-08-19 16:37:15 +00:00
Pavol Marko 7bd087281a added MNF_MergeDefinitionFile 2004-07-28 19:28:36 +00:00
Pavol Marko 9b2a1d204c Fixed bugs 2004-07-28 19:26:38 +00:00
Pavol Marko 8811b56756 changed to use the new language system 2004-07-28 18:33:20 +00:00
Pavol Marko 286a0d0d02 New version 2004-07-28 18:31:30 +00:00
Pavol Marko 2f4c021217 Initial release
TODO: Formatting on cells
2004-07-27 19:54:21 +00:00
Pavol Marko 4f64d4daad Fixed small bug 2004-07-27 19:53:38 +00:00
Pavol Marko 15b12e7a55 Reenabled engclient_cmd code 2004-07-25 18:52:09 +00:00
Pavol Marko 538876a82c Reenabled engclient_cmd code 2004-07-25 18:45:44 +00:00
Pavol Marko 26d5f430e2 Fixed big bug where non-void functions could not be overriden / superceded 2004-07-25 18:44:30 +00:00
Pavol Marko a2edcc38b1 Fixed minor bug 2004-07-25 13:18:38 +00:00
Pavol Marko bbf8a21693 Removed debug info from 64 bit porting
Fixed minor bugs
2004-07-23 17:29:03 +00:00
Pavol Marko c39b5d1ec6 Fixed bugs 2004-07-22 14:55:38 +00:00
Pavol Marko 82d5b42356 added handlers for 3 new error messages from CAmxxReader 2004-07-22 14:55:16 +00:00
Pavol Marko bcb2adf95a Uploaded the source of the miniLZO compression library used in the .amxx (ABL) file format 2004-07-22 13:06:46 +00:00
Pavol Marko b7e9f34471 Changed to use the miniLZO compression library 2004-07-22 13:05:03 +00:00
Pavol Marko 138e984e66 Initial release
To be changed to use the miniLZO library instead of using the RLE compression
2004-07-21 20:03:24 +00:00
Pavol Marko bd93ea88a5 Added "J" to amx_version if compiled with JIT
Changed memreport interval to 5 minutes
2004-07-21 20:01:46 +00:00
Pavol Marko 1c7aa62db1 changed to work with the .amxx files 2004-07-21 20:00:10 +00:00
Pavol Marko 1cd4dc20dc Added native
is_jit_enabled
2004-07-21 19:59:39 +00:00
Pavol Marko 18490e545c Removed
#define JIT
2004-07-21 19:58:09 +00:00
Pavol Marko 287720c4e4 changed to work with new tasks 2004-07-18 18:49:34 +00:00
Pavol Marko fa7dc91449 Added a new overloaded find function where the caller can set where to start searching 2004-07-18 18:48:54 +00:00
Pavol Marko a6f7742e86 rewritten 2004-07-18 18:48:20 +00:00
Pavol Marko 4003204ffe simplified, should work on linux too now 2004-07-13 16:17:38 +00:00
Pavol Marko 919953b661 a fix for an error? 2004-07-08 18:53:58 +00:00
Pavol Marko f0f6dc88b1 Rewritten; The whole log system is now finally a class 2004-07-08 16:02:40 +00:00
Pavol Marko 4878c66032 added file 2004-07-08 16:02:21 +00:00
Pavol Marko 9656eac079 Changed to support rewritten amxxlog 2004-07-08 16:02:01 +00:00
Pavol Marko 8dceb45567 fixed bug in CList::put 2004-07-04 14:59:21 +00:00
Pavol Marko ab6909a60c fixed bug where modules were queried / attached more times 2004-07-03 13:48:53 +00:00
Pavol Marko dc971460ff adapted for new CList 2004-07-03 13:47:03 +00:00
Pavol Marko f5eb46d234 rewritten 2004-07-03 13:46:35 +00:00
Pavol Marko 67b13237d6 fixed memory leaks caused by using a CVector instead of a CList 2004-07-03 13:45:56 +00:00
Pavol Marko 88cc9156fe added "gpl" to the "amxx" comand list 2004-06-29 15:58:44 +00:00
Pavol Marko eeebee0e18 Changed report_error behavior 2004-06-28 18:12:26 +00:00
Pavol Marko b5e9fe2d49 commited makefile on BAILOPAN's wish :)
watch out: -libstdc++ option used
memtest included
JIT not included
2004-06-28 15:54:19 +00:00
Pavol Marko 7741f8f6a9 added MaximalPerformance build option 2004-06-24 18:52:06 +00:00
Pavol Marko bf1340cf14 changed HLSDK_3_2_OLD_EIF to HLSDK_2_3_OLD_EIFACE
changed ClientCommand to use the FAKEMETA_DLL_HANDLE_void macro
2004-06-24 18:47:00 +00:00
Pavol Marko 35c2c41a41 fixed typos, maybe a player disconnect problem 2004-06-24 18:44:30 +00:00
Pavol Marko 259a9d70ec added run time error reporting 2004-06-10 13:19:41 +00:00
Pavol Marko d3bb65eec7 added a memreport before mapchange
fixed possible crash bug where Cmd_Args would return NULL
2004-06-10 13:18:58 +00:00
Pavol Marko 175e3ed1cd added
bot = false;
in Disconnect()

(hoping it will fix some problems where AMXX doesn't recognize players as proper clients)
2004-05-30 13:30:00 +00:00
Pavol Marko ce15e9a3ba Fixed a bug where the last module in modules.ini would not be attached to metamod. 2004-05-30 13:29:13 +00:00
Pavol Marko ca0a32a546 AMXX won't crash now on invalid plugin path 2004-05-29 12:22:33 +00:00
Pavol Marko b4107e3523 Fixed a bug where menus would not work 2004-05-29 12:21:57 +00:00
Pavol Marko 9e99831fb2 added a declaration of a local variable. The file will compile now :] 2004-05-29 12:20:57 +00:00
Pavol Marko e620debd1f The Core is now a fake plugin.
Fixed a bug where core could not supercede functions.
2004-05-29 12:20:01 +00:00