shortest-path icon indicating copy to clipboard operation
shortest-path copied to clipboard

Add maxed house to use teleportation items

Open ctdgunner opened this issue 1 year ago • 10 comments

Add an option to the 'Use Teleportation Items" that assumes the ability to use all teleports that go along with a maxed house. for users that either have a maxed house or use a maxed house on w330.

ctdgunner avatar Sep 28 '24 20:09 ctdgunner

could also use a way to scan the objects in a players own POH to see the name of the jewelry case, as they have unique names for the three versions, which dictates which teleports users have access to.

swirle13 avatar Sep 30 '24 23:09 swirle13

This would be extremely useful. Commenting to add more visibility/interest

Brandon1212b avatar Oct 17 '24 16:10 Brandon1212b

This would be extremely useful. Commenting to add more visibility/interest

That's what we do round' here. Come up with good ideas for someone else to code :)

ctdgunner avatar Oct 17 '24 19:10 ctdgunner

Would be very useful!

zeroquinc avatar Apr 09 '25 18:04 zeroquinc

Please, even if it's just a checkbox for "Has maxed house" and puts a marker under the player similar to minigame teleports.

SabakyoRP avatar May 13 '25 23:05 SabakyoRP

You would need a custom field for that with such json for each players house. I am working to build it into my private plugin.

{ "teleportObjects": [{ "name": "Mounted Glory", "walkableTile": { "plane": 0, "x": 13967, "y": 5863 }, "location": { "plane": 0, "x": 13966, "y": 5863 } }, { "name": "Ornate Jewelry Box", "walkableTile": { "plane": 0, "x": 13978, "y": 5857 }, "location": { "plane": 0, "x": 13977, "y": 5857 } }, { "name": "Mounted Digsite Pendant", "walkableTile": { "plane": 0, "x": 13970, "y": 5864 }, "location": { "plane": 0, "x": 13969, "y": 5864 } }, { "name": "Spirit Tree", "walkableTile": { "plane": 0, "x": 13970, "y": 5851 }, "location": { "plane": 0, "x": 13971, "y": 5851 } }], "portalNexusOptions": [{ "destination": "Ardougne", "menuOption": "1: Ardougne", "key": "1" }, { "destination": "Varrock", "menuOption": "2: Varrock", "key": "2" }, { "destination": "Falador", "menuOption": "4: Falador", "key": "4" }, { "destination": "Camelot", "menuOption": "5: Camelot", "key": "5" }, { "destination": "Kharyrll", "menuOption": "7: Kharyrll", "key": "7" }, { "destination": "Senntisten", "menuOption": "8: Senntisten", "key": "8" }, { "destination": "Kourend Castle", "menuOption": "9: Kourend Castle", "key": "9" }, { "destination": "Watchtower", "menuOption": "A: Watchtower", "key": "A" }, { "destination": "Barrows", "menuOption": "C: Barrows", "key": "C" }, { "destination": "West Ardougne", "menuOption": "D: West Ardougne", "key": "D" }, { "destination": "Arceuus Library", "menuOption": "E: Arceuus Library", "key": "E" }, { "destination": "Lumbridge", "menuOption": "F: Lumbridge", "key": "F" }, { "destination": "Annakarl", "menuOption": "G: Annakarl", "key": "G" }, { "destination": "Carrallanger", "menuOption": "H: Carrallanger", "key": "H" }, { "destination": "Waterbirth Island", "menuOption": "I: Waterbirth Island", "key": "I" }, { "destination": "Salve Graveyard", "menuOption": "J: Salve Graveyard", "key": "J" }, { "destination": "Fenken' Castle", "menuOption": "K: Fenken' Castle", "key": "K" }, { "destination": "Draynor Manor", "menuOption": "L: Draynor Manor", "key": "L" }, { "destination": "Battlefront", "menuOption": "M: Battlefront", "key": "M" }, { "destination": "Ape Atoll Dungeon", "menuOption": "N: Ape Atoll Dungeon", "key": "N" }, { "destination": "Cemetery", "menuOption": "O: Cemetery", "key": "O" }, { "destination": "Troll Stronghold", "menuOption": "P: Troll Stronghold", "key": "P" }, { "destination": "Weiss", "menuOption": "Q: Weiss", "key": "Q" }, { "destination": "Mind Altar", "menuOption": "R: Mind Altar", "key": "R" }, { "destination": "Civitas illa Fortis", "menuOption": "S: Civitas illa Fortis", "key": "S" }, { "destination": "Ghorrock", "menuOption": "T: Ghorrock", "key": "T" }, { "destination": "Lunar Isle", "menuOption": "U: Lunar Isle", "key": "U" }, { "destination": "Fishing Guild", "menuOption": "V: Fishing Guild", "key": "V" }, { "destination": "Harmony Island", "menuOption": "W: Harmony Island", "key": "W" }] }

