#1 2022-11-18 15:31:56

seVen
 
Reputation: +2632
Registered: 2015-12-20
Posts: 2,355
Windows 10 Firefox 106.0

Ignore by name?

 
To the brilliant minds among us: is there a way for a client to export the playerlist/slot-ID to a file
during a map?  A function which could be built?  If so, then it should be possible to convert that
data using RegEx, and activate it during game.

With the current platform accepting player-slots rather than nics, I would need to ignore all:

chatoff.txt

chat.addToIgnoreList 0
chat.addToIgnoreList 1
chat.addToIgnoreList 2

then unignore chosen players manually at each mapload.   ...Pain in the pooper.

Another thought was to use the buddlylist as an input:

game.addPlayerToBuddyListByName "I <3 chatspam"
game.addPlayerToBuddyListByName "teamkillerd00d"
game.addPlayerToBuddyListByName "troll01"

yet the player-slot data is still unknown.

Thoughts?

Edited for [hopefully] a clearer understanding
 

Last edited by seVen (2022-11-18 17:37:54)

Offline

    Positive reputation 0   Negative reputation 1

#2 2022-11-20 03:50:22

bud
maestro
Reputation: +1835
Location: shangri la
Registered: 2012-07-07
Posts: 3,941
Website
Windows 10 Firefox 107.0

Re: Ignore by name?

There is commands you can use to query the server (forgot them by now tho) and get a lot of data such as player-slot and name. Take a look at HLSW if dont have done that already, it collect and shows the output altho the id nr is of by 1 for some reason. Maybe someone could put together a script to make what you want, but i think this is over my paygrade.

Hidden text

server-query.jpg

Offline

    Positive reputation 1   Negative reputation 0

#3 2022-11-20 16:17:25

Black Mamba
Member
Canada
Reputation: +1449
Registered: 2012-12-01
Posts: 4,231
iOS Safari 16.1

Re: Ignore by name?

seVen wrote:

 
To the brilliant minds among us: is there a way for a client to export the playerlist/slot-ID to a file
during a map?  A function which could be built?  If so, then it should be possible to convert that
data using RegEx, and activate it during game.

With the current platform accepting player-slots rather than nics, I would need to ignore all:

chatoff.txt

chat.addToIgnoreList 0
chat.addToIgnoreList 1
chat.addToIgnoreList 2

then unignore chosen players manually at each mapload.   ...Pain in the pooper.

Another thought was to use the buddlylist as an input:

game.addPlayerToBuddyListByName "I <3 chatspam"
game.addPlayerToBuddyListByName "teamkillerd00d"
game.addPlayerToBuddyListByName "troll01"

yet the player-slot data is still unknown.

Thoughts?

Edited for [hopefully] a clearer understanding
 

Doesn’t enabling player statistics collection on the server already do that (check the CSV file or XML logs)?

Offline

    Positive reputation 0   Negative reputation 0

Board footer