Posts: 249
Threads: 54
Joined: May 2009
Reputation:
0
For some reason whenever someone logs into my server, they start falling from the sky, but then about 5 seconds later, it'll finally spawn them. They can't use any commands or speak at all. Is this a script issue, or is it MySQL not loading the players right away? If it's a script issue, where should I look at? I looked at OnPlayerLogin and everything looked fine.
Posts: 1,498
Threads: 19
Joined: Jun 2009
Reputation:
0
is your mysql server host localhost or is it on a remote server, becuase if its on a remote server the problem may be that its taking a while to connect to the remote server
Posts: 1,498
Threads: 19
Joined: Jun 2009
Reputation:
0
Then it's probably a script issue. I would start at the login command work my way up.
Also if your logging in first and then spawning, it might be something in the OnPlayerSpawn aswell, i had a problem with something like this but it was with a filebased user system, and i found the problem under OnPlayerSpawn
Posts: 249
Threads: 54
Joined: May 2009
Reputation:
0
This isn't a script I've written from scratch because I'm not that familiar with MySQL, I downloaded it.. but from what I know OnPlayerSpawn and OnPlayerLogin look perfectly fine..
Posts: 666
Threads: 94
Joined: Aug 2009
Reputation:
0
Dont bump it.. people will see it man just patience..
post your onplayerspawn script....
Posts: 249
Threads: 54
Joined: May 2009
Reputation:
0
Gah.. I hate to bump this but this is really holding me back, I need to get it fixed ASAP.. anyone?
Posts: 382
Threads: 1
Joined: Nov 2007
Reputation:
0
Do you have any code in OnPlayerUpdate?