Opened 8 years ago

Closed 8 years ago

#133 closed enhancement (fixed)

LPF on offline players.

Reported by: zigstum Owned by: Alloc
Priority: minor Component: Scripts
Keywords: Cc:

Description

A mate and I are currently developing an advanced claim feature.
Advanced Claim coords are defined with a chathook (/advclaim) and are stored in a DB, and an 'lp' call every few secs allows us to check if any players are within any defined advclaim boundaries. To be able to complete this feature, we need to be able to get a list of the player's friends to decide whether to TP a player outside of the advclaim boundary. Coppis command 'lpf steamid' only works if the queried player is online.
I have seen that the data is available in the players.xml file, but this requires local file reading, which is not really suitable.
Would it be practical/possible to also return the friendlist of an offline player using the webAPI:

executeconsolecommand&command=lpf+12345678901234

?
Thanks :)

Change History (1)

comment:1 Changed 8 years ago by alloc

  • Resolution set to fixed
  • Status changed from new to closed

In 285:

Error: Processor CommitTicketReference failed
Unsupported version control system "svn": No module named svn
Note: See TracTickets for help on using tickets.