Poster: Hadar at 9/7/2005 11:25:43 PM PDT Subject: Slouken: LoadAddOn(...) crashing |
| |
Slouken,
I've been writing a mod to incorperate the LoadAddOn functionality, yet everytime I try it with several different mods, WoW will crash. Here is the message I recieve (minus the stack dump):
This application has encountered a critical error:
ERROR #0 (0x85100000) Assertion Failure
Program: D:\Program Files\World of Warcraft\WoWTest\Wow.exe
File: C:\build\buildWoW\ENGINE\Source\Frame\CSimpleRender.cpp
Line: 1213
Expr: m_font
One mod that didn't crash the game when I loaded it was a simple mod that displays a small window with one FontString in it that displays the targets health percent. However, that mod doesn't load correctly and gives me an error reporting, "Font not set" for that FontString when the code tries to :SetText(...) on it.
Any idea as to why this happens? Is this perhaps a bug or something I am not setting up correctly when I use <FontString>?
Any help appreciated!
Hadar
<Sunder>
Proudmoore
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=212026&p=#post212026 |
| |
Poster: slouken at 9/8/2005 10:53:38 AM PDT Subject: Re: Slouken: LoadAddOn(...) crashing |
| |
FYI, in 1.8 you'll be able to include FrameXML templates directly in your .toc files, but that isn't in 1.7.
e.g.
## Interface: 1800
## blah blah
..\..\FrameXML\Fonts.xml
MyAddOn.xml
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=212026&p=#post212214 |