Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
UDP/TCP Hybrid Game
#11
Well you can just check vbGORE's server code. 8) But basically, there is in a class module an array for the stats (can also work with just individual stat names) and a byte for each one that states if it was updated. Since it is a class module, every time the stat is changed, you can catch it (Property Get or Let, forget which one). Then just do a quick check, "If OldValue NewValue Then Update(Index) = 1". Then add a timer that runs through and checks if the Update(Index) = 1, then update accordingly. :wink:
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)