installing the ETadmin mod on my TJ server


(dwe_flame) #1

trying to install etadmin mod, but i cant seem to succeed,

have put all the files under /tjmod/…
after that i have set all settings in the cfg file passes and stuff,

now, after writing the exec etadmin_mod.sh i get these errors:

so it wont start at this point.

i cant seem to find this log either,
any1 who can help me any further on this ? or is there some step by step install site for this ?


(ailmanki) #2

be sure to patch it, http://www.snl-clan.com/forum/viewtopic.php?f=9&t=9789
not sure if there are more exploits.

I don’t know what kind of interface you are using there,
but normally etadmin mod is started from a shell by doing something like:

./etadmin_mod.sh start

(dwe_flame) #3

already have been trying stuff like that. but it does not seem to work :\


(Cambodunum) #4

… need the log for helping xD

greetz Cambo


(dwe_flame) #5

it doesnt seem to write the log, or you mean the server/console log ?


(system) #6

edit :frowning: sry,

don’t start the sh file from rcon but from the OS console.
It is a shell script, not a ET console script.
I would start it in the linux console with ./etadmin_mod.sh start. If that doesnt work, give it the ‘executable’ flag like : chmod +x etadmin_mod.sh (gosh i hope i am right…)

edit the 20x time :stuck_out_tongue: : Ailmaink is right.
tho it would be nice if we could see a screenshot when u start it from the linux console, not the rcon…


(zbzero) #7

by default etadmin_mod not run inside the tjmod or other mod directory need be placed in the main folder where you have etmain, tjmod or others mods installed, check if you edit the etadmin.cfg with the right path of where you have placed your etadmin_mod directory, pkace your rcon there and check if you have in your server config this

set g_log “etserver.log”
set g_logsync 0
set logfile 2

If youre using a different name for your log file the admin_mod not will find the log.
Start your etdamin and after that goes to etadmin_mod/log folder and check the log there, if your etadmin mod not start for something set wrong, in the log file you can find some help how to fix it and where you did something wrong.

If everything goes good with your installation you will see something like that in you log folder:

10/06/09 12:09:40 Starting up… etadmin_mod v0.29
10/06/09 12:09:40 Loading config_file etc/etadmin.cfg
10/06/09 12:09:40 Loading config_file etc/help.cfg
10/06/09 12:09:40 Loading config_file etc/sound.cfg
10/06/09 12:09:40 Loading config_file etc/tcp-interface.cfg
10/06/09 12:09:40 Loading: etc/etadmin.cfg
10/06/09 12:09:40 Post config check…
10/06/09 12:09:40 Post config check done.
10/06/09 12:09:43 No previous spree record found.
10/06/09 12:09:44 Loading etc/shrubbot.cfg
10/06/09 12:09:44 Loading protected-file
10/06/09 12:09:44 Started… (Passed all config / logfile checks).


(dwe_flame) #8

error:


bin/seen.pl did not return a true value at bin/etadmin_mod.pl line 808.
01/12/10 18:03:01 Starting up... etadmin_mod v0.29
01/12/10 18:03:01 Loading config_file etc/etadmin.cfg
01/12/10 18:03:01 Loading config_file etc/help.cfg
01/12/10 18:03:01 Loading config_file etc/sound.cfg
01/12/10 18:03:01 Loading config_file etc/tcp-interface.cfg
01/12/10 18:03:01 Loading: etc/etadmin.cfg
01/12/10 18:03:01 Post config check...
01/12/10 18:03:01 Post config check done.
bin/seen.pl did not return a true value at bin/etadmin_mod.pl line 808.
01/12/10 18:03:25 Starting up... etadmin_mod v0.29
01/12/10 18:03:25 Loading config_file etc/etadmin.cfg
01/12/10 18:03:25 Loading config_file etc/help.cfg
01/12/10 18:03:25 Loading config_file etc/sound.cfg
01/12/10 18:03:25 Loading config_file etc/tcp-interface.cfg
01/12/10 18:03:25 Loading: etc/etadmin.cfg
01/12/10 18:03:25 Post config check...
01/12/10 18:03:25 Post config check done.


