Why i spawned server Restart Why?
#1

Hello Guyz There is a Problem... When i joined and Logging From Gamemode I Make For Admin SYstem

Register & Login System Again for Save Status Admin

So now when i spawned The Server Restart i dont know Why!! do you can help me ??

Wait let me give you the server_log

Код:
[13:43:34] |**         J.L. SA:MP Server Administration       **|

[13:43:34]                     System V 1.0                     

[13:43:34]  [JLADMIN] Auto login         1
[13:43:34]  [JLADMIN] Must register      0
[13:43:34]  [JLADMIN] Detect pausers     1
[13:43:34]  [JLADMIN] MaxPing            8000
[13:43:34]  [JLADMIN] AntiSpam           1
[13:43:34]  [JLADMIN] PM Dialog          1
[13:43:34]  [JLADMIN] AntiWeaponHack     1
[13:43:34]  [JLADMIN] MaxAdminLevel      6
[13:43:34]  [JLADMIN] Anti Bad Words     1
[13:43:34]  [JLADMIN] AntiBanEvade       1
[13:43:34]  [JLADMIN] Anti Advertise     1
[13:43:34]  [JLADMIN] AdminImmunity      1
[13:43:34]  [JLADMIN] ShowPmstoAdmins    1
[13:43:34]  [JLADMIN] ReadCommands       1
[13:43:34]  [JLADMIN] AntiCheatBans      1
[13:43:34]  [JLADMIN] Allow changename   1
[13:43:34]  [JLADMIN] ForbiddenNamesKick 1
[13:43:34]  [JLADMIN] PartNamesKick      1
[13:43:34] 
-- No Illegal Weapons Loaded! --

[13:43:34] 
-- No Forbidden nick names Loaded! --

[13:43:34] 
-- No Forbidden Part nicks Loaded! --

[13:43:34] 
-- No Bad words Loaded! --

[13:43:34] --No Teleports loaded!--
[13:43:34]   Loading filterscript 'Zones.amx'...
[13:43:34]   Loading filterscript 'afk_system.amx'...
[13:43:34]   Loading filterscript 'version_2.amx'...
[13:43:34]   Loaded 9 filterscripts.

[13:43:34]  
[13:43:34]  ======================================= 
[13:43:34]  |                                     | 
[13:43:34]  |        YSI version 3.01.0002        | 
[13:43:34]  |        By Alex "******" Cole        | 
[13:43:34]  |                                     | 
[13:43:34]  ======================================= 
[13:43:34]  
[13:43:34] OnGameo
[13:43:34] 
------------------------------------
[13:43:34]    LOS SANTOS STREET WARS {NEW} 
[13:43:34]        Developed by : RedRex     
[13:43:34] 	       Bot Script by RedRex  
[13:43:34] ------------------------------------

