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
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
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
Pavol Marko
01b955d2d4
Finally added callfunc_begin_i and get_func_id into amxmodx.inc
2004-12-25 21:28:50 +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
Pavol Marko
ca720c8c83
XS Library
2004-11-13 10:20:12 +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
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
Pavol Marko
bc2386fe47
Fixed typo in RadiusDamage (reported by apophis)
2004-10-30 13:40:23 +00:00
Pavol Marko
ec02883f6e
Added stocks:
...
find_plugin_byfile
find_plugin_bydesc
2004-10-30 13:27:22 +00:00
Pavol Marko
47d1881c29
Added declarations for:
...
callfunc_begin_i
get_func_id
2004-10-29 19:54:56 +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
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
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