PDA

View Full Version : Limit on new arrays.


Twinny
07-15-2007, 11:47 AM
Currently, a player can kill the NPC-Server and quite possibly still kill a client (havn't checked V5) through the use of new arrays. An example would be

this.crash = new [5000][5000][5000][5000];

Can we get a limit on the size of arrays that can be created and perhaps some memory allocation checks?

Also on the topic of script abuse, some servers (or scripters more likely) as well as previous external programs have made use of the PM flood exploit: flooding a client with PMs until it crashes. Is it possible to get some kind of handler which makes sure this never happens? (Serverside detection would also be nice :D)