View Single Post
  #1  
Old 03-01-2008, 01:02 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Loss of player scope during waitfor()

Well, in my MUD system, on the player's serverside mud object, the reflect function (which sends data to client) is waiting for certain functions to be done before its allowed to continue, and using an echo before and after the wait I noticed that afterwards it is loosing the player as the scope ("player == null" in script).

Obvious solution is to save the player to a variable but its still irritating.
__________________
Reply With Quote