Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Tools

Development::Tools 3rd Party Tools for EQEMu (DB management tools, front ends, etc...)

Reply
 
Thread Tools Display Modes
  #1  
Old 06-27-2007, 10:35 AM
Kayot
Discordant
 
Join Date: Sep 2006
Location: Subsection 185.D354 C.12
Posts: 346
Default

Suggestions:
Heres how I made my spell loader for the new editor.

1. Dim Textline(10000) as String
2. Do a line by line read, use a loop so that the spell end up in the array via spell id = array(spell id). This makes life easy when looking for a spell when all you have is a number. Also makes adding a spell into a joke because all you do is select the blank entry and save into it via selected index.
3. Don't delimit every line. Keep each line in its value^value format.
4. When loading a spell, delimit only the line you need. When searching, only delimit each line as necessary.

There are (I think) 202 values per line. Also, if you want them in alphabetical order, your best bet is to dim a listbox, fill in the values name and id with a tab in between. Then tell the listbox to sort itself and then have it load into another list box via delimiting each line and reversing the values.

a few notes,
after delimiting the line, array(2) is the pet summon and array (144) is the icon. Those were annoying to find.
__________________
If at first you don't succeed destroy all evidence that you ever tried.

God doesn't give second chances... Hell, he sets you up the first time.
Reply With Quote
  #2  
Old 06-27-2007, 11:33 AM
BrainiacVince
Fire Beetle
 
Join Date: Apr 2007
Posts: 14
Default

Thanks a lot for the help. I was going to try to go back through one of the other editors and pick out what each number was, so I appreciate a little heads up. As a side note, I remember seeing a post on the forums or the wiki somewhere about the schema for the spells file. Does anyone happen to have a link to that post or page? I can't find it for the life of me. ><

On the other hand, I didn't realize that you were already creating a new spell editor, so I might just wait for that if it isn't too far off. I already use your DB editor (great program, btw) for dang near everything it does.
__________________
eventual ServerOp of a less neglected custom legit server
Reply With Quote
  #3  
Old 06-29-2007, 02:08 AM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,474
Default

I was not aware there was a spell schema online.. I was pondering wether to make a editor, but others have started, so I will just see what comes out of their progress.

GeorgeS
__________________
Your source for EQ database tools
Toolshop is open for business


http://www.georgestools.chrsschb.com//
Reply With Quote
  #4  
Old 06-29-2007, 07:08 AM
BrainiacVince
Fire Beetle
 
Join Date: Apr 2007
Posts: 14
Default

I think the biggest thing I want to accomplish with my editor is having the schema as correct as I can, then posting that up on the wiki. Having some documentation for the spells file will be nice.
__________________
eventual ServerOp of a less neglected custom legit server
Reply With Quote
  #5  
Old 06-29-2007, 07:39 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Quote:
Originally Posted by GeorgeS View Post
I was not aware there was a spell schema online.. I was pondering wether to make a editor, but others have started, so I will just see what comes out of their progress.

GeorgeS
The only spell schema I am aware of is what comes with the web based PEQ Editor site.
Reply With Quote
  #6  
Old 08-13-2007, 01:54 PM
GeorgeS
Forum Guide
 
Join Date: Sep 2003
Location: California
Posts: 1,474
Default

Actually what Kayot mentioned about splitting the long spell string later is an excellent idea. The memory to hold the entire spells list is huge. I will remember that when (if) I begin to code one myself.

Regarding the sorting, I would use a simple bubble sort or something similar.

But the biggest issue is decoding the spell array ---

GeorgeS
__________________
Your source for EQ database tools
Toolshop is open for business


http://www.georgestools.chrsschb.com//
Reply With Quote
  #7  
Old 08-14-2007, 03:39 AM
Runeblade
Sarnak
 
Join Date: Dec 2005
Posts: 46
Default spell editing

Is there currently a way where u can make your own custom particle effects and import them to use with about any spell? Or i was thinking find a partice effect and swap it with one you made and have it the same name. If it doesnt work just replace the file with the old one?
Reply With Quote
  #8  
Old 12-08-2007, 03:46 PM
BrainiacVince
Fire Beetle
 
Join Date: Apr 2007
Posts: 14
Default

Hey all. Sorry for my complete lack of updates on this project. I've been swamped with college all semester and haven't even had time to play, let alone code. However, I have good news. I'm taking a database projects class next semester and the professor has already approved me working on this editor for my project. It's pretty nice to get college credit for working (and playing) on the Emu. =P Classes start around January 15th, and updates will be posted far more regularly. For what it's worth, I think he is going to have me code the program using AJAX (if memory serves). I'd be happy to post source code for the editor as well, so improvements can be made by those better versed in the language.

Also, I again ask for more suggestions as to layout, content, or usage. What are people looking for in a spell editor? I have a good idea of what I want, but since this is a major coding project, I'd also like other people to find it useful and easy to use.
__________________
eventual ServerOp of a less neglected custom legit server
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 10:31 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3