(ADV:) etadmin_mod v0.21 (now 0.28)

Discussion for Admins of ETPro/BayonET servers.
If you don't run a server, please don't post here...

Moderators: Forum moderators, developers

Mark
Posts: 411
Joined: Thu Jan 01, 2004 6:10 am
Location: #vpclan@qnet

Post by Mark »

=FF=im2weak4u wrote:oke i know Beta b or alpha a but P3 ? :roll:
Hehe,

the "p" came from preview. I had no time to do all the things, i wanted to add / change. Therefore i made a quickshot and released 0.26preview. =)

greets
Mark
Get owned at: Gaming@d1p.de (217.172.182.126:27960)
Image
Hi! I'm a .signature *virus*! Copy me into your ~/.signature to help me spread!
User avatar
Ragnar_40k
Posts: 394
Joined: Thu Mar 18, 2004 5:18 pm
Location: Berlin, birthplace of the Döner
Contact:

Post by Ragnar_40k »

Oh, another idea:
When after a given time a specific message didn't appear the next map is loaded.
I.e.: When after 10 min the message "Allied team has stolen the Tank!" didn't come up on goldrush. the next map is loaded (maybe a vote is enough).
The Emperor watch over you.
Mark
Posts: 411
Joined: Thu Jan 01, 2004 6:10 am
Location: #vpclan@qnet

Post by Mark »

Ragnar_40k wrote:Oh, another idea:
When after a given time a specific message didn't appear the next map is loaded.
I.e.: When after 10 min the message "Allied team has stolen the Tank!" didn't come up on goldrush. the next map is loaded (maybe a vote is enough).
Hi,

i dunno. Have to check, if this is possible. I think, these messages are not in the server console.log...

btw. you may try the timebonus mod... Does the same for all standard maps. But i don't think, they used the fixed etpro map scripts.

Greets
Mark
Get owned at: Gaming@d1p.de (217.172.182.126:27960)
Image
Hi! I'm a .signature *virus*! Copy me into your ~/.signature to help me spread!
User avatar
Ragnar_40k
Posts: 394
Joined: Thu Mar 18, 2004 5:18 pm
Location: Berlin, birthplace of the Döner
Contact:

Post by Ragnar_40k »

Mark wrote:When after a given time a specific message didn't appear the next map is loaded.
Maybe bani can add them if needed. This would also improve stats parsing (like systats, e.g. the detection of the winner of a map could be done better by parsing these messages than with timelimit).
Mark wrote:btw. you may try the timebonus mod... Does the same for all standard maps. But i don't think, they used the fixed etpro map scripts.
I know TimeBonus (actually I am the creator). And no, it does not incorporate the fixed etpro map scripts, it is based on the 1.02 Main version. If there is a need I can update them.
The Emperor watch over you.
Mark
Posts: 411
Joined: Thu Jan 01, 2004 6:10 am
Location: #vpclan@qnet

Post by Mark »

Ragnar_40k wrote:
Mark wrote:When after a given time a specific message didn't appear the next map is loaded.
Maybe bani can add them if needed. This would also improve stats parsing (like systats, e.g. the detection of the winner of a map could be done better by parsing these messages than with timelimit).
These messages are not needed in the etconsole.log, because parsers don't use that file. It's a little bit different to the game.log.
Mark wrote:btw. you may try the timebonus mod... Does the same for all standard maps. But i don't think, they used the fixed etpro map scripts.
I know TimeBonus (actually I am the creator). And no, it does not incorporate the fixed etpro map scripts, it is based on the 1.02 Main version. If there is a need I can update them.
Ah, nice to meet you =)... We have your mod running on our two shr*b servers.

Greets
Mark
Get owned at: Gaming@d1p.de (217.172.182.126:27960)
Image
Hi! I'm a .signature *virus*! Copy me into your ~/.signature to help me spread!
Mark
Posts: 411
Joined: Thu Jan 01, 2004 6:10 am
Location: #vpclan@qnet

Post by Mark »

Hi,

i'm currently working on the next version, which includes some more features (and pm's for etpro 3.1.5+) and i'm currently working on a !spec999 command. Works pretty well for me, but i would like to hear some opinions / suggestions:

