Can't find any relatable thread about this so here I am.
I run a Sven Co-op server and the AMXX plugin which is using Ham functions is running just fine (according to AMXX), but the Ham functions do not work. No errors or anything. They simply do not work.
PHP Code:
amxx modules
Currently loaded modules:
name version author status
[ 1] MySQL 1.10.0.546 AMX Mod X Dev Team running
[ 2] FakeMeta 1.10.0.546 AMX Mod X Dev Team running
[ 3] GeoIP 1.10.0.546 AMX Mod X Dev Team running
[ 4] Engine 1.10.0.546 AMX Mod X Dev Team running
[ 5] Orpheu 2.6.3 joaquimandrade & Ar running
[ 6] Ham Sandwich 1.10.0.546 AMX Mod X Dev Team running
[ 7] Sockets 1.9.0.5294 AMX Mod X Dev Team running
7 modules, 7 correct
If I use AMXX 1.9.0 however which still uses hamdata.ini then the Ham functions starts working. But with AMXX 1.10 which should be using data/gamedata/common.games/virtual.games/svencoop/offsets-common.txt to read the offsets, none of them work.
How do I even know if Hamsandwich is reading from this file or not? I have compared these files and made sure they use the same offsets.
data/gamedata/common.games/master.games.txt:
Code:
"Game Master"
{
//
// Engine
//
"globalvars.engine.txt"
{
"engine" "engine_ds"
"engine" "engine_ls"
}
"functions.engine.txt"
{
"engine" "engine_ds"
"engine" "engine_ls"
}
//
// Virtual Functions
//
"virtual.games/svencoop/offsets-common.txt"
{
"game" "svencoop"
}
}