Script only working on Windows?
#1

Hello, whats the problem if i load my script to the server hoster which is on Linux then it crashing but on my Homeserver on Windows it works, how can i make that it works with Linux too?
Reply
#2

If you are loading from files make sure to use forward slashes in paths. Forward slashes should also work on Windows (it does for me) but I've heard otherwise from a few people.
Reply
#3

I dont understand what you mean and my server crashes on the linux server, please help me.
Reply
#4

I think it's the other way around, Vince.

@OP: If you have stuff like #include <rootdirectory/subdirectory/filename> change it to #include <rootdirectory\subdirectory\filename>
Reply
#5

I dont have this stuff on my script. but how can i make it to linux that it works on linux i've updated the plugins to linux but it still crashing when someone spawning.
Reply
#6

Are you using .dll plugins on linux? if so you need to get the .so .
Reply
#7

I use .so files like streamer.so or sscanf.so
Reply
#8

Is the server log printing anything?
Reply
#9

No i tried crashdetect but it didnt print anything, so whats the problem, when i crashing it says You are banned from this server, lost connection to the server, but it seems that only the player crashing not the complete server.
Reply
#10

Did you copy the files from the linux package?
If yes, did you change RCON pw? xd
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)