Raised This Month: $ Target: $400
 0% 

Help / Support Failing to install the mod (compiling errors)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fawkes37
Senior Member
Join Date: Jul 2008
Old 07-29-2016 , 15:58   Failing to install the mod (compiling errors)
Reply With Quote #1

Yes, I have read the FAQ.
Yes, I have all the necessary files, including the .inc files.
Yes, I searched before posting (through Google though, because for some reason search does not work for me on this site).
Alright, now that we have all that out of the way, lets get to the problem.

So I decided to install Zombie Plague on my server (zp5.08a). Pretty soon I realized you have to compile all the plugins manually, and headed right to do that (locally on my PC, not the online compiler). But didn't get vey far. In fact, the very first plugin I tried to compile gave me this error:
error 017: undefined symbol "Invalid_Array"

And that same error keeps popping up for many of the ZP plugins. Some of them compile just fine, though. This mod being as big and popular as it is leads me to think I am the one doing something wrong here. What am I missing?
The following is my modules.ini file:
Quote:
;;;
; To enable a module, remove the semi-colon (;) in front of its name.
; If it's not here, simply add it its name, one per line.
; You don't need to write the _amxx part or the file extension.
;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;
;; SQL Modules usually need to be enabled manually ;;
;; You can have any number on at a time. Use ;;
;; amx_sql_type in sql.cfg to specify the default ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;

;mysql
;sqlite

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;
;; Put third party modules below here. ;;
;; You can just list their names, without the _amxx ;;
;; or file extension. ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;
;; These modules will be auto-detected and loaded ;;
;; as needed. You do not need to enable them here ;;
;; unless you have problems. ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;

fun
;engine
;fakemeta
;geoip
;sockets
;regex
;nvault
cstrike
csx
Thanks in advance !

Last edited by Fawkes37; 07-29-2016 at 16:14.
Fawkes37 is offline
safetymoose
Senior Member
Join Date: Feb 2015
Old 07-29-2016 , 22:31   Re: Failing to install the mod (compiling errors)
Reply With Quote #2

Just a hunch, but try grabbing ZP 5.0.5 and then just adapt the files in the changelog from 5.0.8

Last edited by safetymoose; 07-29-2016 at 22:32.
safetymoose is offline
Fawkes37
Senior Member
Join Date: Jul 2008
Old 07-30-2016 , 09:12   Re: Failing to install the mod (compiling errors)
Reply With Quote #3

It seems I had an outdated AMXX, so after updating, it compiled all of them nicely.
However, now I face a different problem, and by the looks of it, this time it does seem it has to do with modules.ini. What do I need to add there? Here's the error:
s31. postimg. org/obc97jmbf/errors.jpg
(remove spaces before ".", forum doesnt let you post links apparently.)

And here's the modules.ini (already tried adding both "zp50_class_zombie" and "zp_class_zombie.amxx" with no effect):
Quote:
;;;
; To enable a module, remove the semi-colon (;) in front of its name.
; If it's not here, simply add it its name, one per line.
; You don't need to write the _amxx part or the file extension.
;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;
;; SQL Modules usually need to be enabled manually ;;
;; You can have any number on at a time. Use ;;
;; amx_sql_type in sql.cfg to specify the default ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;

;mysql
;sqlite

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;
;; Put third party modules below here. ;;
;; You can just list their names, without the _amxx ;;
;; or file extension. ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;



;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;
;; These modules will be auto-detected and loaded ;;
;; as needed. You do not need to enable them here ;;
;; unless you have problems. ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;

fun
;engine
;fakemeta
;geoip
;sockets
;regex
;nvault
cstrike
csx
;hamsandwich

Last edited by Fawkes37; 07-30-2016 at 09:18.
Fawkes37 is offline
safetymoose
Senior Member
Join Date: Feb 2015
Old 07-30-2016 , 09:40   Re: Failing to install the mod (compiling errors)
Reply With Quote #4

Check the order of your plugins in plugin-zp_ammopack.ini, make sure you have the important ones are at the top. Follow the given structure in the .ini provided by ZP50, zp50_gamemodes comes before zp50_gamemode_infection and the others, zp50_class_human comes before zp50_human_ammo, zp50_class_zombie comes before the classes, etc.. Make sure you're not trying to load some of the secondary plugins before you load their main ones..

Last edited by safetymoose; 07-30-2016 at 09:41.
safetymoose is offline
Fawkes37
Senior Member
Join Date: Jul 2008
Old 07-30-2016 , 14:41   Re: Failing to install the mod (compiling errors)
Reply With Quote #5

Replaced plugin-zp_ammopack.ini with original, seems to be working now. Thanks.
Fawkes37 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:48.


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