OnPlayerConnect Close
#1

Hello this happend to me before. But it seems that nothing is wrong with my OnPlayerConnect.

Well the problem is everytime i attempting to enter the server it says this and then its closing.


Here is the logs.

Код:
[02:47:25]  ========================================== 
[02:47:25]  |                                        | 
[02:47:25]  |  A new version (v3.09.0684) of YSI is  | 
[02:47:25]  |            available from:             | 
[02:47:25]  |                                        | 
[02:47:25]  |     www.y-less.com/YSI/YSI_1.0.zip     | 
[02:47:25]  |                                        | 
[02:47:25]  | Changelog:                             | 
[02:47:25]  |                                        | 
[02:47:25]  |   1.04.0000:                           | 
[02:47:25]  |                                        | 
[02:47:25]  |   RC 1 for YSI 3.0.  Available from:   | 
[02:47:25]  | http://www.y-less.com/YSI/YSI_3.0.rar  | 
[02:47:25]  | - includes MANY new libraries and      | 
[02:47:25]  | fixes, see                             | 
[02:47:25]  | http://forum.sa-mp.com/showthread.php? | 
[02:47:25]  | p=1425938 for more information, with   | 
[02:47:25]  | more topics and updates due over the   | 
[02:47:25]  | next few weeks.  In brief: Added       | 
[02:47:25]  | "y_inline", "y_text", "y_users",       | 
[02:47:25]  | "y_uvar", "y_svar", "y_remote";        | 
[02:47:25]  | updated "y_timers", "y_iter"; MANY     | 
[02:47:25]  | MANY fixes and tweaks in almost every  | 
[02:47:25]  | other library.                         | 
[02:47:25]  |                                        | 
[02:47:25]  |   3.00.0000:                           | 
[02:47:25]  |                                        | 
[02:47:25]  |   YSI 3.0 released!  Now includes the  | 
[02:47:25]  | "y_text" library for better messages,  | 
[02:47:25]  | and a reworked "y_classes" library.    | 
[02:47:25]  | Largely documented here                | 
[02:47:25]  | "http://forum.sa-mp.com/showthread.php | 
[02:47:25]  | ?t=321092".                            | 
[02:47:25]  |                                        | 
[02:47:25]  |   3.01.0002:                           | 
[02:47:25]  |                                        | 
[02:47:25]  |   Small fixes to "y_text" and          | 
[02:47:25]  | "y_classes".                           | 
[02:47:25]  |                                        | 
[02:47:25]  |   3.09.0684:                           | 
[02:47:25]  |                                        | 
[02:47:25]  |   Reverted to old download location.   | 
[02:47:25]  | Improved (and fixed) version checks;   | 
[02:47:25]  | added y_bitmap, y_areas, y_races,      | 
[02:47:25]  | y_zonenames, better documentation;     | 
[02:47:25]  | MANY other bug fixes - see the github  | 
[02:47:25]  | repository for more details:           | 
[02:47:25]  |                                        | 
[02:47:25]  ========================================== 
[02:47:25]  
[02:47:45] Incoming connection: 25.117.121.240:53221
[02:47:45] [join] Tony_Turado has joined the server (0:25.117.121.240)
[02:47:45] [debug] Server crashed while executing nlrp.amx
[02:47:45] [debug] AMX backtrace:
[02:47:45] [debug] #0 native fread () [00405770] from samp-server.exe
[02:47:45] [debug] #1 00027a14 in ?? () from nlrp.amx
[02:47:45] [debug] #2 0003e6cc in public Audio_OnPlayerConnect () from nlrp.amx
[02:47:45] [debug] #3 native CallLocalFunction () [00471ef0] from samp-server.exe
[02:47:45] [debug] #4 0001372c in ?? () from nlrp.amx
[02:47:45] [debug] #5 0000d838 in public Itter_OnPlayerConnect () from nlrp.amx
[02:47:45] [debug] #6 native CallLocalFunction () [00471ef0] from samp-server.exe
[02:47:45] [debug] #7 000010b0 in ?? () from nlrp.amx
[02:47:45] [debug] #8 000005bc in public OnPlayerConnect () from nlrp.amx
[02:47:45] [debug] System backtrace:
[02:47:45] [debug] #0 00492980 in ?? () from C:\Users\JakkenKoppen\Desktop\NLRP\samp-server.exe
[02:47:45] [debug] #1 00492fb0 in ?? () from C:\Users\JakkenKoppen\Desktop\NLRP\samp-server.exe
[02:47:45] [debug] #2 00404f14 in ?? () from C:\Users\JakkenKoppen\Desktop\NLRP\samp-server.exe
OnPlayerConnect:
Код:
public OnPlayerConnect(playerid)
{
	//Removed Buildings

	// NEW SAVARD HOUSE REMOVAL - ADDED BS - 8/22/12
	RemoveBuildingForPlayer(playerid, 696, 1974.1641, 360.8516, 28.2344, 0.25);
	RemoveBuildingForPlayer(playerid, 3379, 1959.2578, 346.7656, 21.4609, 0.25);
	RemoveBuildingForPlayer(playerid, 696, 2030.4063, 333.0469, 32.1172, 0.25);
	RemoveBuildingForPlayer(playerid, 790, 1900.4531, 323.3047, 26.0234, 0.25);
	RemoveBuildingForPlayer(playerid, 3594, 2284.8828, -2104.1094, 13.1641, 0.25);
	RemoveBuildingForPlayer(playerid, 3405, -764.6563, -117.8828, 67.3125, 0.25);
	RemoveBuildingForPlayer(playerid, 3405, -752.4922, -114.0156, 68.1406, 0.25);
	RemoveBuildingForPlayer(playerid, 3422, -752.1250, -132.8281, 66.9844, 0.25);
	RemoveBuildingForPlayer(playerid, 3418, -752.1250, -132.8281, 66.9844, 0.25);
	RemoveBuildingForPlayer(playerid, 13005, -763.9766, -121.6563, 67.5625, 0.25);
	RemoveBuildingForPlayer(playerid, 3403, -764.6563, -117.8828, 67.3125, 0.25);
	RemoveBuildingForPlayer(playerid, 3403, -752.4922, -114.0156, 68.1406, 0.25);
	//Bank Exterior ADDED - 9/11/13
	RemoveBuildingForPlayer(playerid, 1294, 1421.9141, -1029.8828, 27.1797, 0.25);
	// MATTY ROMANOS HOUSE - ADDED BS - 8/24/12
	RemoveBuildingForPlayer(playerid, 3376, 1925.1250, 160.0938, 40.6719, 0.25);
	RemoveBuildingForPlayer(playerid, 3276, 1912.9297, 151.4141, 37.1719, 0.25);
	RemoveBuildingForPlayer(playerid, 3276, 1899.5078, 164.2734, 37.1563, 0.25);
	RemoveBuildingForPlayer(playerid, 3276, 1889.1563, 179.8047, 35.8828, 0.25);
	RemoveBuildingForPlayer(playerid, 3276, 1898.8672, 174.1094, 36.6797, 0.25);
	RemoveBuildingForPlayer(playerid, 3276, 1907.7656, 181.7813, 36.9922, 0.25);
	RemoveBuildingForPlayer(playerid, 3276, 1935.1875, 142.8984, 37.1719, 0.25);
	RemoveBuildingForPlayer(playerid, 3375, 1925.1250, 160.0938, 40.6719, 0.25);
	RemoveBuildingForPlayer(playerid, 3276, 1919.2969, 179.1328, 37.0313, 0.25);
	RemoveBuildingForPlayer(playerid, 3276, 1944.2656, 172.2891, 37.0703, 0.25);




	// Crash Fix - GhoulSlayeR
	InvalidNameCheck(playerid);

	new playername[24];
	GetPlayerName(playerid,playername,sizeof(playername));

	new q[200];
	format(q, 200, "SELECT * FROM bans WHERE name = '%s' ORDER BY id DESC LIMIT 1", playername);










	new playerIP[16];
	GetPlayerIp(playerid, playerIP, sizeof(playerIP));
	if (CheckBan(playerIP) == 1)
	{
	    SetPlayerName(playerid, "BannedPlayer");
	    SendClientMessage(playerid, COLOR_WHITE, "You are banned from this server.");
		Kick(playerid);
		return 1;
	}
	if(IsPlayerNPC(playerid)) return 1;
	TotalConnect++;
	PlayersConnected++;
	if(PlayersConnected > MaxPlayersConnected)
	{
		MaxPlayersConnected = PlayersConnected;
		gettime(MPHour,MPMinute);
		getdate(MPYear,MPMonth,MPDay);
	}
	if(MaxPlayersConnected > 500) MaxPlayersConnected = 500; // Temp goof fix
	SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 1);
	SetPlayerSkillLevel(playerid, WEAPONSKILL_MICRO_UZI, 1);
	scoreMusic[playerid] = -1;
	SetPVarInt(playerid, "FirstSpawn", 1);
	SetPVarInt(playerid, "IsInArena", -1);
	SetPVarInt(playerid, "ArenaNumber", -1);
	SetPVarInt(playerid, "ArenaEnterPass", -1);
	SetPVarInt(playerid, "ArenaEnterTeam", -1);
	SetPVarInt(playerid, "EditingTurfs", -1);
	SetPVarInt(playerid, "EditingTurfsStage", -1);
	SetPVarInt(playerid, "EditingHillStage", -1);
	SetPVarInt(playerid, "EditingFamC", -1);
	SetPVarInt(playerid, "editingcd", -1);
	SetPVarInt(playerid, "editingcdveh", -1);
	SetPVarInt(playerid, "editingfamhq", 255);
	SetPVarInt(playerid, "UsingSurfAttachedObject", -1);
	SetPVarInt(playerid, "UsingBriefAttachedObject", -1);
	SetPVarInt(playerid, "AOSlotPaintballFlag", -1);
	SetPVarInt(playerid, "MovingStretcher", -1);
	for(new i = 0; i < 3; i++)
	{
		StopaniFloats[playerid][i] = 0;
	}
	for(new i = 0; i < 6; i++)
	{
	    EventFloats[playerid][i] = 0.0;
	}
	EventLastInt[playerid] = 0; EventLastVW[playerid] = 0;
	for(new i = 0; i < 6; i++)
	{
		HHcheckFloats[playerid][i] = 0;
	}
	HHcheckVW[playerid] = 0; HHcheckInt[playerid] = 0; OrderAssignedTo[playerid] = INVALID_PLAYER_ID;
	LoadTruckBar[playerid] = INVALID_BAR_ID; LoadTruckTime[playerid] = 0; TruckDeliver[playerid] = 0; TruckUsed[playerid] = INVALID_VEHICLE_ID;
	RefuelingVehicle[playerid] = 0; FuelBar[playerid] = INVALID_BAR_ID;
	RefuelingVehiclePrice[playerid] = 0; HouseOffer[playerid] = 999; House[playerid] = 0; HousePrice[playerid] = 0;
	SetPVarInt( playerid, "InHouse", INVALID_HOUSE_ID );
	SetPVarInt(playerid, "shrequest", INVALID_PLAYER_ID); PlayerInfo[playerid][pBanAppealer] = 0; PlayerInfo[playerid][pShopTech] = 0; PlayerInfo[playerid][pUndercover] = 0; PlayerInfo[playerid][pTogReports] = 0;
 	format(PlayerInfo[playerid][pAutoTextReply], 64, "Nothing"); playerTabbedTime[playerid] = 0; playerTabbed[playerid] = 0; playerAFKTime[playerid] = 0; playerAFK[playerid] = 0;
	gActivePlayers[playerid]++; WantedPoints[playerid] = 0; gBug[playerid] = 1; gBugSIU[playerid] = 1; TazerTimeout[playerid] = 0;  BeanTimeout[playerid] = 0; gRadio[playerid] = 1; playerLastTyped[playerid] = 0; SetPlayerWantedLevel(playerid, 0); pTazer[playerid] = 0; pTazerReplace[playerid] = 0; pCurrentWeapon[playerid] = 0;
	MedicAccepted[playerid] = 999; DefendOffer[playerid] = 999; AppealOffer[playerid] = 999; AppealOfferAccepted[playerid] = 0; PlayerInfo[playerid][pWantedLevel] = 0;
	DefendPrice[playerid] = 0; Spectating[playerid] = 0; GettingSpectated[playerid] = 999; PlayerInfo[playerid][pPhonePrivacy] = 0;
	NewbieTimer[playerid] = 0; HlKickTimer[playerid] = 0; HelperTimer[playerid] = 0; VIPTimer[playerid] = 0; PlayerInfo[playerid][pLock] = 0; PlayerInfo[playerid][pLockCar] = INVALID_VEHICLE_ID;
	numplayers++; PlayerInfo[playerid][pAccent] = 0; ConsumingMoney[playerid] = 0; VehicleOffer[playerid] = 999; //Frozen[playerid] = 0;
	VehiclePrice[playerid] = 0; VehicleId[playerid] = -1; NOPTrigger[playerid] = 0;
	JustReported[playerid] = -1; UsedCrack[playerid] = 0; UsedWeed[playerid] = 0; SexOffer[playerid] = 999; DrinkOffer[playerid] =  INVALID_PLAYER_ID;
	PotOffer[playerid] = 999; CrackOffer[playerid] = 999; GunOffer[playerid] = 999; CraftOffer[playerid] = 999; RepairOffer[playerid] = 999;
	GuardOffer[playerid] = 999; LiveOffer[playerid] = 999;
	RefillOffer[playerid] = 999;
	MatsOffer[playerid] = 999; MatsPrice[playerid] = 0; MatsAmount[playerid] = 0;
	BoxOffer[playerid] = 999; MarryWitnessOffer[playerid] = 999; ProposeOffer[playerid] = 999; DivorceOffer[playerid] = 999;
	SelectChar[playerid] = 0; HidePM[playerid] = 0; PhoneOnline[playerid] = 0;
    advisorchat[playerid] = 1; PlayerInfo[playerid][pVIPInviteDay] = 0; PlayerInfo[playerid][pTempVIP] = 0; PlayerInfo[playerid][pBuddyInvited] = 0;
	SelectCharID[playerid] = 0; SelectCharPlace[playerid] = 0; ChosenSkin[playerid] = 0;
	SelectFChar[playerid] = 0; MatsHolding[playerid] = 0; MatDeliver[playerid] = 0; MatDeliver2[playerid] = 0;
	SelectFCharID[playerid] = 0; SelectFCharPlace[playerid] = 0; PlayerInfo[playerid][pTokens] = 0; PlayerInfo[playerid][pPaintTokens] = 0;
	GettingJob[playerid] = 0; GettingJob2[playerid] = 0; GuardOffer[playerid] = 999; GuardPrice[playerid] = 0; PlayerInfo[playerid][pCSFBanned] = 0;
	ApprovedLawyer[playerid] = 0; CallLawyer[playerid] = 0; WantLawyer[playerid] = 0; PlayerInfo[playerid][pFactionBanned] = 0;
	PlayerInfo[playerid][pGangWarn] = 0; CurrentMoney[playerid] = 0; UsedFind[playerid] = 0; PlayerInfo[playerid][pTriageTime] = 0;
	PlayerInfo[playerid][pCigar] = 0; PlayerInfo[playerid][pSprunk] = 0; PlayerInfo[playerid][pSpraycan] = 0;
	CP[playerid] = 0; Robbed[playerid] = 0; SpawnChange[playerid] = 1; PlayerInfo[playerid][pPot] = 0;
	RobbedTime[playerid] = 0; MoneyMessage[playerid] = 0; Condom[playerid] = 0; PlayerInfo[playerid][pCrack] = 0;
	STDPlayer[playerid] = 0; SexOffer[playerid] = 999; SexPrice[playerid] = 0; PlayerInfo[playerid][pC4] = 0; PlayerInfo[playerid][pAdmin] = 0;
	RepairOffer[playerid] = 999; RepairPrice[playerid] = 0; RepairCar[playerid] = 0; PlayerInfo[playerid][pHelper] = 0;
	TalkingLive[playerid] = INVALID_PLAYER_ID; LiveOffer[playerid] = 999; TakingLesson[playerid] = 0;
	RefillOffer[playerid] = 999; RefillPrice[playerid] = 0;InsideShamal[playerid] = INVALID_VEHICLE_ID; InsideMainMenu[playerid] = 0; InsideTut[playerid] = 0;
	PlayerInfo[playerid][pToggedVIPChat] = 0;
	PotOffer[playerid] = 999; CrackOffer[playerid] = 999; PlayerCuffed[playerid] = 0; PlayerCuffedTime[playerid] = 0;
	PotPrice[playerid] = 0; CrackPrice[playerid] = 0; RegistrationStep[playerid] = 0;
	PotGram[playerid] = 0; CrackGram[playerid] = 0; PlayerInfo[playerid][pBanned] = 0; ConnectedToPC[playerid] = 0; OrderReady[playerid] = 0;
	GunId[playerid] = 0; GunMats[playerid] = 0; CraftId[playerid] = 0; CraftMats[playerid] = 0; PlayerInfo[playerid][pFactionModerator] = 0; PlayerInfo[playerid][pGangModerator] = 0;
	HitOffer[playerid] = 999; HitToGet[playerid] = 999; PlayerInfo[playerid][pCrack] = 0; PlayerInfo[playerid][pKills] = 0; PlayerInfo[playerid][pDMKills] = 0;
	PlayerInfo[playerid][pOrder] = 0; PlayerInfo[playerid][pOBlocked] = 0;
	InviteOffer[playerid] = 999; InviteFaction[playerid] = 0; InviteFamily[playerid] = 255; PlayerInfo[playerid][pSpeakerPhone] = 0;
	hInviteHouse[playerid] = INVALID_HOUSE_ID; hInviteOffer[playerid] = 999; hInviteSlot[playerid] = 0;	PlayerInfo[playerid][pDeaths] = 0;
	JailPrice[playerid] = 0; MedicTime[playerid] = 0; NeedMedicTime[playerid] = 0; GotHit[playerid] = 0;
	WantedPoints[playerid] = 0; GoChase[playerid] = 999; GetChased[playerid] = 999; PlacedNews[playerid] = 0;
	OnDuty[playerid] = 0; TestFishes[playerid] = 0; CalledCops[playerid] = 0; CopsCallTime[playerid] = 0;
	BoxWaitTime[playerid] = 0; SchoolSpawn[playerid] = 0; ChangePos2[playerid][1] = 0; CalledMedics[playerid] = 0;
	SafeTime[playerid] = 60; TransportDuty[playerid] = 0; PlayerTied[playerid] = 0; PlayerBlinded[playerid] = 0; MedicsCallTime[playerid] = 0;
	BusCallTime[playerid] = 0; TaxiCallTime[playerid] = 0; EMSCallTime[playerid] = 0; MedicCallTime[playerid] = 0; MechanicCallTime[playerid] = 0; RRCallTime[playerid] = 0;
	FindTimePoints[playerid] = 0; FindingPlayer[playerid]=-1; FindTime[playerid] = 0; JobDuty[playerid] = 0; IACallTime[playerid] = 0;
	Mobile[playerid] = INVALID_PLAYER_ID; Music[playerid] = 0; BoxOffer[playerid] = 999; PlayerBoxing[playerid] = 0;
	Spectate[playerid] = 999; PlayerDrunk[playerid] = 0; PlayerDrunkTime[playerid] = 0; format(PlayerInfo[playerid][pPrisonReason], 128, "None");
	Unspec[playerid][sLocal] = INVALID_PLAYER_ID; FishCount[playerid] = 0; format(PlayerInfo[playerid][pPrisonedBy], 24, "None"); format(PlayerInfo[playerid][pFlag], 128, "");
    HelpingNewbie[playerid] = 999; turfWarsRadar[playerid] = 0; courtjail[playerid] = 0;
	gLastCar[playerid] = 0; FirstSpawn[playerid] = 0; JetPack[playerid] = 0; PlayerInfo[playerid][pKills] = 0; PlayerInfo[playerid][pPaintTeam] = 0;
	TextSpamTimes[playerid] = 0;
	TextSpamUnmute[playerid] = 0;
 	CommandSpamTimes[playerid] = 0;
	CommandSpamUnmute[playerid] = 0;
	gOoc[playerid] = 0;
	arr_Towing[playerid] = INVALID_VEHICLE_ID;
	arr_Wrecking[playerid] = INVALID_VEHICLE_ID;
	playerveh[playerid] = INVALID_VEHICLE_ID;
    KillTimer(TimerATACH[playerid]);
	gNews[playerid] = 0;
	gNewbie[playerid] = 1;
	gHelp[playerid] = 1;
	BigEar[playerid] = 0;
	gFam[playerid] = 0;
	gPlayerLogged{playerid} = 0;
	gPlayerLogTries[playerid] = 0;
	gPlayerAccount[playerid] = 0;
	gPlayerSpawned[playerid] = 0;
	PlayerTazeTime[playerid] = 0;
	PlayerBeanTime[playerid] = 0;
	PlayerStoned[playerid] = 0;
	PlayerInfo[playerid][pPot] = 0;
	StartTime[playerid] = 0;
	TicketOffer[playerid] = 999;
	TicketMoney[playerid] = 0;
	PlayerInfo[playerid][pVehicleKeysFrom] = INVALID_PLAYER_ID;
	ActiveChatbox[playerid] = 1;
	TutStep[playerid] = 0;
	PlayerInfo[playerid][pPermaBanned] = 0;
	PlayerInfo[playerid][pVehicleKeys] = INVALID_PLAYER_VEHICLE_ID;
	TaxiAccepted[playerid] = 999;
	EMSAccepted[playerid] = 999;
	BusAccepted[playerid] = 999;
	RRAccepted[playerid] = 999;
	PlayerInfo[playerid][pCrack] = 0;
	GPSTimer[playerid] = 0;
	HaveGPS[playerid] = false;
	HireCar[playerid] = 299;
	TransportValue[playerid] = 0;
	TransportMoney[playerid] = 0;
	TransportTime[playerid] = 0;
	TransportCost[playerid] = 0;
	TransportDriver[playerid] = 999;
	Locator[playerid] = 0;
	Spectating[playerid] = 0;
	ReleasingMenu[playerid] = INVALID_PLAYER_ID;
	Fishes[playerid][pLastFish] = 0;
	Fishes[playerid][pFishID] = 0;
	ProposeOffer[playerid] = 999;
	MarryWitness[playerid] = 999;
	MarryWitnessOffer[playerid] = 999;
	MarriageCeremoney[playerid] = 0;
	ProposedTo[playerid] = 999;
	GotProposedBy[playerid] = 999;
	DivorceOffer[playerid] = 999;
	gBike[playerid] = 0;
	gBikeRenting[playerid] = 0;
	stationidp[playerid] = 0;
	Fixr[playerid] = 0;
	slotselection[playerid] = 0;
	RoadblockActive[playerid] = 0;
	PlayerInfo[playerid][pLevel] = 1;
	PlayerInfo[playerid][pAdmin] = 0;
 	PlayerInfo[playerid][pBanned] = 0;
 	PlayerInfo[playerid][pDisabled] = 0;
 	PlayerInfo[playerid][pMuted] = 0;
 	PlayerInfo[playerid][pRMuted] = 0;
 	PlayerInfo[playerid][pRMutedTotal] = 0;
 	PlayerInfo[playerid][pRMutedTime] = 0;
 	PlayerInfo[playerid][pNMute] = 0;
 	PlayerInfo[playerid][pNMuteTotal] = 0;
 	PlayerInfo[playerid][pADMute] = 0;
 	PlayerInfo[playerid][pADMuteTotal] = 0;
 	PlayerInfo[playerid][pOOCMute] = 0;
 	PlayerInfo[playerid][pOOCMuteTotal] = 0;
 	PlayerInfo[playerid][pHelpMute] = 0;
 	PlayerInfo[playerid][pVMutedTime] = 0;
 	PlayerInfo[playerid][pVMuted] = 0;
 	PlayerInfo[playerid][pRadio] = 0;
 	PlayerInfo[playerid][pRadioFreq] = 0;
 	PlayerInfo[playerid][pPermaBanned] = 0;
	PlayerInfo[playerid][pDonateRank] = 0;
	PlayerInfo[playerid][gPupgrade] = 0;
	PlayerInfo[playerid][pConnectTime] = 0;
	PlayerInfo[playerid][pReg] = 0;
	PlayerInfo[playerid][pSex] = 0;
	PlayerInfo[playerid][pAge] = 0;
	PlayerInfo[playerid][pOrigin] = 0;
	PlayerInfo[playerid][pExp] = 0;
	PlayerInfo[playerid][pAccount] = 0;
	PlayerInfo[playerid][pCrimes] = 0;
	PlayerInfo[playerid][pDeaths] = 0;
	PlayerInfo[playerid][pArrested] = 0;
	PlayerInfo[playerid][pBadgeNumber] = 0;
	PlayerInfo[playerid][pWantedDeaths] = 0;
	PlayerInfo[playerid][pPhoneBook] = 0;
	PlayerInfo[playerid][pLottoNr] = 0;
	PlayerInfo[playerid][pFishes] = 0;
	PlayerInfo[playerid][pRPSkill] = 0;
	PlayerInfo[playerid][pBiggestFish] = 0;
	PlayerInfo[playerid][pJob] = 0;
	PlayerInfo[playerid][pJob2] = 0;
	PlayerInfo[playerid][pPayCheck] = 0;
	PlayerInfo[playerid][pHeadValue] = 0;
	PlayerInfo[playerid][pJailed] = 0;
	PlayerInfo[playerid][pJailTime] = 0;
	PlayerInfo[playerid][pWRestricted] = 0;
	PlayerInfo[playerid][pMats] = 0;
	PlayerInfo[playerid][pLeader] = 0;
	PlayerInfo[playerid][pMember] = 0;
	PlayerInfo[playerid][pDivision] = 0;
	PlayerInfo[playerid][pFMember] = 255;
	PlayerInfo[playerid][pRank] = 0;
	PlayerInfo[playerid][pChar] = 0;
	PlayerInfo[playerid][pRenting] = INVALID_HOUSE_ID;
	PlayerInfo[playerid][pDetSkill] = 0;
	PlayerInfo[playerid][pSexSkill] = 0;
	PlayerInfo[playerid][pBoxSkill] = 0;
	PlayerInfo[playerid][pLawSkill] = 0;
	PlayerInfo[playerid][pMechSkill] = 0;
	PlayerInfo[playerid][pJackSkill] = 0;
	PlayerInfo[playerid][pCarSkill] = 0;
	PlayerInfo[playerid][pTruckSkill] = 0;
	PlayerInfo[playerid][pNewsSkill] = 0;
	PlayerInfo[playerid][pDrugsSkill] = 0;
	PlayerInfo[playerid][pArmsSkill] = 0;
	PlayerInfo[playerid][pSmugSkill] = 0;
	PlayerInfo[playerid][pCookSkill] = 0;
	PlayerInfo[playerid][pFishSkill] = 0;
	PlayerInfo[playerid][pSHealth] = 0.0;
	PlayerInfo[playerid][pSArmor] = 0.0;
	PlayerInfo[playerid][pHealth] = 50.0;
	PlayerInfo[playerid][pLocal] = 255;
	PlayerInfo[playerid][pTeam] = 3;
	PlayerInfo[playerid][pCheckCash] = 0;
	PlayerInfo[playerid][pChecks] = 0;
	PlayerInfo[playerid][pWExists] = 0;
	PlayerInfo[playerid][pWX] = 0;
	PlayerInfo[playerid][pWY] = 0;
	PlayerInfo[playerid][pWZ] = 0;
	PlayerInfo[playerid][pWVW] = 0;
	PlayerInfo[playerid][pWInt] = 0;
	PlayerInfo[playerid][pWValue] = -1;
	PlayerInfo[playerid][pWTimer] = -1;
	PlayerInfo[playerid][pWSeeds] = 0;
	format(PlayerInfo[playerid][pWarrant], 128, "");
	format(PlayerInfo[playerid][pDMReport9], 63, "");
	format(PlayerInfo[playerid][pDMReport8], 63, "");
	format(PlayerInfo[playerid][pDMReport7], 63, "");
	format(PlayerInfo[playerid][pDMReport6], 63, "");
	format(PlayerInfo[playerid][pDMReport5], 63, "");
	format(PlayerInfo[playerid][pDMReport4], 63, "");
	format(PlayerInfo[playerid][pDMReport3], 63, "");
	format(PlayerInfo[playerid][pDMReport2], 63, "");
	format(PlayerInfo[playerid][pDMReport1], 63, "");
	format(PlayerInfo[playerid][pDMReport0], 63, "");
	format(PlayerInfo[playerid][pContractBy], 32, "");
	format(PlayerInfo[playerid][pContractDetail], 64, "");
	PlayerInfo[playerid][pJudgeJailTime] = 0;
	PlayerInfo[playerid][pJudgeJailType] = 0;
	PlayerInfo[playerid][pBeingSentenced] = 0;
	PlayerInfo[playerid][pProbationTime] = 0;
	PlayerInfo[playerid][pDMIndicators] = 0;
	PlayerInfo[playerid][pModel] = 299;
	//new randphone = 1000 + random(8999);
	PlayerInfo[playerid][pPnumber] = 0;
	PlayerInfo[playerid][pPhousekey] = INVALID_HOUSE_ID;
	PlayerInfo[playerid][pPhousekey2] = INVALID_HOUSE_ID;
	PlayerInfo[playerid][pCarLic] = 0;
	PlayerInfo[playerid][pCarLicP] = 5;
	PlayerInfo[playerid][pFlyLic] = 0;
	PlayerInfo[playerid][pBoatLic] = 0;
	PlayerInfo[playerid][pFishLic] = 0;
	PlayerInfo[playerid][pGunLic] = 0;
	PlayerInfo[playerid][pWeedLic] = 0;
	PlayerInfo[playerid][pCDLic] = 0;
	PlayerInfo[playerid][pTaxiLicense] = 0;
	PlayerInfo[playerid][pBugged] = 0;
	PlayerInfo[playerid][pCallsAccepted] = 0;
	PlayerInfo[playerid][pPatientsDelivered] = 0;
	PlayerInfo[playerid][pLiveBanned] = 0;
	PlayerInfo[playerid][pFreezeBank] = 0;
	Injourney[playerid] = 0;
	Watching[playerid] = 0;
	JGoto[playerid] = 0;
	ShowTurfWarsRadarAll();
	for(new v = 0; v < MAX_PLAYERVEHICLES; v++)
	{
        PlayerVehicleInfo[playerid][v][pvModelId] = 0;
        PlayerVehicleInfo[playerid][v][pvPosX] = 0.0;
        PlayerVehicleInfo[playerid][v][pvPosY] = 0.0;
        PlayerVehicleInfo[playerid][v][pvPosZ] = 0.0;
        PlayerVehicleInfo[playerid][v][pvPosAngle] = 0.0;
        PlayerVehicleInfo[playerid][v][pvLock] = 0;
        PlayerVehicleInfo[playerid][v][pvLocked] = 0;
        PlayerVehicleInfo[playerid][v][pvPaintJob] = -1;
        PlayerVehicleInfo[playerid][v][pvColor1] = 0;
		PlayerVehicleInfo[playerid][v][pvImpounded] = 0;
        PlayerVehicleInfo[playerid][v][pvColor2] = 0;
        PlayerVehicleInfo[playerid][v][pvPrice] = 0;
        PlayerVehicleInfo[playerid][v][pvTicket] = 0;
        PlayerVehicleInfo[playerid][v][pvWeapons][0] = 0;
        PlayerVehicleInfo[playerid][v][pvWeapons][1] = 0;
        PlayerVehicleInfo[playerid][v][pvWeapons][2] = 0;
		PlayerVehicleInfo[playerid][v][pvWepUpgrade] = 0;
		PlayerVehicleInfo[playerid][v][pvFuel] = 100.0;
		//format(PlayerVehicleInfo[playerid][v][pvNumberPlate], 32, "NG31 {FF0000}F7W"); // Numeric attempt for "NGG FTW" with extra spaces.
		strcpy(PlayerVehicleInfo[playerid][v][pvAllowPlayer], "No-ne", MAX_PLAYER_NAME);
        PlayerVehicleInfo[playerid][v][pvAllowedPlayerId] = INVALID_PLAYER_ID;
        PlayerVehicleInfo[playerid][v][pvPark] = 0;
        ListItemReleaseId[playerid][v] = -1;
		ListItemTrackId[playerid][v] = -1;
        for(new m = 0; m < MAX_MODS; m++)
	    {
            PlayerVehicleInfo[playerid][v][pvMods][m] = 0;
		}
	}
	for(new v = 0; v < MAX_PLAYERTOYS; v++)
	{
        PlayerToyInfo[playerid][v][ptModelID] = 0;
        PlayerToyInfo[playerid][v][ptBone] = 0;
        PlayerToyInfo[playerid][v][ptPosX] = 0.0;
        PlayerToyInfo[playerid][v][ptPosY] = 0.0;
        PlayerToyInfo[playerid][v][ptPosZ] = 0.0;
        PlayerToyInfo[playerid][v][ptRotX] = 0.0;
        PlayerToyInfo[playerid][v][ptRotY] = 0.0;
        PlayerToyInfo[playerid][v][ptRotZ] = 0.0;
	}
	for(new s = 0; s < 12; s++)
	{
		PlayerInfo[playerid][pAGuns][s] = 0;
		PlayerInfo[playerid][pGuns][s] = 0;
	}
	/*for(new s = 0; s < 40; s++)
	{
		ListItemReportId[playerid][s] = -1;
	}
	CancelReport[playerid] = -1;*/
	if(PlayerInfo[playerid][pHelper] > 1) SetPVarInt(playerid, "AdvisorDuty", 1);
	GiveKeysTo[playerid] = INVALID_PLAYER_ID;
	PlayerInfo[playerid][pCarTime] = 0;
	PlayerInfo[playerid][pPayDay] = 0;
	PlayerInfo[playerid][pPayDayHad] = 0;
	PlayerInfo[playerid][pCDPlayer] = 0;
	PlayerInfo[playerid][pWins] = 0;
	PlayerInfo[playerid][pLoses] = 0;
	PlayerInfo[playerid][pAlcoholPerk] = 0;
	PlayerInfo[playerid][pDrugPerk] = 0;
	PlayerInfo[playerid][pMiserPerk] = 0;
	PlayerInfo[playerid][pPainPerk] = 0;
	PlayerInfo[playerid][pTraderPerk] = 0;
	PlayerInfo[playerid][pTut] = 0;
	PlayerInfo[playerid][pWarns] = 0;
	PlayerInfo[playerid][pRope] = 0;
	PlayerInfo[playerid][pRag] = 0;
	PlayerInfo[playerid][pDice] = 0;
	PlayerInfo[playerid][pScrewdriver] = 0;
	PlayerInfo[playerid][pAdjustable] = 0;
	PlayerInfo[playerid][pWantedLevel] = 0;
	PlayerInfo[playerid][pInsurance] = 0;
	PlayerInfo[playerid][pDutyHours] = 0;
	PlayerInfo[playerid][pAcceptedHelp] = 0;
	PlayerInfo[playerid][pAcceptReport] = 0;
	PlayerInfo[playerid][pTrashReport] = 0;
	PlayerInfo[playerid][pGiftTime] = 0;
	PlayerInfo[playerid][pRobTime] = 0;
	PlayerInfo[playerid][pWepTime] = 0;
	PlayerInfo[playerid][pTicketTime] = 0;
	PlayerInfo[playerid][pServiceTime] = 0;
	PlayerInfo[playerid][pDispatch] = 0;
	PlayerInfo[playerid][pDispatchOn] = 0;
	PlayerInfo[playerid][pATCCert] = 0;
	PlayerInfo[playerid][pATCOn] = 0;
	ClearCrime(playerid);
	ClearFishes(playerid);
	ClearCooking(playerid);
	// ======================================== //
	// BAIT CAR SYSTEM TEXT DRAWS               //
	// ======================================== //
    Textdraw0 = CreatePlayerTextDraw(playerid, 640.000000, 170.000000, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~~n~");
    PlayerTextDrawBackgroundColor(playerid, Textdraw0, 255);
    PlayerTextDrawFont(playerid, Textdraw0, 1);
    PlayerTextDrawLetterSize(playerid, Textdraw0, 0.500000, 1.000000);
    PlayerTextDrawColor(playerid, Textdraw0, -1);
    PlayerTextDrawSetOutline(playerid, Textdraw0, 0);
    PlayerTextDrawSetProportional(playerid, Textdraw0, 1);
	PlayerTextDrawSetShadow(playerid, Textdraw0, 1);
    PlayerTextDrawUseBox(playerid, Textdraw0, 1);
    PlayerTextDrawBoxColor(playerid, Textdraw0, 200);
    PlayerTextDrawTextSize(playerid, Textdraw0, 500.000000, -10.000000);

    Textdraw1 = CreatePlayerTextDraw(playerid, 528.000000, 171.000000, "Baitcar Monitor");
    PlayerTextDrawBackgroundColor(playerid, Textdraw1, 255);
    PlayerTextDrawFont(playerid, Textdraw1, 1);
    PlayerTextDrawLetterSize(playerid, Textdraw1, 0.310000, 1.299999);
    PlayerTextDrawColor(playerid, Textdraw1, -1);
    PlayerTextDrawSetOutline(playerid, Textdraw1, 0);
    PlayerTextDrawSetProportional(playerid, Textdraw1, 1);
    PlayerTextDrawSetShadow(playerid, Textdraw1, 1);

    Textdraw2 = CreatePlayerTextDraw(playerid, 508.000000, 191.000000, "DOORS");
    PlayerTextDrawBackgroundColor(playerid, Textdraw2, 255);
    PlayerTextDrawFont(playerid, Textdraw2, 1);
    PlayerTextDrawLetterSize(playerid, Textdraw2, 0.310000, 1.299999);
    PlayerTextDrawColor(playerid, Textdraw2, -1);
    PlayerTextDrawSetOutline(playerid, Textdraw2, 0);
    PlayerTextDrawSetProportional(playerid, Textdraw2, 1);
    PlayerTextDrawSetShadow(playerid, Textdraw2, 1);

    Textdraw3 = CreatePlayerTextDraw(playerid, 508.000000, 286.000000, "ENGINE");
    PlayerTextDrawBackgroundColor(playerid, Textdraw3, 255);
    PlayerTextDrawFont(playerid, Textdraw3, 1);
    PlayerTextDrawLetterSize(playerid, Textdraw3, 0.310000, 1.299999);
    PlayerTextDrawColor(playerid, Textdraw3, -1);
    PlayerTextDrawSetOutline(playerid, Textdraw3, 0);
    PlayerTextDrawSetProportional(playerid, Textdraw3, 1);
    PlayerTextDrawSetShadow(playerid, Textdraw3, 1);

    Textdraw4 = CreatePlayerTextDraw(playerid, 508.000000, 298.000000, "SPEED");
    PlayerTextDrawBackgroundColor(playerid, Textdraw4, 255);
    PlayerTextDrawFont(playerid, Textdraw4, 1);
    PlayerTextDrawLetterSize(playerid, Textdraw4, 0.310000, 1.299999);
    PlayerTextDrawColor(playerid, Textdraw4, -1);
    PlayerTextDrawSetOutline(playerid, Textdraw4, 0);
    PlayerTextDrawSetProportional(playerid, Textdraw4, 1);
    PlayerTextDrawSetShadow(playerid, Textdraw4, 1);

    Textdraw5 = CreatePlayerTextDraw(playerid, 537.000000, 208.000000, "[");
    PlayerTextDrawBackgroundColor(playerid, Textdraw5, 255);
    PlayerTextDrawFont(playerid, Textdraw5, 1);
    PlayerTextDrawLetterSize(playerid, Textdraw5, 0.620000, 2.799999);
    PlayerTextDrawColor(playerid, Textdraw5, -1);
    PlayerTextDrawSetOutline(playerid, Textdraw5, 0);
    PlayerTextDrawSetProportional(playerid, Textdraw5, 1);
    PlayerTextDrawSetShadow(playerid, Textdraw5, 1);

    Textdraw6 = CreatePlayerTextDraw(playerid, 594.000000, 208.000000, "]");
    PlayerTextDrawBackgroundColor(playerid, Textdraw6, 255);
    PlayerTextDrawFont(playerid, Textdraw6, 1);
    PlayerTextDrawLetterSize(playerid, Textdraw6, 0.620000, 2.799999);
    PlayerTextDrawColor(playerid, Textdraw6, -1);
    PlayerTextDrawSetOutline(playerid, Textdraw6, 0);
    PlayerTextDrawSetProportional(playerid, Textdraw6, 1);
    PlayerTextDrawSetShadow(playerid, Textdraw6, 1);

    Textdraw7 = CreatePlayerTextDraw(playerid, 537.000000, 248.000000, "[");
    PlayerTextDrawBackgroundColor(playerid, Textdraw7, 255);
    PlayerTextDrawFont(playerid, Textdraw7, 1);
    PlayerTextDrawLetterSize(playerid, Textdraw7, 0.620000, 2.799999);
    PlayerTextDrawColor(playerid, Textdraw7, -1);
    PlayerTextDrawSetOutline(playerid, Textdraw7, 0);
    PlayerTextDrawSetProportional(playerid, Textdraw7, 1);
    PlayerTextDrawSetShadow(playerid, Textdraw7, 1);

    Textdraw8 = CreatePlayerTextDraw(playerid, 594.000000, 248.000000, "]");
    PlayerTextDrawBackgroundColor(playerid, Textdraw8, 255);
    PlayerTextDrawFont(playerid, Textdraw8, 1);
    PlayerTextDrawLetterSize(playerid, Textdraw8, 0.620000, 2.799999);
    PlayerTextDrawColor(playerid, Textdraw8, -1);
    PlayerTextDrawSetOutline(playerid, Textdraw8, 0);
    PlayerTextDrawSetProportional(playerid, Textdraw8, 1);
    PlayerTextDrawSetShadow(playerid, Textdraw8, 1);

    Textdraw9 = CreatePlayerTextDraw(playerid, 541.000000, 286.000000, " OFF");
    PlayerTextDrawBackgroundColor(playerid, Textdraw9, 255);
    PlayerTextDrawFont(playerid, Textdraw9, 1);
    PlayerTextDrawLetterSize(playerid, Textdraw9, 0.310000, 1.299999);
    PlayerTextDrawColor(playerid, Textdraw9, -100663096);
    PlayerTextDrawSetOutline(playerid, Textdraw9, 0);
    PlayerTextDrawSetProportional(playerid, Textdraw9, 1);
    PlayerTextDrawSetShadow(playerid, Textdraw9, 1);

    Textdraw10 = CreatePlayerTextDraw(playerid, 564.000000, 299.000000, " 999");
    PlayerTextDrawBackgroundColor(playerid, Textdraw10, 255);
    PlayerTextDrawFont(playerid, Textdraw10, 1);
    PlayerTextDrawLetterSize(playerid, Textdraw10, 0.310000, 1.299999);
    PlayerTextDrawColor(playerid, Textdraw10, -939523896);
    PlayerTextDrawSetOutline(playerid, Textdraw10, 0);
    PlayerTextDrawSetProportional(playerid, Textdraw10, 1);
    PlayerTextDrawSetShadow(playerid, Textdraw10, 1);

    Textdraw11 = CreatePlayerTextDraw(playerid, 543.000000, 192.000000, " UNLOCKED");
    PlayerTextDrawBackgroundColor(playerid, Textdraw11, 255);
    PlayerTextDrawFont(playerid, Textdraw11, 1);
    PlayerTextDrawLetterSize(playerid, Textdraw11, 0.310000, 1.299999);
    PlayerTextDrawColor(playerid, Textdraw11, -100663096);
    PlayerTextDrawSetOutline(playerid, Textdraw11, 0);
    PlayerTextDrawSetProportional(playerid, Textdraw11, 1);
    PlayerTextDrawSetShadow(playerid, Textdraw11, 1);

    Textdraw12 = CreatePlayerTextDraw(playerid, 530.000000, 236.000000, "DESYNCED");
    PlayerTextDrawBackgroundColor(playerid, Textdraw12, 255);
    PlayerTextDrawFont(playerid, Textdraw12, 1);
    PlayerTextDrawLetterSize(playerid, Textdraw12, 0.310000, 1.299999);
    PlayerTextDrawColor(playerid, Textdraw12, -100663096);
    PlayerTextDrawSetOutline(playerid, Textdraw12, 0);
    PlayerTextDrawSetProportional(playerid, Textdraw12, 1);
    PlayerTextDrawSetShadow(playerid, Textdraw12, 1);

    BaitOnline[playerid] = 0;
	// =============================== //
	ClearGroceries(playerid);
	ClearMarriage(playerid);
	SetPlayerColor(playerid,TEAM_HIT_COLOR);
	SendClientMessageEx( playerid, COLOR_LAWNGREEN, " " );
	SendClientMessageEx( playerid, COLOR_LAWNGREEN, " " );
	SendClientMessageEx( playerid, COLOR_LAWNGREEN, " " );
	SendClientMessageEx( playerid, COLOR_LAWNGREEN, " " );
	SendClientMessageEx( playerid, COLOR_LAWNGREEN, " " );
	SendClientMessageEx( playerid, COLOR_LIGHTBLUE, "---------------------------------------------------" );
	SendClientMessageEx( playerid, COLOR_LAWNGREEN, "Gamemode!)" );
	SendClientMessageEx( playerid, COLOR_LIGHTBLUE, "---------------------------------------------------" );
 	SetTimerEx("SafeLogin", 3500, 0, "d", playerid);
 	SyncPlayerTime(playerid);
	SetPlayerCameraPos(playerid, 751.93, -1673.95, 16.01);
	SetPlayerCameraLookAt(playerid, 699.55, -1628.93, 5.88);
	return 1;
}
Reply
#2

