07.05.2014, 17:35
Quote:
|
You didn't get any other information with [debug] prefix, did you? I've noticed that when it sends the message "[debug] Server crashed while executing ..." twice, it doesn't give the reason of the crash.
Try using debug info: https://github.com/Zeex/samp-plugin-...ith-debug-info and if that doesn't help on getting more information about the crash, then I am not aware of it. Just make sure you've created all the folders needed in scriptsfiles folder and that you've set the permissions correctly (scriptfiles folder must be readable and writeable and plugins folder must be executable). |
Quote:
|
[debug] Server crashed while executing mgm.amx |
Quote:
|
What is your Linux distro? I am running a test server on Kubuntu 12.04 LTS. All I did was download the linux server and tossed it into a directory. No big issues so far.
BTW you might find this handy, I wrote this bash script to run my server. If you don't use kdialog, you can always replace it with zenity. Код:
#!/bin/bash
#
server_start() {
#This is where my server is located.
cd "/media/drive_d/samp03"
./samp03svr
}
server_stop() {
killall samp03svr
}
server_restart() {
server_stop
sleep 3
server_start
}
#Menu Dialog Displays Server Active or Not
SampAct=$(ps -A | grep "samp03svr" | grep -v grep | wc -l)
case $SampAct in
0) CmdOpt=`kdialog --radiolist "Server has Stopped" 1 "Start Server" on 2 "Reset Server" off 3 "Kill Server" off`
;;
*) CmdOpt=`kdialog --radiolist "Server is Running" 1 "Start Server" on 2 "Reset Server" off 3 "Kill Server" off`
;;
esac
case $CmdOpt in
1) server_start
;;
2) server_restart
;;
3) server_stop
;;
*) exit
;;
esac
|


