My favorites | Sign in
Project Home Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 271: Rank by STEAM ID
2 people starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Dec 2010


 
Reported by blazedde...@gmail.com, Dec 2, 2010
I'd like to be able to use "ev rank STEAM_0:0:1 admin" in console or rcon and be able add that user with the steam id to the rank given. Any suggestions? I  have been mulling over this code for a while now.
Dec 2, 2010
#2 blazedde...@gmail.com
Something to add to this. It looks like evolve is trying to be able to do this when you use the command, but the regular expression isn't matched by a string that could be returned.

if you use "ev rank STEAM_0:0:0000" it fails because instead of "STEAM_0:0:0000" it gets "STEAM_0" and the rest is GONE at the beginning of the command.
Dec 2, 2010
#3 blazedde...@gmail.com
Alright I have made a small fix that allows you to do this by changing any ":"s to "|" so they work in console. then at the top of the function you replace the string with

playername = string.Replace(args[1],"|",":")

and then change any usage of args[1] to playername

-------
While that is one victory you can't run it if the player isn't in the server which poses a problem. Is there not a way to add an admin by steam id even if they aren't in the server?


Dec 3, 2010
#4 DilanoDr...@gmail.com
is this already here ? if that player one time is in you can use the steamid ?
Dec 3, 2010
#5 blazedde...@gmail.com
.... what?
Dec 4, 2010
#6 DilanoDr...@gmail.com
if the player what you want rank one time is in you can rank him with steam id if he is offline

Dec 4, 2010
#7 blazedde...@gmail.com
It looks like it is trying to find a player online and does not match against existing players.
Dec 5, 2010
#8 blazedde...@gmail.com
btw i am trying to do so via rcon
Dec 22, 2010
Project Member #9 overv161@gmail.com
You ban by SteamID by using quotes. So:

ev ban "STEAM_0:0:00000"
Status: Done

Powered by Google Project Hosting