[13:43:34]                Loading...             
[13:43:34] Number of vehicle models: 50
[13:43:34]  
[13:43:34]  ========================================== 
[13:43:34]  |                                        | 
[13:43:34]  |  A new version (v3.09.0684) of YSI is  | 
[13:43:34]  |            available from:             | 
[13:43:34]  |                                        | 
[13:43:34]  |     www.y-less.com/YSI/YSI_1.0.zip     | 
[13:43:34]  |                                        | 
[13:43:34]  | Changelog:                             | 
[13:43:34]  |                                        | 
[13:43:34]  |   3.00.0000:                           | 
[13:43:34]  |                                        | 
[13:43:34]  |   YSI 3.0 released!  Now includes the  | 
[13:43:34]  | "y_text" library for better messages,  | 
[13:43:34]  | and a reworked "y_classes" library.    | 
[13:43:34]  | Largely documented here                | 
[13:43:34]  | "http://forum.sa-mp.com/showthread.php | 
[13:43:34]  | ?t=321092".                            | 
[13:43:34]  |                                        | 
[13:43:34]  |   3.01.0002:                           | 
[13:43:34]  |                                        | 
[13:43:34]  |   Small fixes to "y_text" and          | 
[13:43:34]  | "y_classes".                           | 
[13:43:34]  |                                        | 
[13:43:34]  |   3.09.0684:                           | 
[13:43:34]  |                                        | 
[13:43:34]  |   Reverted to old download location.   | 
[13:43:34]  | Improved (and fixed) version checks;   | 
[13:43:34]  | added y_bitmap, y_areas, y_races,      | 
[13:43:34]  | y_zonenames, better documentation;     | 
[13:43:34]  | MANY other bug fixes - see the github  | 
[13:43:34]  | repository for more details:           | 
[13:43:34]  |                                        | 
[13:43:34]  ========================================== 
[13:43:34]  
[13:43:34]  
[13:43:34]  ========================================== 
[13:43:34]  |                                        | 
[13:43:34]  |  A new version (v3.09.0684) of YSI is  | 
[13:43:34]  |            available from:             | 
[13:43:34]  |                                        | 
[13:43:34]  |     www.y-less.com/YSI/YSI_1.0.zip     | 
[13:43:34]  |                                        | 
[13:43:34]  | Changelog:                             | 
[13:43:34]  |                                        | 
[13:43:34]  |   3.09.0684:                           | 
[13:43:34]  |                                        | 
[13:43:34]  |   Reverted to old download location.   | 
[13:43:34]  | Improved (and fixed) version checks;   | 
[13:43:34]  | added y_bitmap, y_areas, y_races,      | 
[13:43:34]  | y_zonenames, better documentation;     | 
[13:43:34]  | MANY other bug fixes - see the github  | 
[13:43:34]  | repository for more details:           | 
[13:43:34]  |                                        | 
[13:43:34]  ========================================== 
[13:43:34]  
[13:46:08] [connection] 92.241.37.27:43002 requests connection cookie.
[13:46:09] [connection] incoming connection: 92.241.37.27:43002 id: 0
[13:46:10] [join] RedRex has joined the server (0:92.241.37.27)
[13:46:10]  Server Started
[13:46:34] [chat] [RedRex]: Ok now when i typed again /register i got Restart see
[13:46:53] [chat] [RedRex]: test
[13:47:06] [chat] [RedRex]: When i spawned i got Restart This my problem see
Reply
#2

Код:
CMD:register(playerid,params[])
{
	if(pInfo[playerid][Logged] == 1) return SendClientMessage(playerid,red,"You are already registered and logged in!");
	format(Jstring, 128, ACCOUNTS_PATH, GetName(playerid));
	if(fexist(Jstring))
    {
        SendClientMessage(playerid,red,"Error - This nick name is already in use!");
		SendClientMessage(playerid,lighterblue,"Please '/login' to access the account");
		return 1;
    }
	ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD,"Register an account!", "{00FFFF}Please Enter the password to register an account:", "Register", "No Thanks");
	return 1;
}
Reply
#3

Use -d3 flag.
Reply
#4

Sorry for the long time but im not saw it ok i'll give you

Код:
[15:07:00] [debug] Server crashed while executing DM.amx
[15:07:00] [debug] AMX backtrace:
[15:07:00] [debug] #0 ffffffff in public OnEnterExitModShop () from DM.amx
This!!! i check OnEnterExitModShop im not find it.
Reply
#5

bumb
Reply
#6

Dont' bumb until 24h and show us OnEnterExitModShop() from DM.pwn
Reply
#7

There was an old odd bug (similar to your case) but run time error 6 was given instead of crash. Best bet is to update to YSI 4 and crashdetect and try again.

As you have cut off the most important part of the server log where plugins are being loaded, I'll just tell you to update them all along with the includes the script is using.

About the restart, check if you specify a bigger size than the size of the string itself (use sizeof operator to avoid this) in format function.
Reply
#8

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
There was an old odd bug (similar to your case) but run time error 6 was given instead of crash. Best bet is to update to YSI 4 and crashdetect and try again.

As you have cut off the most important part of the server log where plugins are being loaded, I'll just tell you to update them all along with the includes the script is using.

About the restart, check if you specify a bigger size than the size of the string itself (use sizeof operator to avoid this) in format function.
Look Bro

My includes is

Код:
//includes
#include <a_samp>
#include <zcmd>
#include <strlib>
#include <sscanf2>
#include <YSI\y_ini>
so when i find the sizeof i didn't find a bigger font so what the problem...

i update the YSI and crashdetect if you want i give you my ip server for more Infor about Restart ...
Reply
#9

Did you can help me ?
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)