AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   Help / Support [EXP] [AMX] Load Error 17 (Invalid File Format or Version) (https://forums.alliedmods.net/showthread.php?t=244801)

zmd94 07-23-2014 19:52

[EXP] [AMX] Load Error 17 (Invalid File Format or Version)
 
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.

CryWolf 07-24-2014 12:47

Re: [SOLVED] [AMX] Load error 17 (invalid file format or version)
 
Error was because you are using AMX Mod and not AMX Mod X it's a huge difference between them, AMX Mod X 1.8.1 is backwards compatible and 1.8.2 or 1.8.3 not anymore.

zmd94 07-24-2014 19:55

Re: [SOLVED] [AMX] Load error 17 (invalid file format or version)
 
Quote:

Originally Posted by CryWolf (Post 2173034)
Error was because you are using AMX Mod and not AMX Mod X. It's a huge difference between them, AMX Mod X 1.8.1 is backwards compatible and 1.8.2 or 1.8.3 not anymore.

Yes, I agreed.

Kuma77 01-10-2015 09:06

Re: [EXP] [AMX] Load Error 17 (Invalid File Format or Version)
 
Thank you guys a lot this is help me :)

zmd94 01-10-2015 09:16

Re: [EXP] [AMX] Load Error 17 (Invalid File Format or Version)
 
I'm glad if it help you. ;)

New.ZM.Life 01-10-2015 11:08

Re: [EXP] [AMX] Load Error 17 (Invalid File Format or Version)
 
Nice notice and sharing experience

But was better to make this thread somewhere out of zombieplague mod section for all peoples on forum

zmd94 01-10-2015 18:16

Re: [EXP] [AMX] Load Error 17 (Invalid File Format or Version)
 
You're right.

Anyway, just search for the title, then you will find it.

prinoybullboy 01-25-2015 10:11

Re: [EXP] [AMX] Load Error 17 (Invalid File Format or Version)
 
Thanks alot , saved my day :D

zmd94 01-25-2015 11:56

Re: [EXP] [AMX] Load Error 17 (Invalid File Format or Version)
 
Nice. ;)

I'm glad I can help.


All times are GMT -4. The time now is 14:52.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.