Hey LEute, ich habe das MVD Script und der Server schließt sich einfach so immer... aber... wenn ich z.B. Ingame Backup mache oder /gmx mache kommt das hier:
Wenn der Server per /gmx restartet habe ich das hier drinne:
forward BeforeGameModeExit(bizid, playerid);
public BeforeGameModeExit(bizid, playerid)
{
OOCOff(COLOR_OOC,"Der Server wird gleich neugestartet, alle Sachen werden jetzt gespeichert!");
new i=0;
SendClientMessageToAll(COLOR_OOC,"Speichere Spieler Statistik..");
SendClientMessageToAll(COLOR_OOC,"Speichere Privat Fahrzeuge..");
for(; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
SaveMysqlPlayer(i);
OnPlayerCarUpdate_SQL(i);
}
}
for(new id = 0; id < sizeof(BizzInfo); id++)
{
OnPropUpdate_b(id);
}
for(new id = 0; id < sizeof(SBizzInfo); id++)
{
OnPropUpdate_sb(id);
}
SendClientMessageToAll(COLOR_OOC,"Speichere Fraktions Fahrzeuge..");
SaveFractionCars();
SendClientMessageToAll(COLOR_OOC,"Speichere Fraktions Kassen..");
SaveFraktionsKassen();
TextDrawDestroy(InteriorKauf[playerid]);
//OnPropUpdate();
OOCOff(COLOR_OOC,"Der Server wird in 20 Sekunden neugestartet, alle Sachen wurden gespeichert!");
i=0;
for(; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
GameTextForPlayer(i, "~w~Server~n~~r~wird neugestartet", 5000, 1);
GameTextForPlayer(i, "~w~Dein~n~~r~FTR Team", 5000, 1);
}
}
SetTimer("BeforeGameModeExit2", 20000, 0);
return 1;
}
Und hier ist die Serverlog am Ende:
[14:54:24] Incoming connection: 77.21.108.240:57558
[14:54:24] [join] [FTR]MassiveMyth has joined the server (1:77.21.108.240)
[14:54:24] ID:534 X:998.210388 Y:-1460.512695 Z:13.318099
[14:54:24] ID:0 X:0.000000 Y:0.000000 Z:0.000000
[14:54:24] ID:0 X:0.000000 Y:0.000000 Z:0.000000
[14:54:36] Spieler [FTR]MassiveMyth wird geladen
[14:54:36] Spieler [FTR]MassiveMyth geladen
[14:54:41] Spieler:[FTR]MassiveMyth | Befehl:/gmx
[14:54:41] Startet Ausführung !
[14:54:41] UPDATE `accounts` SET banned = '0',admin = '7',donater = '1',upgradepoints = '10',reg = '1',sex = '0',exp = '6',level = '8',hand = '992195066',konto = '-250' WHERE `name` = '[FTR]MassiveMyth'
[14:54:41] UPDATE `accounts` SET crimes = '5',arrested = '0',wanteddeaths = '1',phonebook = '0',lottonr = '51',fishes = '0',biggestfish = '0',job = '0',kills = '2',deaths = '6' WHERE `name` = '[FTR]MassiveMyth'
[14:54:41] UPDATE `accounts` SET jobgehalt = '0',headvalue = '0',jailed = '0',jailtime = '0',mats = '0',gras = '0',lsd = '0',kokain = '0',helmid = '18979' WHERE `name` = '[FTR]MassiveMyth'
[14:54:41] UPDATE `accounts` SET kmedizin = '0',gmedizin = '0',member = '21',rank = '12',charakter = '100',contracttime = '0',health = '0',interior = '21',local = '999',team = '0' WHERE `name` = '[FTR]MassiveMyth'
[14:54:41] UPDATE `accounts` SET pnumber = '11826',housekey = '999',bizzkey = '119',carlic = '1',flylic = '1',motolic = '1',lkwlic = '1',ALG = '0',carinsurance = '1',lifeinsurance = '0' WHERE `name` = '[FTR]MassiveMyth'
[14:54:41] UPDATE `accounts` SET boxmats = '0',boxgras = '0', boxlsd = '0',boxkokain = '0',boatlic = '1',fishlic = '1',gunlic = '1',gun1 = '0',gun2 = '0',gun3 = '0' WHERE `name` = '[FTR]MassiveMyth'
[14:54:41] UPDATE `accounts` SET gun4 = '0',gun5 = '0',ammo1 = '0',ammo2 = '0',ammo3 = '0',ammo4 = '0',ammo5 = '0',cartime = '0',payday = '5',paydayhad = '0' WHERE `name` = '[FTR]MassiveMyth'
[14:54:41] UPDATE `accounts` SET cdplayer = '0',wins = '0',loses = '0',alcoholperk = '0',drugperk = '0',miserperk = '0',painperk = '0',traderperk = '0',detskill = '0',sexskill = '0' WHERE `name` = '[FTR]MassiveMyth'
[14:54:41] UPDATE `accounts` SET boxskill = '0',lawskill = '0',mechskill = '0',jackskill = '0',carskill = '0',newsskill = '0',cockskill = '0',fishskill = '0',farmerskill = '0',tut = '0',warns = '0' WHERE `name` = '[FTR]MassiveMyth'
[14:54:41] UPDATE `accounts` SET fuel = '0',married = '0',marriedto = 'Niemand',kampfstil = '0',spawnchange = '2',wanteds = '0',sflic = '1',lvlic = '1',uhrid = '11',ownperso = '0' WHERE `name` = '[FTR]MassiveMyth'
[14:54:41] UPDATE `accounts` SET pinb = '0',handyid = '0',handyton = '0',handyakku = '1',zigid = '16',zig = '19',zigsucht = '1',handygeld = '0',handyver = '0',GWD = '0.000',playminutes = '53' WHERE `name` = '[FTR]MassiveMyth'
[14:54:41] UPDATE `accounts` SET gesamtminutes = '1749',pfandflaschen = '3',coins = '0',lastonline = '1370952353',frakinvited = '162',online = '1',tutorial = '0',IP = '77.21.108.240' WHERE `name` = '[FTR]MassiveMyth'
[14:54:41] UPDATE `accounts` SET Leben = '100.000000', Armour = '0.000000', DutyChar = '103', Gehalt = '0', Wanted = '0', KastenKit = '0', MedicKit = '0' WHERE `name` = '[FTR]MassiveMyth'
[14:54:41] Endet Ausführung !
Ich weis nicht mehr weiter...