OnPlayerClickMap callback
#1

When i login into my Server and choose character it says Server Closed ConnectioN here Are my logs

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

SA-MP Dedicated Server
----------------------
v0.3d-R2, ©2005-2011 SA-MP Team

[15:49:25]
[15:49:25] Server Plugins
[15:49:25] --------------
[15:49:25] Loading plugin: streamer
[15:49:25]

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

[15:49:25] Loaded.
[15:49:25] Loading plugin: audio
[15:49:25]

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


[15:49:25] Loaded.
[15:49:25] Loading plugin: sscanf
[15:49:25]

[15:49:25] ===============================

[15:49:25] sscanf plugin loaded.

[15:49:25] © 2009 Alex "******" Cole

[15:49:25] 0.3d-R2 500 Players "dnee"

[15:49:25] ===============================

[15:49:25] Loaded.
[15:49:25] Loading plugin: Whirlpool
[15:49:25]
[15:49:25] ==================
[15:49:25]
[15:49:25] Whirlpool loaded
[15:49:25]
[15:49:25] ==================
[15:49:25]
[15:49:25] Loaded.
[15:49:25] Loading plugin: sscanf
[15:49:25]

[15:49:25] ===============================

[15:49:25] sscanf plugin loaded.

[15:49:25] © 2009 Alex "******" Cole

[15:49:25] 0.3d-R2 500 Players "dnee"

[15:49:25] ===============================

[15:49:25] Loaded.
[15:49:25] Loading plugin: xml
[15:49:25] Loaded.
[15:49:25] Loaded 6 plugins.

[15:49:26]
[15:49:26] Filterscripts
[15:49:26] ---------------
[15:49:26] Loading filterscript 'Firework.amx'...
[15:49:26] Loading filterscript 'gcustom.amx'...
[15:49:26] Loading filterscript 'vactions.amx'...
[15:49:26] Loading filterscript 'buttons.amx'...
[15:49:26] Loading filterscript 'audio.amx'...
[15:49:26] *** Audio Plugin: Started TCP server on port 7777
[15:49:26] Loading filterscript 'maploader.amx'...
[15:49:26] MTA Map Loader by Chaser98 loaded
[15:49:26] Loading filterscript 'F_Streamer.amx'...
[15:49:26] *** Audio_SetPack: Error opening "audiopacks/default_pack/example.mp3" for CRC check
[15:49:26] F_Streamer Loaded successful.
[15:49:26] *** Audio_SetPack: Error opening "audiopacks/default_pack/example.ogg" for CRC check
[15:49:26] Loading filterscript 'radiostation.amx'...
[15:49:26] Unable to load filterscript 'radiostation.amx'.
[15:49:26] *** Audio_SetPack: Error opening "audiopacks/default_pack/example.wav" for CRC check
[15:49:26] Loading filterscript 'lsgw3.amx'...
[15:49:26] *** Audio_SetPack: Audio pack set to "default_pack" (transferable)
[15:49:26]
-----------------------------------------
[15:49:26] ---- | /Rules CMD Loaded By Jamie Luciano | -----
[15:49:26] Most Reliable , Useful Command on SA-MP.
[15:49:26] -------------------------------------------

[15:49:26] Loading filterscript 'Townthingy.amx'...
[15:49:26] Unable to load filterscript 'Townthingy.amx'.
[15:49:26] Loading filterscript 'mask.amx'...
[15:49:26] Loading filterscript 'speedometr.amx'...
[15:49:26] Loading filterscript 'IngameColourChanger.amx'...
[15:49:26] Loading filterscript 'iradio.amx'...
[15:49:26] Loading filterscript 'p_create_animation.amx'...
[15:49:26] File 'p_animation.pwn' removed.
[15:49:26] Writting p_animation.pwn
[15:49:26] Generated 'p_animation.pwn' succesfull.
[15:49:26] Loading filterscript 'PS.amx'...
[15:49:26] Loading filterscript 'smartass.amx'...
[15:49:26] Loading filterscript 'espeed.amx'...
[15:49:26] Loading filterscript 'LuxAdmin.amx'...
[15:49:26] Unable to load filterscript 'LuxAdmin.amx'.
[15:49:26] Loading filterscript 'MidoStream.amx'...
[15:49:26] Unable to load filterscript 'MidoStream.amx'.
[15:49:26] Loading filterscript 'StatsBest.amx'...
[15:49:26] Unable to load filterscript 'StatsBest.amx'.
[15:49:26] Loading filterscript 'Gangzone.amx'...
[15:49:26] Unable to load filterscript 'Gangzone.amx'.
[15:49:26] Loading filterscript 'AFKSys.amx'...
[15:49:26] Unable to load filterscript 'AFKSys.amx'.
[15:49:26] Loading filterscript 'Airstrikes.amx'...
[15:49:26] Unable to load filterscript 'Airstrikes.amx'.
[15:49:26] Loading filterscript 'AreaMaker.amx'...
[15:49:26] Unable to load filterscript 'AreaMaker.amx'.
[15:49:26] Loaded 16 filterscripts.

[15:49:26] Factions Loaded

[15:49:26] Buildings Loaded

[15:49:26] Businesses Loaded

[15:49:26] Houses Loaded

[15:49:26] Last house made: 350
[15:49:26] --------------------------------
[15:49:26] South-West Roleplay
[15:49:26] Scripted by Compton's_Eazy_E
[15:49:26] --------------------------------
[15:49:26] Number of vehicle models: 33
[15:51:12] Incoming connection: 127.0.0.1:58141
[15:51:12] [join] Jamie_Luciano has joined the server (0:127.0.0.1)
[15:51:12] AllowPlayerTeleport() : function is deprecated. Please see OnPlayerClickMap()
[15:51:37] [part] Jamie_Luciano has left the server (0:2)
[15:52:07] Incoming connection: 127.0.0.1:58142
[15:52:07] [join] Jamie_Luciano has joined the server (0:127.0.0.1)
[15:52:07] AllowPlayerTeleport() : function is deprecated. Please see OnPlayerClickMap()
[15:52:14] [part] Jamie_Luciano has left the server (0:2)
[15:53:41] Incoming connection: 127.0.0.1:58143
[15:53:41] [join] Jamie_Luciano has joined the server (0:127.0.0.1)
[15:53:41] AllowPlayerTeleport() : function is deprecated. Please see OnPlayerClickMap()
[15:53:49] [part] Jamie_Luciano has left the server (0:2)
[16:06:00] --- Server Shutting Down.

I need help because i am a new script And im Trying to Run A local server for a few friends REP Will be Given For Help Thanks In Advance
Reply
#2

I don't see anything wrong here other than the several errors about filterscripts not being able to start.

I don't see how this has ANYTHING to do with OnPlayerClickMap unless you provide a code that tells us why it might be going down.

PS: Just a tip, think before posting.
Reply
#3

When ever i go into Game ANd choose character it says Server Closed Connection
Reply
#4

Still, you're showing absolutely NO code what-so-ever that will allow us to help you fix your problem
Reply
#5

My guess is because you haven't used SetSpawnInfo before SpawnPlayer, so just check an see if you have SetSpawnInfo in OnPlayerRequestClass or atleast somewhere before SpawnPlayer is called.
If you don't i suggest you read this, https://sampwiki.blast.hk/wiki/SetSpawnInfo

Secondly you can only have a maximum of 16 Filterscripts, to me it looks like you have around 25 or so and most of which are not even in your Filterscripts folder, so remove them from server.cfg
Reply
#6

As i said Before I am New To Scripting And Pawno Etc so i need more help thanks
Reply
#7

bump
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)