[pomoc] Gasenje

Započeo [PAL]Emir, Decembar 30, 2011, 19:42:06 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Mod koji koristim :moj
Problem: ovako danas smo hostovali server onako cisto za probu smo uzeli kgb 50 slotova ii kad ja i prijatelj udjemo u serverr sve normalno radi a kad udje jaran jedan ugasi konzolu na hostuu eh zna li ko do cega je molim vas ako neko zna odgovor neka mi napisee HVALA UNAPRIJEED!!!

Ima li GameMod Warninga ili Errora?
Mozda ti je do moda to
Trenutni projekt: NightLife Roleplay

Bizz System 40%
House System 70%
Car Ownership 20%
Log/reg System 100%
Poslovi 20%
Anticheat 0%
Organizacije 50%
Event System 0%
Komande 20%

nemaa nista ni warninga ni erora a i kako bi radio sa erorom stvarno neznam sta je


ostali rade normalno a ovaj nece ugasi se konzola al ovaj mi se svidja jer smo ga dosta editovali a neznamo do cega bi moglo biti ako neko zna neka se javii molim vas

Prije bi rekao da je ovo problem sa serverom a ne u skriptanju(nemora značit)

postaj server log fajl..

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3c R5, (C)2005-2011 SA-MP Team

[18:03:31]
[18:03:31] Server Plugins
[18:03:31] --------------
[18:03:31]  Loading plugin: streamer.so
[18:03:31]

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

[18:03:31]   Loaded.
[18:03:31]  Loading plugin: sscanf.so
[18:03:31]

[18:03:31]  ===============================

[18:03:31]       sscanf plugin loaded.    

[18:03:31]    (c) 2009 Alex "Y_Less" Cole

[18:03:31]  ===============================

[18:03:31]   Loaded.
[18:03:31]  Loaded 2 plugins.

[18:03:32]
[18:03:32] Filter Scripts
[18:03:32] ---------------
[18:03:32]   Loading filter script 'kgb_ads.amx'...
[18:03:32]   Loaded 1 filter scripts.

[18:03:32]
----------------------------------
[18:03:32]   Rivershell by Kye 2006

[18:03:32] ----------------------------------

[18:03:32] Number of vehicle models: 3
[18:03:41] --- Server Shutting Down.
[18:03:41]

*** Streamer Plugin v2.5 by Incognito unloaded ***

[18:03:41]

[18:03:41]  ===============================

[18:03:41]      sscanf plugin unloaded.    

[18:03:41]  ===============================


----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[16:25:38] filterscripts = ""  (string)
[16:25:38]
[16:25:38] Server Plugins
[16:25:38] --------------
[16:25:38]  Loading plugin: streamer.so
[16:25:38]

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

[16:25:38]   Loaded.
[16:25:38]  Loading plugin: sscanf.so
[16:25:38]

[16:25:38]  ================================

[16:25:38]       sscanf plugin loaded.    

[16:25:38]    (c) 2009 Alex "Y_Less" Cole

[16:25:38]  ===============================

[16:25:38]   Loaded.
[16:25:38]  Loading plugin: audio.so
[16:25:38]

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

[16:25:38]   Loaded.
[16:25:38]  Loaded 3 plugins.

[16:25:38]
[16:25:38] Filterscripts
[16:25:38] ---------------
[16:25:38]   Loaded 0 filterscripts.

[16:25:38] *** Audio Plugin: Started TCP server on port 7781
[16:25:38] [BC]: Ucitana privatna vozila
[16:25:38] [BC]: Broj privatnih vozila:0
[16:25:38] [BC]: Ucitani bizzovi
[16:25:38] [BC]: Ucitane organizacije
[16:25:38] [BC]: Ucitane kuce
[16:25:38] [BC]: Ucitani stanovi
[16:25:38] [BC]: Ucitane admin baze
[16:25:38]
-----------------------------------------
[16:25:38]  Balkan Country RolePlay by Emir and Vrabac
[16:25:38] -----------------------------------------

[16:25:38] Number of vehicle models: 64
[16:29:29] Incoming connection: 92.36.236.84:1749
[16:29:29] [join] Velid_Vrabac has joined the server (0:92.36.236.84)
[16:29:33] Kamera igraca 0 je 0.
[16:29:45] [part] Velid_Vrabac has left the server (0:2)

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[16:32:51] filterscripts = ""  (string)
[16:32:51]
[16:32:51] Server Plugins
[16:32:51] --------------
[16:32:51]  Loading plugin: streamer.so
[16:32:51]

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

[16:32:51]   Loaded.
[16:32:51]  Loading plugin: sscanf.so
[16:32:51]

[16:32:51]  ===============================

[16:32:51]       sscanf plugin loaded.    

[16:32:51]    (c) 2009 Alex "Y_Less" Cole

[16:32:51]  ===============================

[16:32:51]   Loaded.
[16:32:51]  Loading plugin: audio.so
[16:32:51]

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

[16:32:51]   Loaded.
[16:32:51]  Loaded 3 plugins.

[16:32:51]
[16:32:51] Filterscripts
[16:32:51] ---------------
[16:32:51]   Loaded 0 filterscripts.

[16:32:51] *** Audio Plugin: Started TCP server on port 7781
[16:32:51] [BC]: Zabranjene rijeci ucitane.
[16:32:51] [BC]: Ucitana privatna vozila
[16:32:51] [BC]: Broj privatnih vozila:48
[16:32:51] [BC]: Ucitani bizzovi
[16:32:51] [BC]: Ucitane organizacije
[16:32:52] [BC]: Ucitane kuce
[16:32:52] [BC]: Ucitani stanovi
[16:32:52] [BC]: Ucitane admin baze
[16:32:52]
-----------------------------------------
[16:32:52]  Balkan Country RolePlay by Emir and Vrabac
[16:32:52] -----------------------------------------

[16:32:52] Number of vehicle models: 72
[16:33:27] Incoming connection: 92.36.236.84:2074
[16:33:27] [join] Velid_Vrabac has joined the server (0:92.36.236.84)
[16:33:30] Kamera igraca 0 je 1.
[16:33:46] [part] Velid_Vrabac has left the server (0:2)
[16:37:04] Incoming connection: 109.105.206.193:2215
[16:37:04] [join] Mume_Badnjo has joined the server (0:109.105.206.193)

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3d-R2, (C)2005-2011 SA-MP Team

[16:40:10] filterscripts = ""  (string)
[16:40:10]
[16:40:10] Server Plugins
[16:40:10] --------------
[16:40:10]  Loading plugin: streamer.so
[16:40:10]

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

[16:40:10]   Loaded.
[16:40:10]  Loading plugin: sscanf.so
[16:40:10]

[16:40:10]  ===============================

[16:40:10]       sscanf plugin loaded.    

[16:40:10]    (c) 2009 Alex "Y_Less" Cole

[16:40:10]  ===============================

[16:40:10]   Loaded.
[16:40:10]  Loading plugin: audio.so
[16:40:10]

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

[16:40:10]   Loaded.
[16:40:10]  Loaded 3 plugins.

[16:40:10]
[16:40:10] Filterscripts
[16:40:10] ---------------
[16:40:10]   Loaded 0 filterscripts.

[16:40:10] *** Audio Plugin: Started TCP server on port 7781
[16:40:10] [BC]: Zabranjene rijeci ucitane.
[16:40:10] [BC]: Ucitana privatna vozila
[16:40:10] [BC]: Broj privatnih vozila:48
[16:40:10] [BC]: Ucitani bizzovi
[16:40:10] [BC]: Ucitane organizacije
[16:40:11] [BC]: Ucitane kuce
[16:40:11] [BC]: Ucitani stanovi
[16:40:11] [BC]: Ucitane admin baze
[16:40:11]
-----------------------------------------
[16:40:11]  Balkan Country RolePlay by Emir and Vrabac
[16:40:11] -----------------------------------------

[16:40:11] Number of vehicle models: 72
[16:40:40] Incoming connection: 92.36.236.84:2336
[16:40:41] [join] Velid_Vrabac has joined the server (0:92.36.236.84)
[16:40:44] Kamera igraca 0 je 0.
[16:40:55] [part] Velid_Vrabac has left the server (0:2)
[16:49:07] Incoming connection: 109.105.206.193:2608
[16:49:08] [join] Mume_Badnjo has joined the server (0:109.105.206.193)



I onda se ugasi konzola
Poslednja Izmena: Decembar 30, 2011, 20:40:21 POSLE PODNE od [BC]Emir_Odobasic

sto bi u prijevodu znacilo da ti je greska pod callbackom OnPlayerDisconnect... pretpostavljam da je problem u nekom stringu...

