I would need to see this Ace Message System script.
Well, I'm not going to pretend what's going on in those scripts, but assuming they are being mean to each other.
Trying putting this above line 440:
return if code.nil?
And hopefully that doesn't compromise the function of either script.
Thanks a lot! It works perfectly now. I didn't notice it breaking anything at least.
Love your scripts mate.
Quick update, I tested it a little more, and the slowdown seems to be significantly worse if it's an item with affixes. If it's a non-altered item, then the slowdown isn't as bad, but it's still there.
That's quite weird, when testing it with my affixed Super Hard Bronze Ultra Metal Hand Axe of Power and Ultimate Doom it squeezes in there fine in both single line and multi line, and I experience no noticeable lag while doing so. (I have a pretty nice PC though.)
The icon thing however I do experience! I fixed that, so grab the updated script and try it out. If the font still doesn't squish right, and there's lag then let me know and I'll look depth.
Yeah, I'm thinking maybe it's being caused by another script. I've noticed a number of anomalies with text all over the place (i.e. letters tend to be ever-so-slightly cut off on the left, as well as minor spacing issues). I do have a hefty batch of scripts running, mostly Yanfly and Xail System scripts.
As far as the lag goes, I'm working on a laptop with an i7 CPU, 6 gigs of RAM, and a GT 445M video card. I would THINK that should be more than enough to run any RM products without issues, heh. But I suppose I can test out my desktop, which is significantly beefier. Again, I'm wondering if maybe it's an accumulation effect from other scripts involved. Let's test...
...
Ok, it looks like I might have had a conflict between the core XS and Ace modules that was causing the bulk of the lag. If I disable both (along with scripts that depend on them), the lag vanishes. However, unfortunately, they're needed for other scripts, argh. Looks like I can get away without the Ace core (I guess XS does a number of the same things), but the XS scripts won't work without their core. Thankfully, the text doesn't cut off any more in single-line mode, although the item count seems to get randomly cut off sometimes if it's too long. In multi-line mode, it still gets cut off slightly, but it seems to be pretty random with that, as if the window's width is being determined by how many letters are in the text, but the text doesn't quite match up (I'm using Times New Roman, for reference, and I know it's not a mono-block font, i.e. all letters are the same width). If I revert it to the default font, the issue goes away in multi-line mode, but the cut-off still happens in single-line mode.
Also, there's still some lag when it's drawing the text (albeit less than before), if I have only the XS core enabled. Not sure what can be done about that, unfortunately. Finally, I think you tweaked the Y value in the wrong direction, because now the item count's position is significantly higher than it was before (in multi-line mode it appears directly under the main line of text now). 😛
Try using the Text Cache script found on this site. Maybe it will solve the lag!
Hah hah, got the Y value fixed. Everything's in perfect alignment now. I even got the cut-off issue fixed in single-line mode, I just increased the width of the draw window by a few more pixels.
Ooh! I had an idea, as a feature request. Do you suppose it might be possible to have multiple sound effects, i.e. depending on whether what's found is gold, an item, a weapon, or armor (or even on a per-item or per-sound-effect basis)? I'm thinking again like Diablo where different items made different noises when you picked them up. Think that might be doable?
I fully support this script.
Yes and yes, I'll get around to adding multiple se's and variable z levels~
Hey just wanted to say your script are awesome and so are you! 😀
One more minor thing I noticed. We configure the "item received" sound effect in the script itself, meaning it's at a fixed volume. Is there any way to link it to any sort of options screen that has something like adjusting sound effect volume? I noticed that, as it is right now, if I turn down SFX in the option menu I'm using right now (Yanfly's), everything else turns down, but this one's still good and loud.
I couldn't see why, if you link me the script however I can take a look.