New code with updated definitions.
Fixed compatibility with approximately 1900 spells. Known bugs -- Spell list by Name can sometimes mess up the order of List by ID Make sure to load a spell before trying to use list by ID or it will crash http://www.megaupload.com/?d=4LZGUCII |
can't seem to open this link takes on forever and then comes up with timed out
|
|
few more notes.
It seems like the editor consumes tons of ram - you sure it should consume 120 mb of ram while runing? Considering the spell file itself 4.5mb =) |
I know when you parse the spell file with PHP, it takes between 100 & 200 MB of RAM to process (you have to change the per-script max amount of memory in order for it to work), so that sounds about right. To be honest, I'm not sure why it takes that much, because it does seem like a lot of memory for such a relatively small file.
|
Honestly its rather simple. When it is parsed, it is stored in a dictionary of string values. Strings aren't a simple data type but a class instance which uses up quite a lot more data than an integer or similar types.
When you consider 203 strings per line and thousands of lines, it adds up very quickly. It could be easily optimized to a very large extent, however it makes the program more complicated and thus not really worth the effort when most modern computers have large amounts of ram. |
yeah you prabobly right =)
your time better spent on making it a better tool rather than optimizating it :smile: |
i finaly starting to hevaily work with the new spell editor and there few things I need help with.
Could you guys explain to me how excatly spell group and duration formula affect the spell? I have a problem where spells only seem to last for a tiny fraction of a set time (3 min instead of 30), and some spells refuse to have their time to be altered at all - spell like Regeneration stays at 20 min no matter if I set it more or less than that |
I can't figure this out, but for some reason when I start the spell editor on my main PC it works fine, but when I start it on my Server PC, it gives me this error and won't start at all:
The application failed to initialize properly (0xc0000135). Click OK to terminate the application. Maybe I am missing some driver? Gonna do some searching around I guess. Both PCs are running windows XP SP2. |
Well, a little Google searching solved my problem lol.
If anyone else has this issue, all you have to do is install the Microsoft .NET Framework found here: http://www.microsoft.com/downloads/d...displaylang=en |
That's a good point - I think Kayot's tools also require .net updates. I believe mine are not, but the spell editor uses some libraries requiring .net
The one thing that worries me is what's going to break once we all go Vista sp.1? How many tools will it break? GeorgeS |
None, the beauty of .net is its backwards compatibility.
I can't get the program to run, but the config.xml is chucked full of useful information about effects (I figured every thing else out including summoned pet id. It's column 2 when splitting the string by "^"). Can I use it? All I have is is like 30 (Most are restrictions like uber dragons etc) effects and 2 formulas that I formed from MQ2 info dumps. It would save me time on my information window in my program so I could work in other areas. I'll give credit ^-^ |
" SpellEditor has encountered a problem and needs to close. Sorry for the inconvenience. "
gah?? |
All times are GMT -4. The time now is 01:20 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.