Page 1 of 1

Amxmodx 1.5

Posted: Wed Aug 03, 2005 5:08 am
by zempror
Will this work for Amxmodx 1.5?

Posted: Wed Aug 03, 2005 5:23 am
by algee2005
i guess you will have to recompile it on the new compiler, but it should be compatible oO

Posted: Wed Aug 03, 2005 6:45 am
by ferret
I don't know yet.

Posted: Wed Aug 03, 2005 7:05 am
by ferret
Okay, I haven't ran the plugin under 1.5 yet, but..

To get the plugin to compile under 1.5, you'll have to remove a function from the plugin that luckily is completely unneeded. This is leftover code from Spacedude, its years old, and BAILOPAN seems to have changed the function prototype.. And I don't care enough to worry about fixing it.

Find this function:

Code: Select all

public inconsistent_file(id, const filename[], reason[256] ){
   new name[MAX_NAME_LENGTH]
   get_user_name(id,name,MAX_NAME_LENGTH-1)
   server_print("I: %s for %s",filename,name)
   server_print("R: %s",reason)
   format(reason,255,"File %s may be outdated or modified",filename)
   return PLUGIN_HANDLED
}
Delete or comment it out and the plugin will compile. Tonight I'll test whether or not it actually works, this is all I can do for now.

Posted: Thu Aug 04, 2005 6:32 am
by ferret
I didn't get to this last night, maybe this weekend. I really don't want to put anything "official" behind AMXX 1.5 until the new metamod is available and 1.5 is out of "beta"