 |
Slick Newbie
Joined: 16 Apr 2003 Posts: 5
|
Posted: Sun Oct 12, 2003 11:33 pm
Memory Usage with MXP |
I recently started using MXP and Hexadecimal colors in my triggers, and suddenly ZMud doesn't seem to release memory it uses. Over the course of a couple hours or so, it gradually devours all of my system memory, until it's using almost 250MB of Ram. (!!!) Does anyone know why this is, and how to fix it?
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Oct 13, 2003 10:56 pm |
Make sure you have closing tags for any MXP tags that you use. For example, if you use the <COLOR> tag, be sure to have a closing </COLOR> tag. When using MXP within your scripts, you are working in MXP "secure" mode and you need to be sure you are giving correct MXP opening and closing tags. zMUD saves the text between and opening and closing tag in order to perform operations on it, so if you never have a closing tag, zMUD starts saving all of your text as the text for the tag.
Also, remember that the normal #COLOR and #CW commands allow the use of hex colors or mxp colors. So, you shouldn't need to use actual tags or MXP commands if you are just trying to do colors. Something like:
#TRIGGER {Zugg} {#CW gold}
or
#TRIGGER {Zugg} {#CW $FF00FF}
works fine for example. |
|
|
 |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|