evo callback OnPlayerDisconect

public OnPlayerDisconnect(playerid, reason)
{
UFreeZoni[playerid]=0;
KillTimer( MuteTimer[playerid] );
KillTimer( FreezeTimer[playerid] );
KillTimer( Oslobadjanje[playerid] );
new auto = GetPVarInt(playerid,"PAuto");
new moto = GetPVarInt(playerid,"Motor");
new bike = GetPVarInt(playerid,"Biciklo");
new let = GetPVarInt(playerid,"Letjelica");
new plo = GetPVarInt(playerid,"Plovilo");
if(auto != 9999)
{
SetVehicleToRespawn(auto);
}
if(moto != 9999)
{
SetVehicleToRespawn(moto);
}
if(bike != 9999)
{
SetVehicleToRespawn(bike);
}
if(let != 9999)
{
SetVehicleToRespawn(let);
}
if(plo != 9999)
{
SetVehicleToRespawn(let);
}
if(IsPlayerInAnyVehicle(playerid) && GetPlayerState(playerid)==2)
{
new vid = GetPlayerVehicleID(playerid);
if(vid != moto && vid != bike && vid != auto && vid != let && vid != plo)
SetVehicleToRespawn(vid);
}
//-------------------------------------------------------------------------------
if(GetPVarInt(playerid,"Muted")!=0)
{
Delete3DTextLabel(UtisanLabel[playerid]);
}
//Unistavanje usjeva droge-------------------------------------------------------
if(GetPVarInt(playerid,"Posao")==6)
{
for(new i = 0; i < 30; i++)
{
if(Sadnica[i][dPlayer]==playerid)
{
Sadnica[i][dPlayer]=999;
Sadnica[i][dProgress]=0;
DestroyDynamicObject(Sadnica[i][dObject]);
Sadnica[i][dObject]=CreateDynamicObject(3409,Sadnica[i][dCordX],Sadnica[i][dCordY],73.95099060058594,0.00000000,0.00000000,0.00000000);
KillTimer(DTimer[playerid][0]);
KillTimer(DTimer[playerid][1]);
KillTimer(DTimer[playerid][2]);
}
}
}
if(URazgovoru[playerid]!=9999 || InfoCall[playerid]!=0)
{
    if(ubanu[playerid] == 1) {
   
InfoCall[playerid]=0;
MobChat[playerid]=0;
MobChat[URazgovoru[playerid]]=0;
SetPlayerSpecialAction(URazgovoru[playerid], SPECIAL_ACTION_STOPUSECELLPHONE);
URazgovoru[URazgovoru[playerid]]=9999;
URazgovoru[playerid]=9999;
}
else
{
InfoCall[playerid]=0;
MobChat[playerid]=0;
MobChat[URazgovoru[playerid]]=0;
SendClientMessage(URazgovoru[playerid],COLOR_GREY,"{FFF500}Prekid linija....!");
SetPlayerSpecialAction(URazgovoru[playerid], SPECIAL_ACTION_STOPUSECELLPHONE);
URazgovoru[URazgovoru[playerid]]=9999;
URazgovoru[playerid]=9999;
}

}
if(TransportDuty[playerid] > 0)
{
TransportDuty[playerid]=0;
}
OnPlayerUpdateEx(playerid);
}

Najveci problem je sto se to desi samo kad udje jedna te ista osoba, ali ne svaki puta :S...."Mume_Badnjo" je ulazio par puta i sve je ok bilo, onda je pocelo zezat..i sad kako je hostan server stalno se gasi konzola kad udje :/...drugi server radi bez problema tj moze uc... :S

Citat: Vrabac poslato Decembar 30, 2011, 22:33:29 POSLE PODNE
Najveci problem je sto se to desi samo kad udje jedna te ista osoba, ali ne svaki puta :S...."Mume_Badnjo" je ulazio par puta i sve je ok bilo, onda je pocelo zezat..i sad kako je hostan server stalno se gasi konzola kad udje :/...drugi server radi bez problema tj moze uc... :S

pa zbog neke varijable ti se gasi... provjeri si malo njegove statse pa testiraj... stavi debug na par mjesta u tom callbacku pa ces lakse locirat problem...

evo testirat cu sve zivo, hvala na pomoci!

Nistaa druze ne pomaze pregledali smo sve ali nista :/