Commit Graph

782 Commits

Author SHA1 Message Date
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
David Anderson
f4960433bc Fixed possible formatting bug 2004-08-30 01:37:25 +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
David Anderson
a3d048880f oops 2004-08-29 17:15:32 +00:00
David Anderson
53f8d12237 Switched tasks to forward system 2004-08-29 17:11:08 +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
David Anderson
6d35912c67 Removed debug info 2004-08-28 22:34:54 +00:00
David Anderson
02be09dd00 Removed inline notation. 2004-08-28 22:34:02 +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
David Anderson
d5cb120ab4 Quick fix 2004-08-24 05:29:32 +00:00
David Anderson
84771f11a7 updated makefile 2004-08-24 05:00:23 +00:00
David Anderson
8b35ce2145 Added amx_FindNative to module API 2004-08-24 04:46:15 +00:00
David Anderson
9d3ea5513b Fixed a crash bug in FormatAmxString()
Added amx_FindNative to module API
Changed LZO->GZ in .amxx format
2004-08-24 04:30:13 +00:00
David Anderson
c53f54fe20 Changed from LZO to GZ compression 2004-08-23 18:21:09 +00:00
David Anderson
2d9e405b18 Important bug fixes 2004-08-23 14:14:58 +00:00
Felix Geyer
a23712bb19 updated is_plugin_loaded() to expect the plugin title 2004-08-22 20:59:46 +00:00
David Anderson
293486ff12 new cvar 2004-08-22 14:50:35 +00:00
David Anderson
b822b91c75 Fixed makefile bugs
Fixed newline bug
Removed some unnecessary stuff from amx.cpp
2004-08-22 11:46:04 +00:00
Felix Geyer
c003f90713 removed type from "amxx modules" 2004-08-22 11:36:24 +00:00
David Anderson
72a7e9d849 Fixed bugs 2004-08-22 09:43:35 +00:00
David Anderson
3818987c33 Fixed a few bugs, added new Makefile in perl 2004-08-22 09:28:09 +00:00
David Anderson
6f8c2b828a Added JIT object file (thanks malex) 2004-08-22 08:22:33 +00:00
Steve Dudenhoeffer
51caf26399 Fixed a couple issues with gcc 2004-08-22 02:52:27 +00:00
David Anderson
d4ad09619e Prevented keys from overwriting each other 2004-08-21 21:39:21 +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
Felix Geyer
4bf0a0c6c3 removed 2004-08-21 18:47:33 +00:00
Felix Geyer
dca58b7356 Single-threaded 2004-08-20 17:23:19 +00:00
Felix Geyer
c4af0ff664 Initial import 2004-08-20 14:05:46 +00:00
Felix Geyer
09b3306dc2 added version information to the dll 2004-08-20 13:25:19 +00:00
Felix Geyer
8d86d078c3 new always up-to-date project file 2004-08-20 13:24:23 +00:00
Felix Geyer
d9f5d9dc32 removed 2004-08-20 13:23:33 +00:00
Felix Geyer
d50ede5492 removed "J" from amxmodx_version cvar 2004-08-19 22:27:47 +00:00
Felix Geyer
d19d570758 fixed show_menu (thx PM :) 2004-08-19 20:34:16 +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
David Anderson
c622e1b6c7 More error reporting 2004-08-18 15:30:06 +00:00
David Anderson
5ecd986d9b MULTILINGUAL - ALL BUGS FIXED
Reversed Makefile
Changed memreport file names
2004-08-16 21:34:50 +00:00
David Anderson
1bd7ab3a95 Binary code nearly complete
(save works, load does not)
2004-08-15 15:26:46 +00:00
David Anderson
46adfaedd3 Fixed almost all CLang bugs: (mem leaks?, parsing, key system, etc)
Warning - caching is still broken!
Fixed bug in ucfirst()
2004-08-15 13:49:59 +00:00
David Anderson
3bbfca6d08 Dear me, many changes
Rewrote Lang (still does not work though!)
New String class funcs+name
Added Queue class
Added MD5 class + functions
2004-08-15 10:53:48 +00:00
Felix Geyer
7961bae20b fixed log messages 2004-08-13 16:23:55 +00:00
David Anderson
7aa6902e36 Switched LANG_SERVER/LANG_PLAYER
Fixed show_menu (param count is always the same)
2004-08-13 16:21:15 +00:00
David Anderson
7035a79e56 Fixed some string stuff 2004-08-13 13:01:45 +00:00
David Anderson
21b20dedbb AMX Mod X SDK/MDK Version 0.20.5 2004-08-13 11:33:43 +00:00
David Anderson
9f1bb9345c REALLY fixed bug this time (thanks fsfod and mahnsawce) 2004-08-13 11:20:05 +00:00
David Anderson
f12680f179 Fixed a bug noted by mahnsawce 2004-08-13 11:05:38 +00:00
David Anderson
58f13e887c Fixed a bug noted by mahnsawce 2004-08-13 10:46:13 +00:00
David Anderson
7f255b2b7f Removed debugging 2004-08-13 10:11:19 +00:00
David Anderson
060a0a565c Fixed default language errors 2004-08-13 10:01:41 +00:00
David Anderson
5469f70dba Fixed FormatAmxString bugs 2004-08-13 09:39:59 +00:00
David Anderson
955fcb8549 Rewrote CString 2004-08-13 08:46:04 +00:00
Lukasz Wlasinksi
f2bfee294e fixed get_user_team to work with DoD 2004-08-04 15:32:48 +00:00
David Anderson
fdbcb8b9df Fixed show_menu 2004-08-03 23:55:43 +00:00
David Anderson
f5f2592ef4 Fixed assertion bugs 2004-07-31 20:13:11 +00:00
David Anderson
c768788f4e Added 2.6.0 machine, fixed project file 2004-07-30 22:42:06 +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
David Anderson
1417434533 fixed bug in trim() 2004-07-24 16:22:18 +00:00
David Anderson
52b9b7f04d PM removed debugging stuff 2004-07-24 15:50:17 +00:00
David Anderson
b70eac0461 added trim() 2004-07-24 01:31:22 +00:00
Pavol Marko
bbf8a21693 Removed debug info from 64 bit porting
Fixed minor bugs
2004-07-23 17:29:03 +00:00
David Anderson
6dc00f64f8 PM: Added 64bit compatibility
dvander: Fixed minor bugs
2004-07-23 16:55:53 +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
Johnny Bergström
6236590aed included amxxfile.* 2004-07-22 09:19:25 +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
David Anderson
c504df473d Removed PM's original "GCC JIT" implementations. 2004-07-20 03:53:49 +00:00
David Anderson
5daf73e3d5 Using Grum's NASM JIT - from acquired August 1st. 2004-07-20 03:51:57 +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
David Anderson
41c7d041df Added change_task()
Added server_changelevel forward
2004-07-18 08:07:50 +00:00
Johnny Bergström
c00fffa444 MSVC 7.1 project file... 2004-07-16 07:38:58 +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
David Anderson
3dedf9976b Fixed incorrect forward orders
Fixed bug in CVector
2004-06-30 08:04:12 +00:00
David Anderson
ff23a74e9c wtf, get_module() uncommitted again
fixed typo
2004-06-30 04:27:55 +00:00
Pavol Marko
88cc9156fe added "gpl" to the "amxx" comand list 2004-06-29 15:58:44 +00:00
David Anderson
cf137b54ad PM's fix: engclient_cmd is now client_cmd 2004-06-28 18:54:58 +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
David Anderson
8477d8834a nothing important 2004-06-26 21:46:24 +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
David Anderson
42ff533d65 Fixing more incorrect merges 2004-06-24 07:11:52 +00:00
David Anderson
4b3d2d3133 Fixing accidental commit 2004-06-24 07:09:17 +00:00
David Anderson
37d144abe5 Changed from cell->pointer casts to reference handles.
Fixed a memory leak.
2004-06-24 07:02:29 +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
Johnny Bergström
8840c03dff Fixed a couple more typos dettach -> detach 2004-06-09 07:59:32 +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
Pavol Marko
549e9d6b55 Fixed another memory leak... 2004-05-29 12:18:41 +00:00
Pavol Marko
9307994060 Cleaned up some code, added checks for msgid != 0 (so AMXX doesn't crash mods which don't support text based menus for example) 2004-05-28 11:29:44 +00:00
Pavol Marko
8c600f90c3 nothing important 2004-05-28 11:28:42 +00:00
Pavol Marko
14e59c6967 Fixed bug where a file handle would stay opened on error; added id validations to MNF player natives 2004-05-28 11:27:50 +00:00
Pavol Marko
7695d24a50 Cleaned up some code, added comments 2004-05-28 11:26:05 +00:00
Pavol Marko
86b1021f45 Fixed memory leaks in amx_fget* natives 2004-05-28 11:25:28 +00:00
Pavol Marko
642eb769b2 Added a check for memory allocation failure 2004-05-28 11:24:59 +00:00
Pavol Marko
3d3775ec00 Fixed get_module (which would crash on modules with new interface) 2004-05-28 11:22:56 +00:00
Pavol Marko
a6af81e359 Added more support for JIT on Linux 2004-05-28 11:21:31 +00:00
Johnny Bergström
5c3ce78c58 Fixed typo: Dettach --> Detach 2004-05-26 12:58:58 +00:00
Johnny Bergström
c3d50a293d Fixed typo: dettach --> detach 2004-05-26 12:14:17 +00:00
David Anderson
f88bd58919 Added user_has_weapon() native 2004-05-26 08:28:54 +00:00
David Anderson
2cf4801f6b Fixed a memory leak I made :-) 2004-05-14 20:48:34 +00:00
Pavol Marko
af1242415c added iterator() constructor 2004-05-06 19:18:55 +00:00
Pavol Marko
104514f988 added SinglePluginForward support 2004-05-05 19:03:38 +00:00
Pavol Marko
ecd0c53ca1 added files for JIT on windows 2004-05-05 18:45:35 +00:00
Pavol Marko
836e6267dc new project files for MSVC 7.0 2004-05-05 18:44:08 +00:00
Pavol Marko
58cf8a1416 changed include files order 2004-05-05 18:43:47 +00:00
Pavol Marko
1f31c6e309 added SinglePluginForward functions to the module interface 2004-05-05 18:43:33 +00:00
Pavol Marko
e9e4b380cb added SinglePlugin forwards 2004-05-05 18:42:16 +00:00
Pavol Marko
7c4324b963 use of const functions 2004-05-05 18:41:36 +00:00
Pavol Marko
90f777d593 stuff 2004-05-03 20:01:23 +00:00
Pavol Marko
e2ff797de4 changed set_new_handler to std::ser_new_handler 2004-05-03 20:00:41 +00:00
Pavol Marko
5ce096457a not important 2004-05-03 19:48:40 +00:00
Pavol Marko
d7a8292419 added DLL Post Functions calling 2004-05-03 19:47:36 +00:00
Pavol Marko
be5276dde6 stuff 2004-05-03 19:46:49 +00:00
Pavol Marko
18abdd8149 added support for MODULE_NOT64BIT status 2004-05-03 19:45:19 +00:00
Pavol Marko
c3661e8bb3 linux memtest support 2004-05-03 19:40:49 +00:00
David Anderson
e6d53c4666 Header fix 2004-05-03 13:34:00 +00:00
David Anderson
863805ff6f SDK Fix for Metamod 1.18 2004-05-03 13:33:26 +00:00