View Single Post
  #1  
Old 01-16-2010, 11:37 PM
LoneAngelIbesu LoneAngelIbesu is offline
master of infinite loops
LoneAngelIbesu's Avatar
Join Date: May 2007
Location: Toldeo, Ohio
Posts: 1,049
LoneAngelIbesu has a spectacular aura aboutLoneAngelIbesu has a spectacular aura about
Send a message via AIM to LoneAngelIbesu
TServerPlayer.isobserver

While debugging a serious problem on Valikorlia, I noticed that TServerPlayer.isobserver is not correct, at all.

The problem involved certain variables on the player object not being created, because the player was in observer. However, the function creating those variables should never have been triggered, because TServerPlayer.isobserver is checked. If it's true, the function shouldn't be triggered. If it's false, it should.

What I noticed was that, on login, even if the player is in observer mode, TServerPlayer.isobserver still returns false.
__________________
"We are all in the gutter, but some of us are looking at the stars."
— Oscar Wilde, Lady Windermere's Fan
Reply With Quote