[cod] COD4 exceeded maximum number of script variables

sandro.alcamo at free.fr sandro.alcamo at free.fr
Mon Jul 28 02:25:40 EDT 2008


There's a lot of hardcoded limits in Call of Duty... For instance, the 1024 characters limit for Strings.
Here, it's the limit of script variables.

The mod maker should optimize his code, launch less threads and so on to re-write his code so he can use less variables.

As the crash depends one the number of player, i think that the mod launches a lot of threads on each player to do some stuff on them... It would be better to launch only one thread at the start of the game that would loop on all players in game => the same variables will be used for all player instead of having many variable x number of player.

Untill you get a new version of the mod, you can try to deactivate some features using the cfg file, it might disable some variable consuming parts of the code.

----- Mail Original -----
De: "Joker" <joker at mycallofduty.com>
À: cod at icculus.org
Envoyé: Lundi 28 Juillet 2008 02:05:35 GMT +01:00 Amsterdam / Berlin / Berne / Rome / Stockholm / Vienne
Objet: RE: [cod] COD4 exceeded maximum number of script variables

The more i think of it probably localizedstrings i had similar issues in X4 back in january

---
To unsubscribe, send a blank email to cod-unsubscribe at icculus.org
Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38





More information about the Cod mailing list