Author Topic: Need information on gathering housing data
jaclin_ff 
Posts: 828
Registered: Apr 7, '03
Extended Info (if available)
Real Post Cnt: 821
User ID: 788,356
Subject: Need information on gathering housing data
I would like to create a small script to compare housing coords. It wont be a decal program, just something I do outside of the game. thing is I need to know ALL the houses available, not just the top 400 or so cottages. Is there anyway to dump out all available cottages at any given time to a text file or to the screen which I could log?

thanks in advance

 

-----signature-----
Jaclin
218 Tanking/Item only/Grenading Bunny Mastering Archer - The Dragon Moon Clan
http://www.guildportal.com/Guild.aspx?GuildID=24691&TabID=222938
Always a member of the Legion of Hope and the Watch
AC Wiki http://www.asheron.info
Link to this post
Thorfinn_Sigurdssen 
Posts: ????
Registered: ????
Extended Info (if available)
Real Post Cnt: 0
User ID: 0
Subject: Need information on gathering housing data
Nope, can't be done. The only way of getting housing information is via the /hslist command, and it won't report more than 400.

 

-----signature-----
Link to this post
jaclin_ff 
Posts: 828
Registered: Apr 7, '03
Extended Info (if available)
Real Post Cnt: 821
User ID: 788,356
Subject: Need information on gathering housing data
hmm... interesting... then if i go to difference parts of dereth will it only report the top 400 close to me? IE if I do the command multiple times around multiple areas of Dereth do you think that i might be able to get a complete list?

Also when you say can't be done, if I knew how to, could i code a decal app to directly query the backend db?

 

-----signature-----
Jaclin
218 Tanking/Item only/Grenading Bunny Mastering Archer - The Dragon Moon Clan
http://www.guildportal.com/Guild.aspx?GuildID=24691&TabID=222938
Always a member of the Legion of Hope and the Watch
AC Wiki http://www.asheron.info
Link to this post
Maglett_of_FF 
Posts: 4,986
Registered: May 17, '02
Extended Info (if available)
Real Post Cnt: 4,900
User ID: 680,348
Subject: Need information on gathering housing data
I doubt the db server for housing is accessible, BUT one of the fansite might already have such a listing from before they limited the housing available CMD. Try some google-fu and see what you get. Such a list would at least get you teh locations of it, just not necessarily what open NOW.

 

-----signature-----
Edits are for spelling :^)
Trophy Compendium http://vnboards.ign.com/message.asp?topic=90389010
/a Devil's Saint says, "what we teach our Children we become" June 3, 2008
Link to this post
jaclin_ff 
Posts: 828
Registered: Apr 7, '03
Extended Info (if available)
Real Post Cnt: 821
User ID: 788,356
Subject: Need information on gathering housing data
I got ya Maglett but that wont help me much. I was hoping just to be able to list all houses available today, then do it again in a week and see what had changed. I could see how many cottages were no longer available, and how many have come available with a simple unix type diff against the output. So with a limit i would never know if it was new or jsut never before reported.

 

-----signature-----
Jaclin
218 Tanking/Item only/Grenading Bunny Mastering Archer - The Dragon Moon Clan
http://www.guildportal.com/Guild.aspx?GuildID=24691&TabID=222938
Always a member of the Legion of Hope and the Watch
AC Wiki http://www.asheron.info
Link to this post
Digero 
Posts: 7,435
Registered: Oct 21, '02
Extended Info (if available)
Real Post Cnt: 7,359
User ID: 729,875
Subject: Need information on gathering housing data
You could always write a decal plugin to keep track of every unsold house it sees, and then visit every settlement! beatup

 

-----signature-----
[LotRO] Digero (Guardian), Digrim (Burglar), Dignite (LM), Azrea (Hunter) - Landroval
[AC] Digero, Lyera, Draxxe - Leafcull (Retired)
[CoH] Devil's Zealot, Scinta, Izzard - Guardian (Retired)
Digero's AC Decal Plugins: http://decal.acasylum.com
Link to this post
Virindi-Inquisitor 
Posts: 6,908
Registered: Nov 18, '01
Extended Info (if available)
Real Post Cnt: 6,646
User ID: 511,923
Subject: Need information on gathering housing data
>> You could always write a decal plugin to keep track of every unsold house it sees, and then visit every settlement!

I was going to do that, but after visiting a few settlements I gave up and decided I didn't really care anyway :\

 

