[HELP] Very weird server crashing...
#1

okay so I have been editing my server up a lil bit and came to an unknown error...everytime I double click on the "samp_server.exe" it loads up to the filterscripts then it just shuts down by itself...I find this very annoying and un-amusing as I spent hours trying to fix it up a bit...

any ideas? help would be very much appreciated! (;
Reply
#2

That's usually caused by it not being able to find whatever game mode you put in the server config.
Reply
#3

Post your server_log.
Reply
#4

Quote:
Originally Posted by _rAped
Посмотреть сообщение
Post your server_log.
server_log.txt
Код:
SA-MP Dedicated Server
----------------------
v0.3c, ©2005-2010 SA-MP Team

[12:01:05] 
[12:01:05] Server Plugins
[12:01:05] --------------
[12:01:05]  Loaded 0 plugins.

[12:01:05] 
[12:01:05] Ban list
[12:01:05] --------
[12:01:05]  Loaded: samp.ban
[12:01:05] 
[12:01:05] 
[12:01:05] Filter Scripts
[12:01:05] ---------------
[12:01:05]   Loading filter script 'JunkBuster.amx'...
[12:01:05] 

[12:01:05] [junkbuster] Current JunkBuster configuration:
[12:01:05] [junkbuster] - WeaponHack = 1
[12:01:05] [junkbuster] - MoneyHack = 1
[12:01:05] [junkbuster] - Jetpack = 1
[12:01:05] [junkbuster] - HealthHack = 1
[12:01:05] [junkbuster] - ArmourHack = 1
[12:01:05] [junkbuster] - DriveBy = 1
[12:01:05] [junkbuster] - Spam = 1
[12:01:05] [junkbuster] - CommandSpam = 1
[12:01:05] [junkbuster] - BadWords = 0
[12:01:05] [junkbuster] - CarJackHack = 1
[12:01:05] [junkbuster] - TeleportHack = 1
[12:01:05] [junkbuster] - MaxPing = 1000
[12:01:05] [junkbuster] - SpectateHack = 0
[12:01:05] [junkbuster] - Blacklist = 0
[12:01:05] [junkbuster] - IpBans = 1
[12:01:05] [junkbuster] - TempBans = 1
[12:01:05] [junkbuster] - SpawnKill = 10
[12:01:05] [junkbuster] - CapsLock = 0
[12:01:05] [junkbuster] - 3DSpeed = 0
[12:01:05] [junkbuster] - MaxSpeed = 240
[12:01:05] [junkbuster] - AdminImmunity = 1
[12:01:05] [junkbuster] - Advertisement = 1
[12:01:05] [junkbuster] - FreezeUpdate = 0
[12:01:05] [junkbuster] - SpawnTime = 10
[12:01:05] [junkbuster] - CheckpointTeleport = 1
[12:01:05] [junkbuster] - Airbreak = 1
[12:01:05] [junkbuster] - TankMode = 1
[12:01:05] [junkbuster] - WarnPlayers = 0
[12:01:05] [junkbuster] - SingleplayerCheats = 1
[12:01:05] [junkbuster] - MinFPS = 6
[12:01:05] [junkbuster] - DisableBadWeapons = 1
[12:01:05] [junkbuster] - CBug = 12
[12:01:05] [junkbuster] - AntiBugKill = 1
[12:01:05] [junkbuster] - NoReload = 40
[12:01:05] 

[12:01:05] [junkbuster] 0 IP-bans have been loaded.
[12:01:05] [junkbuster] 0 temporary bans have been loaded.
[12:01:05] [junkbuster] 3 whitelist entries have been loaded.
[12:01:05] [junkbuster] 4 blacklist entries have been loaded.
[12:01:05] [junkbuster] 41 bad words have been loaded.
[12:01:05] [junkbuster] 3 forbidden weapons have been loaded.
[12:01:05] [junkbuster] JunkBuster has been configurated.
[12:01:05] [junkbuster] JunkBuster has successfully been loaded.
[12:01:05] 
+---------------------------------------------+
[12:01:05] ¦            JunkBuster Anti-Cheat              ¦
[12:01:05] ¦                     by                        ¦
[12:01:05] ¦               Double-O-Seven                  ¦
[12:01:05] ¦           loaded as filterscript!             ¦
[12:01:05] +-----------------------------------------------+

[12:01:05] You are now using JunkBuster as filterscript!
[12:01:05] Make sure that you have included JunkBuster_Cient.inc
[12:01:05] in all your other script! You must include JunkBuster.inc
[12:01:05] in ONLY ONE script! In this case, it's this filterscript!
[12:01:05] Use JunkBuster_Client.inc in your other scripts!
[12:01:05]   Loading filter script 'Cookies.amx'...
[12:01:05]   Loading filter script 'HealthBar4.amx'...
[12:01:05]   Loading filter script 'animations.amx'...
[12:01:05]   Loaded 4 filter scripts.
crashinfo.txt
Код:
SA-MP Server: 0.3c



Exception At Address: 0x004A4B44



Registers:

EAX: 0x00000000	EBX: 0x00000400	ECX: 0x00000100	EDX: 0x7EFEFEFF

ESI: 0x00000000	EDI: 0x0219D4B8	EBP: 0x0000003E	ESP: 0x0012FD28

EFLAGS: 0x00010216



Stack:

+0000: 0x027D0020   0x021FA9E8   0x0219D4B8   0x0047CFFB

+0010: 0x0219D4B8   0x00000000   0x00000400   0x014752C8

+0020: 0x00000000   0x0012FD80   0x021FA61C   0x0000003E

+0030: 0x0048837E   0x43670000   0x43CA8000   0x00000000

+0040: 0x014752C8   0x014752C8   0x021A2160   0x027D0020

+0050: 0x00000000   0x021E6BC4   0x021A7968   0x00401096

+0060: 0x014752C8   0x021FA61C   0x021C526C   0x00402BB3

+0070: 0x014752C8   0x00000014   0x0012FDB8   0x021FA61C

+0080: 0x004F52B0   0x014752C8   0x00000001   0x00000000

+0090: 0x00019250   0x00019250   0x000353B0   0x000355D4

+00A0: 0x000315D8   0x000355C8   0x000315D8   0x021A2160

+00B0: 0x021C526C   0x00000000   0x021A1020   0x0002310C

+00C0: 0x00483D74   0x014752C8   0x0012FE00   0x0000000A

+00D0: 0x01508FC0   0xFFFFFFFF   0x0000000A   0x01508FC0

+00E0: 0x00498D72   0x004F52B0   0x004C06B9   0x01508C01

+00F0: 0xFFFFFFFF   0x00000000   0x014752C8   0x0012FEA4

+0100: 0x004B4998   0xFFFFFFFF   0x004981AF   0x00000001

+0110: 0x00000000   0x00001DB0   0x0012FF88   0x7FFDA000

+0120: 0x0001A000   0x00010101   0x00000064   0x00001A0A

+0130: 0x00000078   0x000012D4   0x01508FC0   0x656D6167
Reply
#5

It's apparently your gamemode causing the crash, look inside of ongamemodeinit and check to see if you're loading or saving any files, if you are,make sure the folder for their directory exists
Reply
#6

Quote:
Originally Posted by SilentHuntR
Посмотреть сообщение
It's apparently your gamemode causing the crash, look inside of ongamemodeinit and check to see if you're loading or saving any files, if you are,make sure the folder for their directory exists
here is my OnGameModeInit void...

Код:
public OnGameModeInit()
{
    for(new i = 0; i < 299; i++)
    {
        if(IsValidSkin(i))
        {
            AddPlayerClass(i,0.0,0.0,0.0,0.0,0,0,0,0,0,0);
        }
    }
    for(new i=0; i<MAX_PLAYERS; i++)
        {
        if(IsPlayerConnected(i))
                {
        SetPVarInt(i,"Warned",0);//to debug
        }
    }
    MaxP = GetMaxPlayers();
 	drawagain();
 	SetTimer("pOnline", SEC2, 1);
 	SetTimer("antiping", 10, true);
    FadeInit();
    ShowPlayerMarkers(0);
    UsePlayerPedAnims();

	GameTimer = SetTimer("GameTime",1000,1);

	PrizeMenu = CreateMenu("Redeemable prizes", 2, 50.0, 180.0, 200.0, 200.0);
	AddMenuItem(PrizeMenu, 0, "Minus 1 warning");
	AddMenuItem(PrizeMenu, 1, "1,000 points");
	AddMenuItem(PrizeMenu, 0, "Spawn armor");
	AddMenuItem(PrizeMenu, 1, "15,000 points");
	AddMenuItem(PrizeMenu, 0, "One match armor");
	AddMenuItem(PrizeMenu, 1, "5,000 points");
	AddMenuItem(PrizeMenu, 0, "Ammo - 500");
	AddMenuItem(PrizeMenu, 1, "50 points");
	AddMenuItem(PrizeMenu, 0, "Skip a level");
	AddMenuItem(PrizeMenu, 1, "600 points");

	Textdraw2 = TextDrawCreate(590.000000,412.000000,"~r~Top Score~n~~w~0");
	TextDrawUseBox(Textdraw2,1);
	TextDrawBoxColor(Textdraw2,0x00000066);
	TextDrawTextSize(Textdraw2,0.000000,80.000000);
	TextDrawAlignment(Textdraw2,2);
	TextDrawBackgroundColor(Textdraw2,0x000000ff);
	TextDrawFont(Textdraw2,1);
	TextDrawLetterSize(Textdraw2,0.399999,1.500000);
	TextDrawColor(Textdraw2,0xffffffff);
	TextDrawSetOutline(Textdraw2,1);
	TextDrawSetProportional(Textdraw2,1);
	TextDrawSetShadow(Textdraw2,1);

	Textdraw0 = TextDrawCreate(86.000000,427.000000,"15:00");
	TextDrawAlignment(Textdraw0,2);
	TextDrawBackgroundColor(Textdraw0,0x000000ff);
	TextDrawFont(Textdraw0,3);
	TextDrawLetterSize(Textdraw0,0.499999,2.000000);
	TextDrawColor(Textdraw0,0xffffffff);
	TextDrawSetOutline(Textdraw0,1);
	TextDrawSetProportional(Textdraw0,1);
	TextDrawSetShadow(Textdraw0,1);
	
	Newbie = TextDrawCreate(500, 100, "Rank: Newbie");
    TextDrawAlignment(Newbie, 1);
    TextDrawFont(Newbie, 2);
    TextDrawLetterSize(Newbie, 0.400, 1.000);
    TextDrawColor(Newbie, COLOR_WHITE);
    TextDrawSetOutline(Newbie, 1);

    BabyKilla = TextDrawCreate(486, 100, "Rank: Baby Killa'");
    TextDrawAlignment(BabyKilla, 1);
    TextDrawFont(BabyKilla, 2);
    TextDrawLetterSize(BabyKilla, 0.400, 1.000);
    TextDrawColor(BabyKilla, COLOR_YELLOW);
    TextDrawSetOutline(BabyKilla, 1);

    Soldier = TextDrawCreate(500, 100, "Rank: Soldier");
    TextDrawAlignment(Soldier, 1);
    TextDrawFont(Soldier, 2);
    TextDrawLetterSize(Soldier, 0.400, 1.000);
    TextDrawColor(Soldier, COLOR_GREEN);
    TextDrawSetOutline(Soldier, 1);

    Gangsta = TextDrawCreate(500, 100, "Rank: Gangsta'");
    TextDrawAlignment(Gangsta, 1);
    TextDrawFont(Gangsta, 2);
    TextDrawLetterSize(Gangsta, 0.400, 1.000);
    TextDrawColor(Gangsta, COLOR_ROYAL);
    TextDrawSetOutline(Gangsta, 1);

    Underboss = TextDrawCreate(483, 100, "Rank: Underboss");
    TextDrawAlignment(Underboss, 1);
    TextDrawFont(Underboss, 2);
    TextDrawLetterSize(Underboss, 0.400, 1.000);
    TextDrawColor(Underboss, COLOR_PURPLE);
    TextDrawSetOutline(Underboss, 1);

    Boss = TextDrawCreate(490, 100, "Rank: Tha' Boss");
    TextDrawAlignment(Boss, 1);
    TextDrawFont(Boss, 2);
    TextDrawLetterSize(Boss, 0.400, 1.000);
    TextDrawColor(Boss, COLOR_TUT);
    TextDrawSetOutline(Boss, 1);
    
    	new var0[128];
        format(var0, 128, "  ");
        TextDraw1 = TextDrawCreate(1.0, 433.0, var0);
        TextDrawSetOutline(TextDraw1, 1);
        TextDrawFont(TextDraw1, 1);
        TextDrawUseBox(TextDraw1, true);
        TextDrawBoxColor(TextDraw1, 0x00A4F222);
        SetTimer("TextDraw", 60, true);
    
    SetTimer("StatsInfromation",300 , 1);
 	for(new playerid = 0; playerid < MAX_PLAYERS; playerid++)
 	  {
	    PlayerStats[playerid] = TextDrawCreate(231.000000,405.000000,"");
	    Textdraw1 = TextDrawCreate(260.000000,391.000000,"STATS");
	    TextDrawUseBox(PlayerStats[playerid],1);
	    TextDrawBoxColor(PlayerStats[playerid],0xffffff33);
	    TextDrawTextSize(PlayerStats[playerid],389.000000,119.000000);
	    TextDrawAlignment(PlayerStats[playerid],0);
	    TextDrawAlignment(Textdraw1,0);
	    TextDrawBackgroundColor(PlayerStats[playerid],0x000000ff);
	    TextDrawBackgroundColor(Textdraw1,0xff000033);
	    TextDrawFont(PlayerStats[playerid],2);
	    TextDrawLetterSize(PlayerStats[playerid],0.399999,1.200000);
	    TextDrawFont(Textdraw1,2);
	    TextDrawLetterSize(Textdraw1,0.799999,1.300000);
	    TextDrawColor(PlayerStats[playerid],0xffffffff);
	    TextDrawColor(Textdraw1,0xffffffff);
	    TextDrawSetOutline(PlayerStats[playerid],1);
	    TextDrawSetOutline(Textdraw1,1);
	    TextDrawSetProportional(PlayerStats[playerid],1);
	    TextDrawSetProportional(Textdraw1,1);
	    TextDrawSetShadow(PlayerStats[playerid],1);
	    TextDrawSetShadow(Textdraw1,1);

	    Save(playerid);
	}
	
	for(new i = 0; i < GetMaxPlayers(); i++)
	{
	if(IsPlayerConnected(i))
	{
	tima[i] = SetTimerEx("Faus",750,1,"d",i);
	____[i] = TextDrawCreate(300,300,"-");
	TextDrawAlignment(____[i],0);
	TextDrawBackgroundColor(____[i],0x000000ff);
	TextDrawFont(____[i],2);
	TextDrawLetterSize(____[i],0.3,1.100000);
	TextDrawColor(____[i],0xffffffff);
	TextDrawSetOutline(____[i],1);
	TextDrawSetProportional(____[i],1);
	TextDrawSetShadow(____[i],1);
	}
	}

	CreateObject(2929,215.853454,1875.336547,13.951337,0.000000,0.000000,179.613388);
	CreateObject(2929,211.808059,1875.290649,13.951243,0.000000,0.000000,181.624099);
	CreateObject(988,96.789436,1920.165771,17.338628,0.000000,0.000000,271.234802);
	CreateObject(987,2776.981689,901.178710,9.765661,0.000000,0.000000,89.843864);
	CreateObject(987,2777.026855,913.340148,9.765661,0.000000,0.000000,90.343864);
	CreateObject(1225,2840.541748,956.958374,10.138525,0.000000,0.000000,168.783798);
	CreateObject(1225,2814.960693,891.875427,10.132592,0.000000,0.000000,186.957321);
	CreateObject(1225,2801.379150,890.245666,10.264112,0.000000,0.000000,194.814102);
	CreateObject(1225,2816.755126,933.871337,10.374737,0.000000,0.000000,256.854705);
	CreateObject(1225,2796.448242,989.189514,10.225549,0.000000,0.000000,257.794677);
	CreateObject(1225,2868.435546,944.667663,10.156861,0.000000,0.000000,318.582000);
	CreateObject(1225,2847.875000,1007.451965,10.111249,0.000000,0.000000,304.336944);

	SetGameModeText(".:COD: Gun Game:.");
	return 1;
}
Reply
#7

anyone? sorry for double posting but I have tried everything and still nothing...
Reply
#8

Are you sure you got the newest includes for 0.3c on all your plugins aswell?
Reply
#9

Quote:
Originally Posted by _rAped
Посмотреть сообщение
Are you sure you got the newest includes for 0.3c on all your plugins aswell?
Yes, I repeat I have downloaded the latest 0.3c package its not the includes but the GameMode...it worked fine before but it looks like I did sumthin to it and now it wont work...but I kinda forgot wat I did last >.>...
Reply
#10

Could be something about your timers that are called under OnGameModeInit()
pawn Код:
SetTimer("pOnline", SEC2, 1);
    SetTimer("antiping", 10, true); // What's this doing it's called like WAY to often and will probably screw you over.

    GameTimer = SetTimer("GameTime",1000,1);
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)