Gamemode text is "Unknown" in linux
#1

I programmed a server in windows and downloaded the 3 linux files and moved the whole project to a linux machine,
I started the server from linux but gamemode text is "Unknown" in SA-MP Server Browser (But it's something else when I run it from windows)...

What should I do to fix this?
What causes this problem?

---

LATEST UPDATE: Info in this thread

---

Read the posts before you "try to help"
Reply
#2

Linux need's .SO plugins so replace .DLL with .SO
Reply
#3

Windows - plugins streamer.dll etc..
Linux - plugins streamer.so etc..
___________________________
Plugins are also in the " plugins folder " or post your server_log.txt

@Edit: sorry, did not realize that he had already answered.
Reply
#4

I'm not a noobie, I know.
I have both .so and .dll files in the plugins folder,
I can even join the game and everything's normal...

In server.cfg I didn't specify... for example I just wrote streamer, not streamer.so or streamer.dll
If that is the problem I'll change them to .so

Any other ideas?

UPDATES:

I've changed all plgs to .so and all loaded fine.
I checked server_log.txt and error:

Код:
Script[gamemodes/MY_GAMEMODE.amx]: Run time error 19: "File or function is not found"
Number of vehicle models: 0
The file EXISTS, but wth, should I recompile it? I can't do it on linux

Here's my server.cfg:
Код:
gamemode0 MY_GAMEMODE
Reply
#5

Try recompiling the script with the latest includes..
Also try nativechecker.
NativeChecker
It will tell you which function are you missing.. Add "nativechecker.so" after all the plugins for example
Код:
plugins streamer.so sscanf.so nativechecker.so
Reply
#6

Quote:
Originally Posted by SsHady
Посмотреть сообщение
Try recompiling the script with the latest includes..
Also try nativechecker.
NativeChecker
It will tell you which function are you missing.. Add "nativechecker.so" after all the plugins for example
Код:
plugins streamer.so sscanf.so nativechecker.so
Ok I'll try
Reply
#7

show us all #include <x> and so on
Reply
#8

Quote:
Originally Posted by Wizzard2H
Посмотреть сообщение
show us all #include <x> and so on
I'm not gonna do that,

I created a blank gamemode, still nothing happens,
No vehicle model and no gamemode text...

Gamemode doesn't work at all...
Reply
#9

Download the server files directly to the server machine if possible (wget) or use binary mode when uploading from a remote machine. Uploading in ASCII mode, which is the default, is fine for text files but it is not suitable for executables.
Reply
#10

Quote:
Originally Posted by Vince
Посмотреть сообщение
Download the server files directly to the server machine if possible (wget) or use binary mode when uploading from a remote machine. Uploading in ASCII mode, which is the default, is fine for text files but it is not suitable for executables.
I did it before, the 0.3.7-R2, still the same,
When I pull (from git) error file or... not found..
I compiled it on linux with wine, the error is fixed but no gamemode...

It's like it doesn't even exists...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)