You probably used fread without opening a file first so it crashed the server. Some of the custom functions use fread so you need to re-compile your scripts with debug info for more information (such as lines etc): https://github.com/Zeex/samp-plugin-...ith-debug-info

After done that, start the server again, connect and post what it printed.
Reply
#3

Код:
Header size:          31724 bytes
Code size:          6621332 bytes
Data size:         33760604 bytes
Stack/heap size:     260000 bytes; estimated max. usage: unknown, due to recursion
Total requirements:40673660 bytes

11 Warnings.
Now it gives me this

Код:
[13:37:26] ******************
[13:37:26] ** FILE MANAGER **
[13:37:26] **    Loaded    **
[13:37:26] ** Version 1.5 **
[13:37:26] ******************
[13:37:26]   Loaded.
[13:37:26]  Loading plugin: nativechecker
[13:37:26]   Loaded.
[13:37:26]  Loaded 10 plugins.

[13:37:26] 
[13:37:26] Filterscripts
[13:37:26] ---------------
[13:37:26]   Loading filterscript 'yom_buttons.amx'...
[13:37:29]   Loading filterscript 'removebuilding.amx'...
[13:37:29] RemoveBuilding Filterscript Initiated
[13:37:29]   Loading filterscript 'audio.amx'...
[13:37:29] *** Audio Plugin: Started TCP server on port 7771
[13:37:29] *** Audio_SetPack: Error opening "audiopacks/default_pack/file.mp3" for CRC check
[13:37:29] *** Audio_SetPack: Error opening "audiopacks/default_pack/file.ogg" for CRC check
[13:37:29] *** Audio_SetPack: Error opening "audiopacks/default_pack/file.wav" for CRC check
[13:37:29] *** Audio_SetPack: Audio pack set to "default_pack" (transferable and automated)
[13:37:29]   Loading filterscript 'anims.amx'...
[13:37:29]   Loaded 4 filterscripts.

