Filterscripts Can't load on Linux (Debian 6/7)
#1

Ok, so I was testing my gamemode on my Windows based computer and it was working perfect with filterscripts and database, but when I uploaded the files to my Linux-based (Debian 6/7) server though FTP and tried to start the server, I get these code right here 'Filterscipts'
pawn Код:
[02:08:45] Filterscripts
[02:08:45] ---------------
[02:08:45]   Loading filterscript 'Server.amx'...
[02:08:45]   Loading filterscript 'interiors.amx'...
[02:08:45]   Unable to load filterscript 'interiors.amx'.
[02:08:45]   Loading filterscript 'exteriors.amx'...
[02:08:45]   Unable to load filterscript 'interiors.amx'.
[02:08:45]   Loading filterscript 'anims.amx'...
[02:08:45]   Loading filterscript 'buttons.amx'...
[02:08:45]   Loaded 3 filterscripts.
Why can't they load, that's what I am thinking of :/
Reply
#2

Quote:
Originally Posted by VladimirMark
Посмотреть сообщение
Ok, so I was testing my gamemode on my Windows based computer and it was working perfect with filterscripts and database, but when I uploaded the files to my Linux-based (Debian 6/7) server though FTP and tried to start the server, I get these code right here 'Filterscipts'
pawn Код:
[02:08:45] Filterscripts
[02:08:45] ---------------
[02:08:45]   Loading filterscript 'Server.amx'...
[02:08:45]   Loading filterscript 'interiors.amx'...
[02:08:45]   Unable to load filterscript 'interiors.amx'.
[02:08:45]   Loading filterscript 'exteriors.amx'...
[02:08:45]   Unable to load filterscript 'interiors.amx'.
[02:08:45]   Loading filterscript 'anims.amx'...
[02:08:45]   Loading filterscript 'buttons.amx'...
[02:08:45]   Loaded 3 filterscripts.
Why can't they load, that's what I am thinking of :/
you are missing some plugins bro make sure you upload all your plugins to the host and tell me if there is any news
Reply
#3

I have same plugins and in the Windows and Linux Server folder (Of course is .so format in Linux)

Anyone can help?
Reply
#4

Well, some loaded, some didn't. To know more, we'd need to see the code of the particular ones that didn't. Most probably this code is in the main() function, though I'm not too familiar with the way AMX files are loaded, so it could be anywhere.

Still, they're failing "on load" - so it's probably some early executing code (or perhaps if there are certain functions unavailable and AMX format happens to check for them all at start up, it could be any code anywhere). But yeah, I recommend focusing on any code that runs early and each individual external-dependent function which exists within each failed filter-script.
Reply
#5

Ok, it's fixed!
I forgot that I added
pawn Код:
#define Win32
and
pawn Код:
#define Linux
in my script and I had
pawn Код:
//#define Linux
and it wasn't working on Linux

Thank you all for your help
Reply
#6

GLAD U GOT IT FIXED
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)