Feature A request to make some character pane information acquirable without visit_url

soolar

Member
I am currently working on a script that is a sort of successor to ChIT. One thing it has going for it is that it does not require a refresh to update information. However, there's certain essential info for a charpane replacement that currently can only be acquired by doing visit_url("/charpane.php") (or plain old visit_url() for an actual relay override script). I'd love to be able to completely avoid hitting charpane.php but still get this info to the player.

Here's a list of the information I'd need access to to be able to completely avoid calling visit_url:
  • Trail (recent adventure locations beyond the absolute most recent location)
  • The url for the container zone of the most recent adventure location (could more broadly just add this to the location object for all locations)
  • The player's avatar image url (handling custom avatars)
  • The player's current title
  • Recently expired effects
  • Active adventure modifiers (sneakisol, fiesta exit, etc, there is a noncombatForcerActive pref, but I'd love to be able to tell which one it is or list all of them if there are multiple)
I imagine at least some of this could be of use to other script writers too. Also, from having looked at mafia source code in the past (from a time I was wondering if I could get rid of the visit_url call in ChIT itself and just rely on mafia data), I'm fairly confident at least some of this information is indeed tracked by mafia at present, it just isn't exposed for script writers, although it's been some time since I did that particular dig so I don't remember the full specifics.
 
Back
Top