Forums » Suggestions

GetTargetBountyInfo() Lua command

Apr 25, 2010 Aticephyr link
Would be nifty to write a plugin to alert a pilot that they've targeted someone with a bounty (or even that a guy with a bounty is in-sector). Would like this command (or some such similar command) to make such a plugin possible.

edit: to clarify, the command would only allow you to determine the bounty status of targetable ships.

afterthought: a good return val might just be a number indicating size of bounty. If the number is 0, there is no bounty.
Apr 25, 2010 peytros link
or you could like talk to the bounty officer cause that is the point of him being in game.
Apr 25, 2010 Aticephyr link
Pey, you realize that if you target someone and press 'k', you can see if they have a bounty? I just want a way to notify the user without having them pressing 'k' and scrolling.
Apr 26, 2010 Alloh link
Why don't you use this same information from 'k' and filter results for bounty word?
Apr 26, 2010 Aticephyr link
You want me to create a scraper for people's target info pages? I'm not even sure if an API exists to let me do that or even see that info (though if it is someone tell me). It's also the least elegant solution possible.
Apr 26, 2010 pirren link
peytros, +1
Apr 26, 2010 Aticephyr link
pirren, peytros... mind explaining your "reasoning"?

The information is already readily available for players to view when they target someone. I just want to make that information more easily available to the player. What is the reasoning against such an improvement?

Moreover, while the marshals do their job... they don't do it very well. But that isn't even relevant to this suggestion.

And of course, in order to get a full list of bounties, you'd still have to talk to the marshal. This suggestion in no way changes that fact. Are you guys even reading the suggestion??
Apr 26, 2010 diqrtvpe link
While originally I argued against just making the event available in favour of incorporating the idea fully into the interface (togglable), I think I'm going to change my mind and agree with you on this one, Atice. Incorporation into customHUD or targetless or something like that would be more useful for most people, as they already make great use of these additional HUD elements.

So +1 OP.
Apr 26, 2010 Strat link
There is no good reason not to implement this suggestion, given how it currently works.
Apr 28, 2010 Router6 link
i think this would be useful
Apr 29, 2010 missioncreek2 link
Good idea. In any case the marshals should also respond to a PM when not in sector.
Apr 29, 2010 Maalik link
How does the standard lua interface get the information now? You sure you can't already do what you want to do?
Apr 30, 2010 pirren link
-1 to OP. Why are you lazy to press "k"? IMHO, info should be available only at marshalls, not by "k"'s, and especially with plugins.
Apr 30, 2010 Aticephyr link
How does the standard lua interface get the information now? You sure you can't already do what you want to do?

Via private API, which I either don't have access to or wouldn't be publicly supported. I've talked to mom about this, and the command is not publicly available.

@pirren:
If you think the data shouldn't be available via 'k', then go make your own thread. This suggestion is for making a better UI, not better game mechanic (and an alert that the person you are targeting has a bounty is far better UI than having to press 'k' and scroll. It isn't about being lazy, it's about good user experience).
Apr 30, 2010 Maalik link
Oh. Allowing people to incorporate bounty stuff into plugins sounds like a positive thing. As much as possible I want to not have to turn off my HUD when I'm in space. But really I'd rather it took a charid as its argument and could report on anyone in the sector.. :P
May 06, 2010 Aticephyr link
self bump of doom.

seriously though, any more comments? The Suggestions board has been incredibly active lately... had made it's way to page 3 and it was less than a week since Maalik's post.