[HELP] Players are invisible!
#1

Every player VirtualWorld and Interior is 0.

And no-one cant see no-one, like everyone haves different virtualworlds, but they dont. (i think)

I can only see other players text and thats all. If someone enters vehicle, i cant see that someone is driving it, i still see the vehicle is not moving.

SetPlayerInterior(playerid,0); is bad idea, as some people suggested that. Cause it will mess all my faction interior spawns etc, same to SetPlayerVirtualWorld.

What should i do? I really need some help, i cant do nothing with my GM with this bug.

EDIT: Some days ago the bug fixed by itself, or i did something but dont know what, so the bug has gone. Now when i added more objects, vehicles, gatecommands etc, the bug camed back.
Reply
#2

Sorry for DB

But i really need some help guys! Im getting my server to online and its ready allmost, just this bug!
Reply
#3

Are you sure something in your script isn't setting their virtual world to something different?
Reply
#4

Quote:
Originally Posted by Lavamike
Are you sure something in your script isn't setting their virtual world to something different?
Yea i think i am. Well i can show you all my SetVirtualWorlds...
Reply
#5

Chances are you have some code executing OnPlayerUpdate causing your server to lag (extremely) or you have to many timers going off at the same time, you also mention that you are adding objects, what streamer do you use as they are all not the same and some perform WAY BETTER than others.

[EDIT] Didn't you post this a while back saying you were using an edited Godfather script? or am I thinking of someone else? If that was you I posted the likely solution to your problem, change the OnPlayerUpdate on the Godfather to something like OnPlayerStatsUpdate. If that wasn't you please provide more info, as the reason this is happening is your script is creating a HUGE lag spike causing the players to never get in sync....

[EDIT2] P.s I know this from experience as some code I gotten of the forums here used OnPlayerUpdate to execute, when I had the same effect you describe, I took the code out and all was back to normal.
Reply
#6

Quote:
Originally Posted by cyber_punk
Chances are you have some code executing OnPlayerUpdate causing your server to lag (extremely) or you have to many timers going off at the same time, you also mention that you are adding objects, what streamer do you use as they are all not the same and some perform WAY BETTER than others.

[EDIT] Didn't you post this a while back saying you were using an edited Godfather script? or am I thinking of someone else? If that was you I posted the likely solution to your problem, change the OnPlayerUpdate on the Godfather to something like OnPlayerStatsUpdate. If that wasn't you please provide more info, as the reason this is happening is your script is creating a HUGE lag spike causing the players to never get in sync....

[EDIT2] P.s I know this from experience as some code I gotten of the forums here used OnPlayerUpdate to execute, when I had the same effect you describe, I took the code out and all was back to normal.
Yes you are right, i am the same guy.
I writed anothe thread where i mentioned that i didnt actually understand how to do it or how it works. (The OnPlayerStatsUpdate oe w/e)
I really dont think its because of streamer, because i didnt use any before i was the bug first time. (Im using Double O Stream) About that timer, you might be right. How i could check all my timers? Should i show you my timers?

Thank you for reply.

EDIT: About that OnPLayerUpdate. So i just change the NAME forward OnPlayer Update and OnPlayerUpdate to OnPlayerStatsUpdate and forward OnPlayerStatsUpdate ? How or Why its should help?
Reply
#7

UP
Reply
#8

Haha, I had this bug before, I re-did it all and worked fine, tho it was only about 100 lines if that
Reply
#9

Quote:
Originally Posted by [DIH
killer__577 ]
Haha, I had this bug before, I re-did it all and worked fine, tho it was only about 100 lines if that
Lucky you.



I changed OnPlayerUpdate to OnPlayerStatsUpdate.. It didnt work.
Just sometime i can see other player with 0HP and just standing, but they arent really there..
Reply
#10

Are you using the Filterscripts Money and Negativmoney? Because of those filterscripts I couldn't see people either.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)