What Are All Of The Special Icons?
MGN-Edge
Join Date: 2003-03-17 Member: 14603Members
<div class="IPBDescription">Green is serverop, etc...</div> I've seen a new Icon show up on the server.
I know green is serverop, blue is constellation, but what is yellow?? Valve? BTW one of the peeps that had is was a jerk. <!--emo&:0--><img src='http://www.unknownworlds.com/forums/html/emoticons/wow.gif' border='0' style='vertical-align:middle' alt='wow.gif'><!--endemo-->
I know green is serverop, blue is constellation, but what is yellow?? Valve? BTW one of the peeps that had is was a jerk. <!--emo&:0--><img src='http://www.unknownworlds.com/forums/html/emoticons/wow.gif' border='0' style='vertical-align:middle' alt='wow.gif'><!--endemo-->
Comments
<b>Veteran</b>
These are members of the top few clans chosen to test development versions of NS.
<b>Playtester</b>
These are the people who test NS before it is released.
<b>Developer</b>
These are the people who made NS.
<b>Constellation</b>
These people have donated money to Flayra to support NS.
<b>Server Admin</b>
These people run the server you're playing on and have admin powers.
<b>Beta Server Op</b>
These people let Flayra use their servers to test development versions of NS.
<b>Cheating-Death</b>
These people are running Cheating-Death on their machine.
The server-op icons have a few problems and don't always show up. If you're a server admin and are having trouble with your icons, use my handy <a href='http://www.modns.org/forums/index.php?showtopic=64' target='_blank'>Serverop plugin</a> to force them to appear (shameless advertisment <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo--> ).
It shouldn't be too difficult. I would need to how/where you store the wonid's for people with a reserved slot, though. If it's a cvar or text file, no problem. If it's a database (like MySQL) then it's a bit more difficult.
I had this before I had C-D running, though its off now.
[Edit] fixed <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
For the sake of having a plugin I'd be quite happy to add sv_reserves or whatever to my server.cfg in any format you want... However with adminmod normally there is a file in ./addons/adminmod/config/users.ini that is formatted like this:-
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
//This user (wonid 12345) has full admin access including a reserved slot
123456::131071
//reserved Slot access only for this user (wonid 654321)
654321::32768
//This user need to also supply a password and has access level 1 in addition to a reserved slot.
123123:password:32769
//and this reserved slot is for a player named bob who supplies the password
bob:access:32768
<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
So basicaly if the line starts with // it's a comment otherwise the first number is the name or wonid and the last number is the access level (32768 gives a reserved slot)
AMX or clanmod will do things differently so a server.cfg cvar might be a good option.
As far as I know its a tiny heavy armor <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
// This is a mask because players can have more then one of these
typedef enum
{
PLAYERAUTH_NONE = 0,
PLAYERAUTH_DEVELOPER = 1,
PLAYERAUTH_<span style='color:red'>GUIDE</span> = 2,
PLAYERAUTH_SERVEROP = 4,
PLAYERAUTH_PLAYTESTER = 8,
PLAYERAUTH_CONTRIBUTOR = 16,
PLAYERAUTH_CHEATINGDEATH = 32,
PLAYERAUTH_VETERAN = 64,
PLAYERAUTH_BETASERVEROP = 128
} AvHPlayerAuthentication;
Author: Philip Searle
WWW: <a href='http://homepage.ntlworld.com/pr.searle/' target='_blank'>http://homepage.ntlworld.com/pr.searle/</a>
Version 2.0 is now available. The mp_serverops stuff works exactly the same as the first version (i.e. just use mp_serverops as normal and the plugin makes sure the icons show up). Fixed a bug where the client command prs_getauthid wouldn't tell the player their authid. The major new feature is the ability to add the cheating-death icon next to players names. Which players get the icon can be determined either by a cvar (if you only have a few 'special' players), a textfile (if you have a list of people who donated to a server, perhaps) or the adminmod users.ini (for people with a reserved slot). The list of players is updated every map change and can be reloaded manually using the server command prs_rescan_reserved.
<ul>
<li>If you want the cheating-death icon to act normally, set the cvar prs_reserved_type to 0.
<li>To place an icon next to users who have an adminmod reserved slot, set the cvar prs_reserved_type to 1 and set the cvar prs_reserved_slots to the location of your users.ini file (usually "addons/adminmod/config/users.ini"). Only usernames and WONIDs will be recognised in the first field; STEAM IDs will be ignored. I'll take another look at them when STEAM gets up and running. The plugin also ignores the password field.
<li>To place an icon next to users who are listed in a text file, set the cvar prs_reserved_type to 2 and set the cvar prs_reserved_icons to the location of the text file (e.g. "addons/reserved.txt"). The file should contain a list of WONIDs, STEAM IDs or usernames; one per line. Lines whose first character is a foward-slash (/) will be ignored.
<li>To place an icon next to users who are listed in a cvar, set the cvar prs_reserved_type to 3 and place the users WONIDs, STEAM IDs or usernames in the cvar prs_reserved_slots. They should be seperated by semi-colons (e.g. "123456;098765;NSPlayer").
</ul>
A win32 binary and source code can be found <a href='http://homepage.ntlworld.com/pr.searle/' target='_blank'>here</a>.
<b>Edit: </b>Updated to fix problems with bots and fakefull plugin. See my next post to download it.
Problems? Questions? Email me at pr.searle@ntlworld.com
The cvar prs_reserved_icon will change which icon is used. The appropriate values were posted earlier in this thread by Firestorm. If you change it from 32 (Cheating-Death) to another icon, then reserved slot players will get the specified icon and non-reserved slot players will get the cheating-death icon as usual.
*Edit - Ahh yes just realized that I will have to make the server download my new icons to clients connecting. Meehhh.. no big deal.
**Edit2 - Crud also just realized that there are fixed number of icons,, ah well its not like the developers or Or Guides visit my server anyway.
I am going to try and make a fresh install of HLDS with only metamod and I will paste the results.
Edit: Figured it out, it was one of my plugins, the controversial one (fakefull), probably because fake clients have a wonid of 0 (zero), anyways I hope this new information can help you.
Author: Philip Searle
WWW: <a href='http://homepage.ntlworld.com/pr.searle/' target='_blank'>http://homepage.ntlworld.com/pr.searle/</a>
Version 2.1 is now available. The serverop and reserved icon stuff works exactly the same as the first version. Fixed a bug with bots and the Fakefull plugin.
(This section got left out of the last post):
If you want to change which icon players get, change the value of the cvar prs_reserved_icon. Note that if you change it from 32 (the default) then the cheating-death icon will work as normal for players without a reserved icon. The values are:
<ul>
<li>1: Developer. A light blue TSA logo.
<li>2: Guide. A purple medal (I think).
<li>4: Serverop. The standard green server icon.
<li>8: Playtester. An orange skulk.
<li>16: Contributer. The constellation icon.
<li>32: Cheating-Death. The orange CD icon (default).
<li>64: Veteran. A yellow medal.
<li>128: Beta Serverop. Like the serverop icon but grey.
</ul>
If you're having trouble getting your icons to show, then use the client command prs_debug_serverops to display the loaded serverops, reserved slots and current player status.
<b>Edit: </b>Uploaded version that should fix the problems Silicon was having when mp_serverops wasn't set.
Problems? Question? Email me at pr.searle@ntlworld.com
going to test it on my HLDS-Testing machine.
it _works_ (this icon shows up) but as soon as I join a team the server crashes (I am guessing because the server checks what icon people should get as soon as they join a team?):
<img src='http://ns.bbs.us/downloads/pics/hldscrash.jpg' border='0' alt='user posted image'>
(hopefully the ss was helpful)
Edit: okay it crashes with 4.1.1.0 and 4.1.1.1, it works with steam server without crashing, but with steam server I have 400 ping (I have no clue why because I am on the same switch as the test machine) (if you care to see my misfortune the screenshot is here: <a href='http://ns.bbs.us/downloads/pics/steamsux.jpg' target='_blank'>http://ns.bbs.us/downloads/pics/steamsux.jpg</a> )
Edit: okay I figured out what was crashing it, I disabled cheating-death metamod plugin and it doesn't crash when I join a team, maybe something is trying to push the CD icon instead of the one the plugin specifies? (btw tested this with 4.1.1.0 and 4.1.1.1 both don't crash with cd plugin disabled).
this is a great way to get people to play on the server methinks
Very odd; were you running cheating-death in required mode or optional? Roob's server runs Cd-required, and I haven't seen any problems there. It shouldn't matter which icons the NS dll sets, because the plugin overrides them before they get sent to the client. If you want, I could send you a copy of the plugin with debug messages enabled to find out exactly where it crashes; PM me if you're interested.