Jump to content

[REZOLVAT] Cum pot sa rezolv aceasta problema?


MaRiN1
 Share

Recommended Posts

Intrebare: Am o problema, daca un player intra pe server cel de-al doilea player care incearca sa intre nu se poate loga.
Ai încercat să faci ceva înainte să postezi?: Da, am incercat sa rezolv dar nu stiu de la ce este aceasta problema.

 

OnPlayerConnect: https://pastebin.com/LGJyMbDf

server_log:

01:28:13] [debug] #0 001eb678 in ?? (1) from gamemode.amx
[01:28:13] [debug] #1 00038408 in public AB_OnPlayerConnect (1) from gamemode.amx
[01:28:13] [debug] #2 0001bc64 in public L_AFK_OPC (1) from gamemode.amx
[01:28:13] [debug] #3 native CallLocalFunction () from samp03svr
[01:28:13] [debug] #4 0001b248 in public GAC_OnPlayerConnect (1) from gamemode.amx
[01:28:13] [debug] #5 native CallLocalFunction () from samp03svr
[01:28:13] [debug] #6 0001a47c in public MP_OPC (1) from gamemode.amx
[01:28:13] [debug] #7 native CallLocalFunction () from samp03svr
[01:28:13] [debug] #8 0001746c in ?? (1) from gamemode.amx
[01:28:13] [debug] #9 0000e4e8 in public SSCANF_OnPlayerConnect (1) from gamemode.amx
[01:28:13] [debug] #10 000024fc in public Itter_OnPlayerConnect (1) from gamemode.amx
[01:28:13] [debug] #11 0000135c in public OnPlayerConnect (1) from gamemode.amx

 

Link to comment
Share on other sites

Acum 2 minute, L0K3D a spus:

De ce ar fi de la mSelection? Fii mai explic, ce vrei sa spui prin "nu se poate loga"? Primeste kick, ban, ori?..

Nu primeste kick, ban. Pur si simplu nu iti apare nimic, doar ca mori la nesfarsit. Este de la mSelection pentru ca am descoperit ca asta:

#define OnPlayerConnect MP_OPC

forward MP_OPC(playerid);

in acel include.

iar in server_log apare:

[23:55:44] [debug] #3 0001a160 in public MP_OPC (1) from gamemode.amx
[23:55:44] [debug] #4 native CallLocalFunction () from samp-server.exe
[23:55:44] [debug] #5 00017150 in ?? (1) from gamemode.amx

Edited by MaRiN1
Link to comment
Share on other sites

Acum 9 minute, L0K3D a spus:

Nu afecteaza cu nimic serverul, e un hook. Poti arata un video cu ce se intampla?

asa face:

daca intra cineva, al doilea nu mai poate intra pe server, asa ii face.

Edited by MaRiN1
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...