EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Tools (https://www.eqemulator.org/forums/forumdisplay.php?f=593)
-   -   Spell Editor by Bleh, Ailia (https://www.eqemulator.org/forums/showthread.php?t=24128)

AiliaMorisato 01-15-2008 06:11 PM

Spell Editor by Bleh, Ailia
 
Project coded by bleh, spell definitions by me, data derived from trial and error, lucy, and a majority directly from eqemulator code.

http://www.megaupload.com/?d=EE055TMF

GeorgeS 01-25-2008 02:47 PM

Please note if you get an error when loading the spell_us file (as in mismatched fields) it may be due to using an old spell editor (or Openzone)that did not fully support titanium. You will need to therefore get the file from your disks.

Tried it and it works great.

GeorgeS

Secrets 01-25-2008 04:09 PM

Rar archive mirror:
http://theedgeserver.com/spelleditor.rar
Zip archive mirror:
http://theedgeserver.com/spelleditor.zip

ChaosSlayer 01-25-2008 04:49 PM

starting to play with new spell editor

first thing I must say - love the interface - very clean - everthing very nicely looking

few coments:

1) please add spell ID in a separate collum next to spell name, and make it sortable by both ID or alphabeticly

2) a picture of an actual spell icon?

3) description of how spell effect looks like in game?

4) spell descriptions - i know they stored in a separate file which is PAIN to edit (using anything other but shell editor instantly corrupts its) - but at least seeing which description is attached to which ID number would be nice

5) the "effect" drop down box needs to be made a bit wider as some effect description rather long and do not complitly fit in =)

AiliaMorisato 01-25-2008 06:30 PM

Ill work on 1 and 5 ASAP, mabye 4 in the near future.

Also worth noting, Ive managed to fix the XML parsing engine and am taking over coding on this editor.

moydock 01-25-2008 06:35 PM

Wow great editor, thanks a lot for making it. One thing that would be really nice:

Descriptions of Duration formula and Buff duration. Of course, I may be the only one that doesn't know how they work...

AiliaMorisato 01-25-2008 06:47 PM

Ill switch buff duration to a menu pull down similar to the ones in the effects list with the formulas listed k? ^^

ChaosSlayer 01-25-2008 06:50 PM

the buff duration is shown in ticks I belive.
so duration of 30 means 30 ticks which are 180 seconds, which are 3 min.
So easy way to calcualte them X ticks/10= X minutes

the duration formula - thats a hard one =)
I know this has to do something with stacking, but i let devs explain this one in detail =)

Otherwise - great work right of the first atempt! Keep it up!

on 2 and 3 - perhaps you want to to take a look at the "german" editor for the icons?

AiliaMorisato 01-25-2008 07:37 PM

Problem with looking at other editors is every one of em is in a different language.

As for duration formulas, they're not always in tics, sometimes in seconds, sometimes giving an infinite duration.

ChaosSlayer 01-25-2008 07:46 PM

no you see, I was refering to Buff Duration, not Duration formulas - the formulas are complite mystery to me. But I guess based on duration formula the meanign of Buff Duration may vary.

as far as other editors go I mentioned it simply as a source for geting the icon graphics out of it

moydock 01-25-2008 08:15 PM

Hah, okay i changed plague's buff duration to "20", trying to restore it to it's original duration and upon trying to save the file, I got an error and now my spell file is very small in size and has a few lines of what appears to be Japanese. (luckily i have a backup). This is on Vista btw.

moydock 01-25-2008 08:30 PM

I wasn't able to recreate the error, not sure how I did it. Make sure to backup your spells though.

ChaosSlayer 01-25-2008 08:36 PM

yes i got this error too by simply clicking random spells
this seem to be IDENTICAL to the error in the my "german" editor

usualy the effect of such error woudl be that file gets corrupted, huge number of values become lost/cut off (file would loose 50% of its data at random) and atempt to use it in game result in some HIDEOUS effects up to the spell castign freeze or client crash.

basicly in my "german" editor I NEVER used the saved file. Once new spell was added, I woudl go into file with a Notepad, copy the line for new spell only and paste into original version fo the spell file and then sve it manualy in Notepad. This was the ONLY way to prevent file corruption


my BEST guess is that thre are VERY FEW very specific spells in the spell file that have extra UNIQUE fields which most spells do not have and when editor tries to save those fields which are not accounted for - you get the error

ChaosSlayer 01-25-2008 08:48 PM

ok i managed to replicate the error with certantity now.

load default Titenium spells and fidn spell "Blaze" and click on it a few items. Here is what you will get:

http://www.herbhealer.com/personal/error.jpg

AiliaMorisato 01-26-2008 08:50 AM

Any time you happen to load a spell that has parts that arent properly defined you will corrupt your spell file unless you restart the application.

If you find any more "broken" spells post the names and ill fix the missing definitions.

AiliaMorisato 01-26-2008 08:58 AM

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

ChaosSlayer 01-26-2008 04:18 PM

can't seem to open this link takes on forever and then comes up with timed out

Secrets 01-27-2008 11:02 AM

Mirror for updated version:

Zip: http://theedgeserver.com/packaged.zip

ChaosSlayer 01-28-2008 11:39 AM

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 =)

AndMetal 01-28-2008 04:02 PM

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.

AiliaMorisato 01-28-2008 04:21 PM

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.

ChaosSlayer 01-28-2008 04:32 PM

yeah you prabobly right =)
your time better spent on making it a better tool rather than optimizating it :smile:

ChaosSlayer 02-22-2008 08:29 AM

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

trevius 03-17-2008 09:33 PM

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.

trevius 03-17-2008 09:43 PM

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

GeorgeS 03-19-2008 03:03 PM

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

Kayot 04-14-2008 12:38 AM

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 ^-^

Qinamen 05-03-2008 02:39 AM

" SpellEditor has encountered a problem and needs to close. Sorry for the inconvenience. "

gah??


All times are GMT -4. The time now is 12:57 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.