[13:37:30] [debug] Server crashed due to an unknown error
[13:37:30] [debug] System backtrace:
[13:37:34] [debug] #0 736c5a98 in ?? () from C:\Users\JakkenKoppen\Desktop\NLRP\plugins\crashdetect.DLL
[13:37:34] [debug] #1 736dfc65 in ?? () from C:\Users\JakkenKoppen\Desktop\NLRP\plugins\crashdetect.DLL
[13:37:34] [debug] #2 736e0676 in ?? () from C:\Users\JakkenKoppen\Desktop\NLRP\plugins\crashdetect.DLL
[13:37:34] [debug] #3 736e3ccd in ?? () from C:\Users\JakkenKoppen\Desktop\NLRP\plugins\crashdetect.DLL
[13:37:34] [debug] #4 004690d5 in ?? () from C:\Users\JakkenKoppen\Desktop\NLRP\samp-server.exe
[13:37:34] [debug] #5 65646f6d in ?? () from C:\Users\JakkenKoppen\Desktop\NLRP\samp-server.exe
[13:37:34] [debug] #6 6c6e2f73 in ?? () from C:\Users\JakkenKoppen\Desktop\NLRP\samp-server.exe
[13:37:34] [debug] #7 612e7072 in ?? () from C:\Users\JakkenKoppen\Desktop\NLRP\samp-server.exe
When i turn on the server. Without i enter the server.
Reply
#4

It wont give me a chance to enter the server
Reply
#5

I see, but the server crashed due to an unknown reason. What version of the crashdetect plugin are you using? The latest version is 4.12, if you're not using the latest one, then update the plugin: https://github.com/Zeex/samp-plugin-...ases/tag/v4.12

Also update any include and plugin you use to their latest version and re-compile. Start the server again and post what it printed.
Reply
#6

Where should i place my crashdetect.inc ? Pawno > Include or Just Main Folder>Include
Reply
#7

Into pawno\include folder but it's not necessary to include it to your scripts if you do not use any of its natives.
Reply
#8

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3x-R2, ©2005-2013 SA-MP Team

[14:09:57] password = ""  (string)
[14:09:57] 
[14:09:57] Server Plugins
[14:09:57] --------------
[14:09:57]  Loading plugin: crashdetect.dll
[14:09:57]   CrashDetect v4.12 is OK.
[14:09:57]   Loaded.
[14:09:57]  Loading plugin: nativechecker.dll
[14:09:57]   Loaded.
[14:09:57]  Loading plugin: audio.dll
[14:09:57] 

*** Audio Plugin v0.5 R2 by Incognito loaded ***

[14:09:57]   Loaded.
[14:09:57]  Loading plugin: sscanf.dll
[14:09:57] 

