White Screen?
#21

When you say San Andreas Bug, do you mean its my GTA thats the problem?
because im 100% sure this isnt the problem, every single of you who would try to log in on the server now would get this screen.

Already tried to ask people to log in to try it out they have same problem

So its not that.

EDIT: What would this proof exactly, iff i runned the server on a VirtualBox the server would work fine since it works on Local but as soon as i upload it to the Host this starts happening
Reply
#22

Quote:

When you say San Andreas Bug, do you mean its my GTA thats the problem?
because im 100% sure this isnt the problem, every single of you who would try to log in on the server now would get this screen.

This "bug" can happen in single player aswell as SA-MP/MTA.
Quote:

What would this proof exactly, iff i runned the server on a VirtualBox the server would work fine since it works on Local but as soon as i upload it to the Host this starts happening

If the "white screen" ONLY happens on your host, and not your computer/VirtualBox/another Linux system - then it could be your hosts problem.
Reply
#23

Screw the dobble postig!!

When you click "spawn" it sets the payer position to (207163493188815720000000.0000, 70194786481132524000000000.0000, 273289578834793860000.0000). Type /save when you click spawn.
Reply
#24

Lol wtf happend to Forum ?
well..


AddPlayerClass(0,207163493188815720000000.0000,701 94786481132524000000000.0000,273289578834793860000 .0000,220.9832,0,0,0,0,0,0);

So what the hell do i do now haha
i cant find these coords anywhere.
Reply
#25

idk what to do, something is definitely wrong though. And i think the forum fucked up aswell :P

Reply
#26

Damn...

Well i have no idea what to do then.
Reply
#27

On player spawn or requestspawn its bugged sscript ..
Reply
#28

How would i manage to remove so you dont have to press the Spawn button to spawn.

i got this:

pawn Код:
if(dialogid == 2) //REGISTER
    {
        if(gPlayerLogged[playerid] == 1)
        {
            SendClientMessage(playerid, COLOR_WHITE, "SERVER: You are already logged in.");
            return 1;
        }
        if(response)
        {
            if(strlen(inputtext) >= 50)
            {
                DisplayDialogForPlayer(playerid, 2); //register
                SendClientMessage(playerid, COLOR_WHITE, "SERVER: Password is too long.");
                return 0;
            }
            new sendername[MAX_PLAYER_NAME];
            GetPlayerName(playerid, sendername, sizeof(sendername));
            new namestring = strfind(sendername, "_", true);
            if(namestring == -1)
            {
                SendClientMessage(playerid, COLOR_YELLOW, "Your name must be in the Firstname_Lastname format.");
                Kick(playerid);
                return 1;
            }
            else
            {
                if(!strlen(inputtext))
                {
                    DisplayDialogForPlayer(playerid, 2); //register
                    SendClientMessage(playerid, COLOR_WHITE, "SERVER: You must enter a password.");
                    return 1;
                }
                new string[128];
                format(string, sizeof(string), "%s.ini", sendername);
//              if(dini_Exists(string))
                if(fexist(string))
                {
                    SendClientMessage(playerid, COLOR_YELLOW, "That name is already taken, please choose a different one.");
                    return 1;
                }
                new tmppass[64];
                strmid(tmppass, inputtext, 0, strlen(inputtext), 255);
                Encrypt(tmppass);
                OnPlayerRegister(playerid,tmppass);
                OnPlayerLogin(playerid,tmppass);
                gPlayerAccount[playerid] = 1;
                gPlayerSpawned[playerid] = 1;
                SendClientMessage(playerid, COLOR_FTW, "Account registered, you have been logged in automatically.");
            }
        }
        else
        {
            DisplayDialogForPlayer(playerid, 2); //register
        }
    }
I tried switching out
pawn Код:
gPlayerSpawned[playerid] = 1;
with
pawn Код:
SpawnPlayer(playerid);
and under that to remove the Spawn Button use ToggleSpectate to remove the Spawn Button

Now it puts me through the tutorial right after they register thats good ?
But when the tutorial is done i get throughed 50000 meters up in the air and it tells me i aint logged in.

I need to remove so right after they hit Register
it will put them through to the tutorial and spawn them after.

So i need to remove OnPlayerSpawn and RequestClass
i dont know can you help me out?
Reply
#29

Can you show OnPlayerSpawn callback?
Reply
#30

