chat causes server to crash
#1

tittle says it all really i type in chat and the entire server crashes tryed the crash plugin didnt come up with anything here is the logs

Код:
SA-MP Dedicated Server
----------------------
v0.3c R5, ©2005-2011 SA-MP Team

[06:16:14] 
[06:16:14] Server Plugins
[06:16:14] --------------
[06:16:14]  Loading plugin: streamer.dll
[06:16:14] 

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

[06:16:14]   Loaded.
[06:16:14]  Loading plugin: sscanf.dll
[06:16:14] 

[06:16:14]  ===============================

[06:16:14]       sscanf plugin loaded.     

[06:16:14]    © 2009 Alex "******" Cole

[06:16:14]    0.3d-R2 500 Players "dnee"

[06:16:14]  ===============================

[06:16:14]   Loaded.
[06:16:14]  Loading plugin: Whirlpool.dll
[06:16:14]  
[06:16:14]  ==================
[06:16:14]  
[06:16:14]   Whirlpool loaded
[06:16:14]  
[06:16:14]  ==================
[06:16:14]  
[06:16:14]   Loaded.
[06:16:14]  Loaded 3 plugins.

[06:16:14] 
[06:16:14] Filter Scripts
[06:16:14] ---------------
[06:16:14]   Loaded 0 filter scripts.

[06:16:14]  
[06:16:14]  ======================================= 
[06:16:14]  |                                     | 
[06:16:14]  |        YSI version 1.03.0011        | 
[06:16:14]  |        By Alex "******" Cole        | 
[06:16:14]  |                                     | 
[06:16:14]  |  Checking the latest YSI version..  | 
[06:16:14]  |                                     | 
[06:16:14]  ======================================= 
[06:16:14]  
[06:16:14] EnableTirePopping() function is removed.
[06:16:14] SA-MP Dedicated Server | v0.3c R5, ©2005-2011 SA-MP Team
[06:16:14]  
[06:16:14] Loading GameMode...
[06:16:14] Initalizing...
[06:16:14]  
[06:16:14]              Loading 00%
[06:16:14]                  Loading 25%
[06:16:14]                      Loading 50%
[06:16:14]                          Loading 75%
[06:16:14]                              Loaded 100%
[06:16:14]  
[06:16:14]                                    Initalized!
[06:16:14]  
[06:16:14]                             GameMode Loaded Successfully!
[06:16:14]  
[06:16:14]                    PCRP[Version 4.1] Made By Lookin Updated 20/08/2012
[06:16:14]                     Copyright © 2010 - 2012 LScripting Productions
[06:16:14]                                     Sponsored By
[06:16:14]                 Profound Gaming: Gaming So Intense, It's Considered Profanity!
[06:16:14]                              www.profoundgaming.weebly.com
[06:16:14]  
[06:16:14] Number of vehicle models: 182
[06:16:15] Weather changed to ID: 35
[06:16:35]  
[06:16:35]  ======================================= 
[06:16:35]  |                                     | 
[06:16:35]  |   Error: Could not connect to YSI   | 
[06:16:35]  |  update server (response was 006).  | 
[06:16:35]  |                                     | 
[06:16:35]  ======================================= 
[06:16:35]  
[06:18:55] Incoming connection: 192.168.1.3:55287
[06:18:55] [join] [PG]Lookin has joined the server (0:192.168.1.3)
[06:19:01] [PG]Lookin has registered an account.
[06:19:17] [chat] [[PG]Lookin]: hi
the includes

Код:
#include <a_samp>
#include <streamer>
#include <zcmd>
#include <sscanf2>
#include <time>
#include <gLibrary>
onplayerupdate

Код:
public OnPlayerUpdate(playerid)
{
    if(GetPlayerState(playerid)==PLAYER_STATE_ONFOOT)
	{
		new weaponid=GetPlayerWeapon(playerid),oldweapontype=GetWeaponType(OldWeapon[playerid]);
		new weapontype=GetWeaponType(weaponid);
		if(HoldingWeapon[playerid]==weaponid)
		    StopPlayerHoldingObject(playerid);

		if(OldWeapon[playerid]!=weaponid)
		{
		    new modelid=GetWeaponModel(OldWeapon[playerid]);
		    if(modelid!=0 && oldweapontype!=WEAPON_TYPE_NONE && oldweapontype!=weapontype)
		    {
		        HoldingWeapon[playerid]=OldWeapon[playerid];
		        switch(oldweapontype)
		        {
		            case WEAPON_TYPE_LIGHT:
						SetPlayerHoldingObject(playerid, modelid, 8,0.0,-0.1,0.15, -100.0, 0.0, 0.0);

					case WEAPON_TYPE_MELEE:
					    SetPlayerHoldingObject(playerid, modelid, 7,0.0,0.0,-0.18, 100.0, 45.0, 0.0);

					case WEAPON_TYPE_HEAVY:
					    SetPlayerHoldingObject(playerid, modelid, 1, 0.2,-0.125,-0.1,0.0,25.0,180.0);
		        }
		    }
		}

		if(oldweapontype!=weapontype)
		OldWeapon[playerid]=weaponid;
	}
	if(!IsPlayerConnected(playerid)) return 0;

	// No weapons in interiors
	if(GetPlayerInterior(playerid) != 0 && GetPlayerWeapon(playerid) != 0) {
	    SetPlayerArmedWeapon(playerid,0); // fists
	    return 0; // no syncing until they change their weapon
	}

/*	// Don't allow minigun
	if(GetPlayerWeapon(playerid) == WEAPON_MINIGUN) {
	    Kick(playerid);
	    return 0;
	}*/

	/* No jetpacks allowed
	if(GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_USEJETPACK) {
	    Kick(playerid);
	    return 0;
	}*/
	
	SetPlayerScore( playerid, GetPlayerWantedLevel( playerid ) );
/* 	if ( GetPlayerWantedLevel( playerid ) > 0 )
  	SetPlayerScore( playerid, GetPlayerWantedLevel( playerid ) );*/
//	return 1;
//	}
	return 1;
}
nativechecker

