Posted: Thu Apr 01, 2010 3:39 am Post subject: Problems with CHMOD
Hello,
I have a Linux host, and when I install in a subdomain "GTA: San Andreas" (gtasa), GameCreate set CHMOD to 777 only to "samp03svr" file (the start file), but no to "announce" e "samp-npc" executable files.
The first file "announce" add the gtasa server to public listing in SA:MP client, and the second file "samp-npc" start the server bot (added in the SA:MP 0.3a).
How can I resolve?
P.S.: I have tried to create Custom Package, with adding by default CHMOD 777 to those files, but no resolve.
----
Anothere request: In the Windows host, if I using GameCreate for "GTA: San Andreas", the "announce.exe" start automatically if in the server.cfg there is the string "announce 1", but in Linux, if I set manually perms to 777 on file "announce", this not start.
Grat!
But if I don't add the samp03svr to the gtasa.op.txt file, it's is not executable.
Now the samp-npc start, but if I add or remove this code to the server.cfg (from GameCreate) the announce don't start.
Code:
announce 1
query 1
I can start this executable only manually, by enter in the game folder and insert ./announce in the SSH.
Why?
---
If I download a server version from the game site, and run it manually by start ./samp03svr, automatically this start the samp-npc (now this is automatically started) and the announce (now this is NOT automatically started).
Try running GTA SAMP in a SCREEN session (choose Require Screen via Game Configuration).
Add this line after ./announce_exe $@:
sleep 10000
Then when the server starts, attach the screen using screen -r via shell, and look for any errors printed to the console window after it tired to start announce_exe
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum