Главная » Статьи » Tactical Ops

Console Commands (continued)
____________________
TOST 4.0 SEMIADMIN
____________________

Well, TOST is now version 4.2.2.0, and I wrote the following back in TOST 4.0, but most of the info should be the same:

I don't guarantee everthing still works the same, nor that the policy numbers are still the same. You can read the online TOST readme at http://tost.tactical-ops.de
or in English: http://tost.tactical-ops.de/readme/english/readme.main.html

1) you need a line in [tost40.tostservermutator] that has a piece for semiadmin, for example slot #4 (doesn't have to be 4):

Pieces[4]=TOSTTools.TOSTSemiAdmin

2) Edit section [TOSTTools.TOSTSemiAdmin]

this section has three main areas, plus 7 other settings.

a) the first area is passwords... semiadmin levels 0-9. You can add mulitple passwords for any given level:

SApw[0]=level1pw
...

SApw[9]=dannypwns;santiepwns

the second area is Policy. This means what commands are enabled for each level, 0-9. For example, for the SAlevel slots 0 & 9 (which are actually levels 1 and 10):

Policy[0]=100-104;107-109;114

Policy[9]=100-209

The numbers correspond to commands according to this key

Policy Codes

100 = TOSTInfo - sends some infos about TOST to calling player (allowed for all players)
102 = MkTeams - make teams even

103 = FTeamChg - force a player to change team

104 = KickBanTK - kickbans all players with negative score/given player if he has negative score

105 = MapChange - change map instantly

106 = Punish - punish player with death or a given amount of damage

107 = Kick - kick given player

108 = TempKickBan - kemp kick ban given player

109 = KickBan - kick ban given player

110 = AdminReset - restart map

111 = EndRound - start new round

112 = AdminSay SASay - display message in the screencenter

113 = ProtectSrv - protect the server with an random password for a defined time

114 = ShowIP - send IP of given player to requesting player

115 = ChangeMutator - change mutator list managed by TOST

116 = ChangePiece - change piece list

118 = ForceName - Rename a player

140 = SaveSettings - save current settings

141 = LoadSettings - load settings and apply them

150 = GetNextMap - send next map to the requesting player

151 = SetNextMap - set next map that will be played

152 = VoteMap - vote for map

153 = SkipMap - skip to next map (cycle or admin set)

154 = GetMapList - send maplist to requesting player

163 = PlayExtraSound - play sounds for all/given player

209 = SAPasswd - change own SA password

c) the third area is readpolicy & writepolicy, again numbered 0-9. These are the ability to change server settings, such as console admin pw, semiadminpw, friendly fire, CW mode, etc.

for example:

ReadPolicy[0]=101-117;124-125;126
ReadPolicy[9]=101-126

WritePolicy[0]=101-117;124-125;126

WritePolicy[9]=101-126

According to this key:
Read/WritePolicy Codes

Note that if you enable #100, they can get and even set (i.e. "Read Policy" or "Write Policy") the FULL admin password, in which defeats the purpose of semiadmin!

100 = Admin Password

101 = Game Password

102 = Time Limit

103 = Round Duration

104 = Ballistics

105 = GhostCam

106 = PunishTK

107 = TOST Enh Vote System

108 = TOST AutoMkTeams

109 = TOST BAckup

110 = FriendlyFireScale

111 = ExplosionFF

112 = Mirror Damage

113 = TK Handling

114 = Max TK

115 = Min Allowed Score

116 = HP Messages

117 = NextMap

118 = MapVote

119 = MapVoteInGamePercentage

120 = MapVotePercentage

121 = MapVoteMode

122 = MapVoteTimeLimit

123 = MapVoteNoReplay

124 = Setting Descritions

125 = CW Mode

126 = Round Limit

d) There are afew more settings:

SilentLogin=4

UserReadPolicy=

UserWritePolicy=

UserPolicy=

MaxTry=5

minPWLen=6

forceDigit=False

the most important is that silentlogin, which defines at what level and above that semiadmin login becomes silent.

___________

for your semiadmins, here are the SA commands. Most everyone knows mkteams and fteamchg, but there are also equivalents to endround and adminreset: saendround and saadminreset

TOSTInfo ()

MkTeams (optional bool RemoveWeapons)
FTeamChg (int pid, optional bool RemoveWeapons)

KickBanTK (optional int pid)
SAMapChg (string Map)
Punish (int pid, optional int Damage)
SAKick (string PlayerName)
SAXKick (string PlayerName)
SAPKick (int pid)
SAXPKick (int pid)
SATempKickBan (string PlayerName)
SAPTempKickBan (int pid)
SAKickBan (string PlayerName)
SAPKickBan (int pid)
SAAdminReset ()
SAEndRound ()
SASay (string Msg)
ProtectSrv (optional int duration)
ShowIP (int pid)
ChangeMutator (int Index, string Mutator)
ChangePiece (int Index, string Piece)
ForceName (int pid, string NewName)
CWMode (bool Flag)
SASetGamePw (string Password)
GetNextMap ()
SASetNextMap (string Map)
SetNextMap (string Map)
VoteMap (string Map)
SkipMap ()
SaveSettings (int Index, optional string Desc)
LoadSettingsPW (int Index, optional string Pass)
LoadSettings (int Index)
SALogin (string Pass)
SALogOut ()
ExplainPolicy (int Level)
SAaddPW (int Level, string newpw)
SAdelPW (string toDel)
SAhelp ()
SApasswd (string newPass, string confirm)
ShowVoteTab ()
ShowGameTab ()
ShowAdminTab ()
PlayExtraSound (int pid, string MySound)

XSay (coerce string S)
XTeamSay (coerce string S)
Echo (coerce string S)
ShowTeamInfo ()
ShowWeapon ()
SetSoundLength (float Len)
SetSoundClass (int i)
GetServerIP ()
toggleHitHUD ()

__________________________________________________ _

About Sounds

__________________________________________________ _

This stuff will help if you're trying to use TOSTFun for sound triggering, or using the admin command "playextrasound" (which can be enabled for non admins in the server's ini file).

PlayExtraSound [PID] [Sound] can be configured to be useable by all players (UserPolicy=163) - so everyon can use it... - for all players just use 0 as PID

List of Sounds--
These are ones that are included in UT's announcer as well as auxiliary file s that are required for TO-- therefore you don't need to install new custom sound file on your server to play these. I have in parenthesis some sample text for triggers that I have used for these sounds. Sorry this is so disorganized:

playextrasound 0 tosoundpack.dog2 (w00f or w00t)
playextrasound 0tosoundpack.dogangry3 (Grr)

tosoundpack.cat2 (meow )
tosoundpack.cat3 (meow)
tosoundpack.catangry (roar)
tosoundpack.bvoices (hmm)

tosoundpack.birds4 (cheap)

Announcer.HeadShot
Announcer.LostMatch
Announcer.Winner
Announcer.DoubleKill (olsen twins!)
Announcer.MultiKill
Announcer.UltraKill (autre)
Announcer.Monsterkill
Announcer.FirstBlood
Announcer.rampage
Announcer.unstoppable
Announcer.dominating
Announcer.killingspree
voicehostages.hos_hit1 (I can't believe it, they're gonna kill me)
voicehostages.hos_hit2 (NO!)
voicehostages.hos_hit3 (no.)
voicehostages.hos_hit4 (no?)
voicehostages.hos_hit5 (noooo))
voicehostages.hos_hit6 (Oh, the pain!)
voicehostages.hos_complain1 (long coughing)
voicehostages.hos_complain2 (short coughing)
voicehostages.hos_complain3 (have mercy please)
voicehostages.hos_complain4 (please, let me go) (please)
voicehostages.hos_tfol (please... don't kill me) (please)
voicehostages.hos_sffol (all right, I'll follow) (all right)
voicehostages.hos_fol (okay)

also, there' s a ton in todatas, like all the gun sounds, impact sounds, walking sounds, ladder sounds, and some more, here's a small sample:
todatas.to_mdeath3
todatas.to_mdeath4 (bah)
todatas.to_mdeath5 (bs)
todatas.to_fdeath1 (ow!)
todatas.to_fdeath2
todatas.to_fdeath3 (oh!)
todatas.to_fdeath4sf( oh no!)
todatas.to_fdeath5 (oh god)

todatas.hithelmet
todatas.stairs5
todatas.fall1
todatas.bi_ricochet2
todatas.nv_on
todatas.nv_off
todatas.fm_mud1 (gay)
tosoundpack.doorgarageopen (gtg or ttyl)
tosoundpack.doorclose4 (stfu or banning)
todatas.fm_highgrass2 (barely brush sound)
todatas.flyby1 (oosh... catches woosh or swoosh)

__________________________________________________ ________
I ACCIDENTALLY BANNED MYSELF FROM MY SERVER, WHAT DO I DO?

__________________________________________________ ________

This a common question, don't feel bad

Obviously, if there is another server admin who knows their stuff and can unban you, then you wouldn't be reading this.

1) Unban your IP from WebAdmin
This assumes webadmin is enabled on your server.
If you know how to do this, go ahead & look up your IP in IP Policies, and unban yourself.
Webadmin is often at port 8888 of your gameserver: xxx.xxx.xxx.xx:8888 in your web browser.

2) "No one around knows web admin login!"
Then ask a buddy who has console admin to type the following when logged in as admin:
admin get utserveradmin.utserveradmin adminusername
admin get utserveradmin.utserveradmin adminpassword
and to get the port number (if not 8888):
admin get uweb.webserver listenport

Now you have the port, webadmin username, and password, so go unban yourself.

3) If everyone around only has semiadmin, you can be sneaky and see if your primary admin has given semiadmins policy #100, which is reading/writing admin password. That's right, the console admin password. SHOWADMINTAB, and maybe you can see it. If so, then go do step 2)

*****

If you you're on a dynamic IP I guess you could just unplug your internet for a day or two and see if your IP changes.

Also, if you happen to have FTP access to your server, you could download your tacticalops.ini or the equivalent, look for your IP, and unban it. Now with TOST 4.2.2.0, I'm not sure if banned IPs are also stored elsewhere.

__________________________________________________ ___ __________________________________________________ ___
__________________________________________________ ___ __________________________________________________ ___
__________________________________________________ ___ __________________________________________________ ___

Категория: Tactical Ops | Добавил: Zimmer (20.10.2009)
Просмотров: 10728 | Комментарии: 4 | Рейтинг: 0.0/0 |
Всего комментариев: 4
4 Рай для геймеров на bravica.org  
0
В нынешнем суетливом мире, где действительно много неприятных проблем, рутинной работы и не очень приятных обязательств так важно комфортно и правильно отдыхать. Для большинства отдых – это поход в кино или ресторан, кто-то предпочитает баню и шашлык, а некоторые – уютный вечер в компании с увлекательной онлайн-игрой. Наш ресурс – это место, на котором расположено очень много современных флеш-игр. На bravica.org вы сможете отыскать игры на любой вкус – для девочек и мальчиков, быстрые аркады, развивающие логические игры, флеш-игры в стиле экшн, приключенческие, спортивные и многие другие.
http://www.bravica.org/ru/action/aircraft.htm - игри сомалёты
http://www.bravica.org/ru/ - играть безплатно игры без регистраций

Понимая, как для вас важна каждая минута, мы убрали процедуру регистрации. Теперь вам не надо тратить время для того, чтобы заиметь доступ к интересной игре. Здесь вы сумеете сделать это только бесплатно и без регистрации. Мы предлагаем вам только высокое качество и самые последние новинки в мире флеш-игр. Отныне, перед тем, как скачать понравившуюся игру, вы сможете протестировать ее в виртуальном режиме, не заплатив за это ровным счетом ничего! Сайт bravica.org знает, как разнообразить ваш досуг!
http://www.bravica.org/ru/action/ - крутые игры сам кловер алекс
http://www.bravica.org/ru/game_2322_frat_boy_beer_pong.htm - флеш игры пинг понг

3 doodle jump oyna  
0
Мобильная игра doodle jump произвела настоящую новость в игровой нише. Если Вы ищите про http://doodle-jumpi.ru/ - doodle jump deluxe и это возможно сделать здесь. Понятный гемплей.

2 icons archive  
0
http://blog.ocean-hk.com/?p=488&cpage=39#comment-710811 - You are not right. Let's discuss.
http://www.layar.com/blog/comment/posted/?c=44070

1 icon designs  
0
http://www.song.gta.sk/en/forum/viewthread.php?thread_id=76861 - What words... super, a brilliant idea

Добавлять комментарии могут только зарегистрированные пользователи.
[ Регистрация | Вход ]
SIL © 2025