JeCel reports: Long Area lists (bottom left c ... #1794
Labels
No Label
1. kind/balancing
1. kind/breaking
1. kind/bug
1. kind/construction
1. kind/documentation
1. kind/enhancement
1. kind/griefing
1. kind/invalid
1. kind/meme
1. kind/node limit
1. kind/other
1. kind/protocol
2. prio/controversial
2. prio/critical
2. prio/elevated
2. prio/good first issue
2. prio/interesting
2. prio/low
3. source/art
3. source/client
3. source/engine
3. source/ingame
3. source/integration
3. source/lag
3. source/license
3. source/mod upstream
3. source/unknown
3. source/website
4. step/approved
4. step/at work
4. step/blocked
4. step/discussion
4. step/help wanted
4. step/needs confirmation
4. step/partially fixed
4. step/question
4. step/ready to deploy
4. step/ready to QA test
4. step/want approval
5. result/cannot reproduce
5. result/duplicate
5. result/fixed
5. result/maybe
5. result/wontfix
ugh/petz
ugh/QA main
ugh/QA NOK
ugh/QA OK
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: your-land/bugtracker#1794
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
JeCel reports a bug:
Player position:
Player look:
Player information:
Player meta:
Log identifier
Profiler save:
Status:
Teleport command:
Compass command:
Sounds like the collapse areas feature in cities and invasions:
/areas_hud full|lite|collapse|none
full: Shows all areas.
lite: Shows always city, plot, or faction and a max of 3 other areas. If no city, then 4 of the topmost areas
collapse: Shows the existence of areas at this place
none: disables the areas hud altogether
Is this documented anywhere in '/help' ?
the feature doesn't exist yet.
This has been a problem for many of us and has appeared multiple times in the bugtracker.
The suggested /areas_hud command may help, but it doesn't really solve the problem. It just hides it. And /areas_hud none conflicts too much with your desire to hurt the player if he/she accidentally protects a flower in a protected area.
The playerfactions mod could in theory be of help. Sadly it only allows one faction per user, and the way it's integrated into the areas mod does not allow any easy extension. Thus, that mod is useless for us.
However...even very active builders don't build in all towns all the time. I'd like to suggest the following command:
/area_add_me
This may sound strange at first - ups, a player can just add him/herself to an area?
But of course it's not planned to be that open. There shall be a list of player names stored for each area that are allowed to run the command. Thus we need /area_trust add/remove for maintaining this list and /area_trust without parameters to show/list who's allowed to run the command for this area. The list can be stored in the areas table.
Players who are part of the trusted player list of an area can run /area_add_me and get a normal standard subarea added - as if the owner of the area ran /add_owner <this_area_id> <this_player_name> <this_area_name>. Once they no londer need the area, they can remove it normally - or the owner of the parent area can remove it.
Of course humans are humans. We'd all forget most of the time to remove areas again that we currently don't need. Thus, when creating such an area with the /area_add_me, the time of creation shall be stored. After 3-7 days, the area can be removed automaticly again. If it's still needed, all the player would have to do is type /area_add_me as soon as he/she notices.
The benefit of this would be that the cities area lists could be limited to those that build there so often that a permanent area makes sense.
There's another side effect that needs to be taken care of: Shared ressources. There are public farms - those can be handled by setting an area to open. Shared chests and shared farms would be diffrent. A command
/area_shared
(similar to /area_open but allowing access to those in our list of trusted players only) could help.
Players who just need to build in a city occasionally may not even have to run /area_add_me each time if the area (ctiy) entire is set to shared. Regular building, digging and accessing chests can happen. Only when they need to create a new area for someone /area_add_me would be needed.
While /area_add_me and /area_trust may work independently of the areas mod (storing their data in the areas table would be highly recommended), /area_shared requires a small change to the areas mod. Even that might work with an external mod redefining the relevant protection function.
The other problem that remains are plots and masterareas. The current way to do it seems to create a new masterarea, add the desired plot owner to it, and then make the city account the owner of that subarea. This means that there are always two areas for a plot: The one owned by the city account and the one owned by the player who built there. While that may be fine for city plots in Haven and Aveniture, it is spammy and unnecessary in places where structures have been built and shall remain how they are. There could be only one area, marked as a city plot. The only difference would be that when the player who owns the plot deletes it it doesn't get deleted but instead returned to the city account who becomes the new owner. I'd like to have this, but this may also be more work than the ideas above.
City majors who'd want to use the system described here would have to create and maintain the list of trusted players for their city and set it to shared once. That way, those trusted players could still build in the city even after their subarea is removed from the list, and they can even add new areas when needed after typing /areas_add_me.
The disadvantage is that it's not immediately obvious who built what. But that's something the current system fails to show as well. The lists are too long.
Feedback desired!
Come to think of it, it might be sufficient to just have the command for sharing an area and maintaining the list of those people the area is shared with plus having those people beeing able to build and and access shared ressources (chests etc.) in that area. People able to add a plot to a city would then still need to hold a subarea. But at least it'd be clear whom to contact.
@Sokomine i skimmed what you wrote, but i might be missing something.
my own thoughts:
markers:land_title_register
ought to be used to get more info about the areas if someone needs to.Planned solution for now:
Subareas can be marked as hidden by the owner of the master area and the owner of the area. That way the list shown in the HUD can be shortened. The owner of the master area is most able to decide which subareas/co-owners are most important to show to visitors.
People intrested can still see the entire area list with commands or a land title register.
Looks good :)
If this is meant to be yl-specific, we should have named the attribute yl_hide or something.
If the master area is forcefully removed, it only shows Areas: +3 subareas
I like that the default value is NOT to hide
In my opinion it is unfortunate that the areaowner governs what's to see on the client, instead of the client to decide what they want to see.
gitea notes a dependency on interactive volumes. This is not the case?
However, it works. Thankyou @flux and @Sokomine :)
i agree. i've changed the name in the following commits:
32db339ea4
861b7eabef
i noticed that, but i'm not certain why that's happening. probably we should block until this this is fixed.
we should revisit the issue in the future, because implementing per-player rules about what to hide and show is more complicated.
it's no longer the case cuz sokomine created a different fix than what i was planning. i'll remove it.
Changing the name is fine. yl_hidden serves the same purpose and makes it more clear that it's not part of upstream.
If an area doesn't exist it isn't processed by the function that updates the HUD and cannot be shown. Each area is processed independently. Sure, this may be impractical when you're looking for which area this actually is. But there's still my markers mod with land title register. So it's possible to find out which area "got lost". Given that it's something that is useful for large cities, I think the majors can care about this. They have to anyway. And your own areas are always shown, no matter if they're hidden or not.
What would we gain if the client can decide this? Sure, we could make it configurable. People would have to search where that config option is hidden, and those who find it by accident would be confused. Please see it as what it is: A tool for the majors to keep their cities playable without people with mobile clients having to flee due to beeing unable to read chat. Same as why people build roads or houses. What is presented and what isn't is the decision of those who can build there. It's not secret information anyway...the land title register exists. It's a service for visitors.
Unless areas or the yl areas addon depend on that - no. The areas mod has a function that updates the HUD. I changed that function and added functions to configure the yl_hidden attribute to yl_areas_addon.
There are arguments to be made that the client should decide what technical information they want. In the current iteration of the feature a smart area-owner must decide for everyone else, how the areas are displayed. This leads to a person who wants less areas displayed have no chance of having their wish fulfilled unless the area-owner complies. Which also demands they're still active. Had the client final say over how many areas are displayed, everyone could decide for themselves.
This is not only a tool for mayors - everyone should be able to use it on their private areas as well.
However, the way this works is nice as well. We'll add it.
Sure, it's always nicer to be able to configure things client-side. I'm just afraid it wouldn't gain users that much. If the major is inactive, there is still staff that might help if there's need. Not ideal, but then...not all things can be automatized.
this is live.
now we just need to inform people about it, in particular LeetPeet =D
further discussion of tweaks to the behavior ought to be a new issue.