Opened 5 years ago

Closed 5 years ago

#133 closed enhancement (fixed)

LPF on offline players.

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


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:


Thanks :)

Change History (1)

comment:1 Changed 5 years ago by alloc

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

In 285:

Fixes #133

Note: See TracTickets for help on using tickets.