Timer String leak how do I remove the leak?

Time

New Member
Reaction score
0
No idea how to remove the string leak... Can anyone help? Or is their any other way to show the timer in the Multiboard with out using strings?
 

Time

New Member
Reaction score
0
Well that sucks.. Is the leak anything serious? Don't wanna end up removing the timer but if it is serious then I will remove it.
 

PurgeandFire

zxcvmkgdfg
Reaction score
509
No string leaks are nothing serious unless you either:
A) Create like a bajillion strings.
B) Have a computer from 1990.
 

NoobImbaPro

You can change this now in User CP.
Reaction score
60
Well strings are char arrays which take a byte for every letter you write...and your ram is X Gbyte.
You better keep your strings in constant global variables, so you won't leak at all.
 

PurgeandFire

zxcvmkgdfg
Reaction score
509
@NoobImbaPro: Once a string is used, it is entered into the string table of the map. (war3map.wts) This prevents extra memory from being wasted when you reuse a string, so you don't need constant global variables. =)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top