[14:09:57]  ===============================

[14:09:57]       sscanf plugin loaded.     

[14:09:57]    © 2009 Alex "******" Cole

[14:09:57]    0.3d-R2 500 Players "dnee"

[14:09:57]  ===============================

[14:09:57]   Loaded.
[14:09:57]  Loading plugin: streamer.dll
[14:09:57] 

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[14:09:57]   Loaded.
[14:09:57]  Loaded 5 plugins.

[14:09:57] 
[14:09:57] Ban list
[14:09:57] --------
[14:09:57]  Loaded: samp.ban
[14:09:57] 
[14:09:57] 
[14:09:57] Filterscripts
[14:09:57] ---------------
[14:09:57]   Loading filterscript 'anims.amx'...
[14:09:57]   Loading filterscript 'audio.amx'...
[14:09:57]    Error: Function not registered: 'Audio_CreateTCPServer'
[14:09:57]    Error: Function not registered: 'Audio_AddPlayer'
[14:09:57]    Error: Function not registered: 'Audio_RemovePlayer'
[14:09:57]    Error: Function not registered: 'SSCANF_Init'
[14:09:57]    Error: Function not registered: 'SSCANF_Join'
[14:09:57]    Error: Function not registered: 'SSCANF_Leave'
[14:09:57]    Error: Function not registered: 'Audio_SetPack'
[14:09:57]    Error: Function not registered: 'Audio_DestroyTCPServer'
[14:09:57]    Error: Function not registered: 'Audio_SendMessage'
[14:09:57]    Error: Function not registered: 'sscanf'
[14:09:57]    Error: Function not registered: 'Audio_IsClientConnected'
[14:09:57]    Error: Function not registered: 'Audio_CreateSequence'
[14:09:57]    Error: Function not registered: 'Audio_DestroySequence'
[14:09:57]    Error: Function not registered: 'Audio_AddToSequence'
[14:09:57]    Error: Function not registered: 'Audio_RemoveFromSequence'
[14:09:57]    Error: Function not registered: 'Audio_Play'
[14:09:57]    Error: Function not registered: 'Audio_PlayStreamed'
[14:09:57]    Error: Function not registered: 'Audio_PlaySequence'
[14:09:57]    Error: Function not registered: 'Audio_Pause'
[14:09:57]    Error: Function not registered: 'Audio_Resume'
[14:09:57]    Error: Function not registered: 'Audio_Stop'
[14:09:57]    Error: Function not registered: 'Audio_Restart'
[14:09:57]    Error: Function not registered: 'Audio_GetPosition'
[14:09:57]    Error: Function not registered: 'Audio_SetPosition'
[14:09:57]    Error: Function not registered: 'Audio_SetVolume'
[14:09:57]    Error: Function not registered: 'Audio_SetFX'
[14:09:57]    Error: Function not registered: 'Audio_RemoveFX'
[14:09:57]    Error: Function not registered: 'Audio_Set3DPosition'
[14:09:57]    Error: Function not registered: 'Audio_Remove3DPosition'
[14:09:57]    Error: Function not registered: 'Audio_SetRadioStation'
[14:09:57]    Error: Function not registered: 'Audio_StopRadio'
[14:09:57] OnFilter
[14:09:57] *** Audio_SetPack: Error opening "audiopacks/default_pack/file.mp3" for CRC check
[14:09:57] *** Audio_SetPack: Error opening "audiopacks/default_pack/file.ogg" for CRC check
[14:09:57] *** Audio_SetPack: Error opening "audiopacks/default_pack/file.wav" for CRC check
[14:09:57] *** Audio_SetPack: Audio pack set to "default_pack" (transferable and automated)
[14:09:57]   Loading filterscript 'ugrphq.amx'...
[14:09:57] *** Audio Plugin: Started TCP server on port 7777
[14:09:57]    Error: Function not registered: 'Streamer_CallbackHook'
[14:09:57]    Error: Function not registered: 'SSCANF_Init'
[14:09:57]    Error: Function not registered: 'SSCANF_Join'
[14:09:57]    Error: Function not registered: 'SSCANF_Leave'
[14:09:57]    Error: Function not registered: 'Streamer_UpdateEx'
[14:09:57]    Error: Function not registered: 'CreateDynamicObject'
[14:09:57]   Loaded 3 filterscripts.