(system) #9

does this help ?

https://escapedturkey.com/forums/viewtopic.php?f=17&t=3102&p=13276

you’d think the big error at the beginning would be a clue :oops: but i started looking around and found that seen.pl was empty. I’m not sure what it’s purpose is, but I just disabled it for now. Now it appears that everything works. w00t.


(dwe_flame) #10

mm but where did he disable that… looking


(dwe_flame) #11

update: seems to be working, only the server is not at the moment :stuck_out_tongue:

still working on it :stuck_out_tongue:


(system) #12

we count on you


(dwe_flame) #13

error - error - error


01/13/10 18:15:40 ERROR: Undefined subroutine &main::set_seen called at bin/etadmin_mod.pl line 7005.
01/13/10 18:15:40 tail seems to have gone away... Reopening tail.
01/13/10 18:15:40 Removing Cid: 0
01/13/10 18:15:40 Removing: 0 (^41869*_^1V^3l^7a^3m^1!, -MY_GUIDE-)
01/13/10 18:15:47 ERROR: Undefined subroutine &main::set_seen called at bin/etadmin_mod.pl line 7005.
01/13/10 18:15:47 tail seems to have gone away... Reopening tail.
01/13/10 18:15:47 Removing Cid: 0

And so on and on…

at line 7005:


if ( $config{'persistent_mute'} && $config{'et_mod'} == 2 )
    {
        if ( $tmphash{$client_id}{'muted'} == 1 )
        {

            my $save       = 0;
            my $etpro_guid = "";

            $etpro_guid = &get_etpro_guid($client_id) if ( $config{'et_mod'} == 2 );

            #PERSISTENT_PMUTE
            #PERSISTENT_GMUTE
            #PERSISTENT_AMUTE

            &log("Testing, if to save mute state of ($guid).") if ( $config{'debug'} );

            if (    ( $config{'persistent_mute'} & PERSISTENT_PMUTE && $tmphash{$client_id}{'pmuted'} )
                 || ( $config{'persistent_mute'} & PERSISTENT_AMUTE && $tmphash{$client_id}{'bad_word_timestamp'} > 0 )
                 || ( $config{'persistent_mute'} & PERSISTENT_GMUTE ) )
            {
                &log("Saving mute state.") if ( $config{'debug'} );
                $save = 1;
            }

            if ($save)
            {

                $tk_hash{$guid}{'muted'}  = 1;
                $tk_hash{$guid}{'pmuted'} = 1 if ( $tmphash{$target}{'pmuted'} == 1 );

                #etpro:
                if ($etpro_guid)
                {
                    $tk_hash{$etpro_guid}{'muted'} = 1;
                    $tk_hash{$etpro_guid}{'pmuted'} = 1 if ( $tmphash{$target}{'pmuted'} == 1 );
                }

                if ( defined( $tmphash{$client_id}{'bad_word_timestamp'} )
                     && $tmphash{$client_id}{'bad_word_timestamp'} > 0 )
                {
                    &log("Saving badwordtimestamp $tmphash{$client_id}{'bad_word_timestamp'}") if ( $config{'debug'} );
                    $tk_hash{$guid}{'bad_word_timestamp'}       = $tmphash{$client_id}{'bad_word_timestamp'} - time;
                    $tk_hash{$etpro_guid}{'bad_word_timestamp'} = $tmphash{$client_id}{'bad_word_timestamp'} - time
                      if ($etpro_guid);
                }
                else
                {
                    delete $tk_hash{$etpro_guid}{'bad_word_timestamp'} if ($etpro_guid);
                    delete $tk_hash{$guid}{'bad_word_timestamp'};
                }
            }
        }
        else
        {

            if ( $config{'et_mod'} == 2 )
            {
                my $etpro_guid = &get_etpro_guid($client_id);
                if ($etpro_guid)
                {
                    delete $tk_hash{$etpro_guid}{'bad_word_timestamp'};
                    delete $tk_hash{$etpro_guid}{'pmuted'};
                    delete $tk_hash{$etpro_guid}{'muted'};
                }
            }

            # Punkbuster guids:
            # delete, if existent.
            delete $tk_hash{$guid}{'bad_word_timestamp'};
            delete $tk_hash{$guid}{'pmuted'};
            delete $tk_hash{$guid}{'muted'};
        }
    }