miamilabs avatar May 19 '25 19:05 miamilabs

Is there an update on this?

Scaramoucheeeeeee avatar Jun 28 '25 13:06 Scaramoucheeeeeee

I've put together an initial implementation for this. Here's my fork with the progress so far: https://github.com/Bloopser/shortest-path-poh/tree/feat/poh

It adds a "Player Owned House" section to the config with a "Use Maxed House" checkbox and a spot for your Portal Nexus teleports. It seems to work well in my initial tests, but it's not super polished yet. The Portal Nexus part, in particular, needs more work and testing.

A couple of notes on the current implementation:

  • I've put the options in a new "Player Owned House" section for now. I'm considering a multi-select list for the Portal Nexus teleports in the future, which might be too large for the main "Settings" panel.
  • The "Use Maxed House" option currently assumes you have an Ornate Jewellery Box, Fairy Ring, and Spirit Tree. I might make this more customizable later (e.g., setting the jewellery box tier, adding the Digsite Pendant, etc.).
  • (Related to #19) For now I've assumed a cost of 3 for any POH teleport. Adapting to every possible POH layout felt overly complex for minimal gain, especially since most in-house travel is only a handful of tiles.
  • i'll probably have to turn the destination hashmaps into a player_owned_house.tsv file (or seperate files per teleport object?)

@Skretzo Any feedback on the approach would be greatly appreciated! Let me know if you think this is heading in the right direction.

Bloopser avatar Jul 31 '25 22:07 Bloopser

I've put together an initial implementation for this. Here's my fork with the progress so far: https://github.com/Bloopser/shortest-path-poh/tree/feat/poh

It adds a "Player Owned House" section to the config with a "Use Maxed House" checkbox and a spot for your Portal Nexus teleports. It seems to work well in my initial tests, but it's not super polished yet. The Portal Nexus part, in particular, needs more work and testing.

A couple of notes on the current implementation:

  • I've put the options in a new "Player Owned House" section for now. I'm considering a multi-select list for the Portal Nexus teleports in the future, which might be too large for the main "Settings" panel.
  • The "Use Maxed House" option currently assumes you have an Ornate Jewellery Box, Fairy Ring, and Spirit Tree. I might make this more customizable later (e.g., setting the jewellery box tier, adding the Digsite Pendant, etc.).
  • (Related to Suggestion: Import POH Tele's into Calculations #19) For now I've assumed a cost of 3 for any POH teleport. Adapting to every possible POH layout felt overly complex for minimal gain, especially since most in-house travel is only a handful of tiles.
  • i'll probably have to turn the destination hashmaps into a player_owned_house.tsv file (or seperate files per teleport object?)

@Skretzo Any feedback on the approach would be greatly appreciated! Let me know if you think this is heading in the right direction.

It is probably better to add the PoH teleports similar to all the other transports and teleports in the plugin. I have now added a few of the PoH teleportation portals, the three jewellery boxes, a mounted glory, a mounted xeric's talisman and a mounted mythical cape. Sadly there is no way to detect if any of these are built or where, but I currently assume that it exists somewhere in the PoH if the player has a sufficiently high construction level and magic level.

Skretzo avatar Aug 01 '25 00:08 Skretzo

I've put together an initial implementation for this. Here's my fork with the progress so far: https://github.com/Bloopser/shortest-path-poh/tree/feat/poh

It adds a "Player Owned House" section to the config with a "Use Maxed House" checkbox and a spot for your Portal Nexus teleports. It seems to work well in my initial tests, but it's not super polished yet. The Portal Nexus part, in particular, needs more work and testing.

A couple of notes on the current implementation:

* I've put the options in a new "Player Owned House" section for now. I'm considering a multi-select list for the Portal Nexus teleports in the future, which might be too large for the main "Settings" panel.

* The "Use Maxed House" option currently assumes you have an Ornate Jewellery Box, Fairy Ring, and Spirit Tree. I might make this more customizable later (e.g., setting the jewellery box tier, adding the Digsite Pendant, etc.).

* (Related to [Suggestion: Import POH Tele's into Calculations #19](https://github.com/Skretzo/shortest-path/issues/19)) For now I've assumed a cost of 3 for any POH teleport. Adapting to every possible POH layout felt overly complex for minimal gain, especially since most in-house travel is only a handful of tiles.

* i'll probably have to turn the destination hashmaps into a `player_owned_house.tsv` file (or seperate files per teleport object?)

@Skretzo Any feedback on the approach would be greatly appreciated! Let me know if you think this is heading in the right direction.

How do I install your fork? This is literally the only feature I care about, plugin doesn't make any sense on my account without having this feature. Thanks in advance!

zeroquinc avatar Aug 01 '25 10:08 zeroquinc