[14:09:58] [debug] Server crashed due to an unknown error
[14:09:58] [debug] Native backtrace:
[14:09:58] [debug] #0 733e8cb0 in ?? () from C:\Users\JakkenKoppen\Desktop\NEW Bone County Script\plugins\crashdetect.dll
[14:09:58] [debug] #1 733c66e4 in ?? () from C:\Users\JakkenKoppen\Desktop\NEW Bone County Script\plugins\crashdetect.dll
[14:09:58] [debug] #2 733e0b09 in ?? () from C:\Users\JakkenKoppen\Desktop\NEW Bone County Script\plugins\crashdetect.dll
[14:09:58] [debug] #3 733e612f in ?? () from C:\Users\JakkenKoppen\Desktop\NEW Bone County Script\plugins\crashdetect.dll
[14:09:58] [debug] #4 004690d5 in ?? () from C:\Users\JakkenKoppen\Desktop\NEW Bone County Script\samp-server.exe
[14:09:58] [debug] #5 65646f6d in ?? () from C:\Users\JakkenKoppen\Desktop\NEW Bone County Script\samp-server.exe
[14:09:58] [debug] #6 6c6e2f73 in ?? () from C:\Users\JakkenKoppen\Desktop\NEW Bone County Script\samp-server.exe
[14:09:58] [debug] #7 612e7072 in ?? () from C:\Users\JakkenKoppen\Desktop\NEW Bone County Script\samp-server.exe
Reply
#9

