Commit Graph

504 Commits

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