some questions~!!~!!~!!

Post Reply
User avatar
LadYRaiN
A semi-regular
A semi-regular
Posts: 17
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Wed Sep 17, 2003 11:32 pm
Contact:

some questions~!!~!!~!!

Post by LadYRaiN »

I've rented a cs server with amx mod~but I dont know how to add an admin~can anybody help me?and give me an example that I can refer to............... :oops: :oops: :oops:
User avatar
Nick|NFo
Former staff
Former staff
Posts: 2252
Joined: Sun Mar 30, 2003 1:56 pm
Location: 127.0.0.1

Post by Nick|NFo »

have you referred to the amx FAQ yet?

http://rentals.nuclearfallout.net/rent. ... nt=faq-amx
User avatar
LadYRaiN
A semi-regular
A semi-regular
Posts: 17
Joined: Wed Sep 17, 2003 11:32 pm
Contact:

Post by LadYRaiN »

yes~I have~But It still doesnt work~I dont know why~I have tried many ways...
This is my amxadmin file. could u help me to check where r the mistakes?

// AMX configuration file
// File location: $moddir/addons/amx
// To use with admin.amx and admincmd.amx plugins

// amx_admin < 22:22|24.85.4.254|wonid > < password > < c > < d >
// Flags:
// a - disconnect player on invalid password
// b - clan tag
// c - this is authid/wonid
// d - this is ip
// e - password is not checked (only name/ip/wonid needed)

// Access:
// a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)
// b - reservation (can join on reserved slots)
// c - amx_kick command
// d - amx_ban and amx_unban commands
// e - amx_slay and amx_slap commands
// f - amx_map command
// g - amx_cvar command (not all cvars will be available)
// h - amx_cfg command
// i - amx_chat and other chat commands
// j - amx_vote and other vote commands
// k - access to sv_password cvar (by amx_cvar command)
// l - access to amx_rcon command and rcon_password cvar (by amx_cvar command)
// m - custom level A (for additional plugins)
// n - custom level B
// o - custom level C
// p - custom level D
// q - custom level E
// r - custom level F
// s - custom level G
// t - custom level H
// u - menu access
// z - user

// Example of admin account configuration
// amx_admin "Player" "my_password" "abcdefghijklmnopqrstu" "a"

// Default access
amx_default_access ""

// Name of setinfo which should store the password on client
// f.e. with current settings admin should have line in his config: setinfo _pw hello
amx_password_field "_pw"

// Mode of logging to the server
// 2 - kick all players not on list
// 1 - normal mode
// 0 - disable logging, players won't be checked (and access won't be set)
amx_mode 1

// Show admins activity
// 0 - disabled
// 1 - show without admin nick
// 2 - show with nick
amx_show_activity 2

// Some info displaying and frequency of scrolling message in sec.
amx_scrollmsg "Welcome to %hostname% -- This server is using AMX -- Visit http://amxmod.net" 300

// Frequency of information messages in sec.
amx_freq_imessage 180

// Plain information messages
amx_imessage "Welcome to %hostname%" "255100000"
amx_imessage "This server is using AMX\nVisit http://amxmod.net" "000100255"

// Set chat-flood protection
amx_flood_time 0.75

// Kicking rules to keep reservered slots free
// 0 - don't kick anyone and keep reserved slots only for players with reservation
// 1 - kick by shortest playing time
// 2 - kick by worst ping
// 3 - don't kick anyone and put on remaining reserved slots only players with reservation
amx_reservation 3

// Amount for reserved slots
amx_reserved_slots 2

// Time remaining displaying
// a - display text
// b - use voice
// c - don't add "remaining" (only in voice)
// d - don't add "hours/minutes/seconds" (only in voice)
// e - show/speak if current time is less than this set
amx_time_display "ab 1200" "ab 600" "ab 300" "ab 180" "ab 60" "bcde 11"

// Minimum delay in seconds between two voting sessions
amx_vote_delay 30

// How long voting session go on
amx_vote_time 10

// Display who votes for what
amx_vote_answers 1

// Some ratios for voting success
amx_votekick_ratio 0.40
amx_voteban_ratio 0.40
amx_votemap_ratio 0.40
amx_vote_ratio 0.02

// Stats settings
// For stats settings use amx_statscfg admin command

// Announce "say thetime" and "say timeleft" with voice
amx_time_voice 1