nativechecker must be last (an exception if crashdetect is also loaded to be last) because it will give all the function as not registered.

Update sscanf to its latest version too and make sure you've recompiled with the latest version of the includes files too.

server.cfg:
pawn Код:
plugins audio sscanf streamer nativechecker crashdetect
It was still crashed due to an unknown reason. So update sscanf and start the server again. If it prints the same information ([debug] Server crashed due to an unknown error), then post the last result to crashdetect's thread and Zeex might be able to help you somehow: https://sampforum.blast.hk/showthread.php?tid=262796

However, if it prints different things (so the problem was the very old version of the sscanf), then post the new information here.
Reply
#10

Here is the new info
Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3x-R2, ©2005-2013 SA-MP Team

[14:29:22] password = ""  (string)
[14:29:22] 
[14:29:22] Server Plugins
[14:29:22] --------------
[14:29:22]  Loading plugin: audio.dll
[14:29:22] 

*** Audio Plugin v0.5 R2 by Incognito loaded ***

[14:29:22]   Loaded.
[14:29:22]  Loading plugin: sscanf.dll
[14:29:22] 

[14:29:22]  ===============================

[14:29:22]       sscanf plugin loaded.     

[14:29:22]          Version:  2.8.1        

[14:29:22]    © 2012 Alex "******" Cole  