pawn Код:
public OnPlayerSpawn(playerid)
{
    if(gPlayerLogged[playerid] == 0)
    {
        SendClientMessage(playerid, COLOR_LIGHTRED, "** This server requires you to Login BEFORE spawn (Kicked) **");
//      printf("OnPlayerSpawn Kick: %d",playerid);
        KickPlayer[playerid] = 1;
        return 1;
    }
    if(PlayerInfo[playerid][pClothes] != 0)
    {
        SetPlayerSkin(playerid, PlayerInfo[playerid][pClothes]);
    }
    else
    {
        SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
    }
    if(!gPlayerAnimLibsPreloaded[playerid])
    {
        PreloadAnimLib(playerid,"BOMBER");
        PreloadAnimLib(playerid,"RAPPING");
        PreloadAnimLib(playerid,"SHOP");
        PreloadAnimLib(playerid,"BEACH");
        PreloadAnimLib(playerid,"SMOKING");
        PreloadAnimLib(playerid,"FOOD");
        PreloadAnimLib(playerid,"ON_LOOKERS");
        PreloadAnimLib(playerid,"DEALER");
        PreloadAnimLib(playerid,"CRACK");
        PreloadAnimLib(playerid,"CARRY");
        PreloadAnimLib(playerid,"COP_AMBIENT");
        PreloadAnimLib(playerid,"PARK");
        PreloadAnimLib(playerid,"INT_HOUSE");
        PreloadAnimLib(playerid,"FOOD");
        PreloadAnimLib(playerid,"PED");
        PreloadAnimLib(playerid,"GANGS");
        gPlayerAnimLibsPreloaded[playerid] = 1;
    }
    SetPlayerWeapons(playerid);
    SetPlayerSpawn(playerid);
    PlayerFixRadio(playerid);
    gPlayerSpawned[playerid] = 1;
    return 1;
}
Reply
#31

what does SetPlayerSpawn(playerid); do
Reply
#32

Good question i guess it spawns them.
Reply
#33

Mate i had the same problem its plugins
you are missing some that is what i had to do one my server
Reply
#34

it could be Tom, its just weird that it works perfectly on my PC but right after i uploaded to the Host it starts doing this. but i have all plugins putted right
Reply
#35

Well i asked some smart assed people and that is what they told me and i tryed it and it worked for me
Reply
#36

Its right after i press "Spawn" it appears the white screen and all graphic just turns crazy.
but iff you relog it will work but man telling every single player to relog thats just major fail.
Reply
#37

Are you sure that the gamemode has loaded fully? Does it say "unknown" under game mode in the server browser?

I had this issue on a test server few months ago where this flashing screen would appear just after I pressed spawn, and the cause of this was using a function from 0.3b server that was removed in 0.3c
Reply
#38

Quote:
Originally Posted by dugi
Посмотреть сообщение
Are you sure that the gamemode has loaded fully? Does it say "unknown" under game mode in the server browser?

I had this issue on a test server few months ago where this flashing screen would appear just after I pressed spawn, and the cause of this was using a function from 0.3b server that was removed in 0.3c
It loads fully yes says the Mode,Map,Name everything seems okay
Just very very strange.

pawn Код:
SA-MP Dedicated Server
----------------------
v0.3c, (C)2005-2010 SA-MP Team

[13:49:50]
[13:49:50] Server Plugins
[13:49:50] --------------
[13:49:50]  Loading plugin: streamer
[13:49:50]

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

[13:49:50]   Loaded.
[13:49:50]  Loading plugin: sscanf
[13:49:50]

[13:49:50]  ===============================

[13:49:50]       sscanf plugin loaded.    

[13:49:50]    (c) 2009 Alex "Y_Less" Cole

[13:49:50]  ===============================

[13:49:50]   Loaded.
[13:49:50]  Loaded 2 plugins.

[13:49:50]
[13:49:51] Filter Scripts
[13:49:51] ---------------
[13:49:51]   Loading filter script 'eulogo.amx'...
[13:49:51] Textdraw file generated by
[13:49:51]     Zamaroht's textdraw editor was loaded.
[13:49:51]   Loaded 1 filter scripts.

