Posts: 33
Threads: 4
Joined: Oct 2008
Reputation:
0
23.09.2010, 17:02
(
Последний раз редактировалось [DFE]Ike; 22.10.2013 в 22:23.
)
Hi,
I've got a problem and i can't find a solution for it.
My created NPC doesn't want to connect on linux.
- It works on Windows. The script is also correct
- Maxnpc xx is definied in the cfg file
- There are also no register/login conflicts
- All files are in the correct place
So what is the problem?
Kind regards
Posts: 844
Threads: 32
Joined: Apr 2009
Reputation:
0
passworded server?
i think ConnectNPC is right if it worked on windows
public server?
Posts: 33
Threads: 4
Joined: Oct 2008
Reputation:
0
23.09.2010, 17:10
(
Последний раз редактировалось [DFE]Ike; 22.10.2013 в 22:25.
)
There is no password and the server is public like ever.
In the log file I can see: "Incoming connection: 127.0.0.1:XXXXX" and nothing more.
OnPlayerConnect isn't also called.
Posts: 844
Threads: 32
Joined: Apr 2009
Reputation:
0
OnGameModeInit(blablabla
{
ConnectNPC
Posts: 33
Threads: 4
Joined: Oct 2008
Reputation:
0
23.09.2010, 17:26
(
Последний раз редактировалось [DFE]Ike; 22.10.2013 в 22:25.
)
Mh?
I know how to create/connect NPC's...
You didn't understand me.
My problem is only why they work on Windows and not on Linux.
Posts: 1,781
Threads: 13
Joined: Sep 2009
Reputation:
0
i assume you already checked your filterscripts not to return 1; in the OnPlayerConnect, your windows version is working. so its the case sensitivity maybe.
if you named your file "NPC_Dealer_LV_1.rec" on windows, the linux wont load it when you load the npc via "npc_dealer_lv_1", it will fail. use the SAME quotation in script AND files always, this will safe you a lot of trouble..
Posts: 724
Threads: 62
Joined: Dec 2008
Reputation:
0
My fleet is CentOS (Linux), and Ubuntu Servers (Linux) and all my customers and myself are having no problems with NPC.
Do you have the proper CHMODs and CHOWN ?