[14:29:22]  ===============================

[14:29:22]   Loaded.
[14:29:22]  Loading plugin: streamer.dll
[14:29:22] 

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[14:29:22]   Loaded.
[14:29:22]  Loading plugin: nativechecker.dll
[14:29:22]   Loaded.
[14:29:22]  Loading plugin: crashdetect.dll
[14:29:22]   CrashDetect v4.12 is OK.
[14:29:22]   Loaded.
[14:29:22]  Loaded 5 plugins.

[14:29:22] 
[14:29:22] Ban list
[14:29:22] --------
[14:29:22]  Loaded: samp.ban
[14:29:22] 
[14:29:22] 
[14:29:22] Filterscripts
[14:29:22] ---------------
[14:29:22]   Loading filterscript 'anims.amx'...
[14:29:23]   Loading filterscript 'audio.amx'...
[14:29:23] OnFilter
[14:29:23] *** Audio_SetPack: Error opening "audiopacks/default_pack/file.mp3" for CRC check
[14:29:23] *** Audio_SetPack: Error opening "audiopacks/default_pack/file.ogg" for CRC check
[14:29:23] *** Audio_SetPack: Error opening "audiopacks/default_pack/file.wav" for CRC check
[14:29:23] *** Audio_SetPack: Audio pack set to "default_pack" (transferable and automated)
[14:29:23]   Loading filterscript 'ugrphq.amx'...
[14:29:23] *** Audio Plugin: Started TCP server on port 7777
[14:29:23]   Loaded 3 filterscripts.

[14:29:24] [debug] Server crashed due to an unknown error
[14:29:24] [debug] Native backtrace:
[14:29:24] [debug] #0 73418cb0 in ?? () from C:\Users\JakkenKoppen\Desktop\NEW Bone County Script\plugins\crashdetect.dll
[14:29:24] [debug] #1 733f66e4 in ?? () from C:\Users\JakkenKoppen\Desktop\NEW Bone County Script\plugins\crashdetect.dll
[14:29:24] [debug] #2 73410b09 in ?? () from C:\Users\JakkenKoppen\Desktop\NEW Bone County Script\plugins\crashdetect.dll
[14:29:24] [debug] #3 7341612f in ?? () from C:\Users\JakkenKoppen\Desktop\NEW Bone County Script\plugins\crashdetect.dll
[14:29:24] [debug] #4 004690d5 in ?? () from C:\Users\JakkenKoppen\Desktop\NEW Bone County Script\samp-server.exe
[14:29:24] [debug] #5 65646f6d in ?? () from C:\Users\JakkenKoppen\Desktop\NEW Bone County Script\samp-server.exe
[14:29:24] [debug] #6 6c6e2f73 in ?? () from C:\Users\JakkenKoppen\Desktop\NEW Bone County Script\samp-server.exe
[14:29:24] [debug] #7 612e7072 in ?? () from C:\Users\JakkenKoppen\Desktop\NEW Bone County Script\samp-server.exe
These are my plugins
Код:
plugins audio.dll sscanf.dll streamer.dll nativechecker.dll crashdetect.dll
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)