SA-MP Forums Archive
Server Running but when i joined i got ... [help] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Server Running but when i joined i got ... [help] (/showthread.php?tid=621765)



Server Running but when i joined i got ... [help] - RedRex - 14.11.2016

Hello i open my server but when i open the server i got this Problem....

I Mean when i uploaded the Files to Ultra-Host and open the server and When i joined to check i got Unknown Gamemode

Its didn't upload my gamemode...

Any help Please?

When i open Console i got this But when i check the PAWNO and check the gamemode i got 0 Warring 0 ERROR
Код:
[13:55:45] Script[gamemodes/DM.amx]: Run time error 19: "File or function is not found"
[13:55:45] Number of vehicle models: 1
PHP код:
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase 
When i check if there any Error

Full Info From Console...

PHP код:
----------
Loaded log file"server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[13:55:45
[
13:55:45Server Plugins
[13:55:45] --------------
[
13:55:45]  Loading pluginstreamer.so
[13:55:45
*** 
Streamer Plugin v2.5.2 by Incognito loaded ***
[
13:55:45]   Loaded.
[
13:55:45]  Loading pluginsscanf.so
[13:55:45
[
13:55:45]  ===============================
[
13:55:45]       sscanf plugin loaded.     
[
13:55:45]    (c2009 Alex "******" Cole
[13:55:45]    0.3d-R2 500 Players "dnee"
[13:55:45]  ===============================
[
13:55:45]   Loaded.
[
13:55:45]  Loaded 2 plugins.
[
13:55:45
[
13:55:45Filterscripts
[13:55:45] ---------------
[
13:55:45]   Loading filterscript 'UltraHost.amx'...
[
13:55:45]   Loading filterscript 'savings.amx'...
[
13:55:45
--------------------------------------
[
13:55:45]  Blank Filterscript by your name here
[13:55:45] --------------------------------------
[
13:55:45]   Loading filterscript 'CMD.amx'...
[
13:55:45]   Loading filterscript 'gl_realtime.amx'...
[
13:55:45]   Loading filterscript 'Zones.amx'...
[
13:55:45]   Loading filterscript 'LuxAdmin.amx'...
[
13:55:45]   Loading filterscript 'version_2.amx'...
[
13:55:45]   Loaded 7 filterscripts.
[
13:55:45Script[gamemodes/DM.amx]: Run time error 19"File or function is not found"
[13:55:45Number of vehicle models1
[13:56:03] [connection92.241.37.32:65001 requests connection cookie



Re: Server Running but when i joined i got ... [help] - SickAttack - 14.11.2016

Load nativechecker or crashdetect, and post the output after the run time error log.


Re: Server Running but when i joined i got ... [help] - RedRex - 14.11.2016

Ok Look Its worked but there is Problem when i connected and i typed my password The server auto Restart and saying Wrong Server Password and the password is work


Re: Server Running but when i joined i got ... [help] - RedRex - 14.11.2016

help me please


Re: Server Running but when i joined i got ... [help] - RedRex - 14.11.2016

PHP код:
14:21:08] [connection92.241.37.32:36994 requests connection cookie.
[
14:21:09] [connectionincoming connection92.241.37.32:36994 id0
[14:21:10] [joinRaniti has joined the server (0:92.241.37.32)
[
14:21:10]  Server Started
[14:21:19] [chat] [Raniti]: test
[14:21:34] [chat] [Raniti]: test
[14:21:35] [chat] [Raniti]: ests
[14:21:35] [chat] [Raniti]: ttest
[14:21:36] [chat] [Raniti]: est
[14:21:36] [chat] [Raniti]: s
[14:21:42] [debugRun time error 4"Array index out of bounds"
[14:21:42] [debug]  Attempted to read/write array element at index 65535 in array of size 500
[14:21:42] [debugAMX backtrace:
[
14:21:42] [debug#0 00001e78 in public OnPlayerDeath (0, 65535, 255) from savings.amx
[14:21:42] [deathRaniti died 255
[14:21:42] [debugServer crashed while executing DM.amx
[14:21:42] [debugAMX backtrace:
[
14:21:42] [debug#0 ffffffff in public OnEnterExitModShop () from DM.amx 
When i connected and Server Restarted


Re: Server Running but when i joined i got ... [help] - RedRex - 15.11.2016

Please all i need help... its took 1 day no help


Re: Server Running but when i joined i got ... [help] - jlalt - 15.11.2016

You're not checking if killerid is valid before executing some codes under OnPlayerDeath callack, so it just simple crashing, I am on phone now and can't explain much, try using samp third debug level to know the exact line which crashing, also as temp fix you may use that code under OnPlayerDeath callback:
PHP код:
if(killerid == 65535) return 1



Re: Server Running but when i joined i got ... [help] - RedRex - 15.11.2016

Quote:
Originally Posted by jlalt
Посмотреть сообщение
You're not checking if killerid is valid before executing some codes under OnPlayerDeath callack, so it just simple crashing, I am on phone now and can't explain much, try using samp third debug level to know the exact line which crashing, also as temp fix you may use that code under OnPlayerDeath callback:
PHP код:
if(killerid == 65535) return 1
ok Onplayerdeath worked but this


Код:
[14:03:55] [debug] Server crashed while executing DM.amx
[14:03:55] [debug] AMX backtrace:
[14:03:55] [debug] #0 ffffffff in public OnEnterExitModShop () from DM.amx
Help me all.