Go Back   EQEmulator Home > EQEmulator Forums > General > General::General Discussion

General::General Discussion General discussion about EverQuest(tm), EQEMu, and related topics.
Do not post support topics here.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-14-2016, 06:45 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default Defining items by expansion

I was wondering. It pretty well seems Verant/Sony used incremental primary keys in their item tables. I do have a few item snapshots from different eras. Would it be pretty well east to define each item's era by using the id number? If we know the max id of lets say Luclin and then the max id of say PoP, then we can pretty well define the items that were just introduced in Luclin.

Does anyone have snapshots of the items during different points in time?
Reply With Quote
  #2  
Old 02-14-2016, 06:46 PM
demonstar55
Demi-God
 
Join Date: Apr 2008
Location: MA
Posts: 1,164
Default

No. Sometimes they left blanks and later went back to fill in the blanks.
Reply With Quote
  #3  
Old 02-14-2016, 07:03 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Hell I am seeing that now. I am seeing Luclin things in the 7k range....damn them. So much for being consistent on their part.
Reply With Quote
  #4  
Old 02-14-2016, 08:17 PM
Figback65
Discordant
 
Join Date: Aug 2009
Location: 2131231231
Posts: 255
Default

If you add a custom column called expansions, will it mess anything up? Like after you edit an entry in EoC, will it error out because column count doesn't match up or will it just ignore it.

I know per coding, adding the column wont mess anything up. I had added on in the past but I am unsure via EoC editing.
__________________
Reply With Quote
  #5  
Old 02-14-2016, 08:20 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

No, I have an expansion column in most of my tables. I have edited my PeqEditor so I can flag things per era.
Reply With Quote
  #6  
Old 02-15-2016, 08:42 PM
Shin Noir's Avatar
Shin Noir
Legendary Member
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 506
Default

Quote:
Originally Posted by provocating View Post
No, I have an expansion column in most of my tables. I have edited my PeqEditor so I can flag things per era.
Do you have a lot of effort put into this?
__________________

~Shin Noir
DungeonEQ.com
Reply With Quote
  #7  
Old 02-15-2016, 08:53 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

A small amount at this point. It will take forever but I have no plans to ever stop working on my database, or the server. Right now I am just doing it one zone at a time. I also added comment fields for many things and edited the PeqEditor so I can mark things by expansion and add comments.
Reply With Quote
  #8  
Old 02-15-2016, 09:49 PM
NatedogEZ's Avatar
NatedogEZ
Developer
 
Join Date: Dec 2012
Posts: 515
Default

Could use the zone table as a reference and whatever zone the item drops in add that zones expansion number. Certain items that drop across multiple expansions would get annoying though :p
Reply With Quote
  #9  
Old 02-15-2016, 10:18 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

That is what I was thinking about doing. Basically you could do it from the lower number zones first, then tell it to not overwrite when you hit newer zones.
Reply With Quote
  #10  
Old 02-15-2016, 10:23 PM
Shin Noir's Avatar
Shin Noir
Legendary Member
 
Join Date: Apr 2002
Location: Seattle, WA
Posts: 506
Default

I have a couple ugly queries you can do to at least see stat giving items with outliers per zone, like..

Code:
SELECT i.id, i.NAME, i.classes, i.slots, i.hp, i.mana, s2.zone FROM items i
INNER JOIN lootdrop_entries lde ON lde.item_id = i.id
INNER JOIN lootdrop ld ON ld.id = lde.lootdrop_id
INNER JOIN loottable_entries lte ON lte.lootdrop_id = ld.id
INNER JOIN loottable lt ON lt.id = lte.loottable_id
INNER JOIN npc_types nt ON nt.loottable_id = lt.id
INNER JOIN spawnentry se ON se.npcid = nt.id
INNER JOIN spawn2 s2 ON s2.spawngroupid = se.spawngroupid	
WHERE slots > 0 AND s2.zone = 'ecommons' GROUP BY i.id;
They're really intense queries, but at least gets the obvious ones out.. Heh.
__________________

~Shin Noir
DungeonEQ.com
Reply With Quote
  #11  
Old 02-15-2016, 10:28 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

Yep, I have something similar
Reply With Quote
  #12  
Old 02-22-2016, 09:54 AM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

I have started expanding this further now. I have edited the PEQ editor to allow expansion settings in the npc, spawns, items, loot and it appears to be working. Before if I found an item or npc that was out of era I would just delete the item, now I mark it for the appropriate era. Since we are a progression server I may not necessarily want the item deleted. This will work off the expansion setting in the database. I still have a lot of testing to do, but so far it is
working well.




Ignore the expansion settings I have things set for, I was just changing them and repopping to make sure it was working. I also put some effort to make sure it was not throwing the drop rates off from having to skip items.
Reply With Quote
  #13  
Old 02-22-2016, 11:36 AM
N0ctrnl's Avatar
N0ctrnl
Discordant
 
Join Date: Jan 2007
Posts: 443
Default

Very nice. That is a much needed feature.
__________________
Ender - Lead GM/Developer
Vegarlson Asylum Server - http://www.vegarlson-server.org/
Reply With Quote
  #14  
Old 02-22-2016, 11:46 AM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

There is still a lot of work left to be done, lots of testing. The best way of testing it is using it.
Reply With Quote
  #15  
Old 02-22-2016, 12:06 PM
AdrianD
Discordant
 
Join Date: Dec 2013
Posts: 297
Default

Glad to see others doing this.

I've always wondered why this wasn't in the standard peq databse.
Reply With Quote
Reply


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 12:39 AM.


 

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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3