View Single Post
  #2  
Old 12-07-2006, 01:13 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Strange problem.
I would say it's not finding this.var.tv and then wrongly getting another tv var. Once you call tv.size() it is creating this.var.tv and everything is fine.
When you have a variable name without leading ("tv") then it is also checking for player.tv on clientside, for compatibility with old scripts since setstring tv,123; is actually setting player.tv. In this case it should not check for "tv" since it is this.var.tv, will try to fix that.

Update: ok fixed this in my Graal version and in the npcserver, so with the next release of those the bug should be fixed. Thanks for reporting it, it can probably be a quite big problem in some cases.

Last edited by Admins; 12-07-2006 at 03:47 PM..
Reply With Quote