// List of maps for nextmap chooser plugin (all maps are merged)
amx_nextmapch de_dust de_dust2 de_vegas de_storm de_nuke de_aztec
amx_nextmapch cs_militia de_prodigy cs_office de_piranesi
amx_nextmapch cs_italy de_cbble de_torn de_survivor cs_747 cs_assault
amx_nextmapch de_chateau cs_backalley cs_havana de_vertigo

// Max. time to which map can be extended
amx_extendmap_max 90

// Step for each extending
amx_extendmap_step 15

amx_admin "steam_0:0:332206" "" "abcdefghijklmnopqrstuz" "ce"
User avatar
Nick|NFo
Former staff
Former staff
Posts: 2252
Joined: Sun Mar 30, 2003 1:56 pm
Location: 127.0.0.1

Post by Nick|NFo »

thats easy, change this:

Code: Select all

amx_admin "steam_0:0:332206" "" "abcdefghijklmnopqrstuz" "ce"
to this:

Code: Select all

amx_admin "STEAM_0:0:332206" "" "abcdefghijklmnopqrstuz" "ce"
User avatar
LadYRaiN
A semi-regular
A semi-regular
Posts: 17
Joined: Wed Sep 17, 2003 11:32 pm
Contact:

Post by LadYRaiN »

acuraCLS wrote:thats easy, change this:

Code: Select all

amx_admin "steam_0:0:332206" "" "abcdefghijklmnopqrstuz" "ce"
to this:

Code: Select all

amx_admin "STEAM_0:0:332206" "" "abcdefghijklmnopqrstuz" "ce"
omg~It doesnt work,when I type amx_slap name,It says "u have no access"this command",what should I do?~Help~plz~~
User avatar
Nick|NFo
Former staff
Former staff
Posts: 2252
Joined: Sun Mar 30, 2003 1:56 pm
Location: 127.0.0.1

Post by Nick|NFo »

did u restart your server? or at least reloaded the map? a restart of the server usually fixes this.

also check your metamod/plugins.ini and check for 1-2 lines dealing with amx, they should be exec the dll'(s)
User avatar
LadYRaiN
A semi-regular
A semi-regular
Posts: 17
Joined: Wed Sep 17, 2003 11:32 pm
Contact:

Post by LadYRaiN »

acuraCLS wrote:did u restart your server? or at least reloaded the map? a restart of the server usually fixes this.

also check your metamod/plugins.ini and check for 1-2 lines dealing with amx, they should be exec the dll'(s)
I have restarted my server twice ! And I think my metamod/plugins.ini is ok~like this
win32 addons/adminmod/dlls/admin_MM.dll
win32 addons/hlguard/dlls/hlguard_mm.dll
win32 addons/statsme/dlls/sm_cstrike_mm.dll
win32 addons/wwcl/dlls/wwclconfig_mm.dll
win32 addons/amx/dlls/amx_mm.dll
win32 addons/amx/dlls/fun_ms.dll

I am getting crazy of this problem...:(
User avatar
dL-Templisk
This is my homepage
This is my homepage
Posts: 118
Joined: Sat Jul 26, 2003 8:56 pm
Location: California, USA
Contact:

Post by dL-Templisk »

you need the new amx plugin, admin_2.amx I'm sure Acura will be happy to upload it for you when he has a chance.

Admin_2 is what from what I can tell searches for STEAMID rather than WonID, so right now it's reading your WonID as STEAM:0:0:123456 rather than your SteamID as a SteamID :|

All your commands will stay the same it will still function the same, the only problem I've had with it is reserved slots: it doesn't kick by worst ping so an admin can join, but in that case just kick someone using your server's control panel. Type kick person or amx_kick person =P
Anubis
Staff
Staff
Posts: 231
Joined: Tue Jul 01, 2003 5:24 pm
Location: Gresham, OR
Contact:

Post by Anubis »

You can get the admin_II.zip from the news section of these forums. See the post about Steam Upgrade. Or you can come into #NFo-support and see one of the ops if you need more assistance. I would be happy to install it for you or walk you through it.
IRC @ #ruthlesslords on Gamesnet

http://www.ruthlesslords.net

rlpub.nuclearfallout.net
User avatar
LadYRaiN
A semi-regular
A semi-regular
Posts: 17
Joined: Wed Sep 17, 2003 11:32 pm
Contact:

Post by LadYRaiN »

Thx a lot!!! My problem has been solved!!!I can use it now!!
Post Reply