any1 could help me fixing this error ?


(zbzero) #14

You have edited the etadmin_mod.pl.
Download it again and dont change if you didnt know what youre doing.


(dwe_flame) #15

[QUOTE=zbzero;207075]You have edited the etadmin_mod.pl.
Download it again and dont change if you didnt know what youre doing.[/QUOTE]

ok,
i started changing because of some error, anyway

clean install again and i got this error again:


bin/seen.pl did not return a true value at bin/etadmin_mod.pl line 808.
01/13/10 23:19:50 Starting up... etadmin_mod v0.29
01/13/10 23:19:50 Loading config_file etc/etadmin.cfg
01/13/10 23:19:51 Loading config_file etc/help.cfg
01/13/10 23:19:51 Loading config_file etc/sound.cfg
01/13/10 23:19:51 Loading config_file etc/tcp-interface.cfg
01/13/10 23:19:51 Loading: etc/etadmin.cfg
01/13/10 23:19:51 Post config check...
01/13/10 23:19:51 Post config check done.

well in the turkey post he sayed he disabled it, so now i ask how ?
not just by setting:

Activate Seen database:

$config{‘seen_db’} = 1;

to

Activate Seen database:

$config{‘seen_db’} = 0;

i really need some help i guess


(stealth6) #16

If this is it you should be shot:

etadmin.cfg


# Activate Seen database (0/1)
# requires Perl DB::File Module.
# deactivate, if you don't have it (you get a error on starting)
# or can't install it on your own.
seen_db 		= 0


(dwe_flame) #17

yea! got it working :slight_smile:

now is there some list somewhere of all the commands and flags ? or it that only the ones describes in the file ?


(system) #18

only in config afaik. their site is down i think.
The config is explained pretty good, better then look document > edit config > look document > edit config.
Ain’t more comfty than this…lazy bum :stuck_out_tongue:


(dwe_flame) #19

found it,

still 50% of the commands does not seem to work for some reason though. maybe it has some to do with this TJmod i think :\


(dwe_flame) #20

as addon to the last post:

it doesnt seem to say it passed all checks, so there is still some stuff wrong

log file:


01/14/10 17:39:55 Timelimit: 0
01/14/10 17:39:55 Loading etc/shrubbot.cfg
01/14/10 17:39:55 Loading protected-file
01/14/10 17:39:55 Mapname: quakejump
01/14/10 17:39:55 Loading config_file etc/maps/default.cfg
01/14/10 17:39:55 Loading birthdays...
01/14/10 17:39:55 warning level check.
01/14/10 17:39:55 Setting Timer to 10 minutes.
01/14/10 17:39:57 No previous spree record found.
01/14/10 17:39:57 Map ends.
01/14/10 17:39:57 Timelimit: 0
01/14/10 17:39:57 Loading etc/shrubbot.cfg
01/14/10 17:39:57 Loading protected-file
01/14/10 17:39:57 Mapname: quakejump
01/14/10 17:39:57 Loading config_file etc/maps/default.cfg
01/14/10 17:39:57 Loading birthdays...
01/14/10 17:39:57 warning level check.
01/14/10 17:39:57 Setting Timer to 10 minutes.
01/14/10 17:39:59 No previous spree record found.