playing with housing again, right now emu is written to treat housing a instanced zones, and that is working ok, except for the fact that each house a player purchases need to be a unique zone. i say this because as an instance we are using the same root house and the items in it ie house id with zone id 227 the spawns in it start with 227, so if i enter cania house the items in it start with 227 and if i enter another player house of same type it s the same items
ie if i remove 2 items from cnias house, then enter another toon house of the same type those 2 items are also missing
sso unless instanceing will track evertype nd spawn in it it just wnat work, for housing unlike a dungeon instance where we want it oto start with 15 spawns the same way (reusable) for each group or person
so in order to make each and evey house we need someway of making everyhouse unique wihich it should be, and populate it and have it load just like a regular zone.
do you think we could add each purchased house to the zones file or would we be able to
Housing revisted again
Moderator: Team Members
- Ememjr
- Team Member
- Posts: 975
- Joined: Wed Mar 15, 2017 9:41 am
- EQ2Emu Server: Perseverance
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Housing revisted again
They way it was going to be approached in the past was a `character_house_items` table to store what the player has placed then when the instance boots up check to see if it is a housing type instance and if so get the owner id and grab the spawns from that new table to populate the zone.
Who is online
Users browsing this forum: No registered users and 0 guests