Код:
A-MP Dedicated Server
----------------------
v0.3c-R5, ©2005-2011 SA-MP Team

[16:21:22] 
[16:21:22] Server Plugins
[16:21:22] --------------
[16:21:22]  Loading plugin: streamer.dll
[16:21:22] 

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

[16:21:22]   Loaded.
[16:21:22]  Loading plugin: sscanf.dll
[16:21:22] 

[16:21:22]  ===============================

[16:21:22]       sscanf plugin loaded.     

[16:21:22]    © 2009 Alex "******" Cole

[16:21:22]  ===============================

[16:21:22]   Loaded.
[16:21:22]  Loading plugin: Whirlpool.dll
[16:21:22]  
[16:21:22]  ==================
[16:21:22]  
[16:21:22]   Whirlpool loaded
[16:21:22]  
[16:21:22]  ==================
[16:21:22]  
[16:21:22]   Loaded.
[16:21:22]  Loading plugin: nativechecker.dll
[16:21:22]   Loaded.
[16:21:22]  Loaded 4 plugins.

[16:21:22] 
[16:21:22] Filterscripts
[16:21:22] ---------------
[16:21:22]   Loading filterscript 'ppchouse.amx'...
[16:21:23] ----------------------------------------
[16:21:23] PPC Housing filterscript initialized
[16:21:23] Houses loaded: 1
[16:21:23] ----------------------------------------
[16:21:23]   Loading filterscript 'ppcbiz.amx'...
[16:21:23] -------------------------------------
[16:21:23] PPC Business filterscript initialized
[16:21:23] Businesses loaded: 0
[16:21:23] -------------------------------------
[16:21:23]   Loading filterscript 'ppcspeed.amx'...
[16:21:23] 
----------------------------------------
[16:21:23] PPC Speedometer filterscript initialized
[16:21:23] Gas-stations created: 22
[16:21:23] Speedcamera's loaded: 0
[16:21:23] ----------------------------------------

[16:21:23]   Loaded 3 filterscripts.

[16:21:23]  
[16:21:23]  ======================================= 
[16:21:23]  |                                     | 
[16:21:23]  |        YSI version 1.03.0011        | 
[16:21:23]  |        By Alex "******" Cole        | 
[16:21:23]  |                                     | 
[16:21:23]  |  Checking the latest YSI version..  | 
[16:21:23]  |                                     | 
[16:21:23]  ======================================= 
[16:21:23]  
[16:21:23] SA-MP Dedicated Server | v0.3c R5, ©2005-2012 SA-MP Team
[16:21:23]  
[16:21:23] Loading GameMode...
[16:21:23] Initalizing...
[16:21:23]  
[16:21:23]              Loading 00%
[16:21:23]                  Loading 25%
[16:21:23]                      Loading 50%
[16:21:23]                          Loading 75%
[16:21:23]                              Loaded 100%
[16:21:23]  
[16:21:23]                                    Initalized!
[16:21:23]  
[16:21:23]                             GameMode Loaded Successfully!
[16:21:23]                      Lookins Administration System Status: ONLINE!
[16:21:23]                    PCRP[Version 4.1] Made By Lookin Updated 16/08/2012
[16:21:23]                     Copyright © 2010 - 2012 LScripting Productions
[16:21:23]                                     Sponsored By
[16:21:23]                Profound Gaming: Gaming So Intense, It's Considered Profanity!
[16:21:23]                              www.profoundgaming.weebly.com
[16:21:23]  
[16:21:23] Number of vehicle models: 182
[16:21:24] Weather changed to ID: 13
[16:21:35]  
[16:21:35]  ======================================= 
[16:21:35]  |                                     | 
[16:21:35]  |   Error: Could not connect to YSI   | 
[16:21:35]  |  update server (response was 006).  | 
[16:21:35]  |                                     | 
[16:21:35]  ======================================= 
[16:21:35]  
[16:21:47] Incoming connection: 192.168.1.6:63059
[16:21:47] [join] [PG]Lookin has joined the server (0:192.168.1.6)
[16:21:48] |-| Server |-| Player {FFFFFF} [PG]Lookin {4165FF} Join To Server {D64343} [ Country: Reserved

(ZZZ) | IP: 192.168.1.6 | Ping: 27 ]
[16:22:08] [PG]Lookin has logged in.
[16:22:13] [chat] [[PG]Lookin]: hi
Reply


Messages In This Thread
chat causes server to crash <NOT RESOLVED!> - by Lookin - 02.09.2012, 07:13
Re: chat causes server to crash - by Ballu Miaa - 02.09.2012, 09:11
Re: chat causes server to crash - by Lookin - 02.09.2012, 10:02
Re: chat causes server to crash - by Kirollos - 02.09.2012, 10:03
Re: chat causes server to crash - by Lookin - 02.09.2012, 10:12
AW: chat causes server to crash - by NaS - 04.09.2012, 12:22
Re: chat causes server to crash - by denNorske - 04.09.2012, 12:24
AW: chat causes server to crash - by NaS - 04.09.2012, 13:29
Re: chat causes server to crash - by Lookin - 04.09.2012, 14:23
Re: chat causes server to crash - by Ballu Miaa - 04.09.2012, 17:52

Forum Jump:


Users browsing this thread: 1 Guest(s)