[13:49:51] Stage 1
[13:49:51] Stage 2
[13:49:51] Stage 3
[13:49:51] Stage 4
[13:49:51] Stage 5
[13:49:51] Family:0 Taken:1 Name:Grove Street Family MOTD:None Leader:Ervin_Shakur Bank:0 Cash:0 Safe:0 SafeX:0.000000 SafeY:0.000000 SafeZ:0.000000 Pot:0 Crack:0 Mats:0 Rank1:Outsider Rank2:Associate Rank3:Soldier Rank4:Capo Rank5:Underboss Rank6:Godfather Members:1
[13:49:51] Skins:0 Skin1:106 Skin2:107 Skin3:105 Skin4:0 Skin5:0 Skin6:0 Skin7:0 Skin8:0
[13:49:51] Family:1 Taken:0 Name: MOTD: Leader: Bank:0 Cash:0 Safe:0 SafeX:0.000000 SafeY:0.000000 SafeZ:0.000000 Pot:0 Crack:0 Mats:0 Rank1: Rank2: Rank3: Rank4: Rank5: Rank6: Members:0
[13:49:51] Skins:0 Skin1:0 Skin2:0 Skin3:0 Skin4:0 Skin5:0 Skin6:0 Skin7:0 Skin8:0
[13:49:51] Family:2 Taken:0 Name: MOTD: Leader: Bank:0 Cash:0 Safe:0 SafeX:0.000000 SafeY:0.000000 SafeZ:0.000000 Pot:0 Crack:0 Mats:0 Rank1: Rank2: Rank3: Rank4: Rank5: Rank6: Members:0
[13:49:51] Skins:0 Skin1:0 Skin2:0 Skin3:0 Skin4:0 Skin5:0 Skin6:0 Skin7:0 Skin8:0
[13:49:51] Family:3 Taken:0 Name: MOTD: Leader: Bank:0 Cash:0 Safe:0 SafeX:0.000000 SafeY:0.000000 SafeZ:0.000000 Pot:0 Crack:0 Mats:0 Rank1: Rank2: Rank3: Rank4: Rank5: Rank6: Members:0
[13:49:51] Skins:0 Skin1:0 Skin2:0 Skin3:0 Skin4:0 Skin5:0 Skin6:0 Skin7:0 Skin8:0
[13:49:51] Family:4 Taken:0 Name: MOTD: Leader: Bank:0 Cash:0 Safe:0 SafeX:0.000000 SafeY:0.000000 SafeZ:0.000000 Pot:0 Crack:0 Mats:0 Rank1: Rank2: Rank3: Rank4: Rank5: Rank6: Members:0
[13:49:51] Skins:0 Skin1:0 Skin2:0 Skin3:0 Skin4:0 Skin5:0 Skin6:0 Skin7:0 Skin8:0
[13:49:51] Family:5 Taken:0 Name: MOTD: Leader: Bank:0 Cash:0 Safe:0 SafeX:0.000000 SafeY:0.000000 SafeZ:0.000000 Pot:0 Crack:0 Mats:0 Rank1: Rank2: Rank3: Rank4: Rank5: Rank6: Members:0
[13:49:51] Skins:0 Skin1:0 Skin2:0 Skin3:0 Skin4:0 Skin5:0 Skin6:0 Skin7:0 Skin8:0
[13:49:51] Family:6 Taken:0 Name: MOTD: Leader: Bank:0 Cash:0 Safe:0 SafeX:0.000000 SafeY:0.000000 SafeZ:0.000000 Pot:0 Crack:0 Mats:0 Rank1: Rank2: Rank3: Rank4: Rank5: Rank6: Members:0
[13:49:51] Skins:0 Skin1:0 Skin2:0 Skin3:0 Skin4:0 Skin5:0 Skin6:0 Skin7:0 Skin8:0
[13:49:51] Family:7 Taken:0 Name: MOTD: Leader: Bank:0 Cash:0 Safe:0 SafeX:0.000000 SafeY:0.000000 SafeZ:0.000000 Pot:0 Crack:0 Mats:0 Rank1: Rank2: Rank3: Rank4: Rank5: Rank6: Members:0
[13:49:51] Skins:0 Skin1:0 Skin2:0 Skin3:0 Skin4:0 Skin5:0 Skin6:0 Skin7:0 Skin8:0
[13:49:51] Family:8 Taken:0 Name: MOTD: Leader: Bank:0 Cash:0 Safe:0 SafeX:0.000000 SafeY:0.000000 SafeZ:0.000000 Pot:0 Crack:0 Mats:0 Rank1: Rank2: Rank3: Rank4: Rank5: Rank6: Members:0
[13:49:51] Skins:0 Skin1:0 Skin2:0 Skin3:0 Skin4:0 Skin5:0 Skin6:0 Skin7:0 Skin8:0
[13:49:51] Family:9 Taken:0 Name: MOTD: Leader: Bank:0 Cash:0 Safe:0 SafeX:0.000000 SafeY:0.000000 SafeZ:0.000000 Pot:0 Crack:0 Mats:0 Rank1: Rank2: Rank3: Rank4: Rank5: Rank6: Members:0
[13:49:51] Skins:0 Skin1:0 Skin2:0 Skin3:0 Skin4:0 Skin5:0 Skin6:0 Skin7:0 Skin8:0
[13:49:51] Family:10 Taken:0 Name: MOTD: Leader: Bank:0 Cash:0 Safe:0 SafeX:0.000000 SafeY:0.000000 SafeZ:0.000000 Pot:0 Crack:0 Mats:0 Rank1: Rank2: Rank3: Rank4: Rank5: Rank6: Members:0
[13:49:51] Skins:0 Skin1:0 Skin2:0 Skin3:0 Skin4:0 Skin5:0 Skin6:0 Skin7:0 Skin8:0
[13:49:51] Family:11 Taken:0 Name: MOTD: Leader: Bank:0 Cash:0 Safe:0 SafeX:0.000000 SafeY:0.000000 SafeZ:0.000000 Pot:0 Crack:0 Mats:0 Rank1: Rank2: Rank3: Rank4: Rank5: Rank6: Members:0
[13:49:51] Skins:0 Skin1:0 Skin2:0 Skin3:0 Skin4:0 Skin5:0 Skin6:0 Skin7:0 Skin8:0
[13:49:51] Family:12 Taken:0 Name: MOTD: Leader: Bank:0 Cash:0 Safe:0 SafeX:0.000000 SafeY:0.000000 SafeZ:0.000000 Pot:0 Crack:0 Mats:0 Rank1: Rank2: Rank3: Rank4: Rank5: Rank6: Members:0
[13:49:51] Skins:0 Skin1:0 Skin2:0 Skin3:0 Skin4:0 Skin5:0 Skin6:0 Skin7:0 Skin8:0
[13:49:51] Family:13 Taken:0 Name: MOTD: Leader: Bank:0 Cash:0 Safe:0 SafeX:0.000000 SafeY:0.000000 SafeZ:0.000000 Pot:0 Crack:0 Mats:0 Rank1: Rank2: Rank3: Rank4: Rank5: Rank6: Members:0
[13:49:51] Skins:0 Skin1:0 Skin2:0 Skin3:0 Skin4:0 Skin5:0 Skin6:0 Skin7:0 Skin8:0
[13:49:51] Stage 6
[13:49:51] Stage 7
[13:49:51] Stage 8
[13:49:51] Stage 9
[13:49:51] Stage 10
[13:49:51] Stage 11
[13:49:51]  
[13:49:51]  
[13:49:51]  
[13:49:51]  
[13:49:51]  **********    **          **               ********    ********
[13:49:51]  **********    **          **               *********   *********
[13:49:51]  **            **          **    **    **   *        *  **      **
[13:49:51]  **            **          **    **    **   **      **  **      **
[13:49:51]  *******       **          **    **    **   **********  **********
[13:49:51]  *******       **          **    **    **   **      **  **********
[13:49:51]  **            **          **    **    **   **      **  **
[13:49:51]  **            **          **               **      **  **
[13:49:51]  **********    **************               **       ** **
[13:49:51]  **********    **************               **       ** **
[13:49:51]  
[13:49:51]  
[13:49:51]  
[13:49:51]  
[13:49:51]  
[13:49:51]  
[13:49:51]     ----------------
[13:49:51]    | European       |
[13:49:51]    | Roleplay         |
[13:49:51]     ----------------
[13:49:51]  
[13:49:51]  
[13:49:51] Number of vehicle models: 93
Also see i tried save the postion after i press Spawn and the white screen appears
it puts the player in some totalt sick coords.

pawn Код:
AddPlayerClass(0,207163493188815720000000.0000,70194786481132524000000000.0000,273289578834793860000.0000,220.9832,0,0,0,0,0,0); // spawn
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)