View Single Post
Author Message
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 07-23-2014 , 19:52   [EXP] [AMX] Load Error 17 (Invalid File Format or Version)
Reply With Quote #1

In this thread, I'm just want to share a problem that I find when I'm maintaning a server.

The errors:

So, as a maintaner I have to update a server with new modified and edited plugin. However suddenly, I have encountered this problem:
Quote:
[AMX] Load error 17 (invalid file format or version) (plugin "admin.amx")
[AMX] Load error 17 (invalid file format or version) (plugin "admincmd.amx")
[AMX] Load error 17 (invalid file format or version) (plugin "adminhelp.amx")
[AMX] Load error 17 (invalid file format or version) (plugin "adminslots.amx")
[AMX] Load error 17 (invalid file format or version) (plugin "menufront.amx")
[AMX] Load error 17 (invalid file format or version) (plugin "cmdmenu.amx")
[AMX] Load error 17 (invalid file format or version) (plugin "plmenu.amx")
[AMX] Load error 17 (invalid file format or version) (plugin "restmenu.amx")
As this problem is new for me. So, I have searched for the solutions in the internet but failed.

I have asked the owner of the server, whether he has hosted his server using Linux or Windows. Then he said he has using Linux. So, I think maybe that is the problem but actually it is not.

What cause it to happen?

I have figured it out the solution. When this problem happen, there 2 possible thing that can cause it:
1. You are not running AMX Mod X at all. How to know that? Just type "meta list" your console. Then if it give this (it mean you are not running any AMX Mod X version):
Quote:
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX RUN - amx_mm.dll v0.9.7 ini ANY ANY
[ 2] Monster RUN - monster_mm.dll v3.00.00 ini Chlvl Chlvl
[ 3] CS STATS RUN - csstats_mm.dll v0.9.7 ( cmd ANY ANY
[ 4] FUN RUN - fun_mm.dll v0.9.8 cmd ANY ANY
[ 5] XtraFun RUN - xtrafun_mm.dll v1.2 cmd ANY Pause
[ 6] Vexd Util. Modu RUN - vexdum_mm.dll v0.2.0.7 cmd ANY ANY
6 plugins, 6 running
2. You are using different version of AMX Mod X version with your server when compiling a plugin.

What I mean here is the server that I mantain is using AMX Mod X version 1.8.2 while I'm using AMX Mod X version 1.8.3 to compile the plugin. So, when I installed the compiled plugin in the server, it will give this error:
Quote:
[AMX] Load error 17 (invalid file format or version) (plugin "admincmd.amx")
The solutions:
Quote:
Feel free to suggest any other possible solutions.
This is my suggestion to solve the problems:
1. You have to download the latest AMX Mod X version or at least have AMX Mod X being installed in your server.

2. You have to use the same AMX Mod X version with your server when compiling the plugin.
Quote:
If you have any problems that have been solved, feel free to share it here.

Last edited by zmd94; 10-09-2014 at 06:37.
zmd94 is offline