-----signature-----
Virindi
---
****Virindi Plugins FAQ**** http://www.virindi.net/wiki/index.php/Virindi_Plugins_FAQ
http://www.virindi.net - Virindi Tank, Follower, Integrator, Reporter, VCS5, XPHelper, Item Tool, HUDs, etc...
Decal Core Dev - http://www.decaldev.com
Link to this post
yaroz_vn 
Posts: 12,255
Registered: Jun 30, '02
Extended Info (if available)
Real Post Cnt: 12,168
User ID: 693,371
Subject: Need information on gathering housing data
is there a way to get the coords/owner of your house through decal? That was going to be my first plugin.. something our allegiance could run, that would track their house location, so when they take a break, others can go see where their house is, so they can pay the maintenance.

 

-----signature-----
Proud member of The Knights of Fortune
Mr Adventure - Lil' Pew - Da Noob - Qar
Yaroz - Yanno
http://www.fortunesway.com
Link to this post
jaclin_ff 
Posts: 828
Registered: Apr 7, '03
Extended Info (if available)
Real Post Cnt: 821
User ID: 788,356
Subject: Need information on gathering housing data
Well you can get housing information with the house owner and non-owner but you probably have to be standing next to it to have it select? But then again there is the locator plugin I hear about that DT uses so it might be possible to get all the location IDs for all housing and have an update command to search through them all for ownership. I am not sure how locator works though nor do I use it.

 

-----signature-----
Jaclin
218 Tanking/Item only/Grenading Bunny Mastering Archer - The Dragon Moon Clan
http://www.guildportal.com/Guild.aspx?GuildID=24691&TabID=222938
Always a member of the Legion of Hope and the Watch
AC Wiki http://www.asheron.info
Link to this post
Digero 
Posts: 7,435
Registered: Oct 21, '02
Extended Info (if available)
Real Post Cnt: 7,359
User ID: 729,875
Subject: Need information on gathering housing data
yaroz_vn posted:
is there a way to get the coords/owner of your house through decal? That was going to be my first plugin.. something our allegiance could run, that would track their house location, so when they take a break, others can go see where their house is, so they can pay the maintenance.

GoArrow does that to keep track of your house recall coordinates. It watches for the "House Information for Owners" server event.

(The house recall info starts on line 277)
http://code.google.com/p/goarrow/source/browse/trunk/GoArrow/PluginCore.cs#240

You can see how it computes the coordinates from the landblock and x/y offset here:
http://code.google.com/p/goarrow/source/browse/trunk/GoArrow/Coordinates.cs#43

If you want information about when the rent is due you can get e.Message.Value<int>("maintenanceDate"), which I think is in Unix time (but you'd have to check to be sure).

 

-----signature-----
[LotRO] Digero (Guardian), Digrim (Burglar), Dignite (LM), Azrea (Hunter) - Landroval
[AC] Digero, Lyera, Draxxe - Leafcull (Retired)
[CoH] Devil's Zealot, Scinta, Izzard - Guardian (Retired)
Digero's AC Decal Plugins: http://decal.acasylum.com
Link to this post
Virindi-Inquisitor 
Posts: 6,908
Registered: Nov 18, '01
Extended Info (if available)
Real Post Cnt: 6,646
User ID: 511,923
Subject: Need information on gathering housing data
>> is there a way to get the coords/owner of your house through decal?

Gameevent 0x0225 or 0x0226 is sent at login, telling you where your house is, what type it is, etc.

 

-----signature-----
Virindi
---
****Virindi Plugins FAQ**** http://www.virindi.net/wiki/index.php/Virindi_Plugins_FAQ
http://www.virindi.net - Virindi Tank, Follower, Integrator, Reporter, VCS5, XPHelper, Item Tool, HUDs, etc...
Decal Core Dev - http://www.decaldev.com
Link to this post
jaclin_ff 
Posts: 828
Registered: Apr 7, '03
Extended Info (if available)
Real Post Cnt: 821
User ID: 788,356
Subject: Need information on gathering housing data
If Yaroz you wanted to do that though it would almost have each user load the data to a web site simular to acstats then your plugin could download the data and you would know where everyone in your allegiance house is at. Not sure how else you could share that data.

Is this a topic I should have asked in the decal forums or is this ok for this forum?

 

-----signature-----
Jaclin
218 Tanking/Item only/Grenading Bunny Mastering Archer - The Dragon Moon Clan
http://www.guildportal.com/Guild.aspx?GuildID=24691&TabID=222938
Always a member of the Legion of Hope and the Watch
AC Wiki http://www.asheron.info
Link to this post

Valid XHTML 1.0 Transitional Powered by PHP