Can't Login to my server
#1

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

SA-MP Dedicated Server
----------------------
v0.3z, ©2005-2014 SA-MP Team

[22:05:55]
[22:05:55] Server Plugins
[22:05:55] --------------
[22:05:55] Loading plugin: mysql.dll
[22:05:55]

> MySQL plugin R6-2 successfully loaded.

[22:05:55] Loaded.
[22:05:55] Loading plugin: streamer.dll
[22:05:55]

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

[22:05:55] Loaded.
[22:05:55] Loading plugin: Whirlpool.dll
[22:05:55]
[22:05:55] ==================
[22:05:55]
[22:05:55] Whirlpool loaded
[22:05:55]
[22:05:55] ==================
[22:05:55]
[22:05:55] Loaded.
[22:05:55] Loading plugin: sscanf.dll
[22:05:55]

[22:05:55] ===============================

[22:05:55] sscanf plugin loaded.

[22:05:55] Version: 2.8.1

[22:05:55] © 2012 Alex "******" Cole

[22:05:55] ===============================

[22:05:55] Loaded.
[22:05:55] Loading plugin: crashdetect.dll
[22:05:55] CrashDetect v4.11.2 is OK.
[22:05:55] Loaded.
[22:05:55] Loaded 5 plugins.

[22:05:55]
[22:05:55] Ban list
[22:05:55] --------
[22:05:55] Loaded: samp.ban
[22:05:55]
[22:05:55]
[22:05:55] Filterscripts
[22:05:55] ---------------
[22:05:55] Loading filterscript 'yom_buttons.amx'...
[22:05:55] Loading filterscript 'anims.amx'...
[22:05:55] Loading filterscript 'zmapping.amx'...
[22:05:55] Loading filterscript 'dmapping.amx'...
[22:05:55] Loading filterscript 'ls_elevator.amx'...
[22:05:55] Loading filterscript 'filterscripts1.amx'...
[22:05:55]
----------------------------------------
[22:05:55] Anti FakeKill Flood FilterScript
[22:05:55] ----------------------------------------

[22:05:55] Loading filterscript 'mapping.amx'...
[22:05:55]
--------------------------------------
[22:05:55] Mapping by Khazard
[22:05:55] --------------------------------------

[22:05:55] Loaded 7 filterscripts.

[22:06:00] Gates loaded successfully.
[22:06:09]
----------------------------------
[22:06:09] Night Bridge Roleplay
[22:06:09] ----------------------------------

[22:06:09] Number of vehicle models: 119
[22:06:09] New version of CrashDetect is available for download (4.13)
[22:07:54] Incoming connection: 192.168.1.113:2615
[22:07:54] [join] Larry_Tiger has joined the server (0:192.168.1.113)
[22:08:52] [part] Larry_Tiger has left the server (0:1)
[22:09:17] --- Server Shutting Down.
[22:09:17]

> MySQL plugin unloaded.

[22:09:17]

*** Streamer Plugin v2.6.1 by Incognito unloaded ***

[22:09:17]
[22:09:17] ====================
[22:09:17]
[22:09:17] Whirlpool unloaded
[22:09:17]
[22:09:17] ====================
[22:09:17]
[22:09:17]

[22:09:17] ===============================

[22:09:17] sscanf plugin unloaded.

[22:09:17] ===============================


This is my chatlog, Why if i login to my server, I never seen Login Dialog?? But i have script on my pawno and no error
Reply
#2

Here some explaination with pictures

If i try to connect on my local host, My screen just stay on this picture "Please Check Below"

My Lan Server Status, Im not online on that time "Please check below"

But, If i tab ingame, It's not lag "Please check the picture below"
Reply
#3

are you try to connect to samp default mode ?

if connect to samp default server success => your script problem

=> Show us login code
Reply
#4

Код:
stock ShowMainMenuDialog(playerid, frame) {
	new
		string[180];

	switch(frame) {
		case 1: {
			format(string, sizeof(string), "{FFFFFF}That username is registered, please enter your password below.\n\n{00FFFF}Username: {FFFFFF}%s\n\n{00FFFF}Password:", GetPlayerNameEx(playerid));
			ShowPlayerDialogEx(playerid,MAINMENU,DIALOG_STYLE_PASSWORD,"{00FFFF}Night Bridge Roleplay - Login",string,"Login","Quit");
		}
		case 2: {
			format(string, sizeof(string), "{FFFFFF}You may register this username by entering your desired password below.\n\n{00FFFF}Username: {FFFFFF}%s\n\n{00FFFF}Choose a Password:", GetPlayerNameEx(playerid));
			ShowPlayerDialogEx(playerid,MAINMENU2,DIALOG_STYLE_PASSWORD,"{00FFFF}Night Bridge Roleplay - Registration",string,"Register","Quit");
		}
		case 3: {
			format(string, sizeof(string), "{FFFFFF}Wrong password.\n\n{FFFFFF}That username is registered, please enter your password below.\n\n{00FFFF}Username: {FFFFFF}%s\n\n{00FFFF}Password:", GetPlayerNameEx(playerid));
			ShowPlayerDialogEx(playerid,MAINMENU,DIALOG_STYLE_PASSWORD,"{00FFFF}Night Bridge Roleplay - Login",string,"Login","Quit");
		}
	}

	return true;
}
Код:
	if(PlayerInfo[playerid][pTut] == 0)
		{
			TogglePlayerControllable(playerid,0);
			SetPlayerColor(playerid,PLAYER_COLOR_DEFAULT);
			SetPlayerPos(playerid, 1793.1051,-1888.9309,-3.7859);
			SetPlayerCameraPos(playerid, 1827.5408,-1844.1276,24.1700);
		   	SetPlayerCameraLookAt(playerid, 1784.6790,-1889.7606,13.3927);
   			ShowPlayerDialogEx(playerid, DIALOG_REG_MENUONE, DIALOG_STYLE_MSGBOX, "{00FFFF}Night Bridge Roleplay - Registration", "{FFFFFF}What do you want your character's gender to be?", "Male", "Female");
			SetPlayerVirtualWorld(playerid, 70707);
			return true;
		}
Код:
	else if(dialogid == DIALOG_REG_MENUONE)
	{
	    if(response) {
	        PlayerInfo[playerid][pSex] = 1;
	        PlayerInfo[playerid][pSkin] = NOOB_SKIN;
	    } else {
	        PlayerInfo[playerid][pSex] = 2;
	        PlayerInfo[playerid][pSkin] = 55;
	    }
	    
	    format(szQuery, sizeof(szQuery), "UPDATE players SET Sex = %d WHERE ID = %d LIMIT 1", PlayerInfo[playerid][pSex], PlayerInfo[playerid][pID]);
		HRPQuery(szQuery, THREAD_NO_RESULT, INVALID_PLAYER_ID, g_MySQLConnections[0]);
	    ShowPlayerDialogEx(playerid, DIALOG_REG_MENUTWO, DIALOG_STYLE_INPUT, "{00FFFF}Night Bridge Roleplay - Registration", "{FFFFFF}What do you want your character's age to be?\n\nNote: The age must be no lower than 18 and no higher than 90.", "Done", "");
	}
	else if(dialogid == DIALOG_REG_MENUTWO)
	{
		if(!IsNumeric(inputtext))
		{
			ShowPlayerDialogEx(playerid, DIALOG_REG_MENUTWO, DIALOG_STYLE_INPUT, "{00FFFF}Night Bridge Roleplay - Registration", "{FFFFFF}ENTRY DECLINED: You must enter a number!\n\nWhat do you want your character's age to be?\n\nNote: The age must be no lower than 18 and no higher than 90.", "Done", "");
			return true;
		}
		new age = strval(inputtext);
		if(age < 18 || age > 90)
		{
			ShowPlayerDialogEx(playerid, DIALOG_REG_MENUTWO, DIALOG_STYLE_INPUT, "{00FFFF}Night Bridge Roleplay - Registration", "{FFFFFF}ENTRY DECLINED: The age can only be from 18 to 90!\n\nWhat do you want your character's age to be?\n\nNote: The age must be no lower than 18 and no higher than 90.", "Done", "");
			return true;
		}

		PlayerInfo[playerid][pAge] = age;
		SetPlayerVirtualWorld(playerid, 0);

        format(szQuery, sizeof(szQuery), "UPDATE players SET Age = %d WHERE ID = %d LIMIT 1", PlayerInfo[playerid][pAge], PlayerInfo[playerid][pID]);
		HRPQuery(szQuery, THREAD_NO_RESULT, INVALID_PLAYER_ID, g_MySQLConnections[0]);
		ShowPlayerDialogEx(playerid, DIALOG_REG_MENUTHREE, DIALOG_STYLE_MSGBOX, "{00FFFF}Night Bridge Roleplay - Registration", "{FFFFFF}Have you been referred here by one of our players?", "Yes", "No");
  	}
	else if(dialogid == DIALOG_PAINTBALL_MENU) {
		if(!response)
		    return true;

		switch(listitem) {
			case 0: {
			    // Paintball is static right now; I may change this in the future. Each arena has its own static ID, DM goes from 1-3, TDM goes from 4-6
			    ShowPlayerDialogEx(playerid, DIALOG_PAINTBALL_DM, DIALOG_STYLE_LIST, "Paintball - DM", "LV Warehouse\nRandom Warehouse\nRC Battlefield", "Go", "Cancel");
			}
			case 1: {
			    // Paintball is static right now; I may change this in the future. Each arena has its own static ID, DM goes from 1-3, TDM goes from 4-6
			    ShowPlayerDialogEx(playerid, DIALOG_PAINTBALL_TDM, DIALOG_STYLE_LIST, "Paintball - TDM", "LV Warehouse\nRandom Warehouse\nRC Battlefield", "Go", "Cancel");
			}
			case 2: {
			    new
			        iPlayer = INVALID_PLAYER_ID;

			    foreach(new i : Player) {
					if(GetPVarInt(i, "PBM") > 0) {
					    iPlayer = i; // always going to get the highest ID because ****** never added a 'break;' for foreach ~_~ ...or didn't document it
					}
			    }

			    if(iPlayer == INVALID_PLAYER_ID)
			        return SendClientMessage(playerid, COLOR_GREY, "Sorry, there's no players in any games right now.");

			    JoinPaintballGame(playerid, GetPVarInt(iPlayer, "PBM"));
			}
		}
	}
I just post Login not the tutorial
Reply
#5

Anyone can help me to my problem?
Reply
#6

BUMP, ANYONE CAN HELP ME? KONSTATINOS? please help me, im begging you
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)