SA-MP Forums Archive
Linux - Bots/Announce.exe - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Linux - Bots/Announce.exe (/showthread.php?tid=458383)



Linux - Bots/Announce.exe - M1tux3r - 16.08.2013

Hi guys, I have a server, in this server have some bots, all codes are good, but they don't connect to server, and don't see nothing in the log, some ask?

Linux version: centos-5-x86
server.cfg: maxnpc 3
OnGamemodeInit:
ConnectNPC("Bot", "Bot");
ConnectNPC("Bot1", "Bot1");
ConnectNPC("Bot2", "Bot2");

When i test my server in windows, it works correctly, and also i have a problem with the announce.exe, the server don't see in the internet list of client. Thanks and sorry for my bad English.


Re: Linux - Bots/Announce.exe - RyanBillen - 16.08.2013

I have the same problem, a little bit help please.


Re: Linux - Bots/Announce.exe - Scenario - 16.08.2013

If you don't even see any connection attempts from the bots then you need to adjust the file permissions. 770, 775, 777, they should all work fine. 777 is risky, but if it's your own dedicated server it won't be that big of a deal.


Respuesta: Linux - Bots/Announce.exe - M1tux3r - 16.08.2013

The files samp-npc and announce, they have all permissions. Do I give the permissions also the npc files?


Re: Linux - Bots/Announce.exe - Scenario - 16.08.2013

Yes.


Respuesta: Linux - Bots/Announce.exe - M1tux3r - 16.08.2013

Nothing, the bots don't load.


Re: Linux - Bots/Announce.exe - Scenario - 16.08.2013

You're not seeing ANYTHING in the server log?


Respuesta: Linux - Bots/Announce.exe - M1tux3r - 16.08.2013

I don't see nothing, I should see "Incoming connection: 127.0.0.1" or some like this, but it appears nothing.


Re: Linux - Bots/Announce.exe - Johnson_boy - 16.08.2013

Did you upload the NPC recordings and scripts to npcmodes folder?


Respuesta: Linux - Bots/Announce.exe - M1tux3r - 17.08.2013

Yeah, in windows work all good, but i upload the linux host and they don't work good.