Alibek Omarov 94133965c4
amxmodx: do not try to parse a signature starting with @ as hex
Imagine a situation where `MemoryUtils::ResolveSymbol` for some reason fails.

Then the signature gets parsed as a HEX value. The way the `MemoryUtils::DecodeHexString` (called by `MemoryUtils::DecodeAndFindPattern`) works is that it takes any symbols, checks if it's backslash and tries to parse it, otherwise it just silently puts into the buffer.

The problem of this is that the `MemoryUtils::FindPattern` will look for any pattern match, despite it's not a pattern but a symbol name in an ASCII. This might lead to unwanted consequences, and to me, it's better fail here than crash.
2024-04-28 03:33:03 +03:00
2021-10-05 23:39:38 -07:00
2022-07-17 18:05:27 -07:00
2023-01-21 20:25:44 -08:00
2015-03-10 11:11:49 +02:00
2021-05-06 20:40:48 -07:00
2015-03-09 22:53:58 +01:00
2021-09-28 11:41:04 -07:00
2018-09-11 00:48:15 +02:00
2018-09-04 19:31:23 +02:00

AMX Mod X is a Metamod plugin for Half-Life 1. It provides comprehensive scripting for the game engine and its mods. Scripts can intercept network messages, log events, commands, client commands, set cvars, modify entities, and more. AMX Mod X also has a system for extending native scripting through modules, leading to outside support for things like MySQL and Sockets.

General

Development

Description
AMX Mod X - Half-Life 1 Scripting and Administration
Readme 245 MiB
Languages
C 37.4%
C++ 24%
Pascal 18.4%
HTML 5.7%
Roff 4.8%
Other 9.7%