wieder ich
also ich hab 2 bots in meinem Script
die connecten aufn lokalserver auch(mein PC)
aber wenn ich die aufn server lade(alles mit NPCfiles und allem)
connecten die nichmal -.- also in der server_log
steht keine incoming connection
-.-
an was kann das liegen?
server.cfg und alles eingestellt
// edit
das steht bei mir:
[14:43:02] Number of vehicle models: 13
[14:43:03] Incoming connection: 127.0.0.1:2343
[14:43:03] [npc:join] NPC_1 has joined the server (0:127.0.0.1)
[14:43:03] Incoming connection: 127.0.0.1:2344
[14:43:03] [npc:join] NPC_2 has joined the server (1:127.0.0.1)
aufm LINUX server das:
[14:30:36] Number of vehicle models: 13
Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!
Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
-
-
Ha, dann bin ich doch nicht der einzige
Liegt irgendwie am Linux, fals du Linux hast.
-
ja aufm server läuft linux....
-.- -
hast du in der server.cfg
bind serverip eingetragen?
-
was des?
-
Schreib einfach in deine server.cfg am ende bind deineserverip
Dann sollte es klappen
MfG MV6
-
+ port? weil es laufen mehrere SAMP server da drauf
-
es liegt nicht an linux bei mir funken alle die ich habe also die standarts die gehen dann sollten die anderen auch gehen
-
Naja, aufm Windows klappts ja ganz perfekt, irgendwas wird schon Linux ansich haben.
-
garkein bot geht ja in der server_log steht nichmal was von incoming connection -.-
-
server.cfg
Haste maxnpc auf die anzahl deiner Bots erhöht?
-
ich wette auf hunderteuro das es net an linux geht warum leuft es denn sonst beim mir Linux Debian 5.0
-
mit bind 84.200.211.212
gehts auch nich -.- -
du hast was falsch oder vergessen
-
server.cfg
Haste maxnpc auf die anzahl deiner Bots erhöht?
ja hab ich:
echo Executing Server Config...
lanmode 0
rcon_password *******
maxplayers 250
port 8888
hostname [GTS].:STUNT/FUN/DEATHMATCH:.[GTS]
gamemode0 gts
filterscripts Maps
announce 1
query 1
weburl http://www.black-angles.de
maxnpc 2
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
bind 84.200.211.212 -
fehler gefunden in filterscript gl_npcs -.-
hier mal meine log mit LINUX!
[14:51:17] --- Server Shutting Down.
----------
Loaded log file: "server_log.txt".
----------SA-MP Dedicated Server
----------------------
v0.3a R4, (C)2005-2009 SA-MP Team[14:51:18]
[14:51:18] Server Plugins
[14:51:18] --------------
[14:51:18] Loaded 0 plugins.[14:51:18]
[14:51:18] Filter Scripts
[14:51:18] ---------------
[14:51:18] Loading filter script 'base.amx'...
[14:51:18]
--Base FS loaded.[14:51:18] Loading filter script 'gl_actions.amx'...
[14:51:18] Loading filter script 'gl_property.amx'...
[14:51:18]
-----------------------------------
[14:51:18] Grand Larceny Property Filterscript
[14:51:18] -----------------------------------[14:51:18] Loading filter script 'gl_realtime.amx'...
[14:51:18] Loading filter script 'gl_npcs.amx'...
[14:51:18] Loaded 5 filter scripts.[14:51:18] Reading File: blank
[14:51:18] Reading File: properties/houses.txt
[14:51:18] Reading File: properties/businesses.txt
[14:51:18] Reading File: properties/banks.txt
[14:51:18] Reading File: properties/police.txt
[14:51:18]
----------------------------------
[14:51:18] Echt~Stunt
[14:51:18] ----------------------------------[14:51:18] Number of vehicle models: 14
[14:51:18] Incoming connection: 127.0.0.1:42742
[14:51:18] [npc:join] TrainDriverLV has joined the server (0:127.0.0.1)
[14:51:18] NPC: Connection from 127.0.0.1 is allowed.
[14:51:19] Incoming connection: 127.0.0.1:50934
[14:51:19] [npc:join] TrainDriverLS has joined the server (1:127.0.0.1)
[14:51:19] NPC: Connection from 127.0.0.1 is allowed.
[14:51:19] Incoming connection: 127.0.0.1:56000
[14:51:19] [npc:join] TrainDriverSF has joined the server (2:127.0.0.1)
[14:51:19] NPC: Connection from 127.0.0.1 is allowed.
[14:51:19] Incoming connection: 127.0.0.1:53520
[14:51:19] [npc:join] PilotLV has joined the server (3:127.0.0.1)
[14:51:19] NPC: Connection from 127.0.0.1 is allowed.
[14:51:19] Incoming connection: 127.0.0.1:58645
[14:51:19] [npc:join] PilotLS has joined the server (4:127.0.0.1)
[14:51:19] NPC: Connection from 127.0.0.1 is allowed.
[14:51:19] Incoming connection: 127.0.0.1:46133
[14:51:19] [npc:join] PilotSF has joined the server (5:127.0.0.1)
[14:51:19] NPC: Connection from 127.0.0.1 is allowed. -
also:
gememodeint //da is das
ConnectNPC("NPC_1","NPC_BUS_1");
ConnectNPC("NPC_2","NPC_BUS_2");
public OnPlayerConnect(playerid)
{
SetPlayerColor(playerid, COLOR_GREY);
if(IsPlayerNPC(playerid))
{
gPlayerAccount[playerid] = 1;
gPlayerLogged[playerid] = 1;
return 1;
}
..................... //usw.
public OnPlayerSpawn(playerid)
{
SetPlayerColor(playerid, COLOR_WHITE);
if(IsPlayerNPC(playerid))
{
new npcname[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname, sizeof(npcname));
if(!strcmp(npcname, "NPC_1", true))
{
PutPlayerInVehicle(playerid, TBC[0], 0);
SetPlayerSkin(playerid, 255);
}
if(!strcmp(npcname, "NPC_2", true))
{
PutPlayerInVehicle(playerid, TBC[1], 0);
SetPlayerSkin(playerid, 255);
}
return 1;
}...........//usw. -
[14:51:17] --- Server Shutting Down.
----------
Loaded log file: "server_log.txt".
----------SA-MP Dedicated Server
----------------------
v0.3a R4, (C)2005-2009 SA-MP Team[14:51:18]
[14:51:18] Server Plugins
[14:51:18] --------------
[14:51:18] Loaded 0 plugins.[14:51:18]
[14:51:18] Filter Scripts
[14:51:18] ---------------
[14:51:18] Loading filter script 'base.amx'...
[14:51:18]
--Base FS loaded.[14:51:18] Loading filter script 'gl_actions.amx'...
[14:51:18] Loading filter script 'gl_property.amx'...
[14:51:18]
-----------------------------------
[14:51:18] Grand Larceny Property Filterscript
[14:51:18] -----------------------------------[14:51:18] Loading filter script 'gl_realtime.amx'...
[14:51:18] Loading filter script 'gl_npcs.amx'...
[14:51:18] Loaded 5 filter scripts.[14:51:18] Reading File: blank
[14:51:18] Reading File: properties/houses.txt
[14:51:18] Reading File: properties/businesses.txt
[14:51:18] Reading File: properties/banks.txt
[14:51:18] Reading File: properties/police.txt
[14:51:18]
----------------------------------
[14:51:18] Echt~Stunt
[14:51:18] ----------------------------------[14:51:18] Number of vehicle models: 14
[14:51:18] Incoming connection: 127.0.0.1:42742
[14:51:18] [npc:join] TrainDriverLV has joined the server (0:127.0.0.1)
[14:51:18] NPC: Connection from 127.0.0.1 is allowed.
[14:51:19] Incoming connection: 127.0.0.1:50934
[14:51:19] [npc:join] TrainDriverLS has joined the server (1:127.0.0.1)
[14:51:19] NPC: Connection from 127.0.0.1 is allowed.
[14:51:19] Incoming connection: 127.0.0.1:56000
[14:51:19] [npc:join] TrainDriverSF has joined the server (2:127.0.0.1)
[14:51:19] NPC: Connection from 127.0.0.1 is allowed.
[14:51:19] Incoming connection: 127.0.0.1:53520
[14:51:19] [npc:join] PilotLV has joined the server (3:127.0.0.1)
[14:51:19] NPC: Connection from 127.0.0.1 is allowed.
[14:51:19] Incoming connection: 127.0.0.1:58645
[14:51:19] [npc:join] PilotLS has joined the server (4:127.0.0.1)
[14:51:19] NPC: Connection from 127.0.0.1 is allowed.
[14:51:19] Incoming connection: 127.0.0.1:46133
[14:51:19] [npc:join] PilotSF has joined the server (5:127.0.0.1)
[14:51:19] NPC: Connection from 127.0.0.1 is allowed.und du musst
In FILTERSCRIPT
gl_npcs
einfügen
-
geht auch nich -.-
-
dann hast du was falsch gemacht bei mir gehts ja
//edit der fs muss in den odner fs und auf den server sein -.-