Zandronum c# library for rcon and launcher protocols

killall -9

Moderator: Developers

Post Reply
rocklan
Registered just to make one post
Posts: 1
Joined: Wed Aug 11, 2021 7:28 am

Zandronum c# library for rcon and launcher protocols

#1

Post by rocklan » Thu Aug 12, 2021 7:18 am

Hi guys,

Just a quick post to let everyone know that a friend and I have been working on a c# (dotnet) library for talking to zandronum using the launcher+rcon protocol over UDP. It's working pretty well now. The code is available here:

https://github.com/rocklan/zanstat

Based on this library I'm working on a discord bot that will hopefully display useful information while you're playing. I'm currently beating my head against the wall trying to do an RCon query to work out how many lives each player has (for survival mode) and if they are still alive... but I can't figure out if this is possible or not. Any suggestions?

User avatar
Ru5tK1ng
Frequent Poster Miles card holder
Posts: 794
Joined: Fri Jun 01, 2012 9:04 pm

Re: Zandronum c# library for rcon and launcher protocols

#2

Post by Ru5tK1ng » Tue Aug 17, 2021 2:39 am

You'll have to write a script that collects each player and their name and health then use rcon to puke that info. I'm not sure what hudmessage or print trickery I'll have to do, but the puke solution is the only one I can think of. The playerinfo console command doesn't return the number of lives.

Post Reply