PDA

View Full Version : Server goes off after killing npc wow


Supermaxultraswag
04/03/2015, 04:25 PM
First player kill npc - ok. But when second player kill npc - server goes off.

For example:
Im join the server first so Im first player. My friend joins server second, se he's second player. I could kill npc, but when my friend does that - server goes off.

crash detector:
[debug] Server crashed due to an unknown error
[debug] Native backtrace:
[debug] #0 0044e743 in ?? () from samp-server.exe
[debug] #1 00480e93 in ?? () from samp-server.exe
[debug] #2 004861a0 in ?? () from samp-server.exe
[debug] #3 6d1d4c38 in ?? () from plugins\FCNPC.dll

plugin i use:
http://forum.sa-mp.com/showthread.php?t=428066&page=186

Supermaxultraswag
04/03/2015, 06:47 PM
Or could it be because of Hamachi?

dionisak0s
04/03/2015, 07:42 PM
Just port forward it, it is easy and might fix the problem or there is something wrong with the code but I do not think so.

Supermaxultraswag
05/03/2015, 06:24 PM
Just port forward it, it is easy and might fix the problem or there is something wrong with the code but I do not think so.

How's port forwarding gonna help me?

Ryan_Bowe
05/03/2015, 06:27 PM
How's port forwarding gonna help me?

Doesn't hurt to try.

J0sh...
05/03/2015, 06:33 PM
PF'ing wouldn't help a Crash on a plugin. Is the FCNPC at it's latest?

Supermaxultraswag
06/03/2015, 05:52 PM
PF'ing wouldn't help a Crash on a plugin. Is the FCNPC at it's latest?

Yes, it is

Supermaxultraswag
07/03/2015, 06:32 AM
Probably problem is with plugin... I posted in plugin topic issues, but plugin owner don't give a sh*t.

Supermaxultraswag
08/03/2015, 01:26 PM
bump

Supermaxultraswag
09/03/2015, 02:13 PM
bump

Supermaxultraswag
10/03/2015, 03:35 PM
help anyone???

muzammilfreeman
10/03/2015, 03:39 PM
Remove NPC from server cfg

Abagail
10/03/2015, 03:42 PM
Do you have the FCNPC_OnDeath callback in your script? What operating system is your server running on?

Supermaxultraswag
12/03/2015, 07:17 PM
Remove NPC from server cfg
Do you mean maxnpc or what?

Do you have the FCNPC_OnDeath callback in your script? What operating system is your server running on?

Yes, there it is :

public FCNPC_OnDeath(npcid, killerid,weaponid)
{
ApplyAnimation(npcid,"ped","KO_shot_front",50.0,0,0,1,1,1);
SetTimerEx("Respawn", 1000, false, "i", npcid);
return 1;
}

My server is running on Windows. My friend connects to server by using hamachi.

Supermaxultraswag
13/03/2015, 12:09 PM
bump

Supermaxultraswag
14/03/2015, 03:27 PM
bump

Supermaxultraswag
15/03/2015, 12:49 PM
bump

Supermaxultraswag
17/03/2015, 09:43 AM
bump

Supermaxultraswag
18/03/2015, 08:09 AM
anyone?...

Supermaxultraswag
21/03/2015, 10:27 AM
still waiting lol

PawnFox
21/03/2015, 10:41 AM
Stop bumping it for no reason. If someone had this problem and solved it, i'm pretty sure he will help you.

mirou123
21/03/2015, 12:07 PM
Post the Respawn public.

Supermaxultraswag
21/03/2015, 05:33 PM
Post the Respawn public.

public FCNPC_OnRespawn(npcid)
{
new Random = random(sizeof(RandomSpawns));
FCNPC_SetPosition(npcid,RandomSpawns[Random][0],RandomSpawns[Random][1],RandomSpawns[Random][2]);
return 1;
}

Stop bumping it for no reason. If someone had this problem and solved it, i'm pretty sure he will help you.

And I'm just make sure that your mentioned "someone" would see this topic.