open.mp forum
[Pawn] Can't join to my server. - Printable Version

+ open.mp forum (https://forum.open.mp)
-- Forum: SA-MP (https://forum.open.mp/forumdisplay.php?fid=3)
--- Forum: Pawn Scripting (https://forum.open.mp/forumdisplay.php?fid=10)
--- Thread: [Pawn] Can't join to my server. (/showthread.php?tid=2781)



Can't join to my server. - mrbyte - 2024-06-15

When I connect to my server, it always stuck to 'Connected, Joining the game...'. And then after a few seconds or minutes, the server closed the connection and kicked me. I started the server in localhost. I wonder what the issue is. Please help me.

My plugins are all loaded successfully and up to date also my includes.

My SA-MP is version 0.3.7-R5.

My Includes:
- a_mysql by pBlueG
- samp_bcrypt by Sreyas-Sreelal
- sscanf2 by Y_Less
- streamer by Incognito
- easyDialog by Emmet_
- KZI by KowaZ
- NH by BlackGreen
- actor_robbery by PatrickGTR
- discord-cmd by AkshayMohan
- discord-connector by maddinat0r
- samp-precise-timers by bmisiak
- nex-ac by NexiusTailer
- izcmd by YashasSamaga
- YSI by Y_Less

My Plugins:
- a_mysql by pBlueG
- samp_bcrypt by Sreyas-Sreelal
- sscanf2 by Y_Less
- streamer by Incognito
- discord-connector by maddinat0r
- samp-precise-timers by bmisiak

Here's the console output (Nothing wrong in the console I guess?):
PHP Code:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[21:15:25] filterscripts = ""  (string)
[
21:15:25]
[
21:15:25] Server Plugins
[21:15:25] --------------
[
21:15:25]  Loading plugin: samp_bcrypt
[21:15:25] [SampBcrypt] [info]: Version: 0.4.1
[21:15:25]  Loaded.
[
21:15:25]  Loading plugin: sscanf
[21:15:25]
[
21:15:25]  ===============================
[
21:15:25]
[
21:15:25]      sscanf plugin loaded.   
[21:15:25]
[
21:15:25]          Version: 2.13.8
[21:15:25]
[
21:15:25]    (c) 2022 Alex "Y_Less" Cole 
[21:15:25]
[
21:15:25]  ===============================
[
21:15:25]
[
21:15:25]  Loaded.
[
21:15:25]  Loading plugin: streamer
[21:15:25]

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

[
21:15:25]  Loaded.
[
21:15:25]  Loading plugin: mysql
[21:15:25]  >> plugin.mysql: R41-4 successfully loaded.
[
21:15:25]  Loaded.
[
21:15:25]  Loading plugin: discord-connector
[21:15:27]  >> plugin.dc-connector: v0.3.5 successfully loaded.
[
21:15:27]  Loaded.
[
21:15:27]  Loading plugin: samp-precise-timers
[21:15:27] samp-precise-timers info: samp-precise-timers v3 (c) Brian Misiak loaded correctly.
[
21:15:27]  Loaded.
[
21:15:27]  Loaded 6 plugins.

[
21:15:27]
[
21:15:27] Ban list
[
21:15:27] --------
[
21:15:27]  Loaded: samp.ban
[21:15:27]
[
21:15:27]
[
21:15:27] Filterscripts
[21:15:27] ---------------
[
21:15:27]  Loaded 0 filterscripts.

[
21:15:27] 
[21:15:27] --------------------------------------
[
21:15:27]  Anticheat Nex-AC loaded!
[
21:15:27]  Anticheat version: 1.9.64
[21:15:27]  Author: Nexius
[21:15:27] --------------------------------------

[
21:15:27] 
[21:15:27] 
[21:15:27]          ==============================================================
[
21:15:27]          |                                                            |
[
21:15:27]          |                                                            |
[
21:15:27]          |    YYYYYYY      YYYYYYY    SSSSSSSSSSSSSSS  IIIIIIIIII    |
[
21:15:27]          |    Y:::::Y      Y:::::Y  SS:::::::::::::::S I::::::::I    |
[
21:15:27]          |    Y:::::Y      Y:::::Y S:::::SSSSSS::::::S I::::::::I    |
[
21:15:27]          |    Y::::::Y    Y::::::Y S:::::S    SSSSSSS II::::::II    |
[
21:15:27]          |    YYY:::::Y  Y:::::YYY S:::::S              I::::I      |
[
21:15:27]          |      Y:::::Y Y:::::Y    S:::::S              I::::I      |
[
21:15:27]          |        Y:::::Y:::::Y      S::::SSSS            I::::I      |
[
21:15:27]          |        Y:::::::::Y        SS::::::SSSSS      I::::I      |
[
21:15:27]          |          Y:::::::Y          SSS::::::::SS    I::::I      |
[
21:15:27]          |          Y:::::Y              SSSSSS::::S    I::::I      |
[
21:15:27]          |          Y:::::Y                    S:::::S  I::::I      |
[
21:15:27]          |          Y:::::Y                    S:::::S  I::::I      |
[
21:15:27]          |          Y:::::Y        SSSSSSS    S:::::S II::::::II    |
[
21:15:27]          |        YYYY:::::YYYY    S::::::SSSSSS:::::S I::::::::I    |
[
21:15:27]          |        Y:::::::::::Y    S:::::::::::::::SS  I::::::::I    |
[
21:15:27]          |        YYYYYYYYYYYYY      SSSSSSSSSSSSSSS    IIIIIIIIII    |
[
21:15:27]          |                                                            |
[
21:15:27]          |                                                            |
[
21:15:27]          |                      (c) 2021 MPL v1.1                    |
[
21:15:27]          |            Alex "Y_Less" Cole and contributors.            |
[
21:15:27]          |                                                            |
[
21:15:27]          |                                                            |
[
21:15:27]          ==============================================================
[
21:15:27] 
[21:15:27] 
[21:15:27]  ==========================================
[
21:15:27]  |                                        |
[
21:15:27]  |  Generating code, this may take a    |
[
21:15:27]  |  little bit of time.  Note that this  |
[
21:15:27]  |  code generation works best with the  |
[
21:15:27]  |    JIT plugin, which you are not      |
[
21:15:27]  |    currently using.  Get it here:    |
[
21:15:27]  |                                        |
[
21:15:27]  |      https://git.io/jit-plugin        |
[21:15:27]  |                                        |
[
21:15:27]  |            Please wait...            |
[
21:15:27]  |                                        |
[
21:15:27]  |            Done in 53ms!              |
[
21:15:27]  |                                        |
[
21:15:27]  ==========================================
[
21:15:27]  Filterscript '../scriptfiles/callbackfix.amx' loaded.
[
21:15:27]  |                                        |
[
21:15:27]  | Server:      0.3.7-R2 (W)              |
[
21:15:27]  | Started:    15 Jun 2024 - 21:15:27    |
[
21:15:27]  |                                        |
[
21:15:27]  | Compiler:    3.10.10 (Windows)        |
[
21:15:27]  | Includes:    0.3DL                    |
[
21:15:27]  | Codepage:    <none>                    |
[
21:15:27]  | Built:      15 Jun 2024 - 21:15:17    |
[
21:15:27]  |                                        |
[
21:15:27]  | YSI:        v05.10.0006              |
[
21:15:27]  | Master:      -1                        |
[
21:15:27]  |                                        |
[
21:15:27]  | JIT:        <none>                    |
[
21:15:27]  | Crashdetect: <none>                    |
[
21:15:27]  |                                        |
[
21:15:27]  ==========================================
[
21:15:27] 
[21:15:27] 
[21:15:27] -> [MYSQL]: MySQL is successfully connected and all tables are created.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/bigjump.ini' has successfully loaded. Map file initiated with '183' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/deathglobestunt.ini' has successfully loaded. Map file initiated with '29' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/deathjump.ini' has successfully loaded. Map file initiated with '109' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/desertairportstunt.ini' has successfully loaded. Map file initiated with '191' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/drift.ini' has successfully loaded. Map file initiated with '26' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/dropstunt.ini' has successfully loaded. Map file initiated with '748' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/extremestuntersparks.ini' has successfully loaded. Map file initiated with '463' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/f1stuntnova.ini' has successfully loaded. Map file initiated with '697' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/glassmadness.ini' has successfully loaded. Map file initiated with '138' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/halfpipe.ini' has successfully loaded. Map file initiated with '48' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/kartingstunt.ini' has successfully loaded. Map file initiated with '196' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/megajumpstunt.ini' has successfully loaded. Map file initiated with '25' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/mountchilliadstunt.ini' has successfully loaded. Map file initiated with '26' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/nrgbuildingstunt.ini' has successfully loaded. Map file initiated with '70' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/pipejump.ini' has successfully loaded. Map file initiated with '84' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/rallystunt.ini' has successfully loaded. Map file initiated with '993' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/stuntcity.ini' has successfully loaded. Map file initiated with '242' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/stuntpark.ini' has successfully loaded. Map file initiated with '93' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/xsquarestunt.ini' has successfully loaded. Map file initiated with '248' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/stunts/xtremestuntages.ini' has successfully loaded. Map file initiated with '15' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/mta/allsaints.ini' has successfully loaded. Map file initiated with '59' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/mta/mrbytemta.ini' has successfully loaded. Map file initiated with '350' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/mta/remakelscityhall.ini' has successfully loaded. Map file initiated with '397' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/mta/sftombbridge.ini' has successfully loaded. Map file initiated with '1' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/mta/sfwangcars.ini' has successfully loaded. Map file initiated with '12' Objects.
[
21:15:27]
-> [
MAP]: 'WORTDM/maps/mta/vicecity.ini' has successfully loaded. Map file initiated with '1100' Objects.
[
21:15:27]
-> [
MAP]: Due to some problem, the 'WORTDM/maps/mta/viparea.ini' map file couldn't be loaded.
[21:15:27]
-> [CONFIG]: Server Configurations has been loaded successfully.
[21:15:27] -> Anti Spam: [Enabled]
[21:15:27] -> Anti Swear: [Enabled]
[21:15:27] -> Read Commands: [Enabled]
[21:15:27] -> Chat Disabled: [Disabled]
[21:15:27] -> Forbidden Name: [Enabled]
[21:15:27] -> Anti Advertisement: [Enabled]
[21:15:27] -> Read Private Messages: [Enabled]

[21:15:27] -> World Of RedTurbo'
s | [0.3.7] | WORTDM ~ RP [v1.0] <-

[
21:15:27] Number of vehicle models: 0
[21:15:27] -> [BUSINESS]: No businesses found on database to load it.
[
21:15:27] -> [HOUSE]: No houses found on database to load it.
[
21:15:27] -> [VEHICLE]: No vehicles found on database to load it.
[
21:16:05] [connection] incoming connection: 127.0.0.1):61367 id: 0
[21:16:05] [join] Mr.Byte has joined the server (0:127.0.0.1)
[
21:16:35] Kicking 127.0.0.1 because they didn't logon to the game. 

Screenshot:
https://imgur.com/a/EltgfUJ


RE: Can't join to my server. - Worm - 2024-06-15

Seems like you are being kicked because you havn't logged in?
If you are not getting the pop up to insert your password, then probably you are doing something wrong in the code.

Check your OnPlayerConnect and see how you are handling the player's connection.


RE: Can't join to my server. - mrbyte - 2024-06-17

The issue has been solved.


RE: Can't join to my server. - gpayment99 - 2024-09-15

What is the problem of this issue and How do you fix it?