spawn_location_name
Moderator: Team Members
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
spawn_location_name
I am trying to figure out the purpose of the spawn_location_name table and why it was separated? Can we not just merge it with the spawn_location_entry table? If we do not want to return the name for speed purposes, we can just remove 'name' from the query.
Resident Dirty Hippy
- Ememjr
- Team Member
- Posts: 975
- Joined: Wed Mar 15, 2017 9:41 am
- EQ2Emu Server: Perseverance
Re: spawn_location_name
i agree,
IMO , if a sub table has only one useable column, and has an entry for 80-90 percent of the parent tables entries such as this one
then the tables should be combined
spawn_location_entry has 178315 rows
spawn_location_name has 175899 rows
IMO , if a sub table has only one useable column, and has an entry for 80-90 percent of the parent tables entries such as this one
then the tables should be combined
spawn_location_entry has 178315 rows
spawn_location_name has 175899 rows
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Re: spawn_location_name
Looking at it again, I think in a way this is a many to one relationship. I do not see that used often if ever though. Look at both tables closely and you will see how you can use it that way.
Resident Dirty Hippy
- Ememjr
- Team Member
- Posts: 975
- Joined: Wed Mar 15, 2017 9:41 am
- EQ2Emu Server: Perseverance
Re: spawn_location_name
off topic
so i have seen you lurking about latley and NB online are you back to working on it? or something new?
so i have seen you lurking about latley and NB online are you back to working on it? or something new?
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Re: spawn_location_name
I am going to be working on it. Currently I am writing a web editor for public use and my use. I should had done that to begin with, that in itself slowed me down greatly last time. My time is way more limited this time, 2-3 hours a day. That is good though, that will prevent any type of burnout.
Resident Dirty Hippy
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: spawn_location_name
I may be wrong on this but I believe this table is just for content devs/web editor to give a name to locations to make it easier to identify what should be in the location. I do not think the server uses it for anything, not even sure the server loads this table.
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Re: spawn_location_name
I do want to verify this though. So from this screenshot, you will see I have multiple spawn_location_id with the same ID, different percentages. But if I gather right, that would still have one spawn_location_name, something like zone_location_458353 or something like that. What I am getting at, is you would have a many-to-one with the spawn_location_name table.
You do not have the required permissions to view the files attached to this post.
Resident Dirty Hippy
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: spawn_location_name
Correct
- Cynnar
- Project Leader
- Posts: 738
- Joined: Sat Sep 27, 2014 1:22 am
- EQ2Emu Server: Eq2emulator
- Characters: Vlash
Veinlash
Taragak
Cynnar
Re: spawn_location_name
I remember reading that it was for devs to identify easier. Maybe the wiki? I'll see if I can get find it again and then link to it.
[ 01000011 01111001 01101110 01101110 01100001 01110010 ]
Follow on:
Twitter Facebook
Contact me:
PM Discord chat email
Hardware: the parts of a computer that can be kicked
Follow on:
Twitter Facebook
Contact me:
PM Discord chat email
Hardware: the parts of a computer that can be kicked
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Re: spawn_location_name
I am just wondering about some of the tables and uniqueness. It just seems like there can be multiples with no restrictions. I think we need unique keys on some of these.
Resident Dirty Hippy
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Re: spawn_location_name
So final word, the spawn_location_name should be a one-to-one for the spawn_location_entry table?
Resident Dirty Hippy
Who is online
Users browsing this forum: No registered users and 1 guest