Zoning into a house

EQ2Emulator Development forum.

Moderator: Team Members

Post Reply
User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Zoning into a house

Post by Ememjr » Wed Oct 25, 2017 3:45 am

can someone tell me where in the code i would add the code to load house items and spawn them into the house,

i have some code written but i can't seem to weed through where the best place to execute my code at that will initiate the loading items list from the db and populate the zone,

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: Zoning into a house

Post by Jabantiz » Wed Oct 25, 2017 3:18 pm

I would do it in the zone server itself, there should be a place where spawn lists are loaded, you could put an if after that to check if it is a housing/guild hall zone then load your items. Quick note you shouldn't skip the normal load as that will give the widget for the door, without it you can't exit the house.

User avatar
Ememjr
Team Member
Posts: 975
Joined: Wed Mar 15, 2017 9:41 am
EQ2Emu Server: Perseverance

Re: Zoning into a house

Post by Ememjr » Wed Oct 25, 2017 4:32 pm

yeah i know about the doors, was thinking of addeding a couple book shelfs in a few of the house zones so that they would be permanent , some of the house lack any by defautl

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests