Ein neues Thema erstellen  Auf das Thema antworten  [ 8 Beiträge ] 
Autor Nachricht
 Betreff des Beitrags: Admin ?? Was ist das ... Grummel
BeitragVerfasst: 27.05.2008, 21:53 

Registriert: 17.05.2008, 12:02
Beiträge: 4
Hallo zusammen,

ich habe ein Problem mit einem Dedicated LAN Server (HL 4.1.1.x)

Adminmod wird zwar korrekt gestartet aber kein Admin wird erkannt.

Hier mal die wichtigen Dateien :


#LIBLIST.GAM
Code:
game "Counter-Strike"
url_info "www.counter-strike.net"
url_dl ""
version "1.6"
size "184000000"
svonly "0"
secure "1"
type "multiplayer_only"
cldll "1" 
hlversion "1110"
nomodels "1"
nohimodel "1"
mpentity "info_player_start"
gamedll "addons/metamod/dlls/metamod.dll"
gamedll_linux "addons/metamod/dlls/metamod_i386.so"
trainmap "tr_1"

# SERVER.CFG
Code:
// Use this file to configure your DEDICATED server. 
// This config file is executed on server start.

// disable autoaim
sv_aim 0

// disable clients' ability to pause the server
pausable 0

// default server name. Change to "Bob's Server", etc.
hostname "HomeServer by www.Serverconfigpack.de"

// maximum client movement speed 
sv_maxspeed 320

// SCP Einstellungen

scp_version "SCP 1.4"

mp_logmessages "1"
mp_timelimit "30"
mp_roundtime "3.5"
mp_buytime "0.5"
mp_freezetime "3"
sv_allowdownload "1"
sv_allowupload "1"
rcon_password "morgen"

sv_region 3

exec addons/adminmod/config/adminmod.cfg
# ADMINMOD.CFG
Code:
// (Note: For CVARS that are set to either "on" or "off," 0=off and 1=on) // 
echo Executing Admin Mod config file


// Used by the TFC plugin only. If enabled, an attempt to switch
// teams will be rejected if it would unbalance the teams
// (0=disabled, 1=enabled)
admin_balance_teams 0

// If you are using bots with admin mod you can set this to 1
// It will protect bots from receiving client commands which
// would crash your server.
// (0=disabled, 1=enabled)
admin_bot_protection 0

// This is the message displayed to everyone after connecting.
admin_connect_msg "Welcome to the Real World..."

// This controls the availability of weapon restriction in CS.
// (0=disabled, 1=enabled)
admin_cs_restrict 0

// This will produce debugging messages in your logs which can
// be used to troubleshoot problems. Not recommended for general use.
// (0=disabled, 1=enabled)
admin_debug 0

// Determines whether or not the fun commands are allowed by default.
// If not on by default, the admin can still turn it on when wanted.
// (0=disabled, 1=enabled)
admin_fun_mode 0

// Enable to get special effects with certain commands
// like teleport or slap.
// (0=disabled, 1=enabled)
admin_fx 0

// If enabled, people who are gagged (not allowed to "say") will be 
// unable to change their name while gagged
// (0=disabled, 1=enabled)
admin_gag_name 0

// If enabled, people who are gagged will not be able to use 
// the say_team command.
// (0=disabled, 1=enabled)
admin_gag_sayteam 0

// Makes the admin with the highest access level the only admin in power.
// Example: if multiple admins are present, only the one with the highest
// access level will have admin access.
// (0=disabled, 1=enabled)
admin_highlander 0

// If admin_ignore_immunity is enabled, ACCESS_IMMUNITY is 
// ignored and does nothing.
// (0=disabled, 1=enabled)
admin_ignore_immunity 0


// This file specifies which script plugins get loaded.  
// It should be relative from the <mod> directory
admin_plugin_file "addons/adminmod/config/plugin.ini"

// The time (in seconds) during which an admin can reconnect after 
// disconnecting without resetting his password in the setinfo line.
admin_reconnect_timeout 300

// Message displayed to users who try to execute commands that 
// they don't have the appropriate access rights for.
admin_reject_msg  "You do not have access to this command."

// How often, in seconds, the repeat_message should be shown on
// the screen during the game. Minimum value is 15 seconds.
// So, a value of 600 = 10 minutes between messages.
admin_repeat_freq 600

// Message that is show to everyone on the server every 
// ten minutes by the message plugin.
admin_repeat_msg  "This server is using Admin Mod"

// The old verbosity.  Defines how commands are announced to the players
// clients in the form: "[ADMIN] <user> used command <command>"
// 0=all commands announced in chat with the admin name
// 1=all commands announced in chat, but without the admin name
// 2=most commands not announced at all (except "cheat" commands)
admin_quiet 0

// This file is used to store configuration data across maps
// and even across server restarts.
admin_vault_file  "addons/adminmod/config/vault.ini"


// If enabled, a hlds_ld-style map vote will automatically 
// start five minutes before the end of a map.
// (0=disabled, 1=enabled)
admin_vote_autostart 0

// If set to on status (1), when a vote is in progress all
// players will see the votes of other players as they vote.
// (0=disable, 1=enabled)
admin_vote_echo 0

// Number of seconds that must elapse after start of the map, 
// or the end of another vote, before another hlds_ld-style 
// map vote can be called.
admin_vote_freq 600

// Controls how many times the current map can be 
// extended for thirty minutes
admin_vote_maxextend 0

// Percent of players who have to vote for a map to get it 
// to win a hlds_ld-style map vote.
admin_vote_ratio 60

// Ability to make clients execute commands
// (0=disabled, 1=enabled)
allow_client_exec 0


// When set to 0, and debug is enabled, Admin Mod passwords 
// will not be logged in cleartext.
amv_log_passwords 0


// Private server option. If enabled, only users listed in 
// users_file or ips_file are allowed to access the server.
amv_private_server 0

// The message displayed to users who do not get granted
// access to a private server
amv_prvt_kick_message ""


// The time during which an admin can reconnect to the server into
// a *different* slot than before without losing his admin access rights.
// Maximum is 90 seconds.
amv_reconnect_time 0


// Defines the max time length in seconds of voting process.
amv_vote_duration 30

// Default access rights for players not in the users.ini file.
// (See documentation for access levels and information)
default_access 1

// Whether to use encrypted passwords or not.
// 0: disabled
// 1: encrypt using Unix crypt() (Linux ONLY)
// 2: encrypt using MD5 hash
// 3: encrypt using MySQL PASSWORD() (MySQL ONLY)
encrypt_password 0

// If enabled, the scripting file functions have read
// access to files
// (0=disabled, 1=enabled)
file_access_read 0

// If enabled, the scripting file functions have write
// access to files
// (0=disabled, 1=enabled)
file_access_write 0

// Declares priority IPs that are allowed to take a 
// reserved spot (if any are set up) without a password.
ips_file 0

// Ratio of players who must vote 'yes' to a kick for 
// it to be successful.
kick_ratio 60

// Ratio of players who must vote 'yes' to a map change 
// for it to be successful.
map_ratio 80

// List of maps people are allowed to vote for. "" to disable.
// Disable to enable all maps and use list from mapcycle.txt.
maps_file ""

// The file (relative to the <mod> dir) that 
// reserved models are loaded from. "" to disable.
models_file ""

// The message shown to someone who gets kicked for
// trying to use a reserved model.
models_kick_msg "[ADMIN] That model is reserved on this server."

// The message shown to someone who gets kicked for
// trying to use a reserved nickname.
nicks_kick_msg "[ADMIN] That name is reserved on this server."

// Password_field...first password of the setinfo line
// If password_field is "_pw-AdminMod", the setinfo will be
// setinfo "_pw-AdminMod" "password-in-users.ini"
password_field _pw-home

// If pretty_say is enabled, centersay() fades in
// and out and does some other tricks.
// (0=disabled, 1=enabled)
pretty_say 1


// Controls how many (number) of the server's slots are reserved.  
// This is useful only if reserve_type, below, is either 0 or 2.
reserve_slots 0

// Custom message given to clients trying to connect who do not have
// a reserved slots, when no public slots are free
reserve_slots_msg "There are no reserved slots available on the server."

// This controls how reserve slots work on the server. See documentation.
reserve_type 0

// If enabled, names are compared to those who have privileges
// with regular expressions.
// (0=disabled, 1=enabled)
use_regex 0

// The file in which you define your admins, their passwords
// and the access levels that they are assigned to.
users_file "addons/adminmod/config/users.ini"

// The minimum number of seconds allowed between votes
// called with the vote() (admin_vote functions) scripting function.
// If 0 or disabled, the vote() scripting function is disabled.
vote_freq 180

// Location of word filter file. "" to disable, or something 
// like "wordlist.txt" if enabled
words_file ""
# USERS.INI
Code:
[DT] CF:morgen:65336
[DT] Leutnant:kalle:65336
[DT]Viper:maxellon:65336
# VAULT.INI (konnte ich nicht finden)

# PLUGIN.INI
Code:
//
// In this file you list the scripts you want to 
// load. Use the path relative to the MOD directory
// e.g. cstrike for Counter-Strike.
// 
// Lines beginning with "//" or "#" are commented out.
// That means that these scripts will not be loaded.

addons/adminmod/scripts/plugin_antiflood.amx
addons/adminmod/scripts/plugin_base.amx
addons/adminmod/scripts/plugin_chat.amx
addons/adminmod/scripts/plugin_cheat.amx
# addons/adminmod/scripts/plugin_CS.amx
# addons/adminmod/scripts/plugin_TFC.amx
addons/adminmod/scripts/plugin_hldsld_mapvote.amx
addons/adminmod/scripts/plugin_message.amx
addons/adminmod/scripts/plugin_retribution.amx
addons/adminmod/scripts/plugin_fun.amx
# PLUGINS.INI
Code:
; Metamod Plugins.ini
; RACER2ks CS Config Pack
; www.MP-Gamer.de / www.Counterstrike-Gamer.de

; Einfach zum Aktivieren einzellner Komponenten das Semicolon ";"
; entfernen. Zum Deaktivieren einfach ";" vor die Zeile legen

; Win HL Booster
win32 addons/booster/booster_mm.dll

; AMX Mod
win32 addons\amx\dlls\amx_mm.dll
linux addons/amx/dlls/amx_mm_i686.so

; More script functions for AMX Mod
win32 addons\amx\dlls\fun_ms.dll
linux addons/amx/dlls/fun_ms_i386.so

; Amx Stats for Counter-Strike
;win32 addons\amx\dlls\csstats_ms.dll
;linux addons/amx/dlls/csstats_ms_i386.so

; Warcraft 3 FT
;win32 addons\amx\dlls\war3_ms.dll
;linux addons/amx/dlls/war3_ms_i386.so

; Clanmod
win32 addons\clanmod\dlls\clanmod_mm.dll
linux addons/clanmod/dlls/clanmod_mm_i586.so

; Statsme
win32 addons\statsme\dlls\statsme_mm.dll
linux addons/statsme/dlls/statsme_mm_i386.so

; Webmod
win32 addons\w\dlls\w_mm.dll
linux addons/w/dlls/w_mm_i386.so

; Adminmod
win32 addons/adminmod/dlls/admin_MM.dll
Kann mir vielleicht jemand helfen ?

mfg
KlatschDenChobo


Nach oben
   
 Betreff des Beitrags:
BeitragVerfasst: 28.05.2008, 17:09 
AM.de Team
Benutzeravatar

Registriert: 23.11.2001, 00:00
Beiträge: 3842
Wohnort: Vor König Arthus
Hmmm, woran erkennst Du, dass Du, dass die Admins nicht erkannt werden? Bestimmter Befehl? Was sagt admin_status, wenn man auf dem Server ist?

Der Rechtelevel ist etwas sehr ungewöhnlich, aber so what (alles außer 1,2,4,64,128 und 65536).

_________________
Der schwarze Ritter triumphiert immer...
WING-Clan


Nach oben
   
 Betreff des Beitrags:
BeitragVerfasst: 28.05.2008, 22:05 

Registriert: 17.05.2008, 12:02
Beiträge: 4
Die Zeilen :

[ADMIN] Checking password for user access...
[ADMIN] Password accepted for user XXX. Access granted: XXX

erscheinen nicht

Hab die Rechtelevel mal auf 65535 geändert ... irgendwie muss ich mich vorher verhaspelt haben.

admin_status sagt :

[ADMIN] Status: Name: '[DT] CF', Access: 1 Type 'funusage' in the console to display Fun module usa

admin_map de_dust sagt : blah nicht erlaubt :o)

Die adminpass is im richtigen ordner und funzt soweit auch. Wenn man exec adminpass.cfg eingibt reconnected er auf den Server


Schonmal vielen Dank für die Hilfe

mfg
Tobi


Nach oben
   
 Betreff des Beitrags:
BeitragVerfasst: 29.05.2008, 22:04 
AM.de Team
Benutzeravatar

Registriert: 23.11.2001, 00:00
Beiträge: 3842
Wohnort: Vor König Arthus
1. Was steht denn in der adminpass.cfg drin? Eigentlich sollte er nicht neu connecten!
2. Was passiert, wenn Du "admin_login morgen" in der Console eingibst?

_________________
Der schwarze Ritter triumphiert immer...
WING-Clan


Nach oben
   
 Betreff des Beitrags:
BeitragVerfasst: 29.05.2008, 22:31 

Registriert: 17.05.2008, 12:02
Beiträge: 4
1. Naja doch, es steht ja folgendes drin :) (lasse die direkt über die Verknüpfung ausführen)

setinfo "_pw-home" "morgen"
rcon_password morgen
connect 192.168.1.102:27015

2. Teste ich morgen nochma genau, der server steht nicht bei mir und ist atm aus darum komm ich nicht drauf ... bisher blieb der Befehl aber immer ohne Reaktion


Nach oben
   
 Betreff des Beitrags:
BeitragVerfasst: 30.05.2008, 07:57 
AM.de Team
Benutzeravatar

Registriert: 27.11.2001, 01:00
Beiträge: 3564
Wohnort: In der Nähe von Bonn
Ist also ein reiner LAN Dedicated Server?
Der auch nur für LAN genutzt werden soll?
Ist also eine Authentifizierung über Steam_ID nicht möglich?

Kommt eventuell eine Meldung von "info string length exceeded" (oder so ähnlich) bei Dir in der Console, wenn Du als Spieler zum Server connectest?

Bei sovielen Mods, die auf dem Server sind, scheint es mir fast die Ursache, dass eben unser notwendiges setinfo _pw-home... nicht mehr ausgeführt werden kann.

Schau mal in Deiner config.cfg, wieviel "unnötige" setinfo Einträge Du findest und lösche diese.

_________________
Fehleranalyse: Poste den Inhalt Deiner liblist.gam, (listen)server.cfg, adminmod.cfg, users.ini, vault.ini, plugin.ini von adminmod und plugins.ini von metamod. Benutze auch die Such-Funktion


Nach oben
   
 Betreff des Beitrags:
BeitragVerfasst: 30.05.2008, 15:59 

Registriert: 17.05.2008, 12:02
Beiträge: 4
Ist also ein reiner LAN Dedicated Server? > JA
Der auch nur für LAN genutzt werden soll? > JA
Ist also eine Authentifizierung über Steam_ID nicht möglich? > NEIN

Kommt eventuell eine Meldung von "info string length exceeded" (oder so ähnlich) bei Dir in der Console, wenn Du als Spieler zum Server connectest?
Werde ich gleich testen, der Server ist auf dem Weg zu mir

Schau mal in Deiner config.cfg, wieviel "unnötige" setinfo Einträge Du findest und lösche diese.
Werde ich ebenfalls gleich machen

Und noch ne Frage ... Ist das sdal_menu ne Grafische Oberfläche mit Buttons ? Suche nach ner Methode, den "kleinen" Admins ne Möglichkeit zu geben, nicht alle Befehle auswendig lernen zu müssen :)

mfG
Tobi


Nach oben
   
 Betreff des Beitrags:
BeitragVerfasst: 31.05.2008, 10:57 
AM.de Team
Benutzeravatar

Registriert: 27.11.2001, 01:00
Beiträge: 3564
Wohnort: In der Nähe von Bonn
ist das sdal_menu ne Grafische Oberfläche mit Buttons ? -> Ja :)

Wenn es nur für eine Lan ist:
- Kannst ja Die Passwörter in der user.ini weglassen. Wird ja dann keiner unter Deinem Namen spielen, damit er mehr Rechte hat, oder? Dann brauchst Du den setinfo Kram nicht.

- Wenn ihr feste IP Adressen anstatt DHCP verwendet, kannst Du ja überlegen, IP Adressen einzutragen und keine Passwörter. Dann brauchst Du den setinfo Kram nicht. (oder nach der IP Verteilung durch DHCP, IPs in die user.ini eintragen und admin_cmd admin_reload in der Konsole des HLDS eingeben.)

Beispiel:
Karl Otto::XXXXXX
oder
192.168.0.12::XXXXX

_________________
Fehleranalyse: Poste den Inhalt Deiner liblist.gam, (listen)server.cfg, adminmod.cfg, users.ini, vault.ini, plugin.ini von adminmod und plugins.ini von metamod. Benutze auch die Such-Funktion


Nach oben
   
Beiträge der letzten Zeit anzeigen:  Sortiere nach  
Ein neues Thema erstellen  Auf das Thema antworten  [ 8 Beiträge ] 


Du darfst keine neuen Themen in diesem Forum erstellen.
Du darfst keine Antworten zu Themen in diesem Forum erstellen.
Du darfst deine Beiträge in diesem Forum nicht ändern.
Du darfst deine Beiträge in diesem Forum nicht löschen.
Du darfst keine Dateianhänge in diesem Forum erstellen.

Suche nach:
Powered by phpBB® Forum Software © phpBB Limited
Deutsche Übersetzung durch phpBB.de
Original Design von "[ Half-Life Admin Mod © Alfred Reynolds 2000-2003 ] - [ site design by Jägermeister ]"