http://forum.et.d1p.de/index.php?showto ... ost&p=5190

If i can find a good way to configure it for the public, then i include it into the next version (like i do with the !vote <show|start|end|yes|no> command (also a small external script).

If you don't want to register in my forum (many already did), then post your comments here.

Thx in advance,

greets
Mark
Get owned at: Gaming@d1p.de (217.172.182.126:27960)
Image
Hi! I'm a .signature *virus*! Copy me into your ~/.signature to help me spread!
Mark
Posts: 411
Joined: Thu Jan 01, 2004 6:10 am
Location: #vpclan@qnet

Post by Mark »

Hi everyone,

after a very long testing period (thx to all, who helped me testing), the new 0.27 version is ready to be released. This release fixes some internal bugs and adds some nice features for your pleasure. Have fun with it and don't forget to check out the new external "vote.pl" (see config changes).

Download here:
http://et.d1p.de/etadmin_mod/etadmin_mod-0.27.tar.gz

Changelog (since 0.26p3):

Code: Select all

#       0.27    - added security options for command line usage.        &#40;23-12-2004&#41;
#                 &#40;-e -d -r&#41;, see etadmin_mod.sh for details.
#                 Use&#58; For game hosters, that want to restrict or disable
#                 the use of external commands, like tail or the
#                 programs from the external section &#40;mark&#41;
#               - changed tail parameters from -f to
#                 --follow=name --retry for better logrotating,
#                 &#40;MadScientist/mark&#41;
#               - added "use_punkbuster" and "default_kick_duration" &#40;mark&#41;
#               - code cleanup &#40;mark&#41;
#               - added support for multiple config files.              &#40;19-12-2004&#41;
#                 useful for overwriting configs &#40;game-hoster-security&#41; &#40;mark&#41;
#       0.26p4  - version change to 0.27 &#40;0.26p4 wasn't released officially&#41;.
#               - added <PART2IP> and rcon ip ban functions  &#40;mark&#41;     &#40;28-11-2004&#41;
#               - added admin_ctp_override for clantag protection &#40;mark&#41;
#               - added etpro mod_version detecting for usage of        &#40;27-11-2004&#41;
#                 private messages &#40;mark&#41;
#               - added best map spree &#40;mark&#41;
#               - added a different cancel message cancel_mode == 3 &#40;mark&#41;
#               - added shrub g_logoptions 192 support                  &#40;26-11-2004&#41;
#               - fixed chat&#40;client&#41; rcon output for shrub&#40;mark&#41;
#               - added silent_private_messages and rcon_featback       &#40;25-11-2004&#41;
#                 option &#40;mark&#41;
#               - added <PART2GUID> to alias-replacements &#40;mark&#41;
#               - added rcon featback parsing and command               &#40;24-11-2004&#41;
#                 featback, fixes shuffle_norestart &#40;mark&#41;
#               - added resync command for resyncing player - team
#                 assignment &#40;mark&#41;
#               - added <SERVER_PORT> &#40;forgot that one&#41; &#40;mark&#41;          &#40;21-11-2004&#41;
#               - workaround for ref shuffleteamxp_norestart...
#                 &#40;still not really fixed yet, but know how
#                  to do it finally&#41; &#40;mark&#41;
#               - added <ADMIN_LEVEL>, <SERVER_ADDR>, <SERVER_PASSWORD> &#40;19-11-2004&#41;
#                 as replacements for external programs &#40;mark&#41;
#               - build addons/vote.pl &#40;first q&d version&#41; &#40;mark&#41;
#               - fixed none empty <PARAMETER> command &#40;mark&#41;
#               - added overall best spree &#40;mark&#41;                       &#40;16-11-2004&#41;
#               - changed ban recognition &#40;mark&#41;
Config changes (from 0.26p3 to 0.27) see here:
http://et.d1p.de/etadmin_mod/config_changes_0.26to0.27.txt

If you already use 0.26p3, then you just have to replace the etadmin_mod.pl & etadmin_mod.sh and add the config changes.

Greets
Mark
Get owned at: Gaming@d1p.de (217.172.182.126:27960)
Image
Hi! I'm a .signature *virus*! Copy me into your ~/.signature to help me spread!
User avatar
Ragnar_40k
Posts: 394
Joined: Thu Mar 18, 2004 5:18 pm
Location: Berlin, birthplace of the Döner
Contact:

Post by Ragnar_40k »

When you select a "forbidden" class you get kicked to spectator. Wouldn't it be better to be kicked to a default class (like SMG engi) or to the class the player had before (if possible).
And some kind of (private) message would be nice, like "Class XYZ is currently not available ... "
The Emperor watch over you.
nihilist
Posts: 30
Joined: Sun Nov 28, 2004 1:52 pm

Post by nihilist »

pow
Posts: 50
Joined: Sun Nov 28, 2004 9:57 am

Post by pow »

Yeez just getting the hang of all those cvars in etpro and now I have to start all over with this ;) The options really look nice so I'll start trying to get this up and running (get ready for questions guys ;))
great job Mark
User avatar
HarryHirsch
Posts: 92
Joined: Mon Sep 01, 2003 9:28 am
Location: Germany

Post by HarryHirsch »

2 days ago I got 2 probs with 0.27

1) teams are OK (but warning came then I stopped the mod
2) restarted it and this "prob" was ok but the spree record was reset to a spree record last time (think so) I started the mod

persistent_spree_record = 1 in /etc/etadmin.cfg

any suggestions mark ?
Mark
Posts: 411
Joined: Thu Jan 01, 2004 6:10 am
Location: #vpclan@qnet

Post by Mark »

HarryHirsch wrote:2 days ago I got 2 probs with 0.27

1) teams are OK (but warning came then I stopped the mod
2) restarted it and this "prob" was ok but the spree record was reset to a spree record last time (think so) I started the mod

persistent_spree_record = 1 in /etc/etadmin.cfg

any suggestions mark ?
Hi,

1. if teams are out of sync (can happen, if you do stuff with rcon yourself), then you can !resync (only etpro) or wait for next map.

2. Mh, the new spree record is written into the var directory, the moment the new spree record is displayed ingame. Check, if the var directory exists and has the right permissions for writing.

Greets
Mark
Get owned at: Gaming@d1p.de (217.172.182.126:27960)
Image
Hi! I'm a .signature *virus*! Copy me into your ~/.signature to help me spread!
User avatar
HarryHirsch
Posts: 92
Joined: Mon Sep 01, 2003 9:28 am
Location: Germany

Post by HarryHirsch »

and has the right permissions for writing.
===========================
dunno why but THIS file had no rights maybe MY fault


think i fixed it

thx Mark
Mark
Posts: 411
Joined: Thu Jan 01, 2004 6:10 am
Location: #vpclan@qnet

Post by Mark »

Hi everyone,

haven't had time to repack the new etadmin_mod 0.28. Therefore, here are the files, you need for updating your 0.27 to 0.28.

Just download and replace the etadmin_mod.pl and the shrub_management.pl in the etadmin_mod/bin directory and add the options from the changes_0.28.txt, which you want to use. All new options are disabled by default, so if you update without adding the new options, it a bugfix release only.

Download:
http://et.d1p.de/etadmin_mod/new/etadmin_mod.pl
http://et.d1p.de/etadmin_mod/new/shrub_management.pl

New options:
http://et.d1p.de/etadmin_mod/new/changes_0.28.txt

The complete new package for 0.28 follows in the next days.

Complete changelog since 0.27:

Code: Select all

#       0.28    - "m" fix &#40;mark&#41;                                        &#40;22-05-2005&#41;
#               - changed version number to 0.28 for public release
#       0.27p1  - added rule_dont_show_change to supress rule change    &#40;16-05-2005&#41;
#                 messages &#40;mark&#41;
#               - added enhanced duration support for !ban/!bani        &#40;09-05-2005&#41;
#                 e.g !ban 3d6h &#40;mark&#41;
#               - added a optional dewarn parameter &#40;!dewarn name amount&#41;
#               - don't show spree's at end of round with               &#40;05-05-2005&#41;
#                 spree_detector = 0 &#40;mark&#41;
#               - added !warn function / !dewarn &#40;use_advanced_warn,    &#40;04-05-2005&#41;
#                 warn_kicklength, warn_timeout, warn_limit&#41; &#40;mark&#41;
#               - added timeout of teamkill_restriction data&#40;mark&#41;
#               - added some external checks and timeout fix.&#40;mark&#41;     &#40;14-03-2005&#41;
#               - added <PART2ADMINLEVEL> and optimised replacement     &#40;31-03-2005&#41;
#                 code &#40;mark&#41;
#               - changed parsing of config files &#40;spaces&#41; &#40;mark&#41;       &#40;30-03-2005&#41;
#               - added etpro ban &#40;!bani ;&#41;&#41; support &#40;mark&#41;             &#40;27-03-2005&#41;
#                 use with caution! Note&#58; you can't ban win98 clients
#               - added detect_uneven_teams_difference                  &#40;20-03-2005&#41;
#                 &#40;MadScientist/mark&#41;
#               - added enhanced kick command -> use_advanced_kick &#40;mark&#41;
#               - fixed ban reason bug &#40;mark&#41;
#               - reduced kick timeout for short bans &#40;< 5 minutes&#41; &#40;mark&#41;
#               - made commands/aliases case-insensitive
#               - added playsound commands for etpub                    &#40;19-03-2005&#41;
#                 &#40;own addition to code, for testing only&#41; &#40;mark&#41;
#               - fixed wrong <PLAYER_*> replacements &#40;mark&#41;            &#40;14-03-2005&#41;
#               - added hp_logincmd for autoexecuting a command
#                 on connect &#40;like !ref&#41;, needs "logincmd"
#                 permission &#40;mark&#41;
#                 example&#58; /setu hp_logincmd "!ref" &#40;makes you ref on connect&#41;
#               - fixed typo / syntax error in bad name code &#40;thx sven&#41; &#40;13-03-2005&#41;
#               - removed multikills for <world> &#40;mark&#41;
#               - added ending of killing sprees on "End of Round" &#40;mark&#41;
#               - code cleanup &#40;mark&#41;
#               - fixed missing reset of tkr &#40;mark&#41;                     &#40;10-01-2005&#41;
Key features :
- etpro guid ban feature
- hp_logincmd for executing commands on join (like !ref)
- !warn feature to warn people instead of instand kick (see http://forum.et.d1p.de/index.php?showtopic=770 for details)
- !loadconfig for loading combined etadmin_mod / et configs.
- enhanced kick (shrub like) for etpro: !kick <name> <reason>
- even more customisable
- security enhancement for external programs and for hosters ( e.g. --admin-config=<file> )
- many bugfixes ^^.

Planned for 0.29 (and allready realised many parts):
- Multi User TCP-Interface for communicating with etadmin_mod though TCP-socket.
- You get access to ALL !admin commands and some more, like /listplayers, /bc, /unban, who
- IRC / Telnet / Console - Clients (based on the tcp-interface)
- Live IRC-Bot (demo) in #noobhouse and on vpclan.de:27970 based on etadmin_mod 0.29

If you are familiar with TCL, perl or PHP and want to build your own IRC bot based on etadmin_mod, then please contact me. I plan to give out some demo accounts (access to a functional etadmin_mod 0.29 interface) for developing.

All other details in my forum:
http://forum.et.d1p.de/index.php?showforum=9

Greets
Mark
Get owned at: Gaming@d1p.de (217.172.182.126:27960)
Image
Hi! I'm a .signature *virus*! Copy me into your ~/.signature to help me spread!
Mark
Posts: 411
Joined: Thu Jan 01, 2004 6:10 am
Location: #vpclan@qnet

Post by Mark »

Hi,

The complete package is now available here:
http://et.d1p.de/etadmin_mod/etadmin_mod-0.28.tar.gz

Which includes all updated configs, a new stats addon (for vsp, thx lukey), some demo configs for the loadconfig command and also a new startscript, which better handles the tail command.

Greets
Mark
Get owned at: Gaming@d1p.de (217.172.182.126:27960)
Image
Hi! I'm a .signature *virus*! Copy me into your ~/.signature to help me spread!
Post Reply