Samp NPC Access Denied
#1

On startup my server cmd sends these lines

Код:
 sh: /home/ogp_agent/OGP_User_Files/port_7782/samp-npc: Permission denied
sh: /home/ogp_agent/OGP_User_Files/port_7782/announce: Permission denied
sh: /home/ogp_agent/OGP_User_Files/port_7782/announce: Permission denied
and my npcs arent allowed to connect to the server.
Reply
#2

Try this cmd before starting up

Quote:

chmod +x samp-npc samp03svr announce

Reply
#3

to be honest i didnt know where to add that. Here's my host startup file. I am using furious host

Код:
 #!/bin/bash
function startServer(){
NUMSECONDS=`expr $(date +%s)`
until ./samp03svr ; do
let DIFF=(`date +%s` - "$NUMSECONDS")
if [ "$DIFF" -gt 15 ]; then
NUMSECONDS=`expr $(date +%s)`
echo "Server './samp03svr ' crashed with exit code $?.  Respawning..." >&2 
fi
sleep 3
done
let DIFF=(`date +%s` - "$NUMSECONDS")
if [ ! -e "SERVER_STOPPED" ] && [ "$DIFF" -gt 15 ]; then
startServer
fi
}
startServer
Reply
#4

Type that inside of the shell itself. Like where you type ./samp03svr. But if you don't have access to the shell itself, you must contact your host and see if they can resolve it, if they cannot, then it's something else.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)