White Screen?
#1

Alright writing here because after i uplaoded my files to my Host
and connect it gives me a White Flashing Screen.
Its not because off Patch or anything dont need to downgrade, other people who try to connect the server also gets the flashing white screen.

Sometimes it says LOADING... with a Black box around it it says Stay in World Boundries even tho i dont have this code anywhere in script tho
some times only the screen shows up.

its right after people press "Spawn"
after they register they need to press Spawn to get to the tutorial

but i dont see how that could be a problem, because everything works when i Open server on my PC and run it and register it works fine.

Only right after i uploaded all my files to the host and tried there.
Hope anyone knows what this can be

Its really getting annoying.



And then i press Spawn



And it owndes me.
Please help.
Reply
#2

https://sampwiki.blast.hk/wiki/SetPlayerWorldBounds

Is that what you mean ?
Reply
#3

Yes but i dont have SetPlayerWorldBounds in my script anywhere?
Reply
#4

You don't need to make 2 topics about it!!
Reply
#5

Quote:
Originally Posted by linuxthefish
View Post
You don't need to make 2 topics about it!!
i know dude im sorry for that, but i didnt realise that i posted in the wrong section
well honstely i have no idea where the fuck this needs to go iff its a script error or client error :S

but ye sorry.
Reply
#6

Try setting the player position to 0, 0, 5 after the players spawns. The screen only turns white when you are a long way out from land! (999999, 9999999, 9999999)
Reply
#7

Tried that now to didnt work but i got a feeling.
How would i remove the Spawn button cause i think its that maybe it will work iff i removed that ?

pawn Code:
public OnPlayerRequestClass(playerid, classid)
{
    if(gPlayerLogged[playerid] == 0)
    {
        TogglePlayerSpectating(playerid, 1);
        return 1;
    }
    SetupPlayerForClassSelection(playerid);
    if(gPlayerSpawned[playerid] == 1)
    {
        if(PlayerInfo[playerid][pMember] > 0 || PlayerInfo[playerid][pLeader] > 0 || PlayerInfo[playerid][pFMember] != 255)
        {
            SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
        }
        else
        {
            PlayerInfo[playerid][pModel] = PedSkins[classid][0];
        }
    }
    else
    {
        SetPlayerSkin(playerid, PlayerInfo[playerid][pModel]);
 }
    return 1;
}

public SetupPlayerForClassSelection(playerid) //default class selection screen
{
    SetPlayerInterior(playerid,3);
    SetPlayerPos(playerid,349.0453,193.2271,1014.1797);
    SetPlayerFacingAngle(playerid,286.25);
    SetPlayerCameraPos(playerid,352.9164,194.5702,1014.1875);
    SetPlayerCameraLookAt(playerid,349.0453,193.2271,1014.1797);
    return 1;
}
Got these two codes.
Reply
#8

Do you still have the problem if you run a basic gamemode like grandlarc/lvdm? If you use FTP to upload things to your server, something may have gone wrong there.
Reply
#9

All Basic scripts works fine, have no problems
so i suppose its my script.

and im pretty sure its that Spawn button they need to click on before they Spawn.
but i has no idea how to remove it.
Reply
#10

Your script.. it is bugged...
Reply
#11

Quote:
Originally Posted by Maftaca
Посмотреть сообщение
Your script.. it is bugged...
Ya. I had same problem before, and it was due a bug, but I dont remember which one. But be surely is something to do with your script.
Reply
#12

It is a common bug related to gravity, so yes, it's your scrpt!
Reply
#13

are you setting player velocity to 0 0 0 anywhere?
Reply
#14

Quote:
Originally Posted by Donya
Посмотреть сообщение
are you setting player velocity to 0 0 0 anywhere?
Nope, can anyone atleast tell me which bug it could be since i have no idea what it is?
The server works perfectly on my PC but fails when its on the host.
so i have no idea would appreciate it alot iff someone could help me with this.
Reply
#15

I'm 99% sure it has something to do with your spawn coordinates, try debugging your location.
Reply
#16

Quote:
Originally Posted by Hiddos
Посмотреть сообщение
I'm 99% sure it has something to do with your spawn coordinates, try debugging your location.
Tried this aswell Hiddos, but yet still its right after i press that Spawn button it turns up.
How the hell do i remove this and just right after Register it spawns them.

shall i remove

OnPlayerRequestClass & SetupPlayerForClassSelection(playerid) ?

EDIT: Removed them now, but i still need to press the Spawn button what to put to put me though that.
Reply
#17

The code shouldn't cause any problems on the remote host, if it works on your local machine! If you host is running a unix system, try running your server on VirtualBox or something (running Linux). Over then that then it could be strange gravity, strange cords, or strange camera position.
Reply
#18

Yes,this bug of samp,i have this problem one month ago.
Reply
#19

Quote:
Originally Posted by linuxthefish
Посмотреть сообщение
The code shouldn't cause any problems on the remote host, if it works on your local machine! If you host is running a unix system, try running your server on VirtualBox or something (running Linux). Over then that then it could be strange gravity, strange cords, or strange camera position.
Never tried this dont know what a VIrtualBox is exactly? what does it do
+ im using King J's host.


Quote:
Originally Posted by Johnny_Xayc
Посмотреть сообщение
Yes,this bug of samp,i have this problem one month ago.
Well instead of telling me its a bug which i obviously found out up there
then tell me what you did to fix it?
cause i need help here.
Reply
#20

The white screen is a San Andreas bug.

EDIT: i didn't see your last post :P

Virtualbox is like a computer in a computer, so you can run more operating system's on your computer without messing something up. ****** it!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)