Raised This Month: $51 Target: $400
 12% 

Admin Players


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MeliMeli
Senior Member
Join Date: Apr 2022
Location: Brazil
Old 04-08-2022 , 20:11   Admin Players
Reply With Quote #1

Hi, I'm new to the community. I use a lot to solve plugin problems and everything. I have a problem with the ZP 4.3 Fix5a. In users.ini, I took my admin permission (all) and still can perform commands on the console. Can anyone tell me why this happens, how can I solve it and where can I find this problem? Grateful for the attention (sorry for my bad English, I used the translator)

Even without admin, I can use commands in the console that I wasn't supposed to use. I looked in various places for folders, .ini cfg files and found nothing.

Last edited by MeliMeli; 04-08-2022 at 20:12.
MeliMeli is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 04-09-2022 , 07:10   Re: Admin Players
Reply With Quote #2

configs/cmdaccess.ini - check the admin flags assigned to said commands.
__________________

Last edited by OciXCrom; 04-09-2022 at 07:10.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
MeliMeli
Senior Member
Join Date: Apr 2022
Location: Brazil
Old 04-09-2022 , 14:51   Re: Admin Players
Reply With Quote #3

Everything is normal, I can still use commands like a normal player even without Admin. Any other ideas?
MeliMeli is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-09-2022 , 16:33   Re: Admin Players
Reply With Quote #4

Quote:
Originally Posted by MeliMeli View Post
In users.ini, I took my admin permission (all) and still can perform commands on the console.
What exactly do you mean by this? Did you completely delete or comment out your SteamID in users.ini? Also, to check what flags you actually have in the game, use amx_who and post that here so we can verify that you actually have the correct flags.

Quote:
Originally Posted by MeliMeli View Post
Everything is normal
What do you mean by this? Saying it's "normal" is subjective so it's not very helpful to describe things this way. If you post your cmdaccess.ini, we can verify that it's correct.
__________________
fysiks is offline
MeliMeli
Senior Member
Join Date: Apr 2022
Location: Brazil
Old 04-09-2022 , 17:25   Re: Admin Players
Reply With Quote #5

I'm testing in Single Player. I copy the .ini . Please, wait

Last edited by MeliMeli; 04-09-2022 at 17:53.
MeliMeli is offline
MeliMeli
Senior Member
Join Date: Apr 2022
Location: Brazil
Old 04-09-2022 , 17:32   Re: Admin Players
Reply With Quote #6

; This file will store the commands used by plugins, and their access level
; To change the access of a command, edit the flags beside it and then
; change the server's map.
;
; Example: If I wanted to change the amx_slap access to require
; RCON access (flag "l") I would change this:
; "amx_slap" "e" ; admincmd.amxx
; To this:
; "amx_slap" "l" ; admincmd.amxx
;
; To disable a specific command from being used with the command manager
; and to only use the plugin-specified access set the flag to "!"
;
; NOTE: The plugin name at the end is just for reference to what plugin
; uses what commands. It is ignored.

"amx_statscfgmenu" "h" ; statscfg.amxx
"amx_statscfg" "h" ; statscfg.amxx
"amx_reloadadmins" "h" ; admin.amxx
"amx_addadmin" "l" ; admin.amxx
"amx_kick" "c" ; admincmd.amxx
"amx_ban" "d" ; admincmd.amxx
"amx_banip" "d" ; admincmd.amxx
"amx_addban" "d" ; admincmd.amxx
"amx_unban" "d" ; admincmd.amxx
"amx_slay" "e" ; admincmd.amxx
"amx_slap" "e" ; admincmd.amxx
"amx_leave" "c" ; admincmd.amxx
"amx_pause" "g" ; admincmd.amxx
"amx_who" "y" ; admincmd.amxx
"amx_cvar" "g" ; admincmd.amxx
"amx_plugins" "y" ; admincmd.amxx
"amx_modules" "y" ; admincmd.amxx
"amx_map" "f" ; admincmd.amxx
"amx_cfg" "h" ; admincmd.amxx
"amx_nick" "e" ; admincmd.amxx
"amx_last" "d" ; admincmd.amxx
"amx_rcon" "l" ; admincmd.amxx
"amx_showrcon" "l" ; admincmd.amxx
"amx_help" "" ; adminhelp.amxx
"amx_setlang" "h" ; multilingual.amxx
"amx_langmenu" "" ; multilingual.amxx
"amxmodmenu" "u" ; menufront.amxx
"amx_menu" "" ; menufront.amxx
"amx_cmdmenu" "u" ; cmdmenu.amxx
"amx_cfgmenu" "u" ; cmdmenu.amxx
"amx_speechmenu" "u" ; cmdmenu.amxx
"amx_cvarmenu" "g" ; cmdmenu.amxx
"amx_kickmenu" "c" ; plmenu.amxx
"amx_banmenu" "d" ; plmenu.amxx
"amx_slapmenu" "e" ; plmenu.amxx
"amx_teammenu" "m" ; plmenu.amxx
"amx_clcmdmenu" "m" ; plmenu.amxx
"amx_mapmenu" "f" ; mapsmenu.amxx
"amx_votemapmenu" "j" ; mapsmenu.amxx
"amx_plugincvarmenu" "g" ; pluginmenu.amxx
"amx_plugincmdmenu" "u" ; pluginmenu.amxx
"amx_votemap" "j" ; adminvote.amxx
"amx_votekick" "j" ; adminvote.amxx
"amx_voteban" "j" ; adminvote.amxx
"amx_vote" "j" ; adminvote.amxx
"amx_cancelvote" "j" ; adminvote.amxx
"amx_pausecfg" "h" ; pausecfg.amxx
"amx_pausecfgmenu" "h" ; pausecfg.amxx
"amx_off" "h" ; pausecfg.amxx
"amx_on" "h" ; pausecfg.amxx
"amx_spawn_editor" "d" ; ze_spawn_editor.amxx
"amx_editor_menu" "d" ; ze_spawn_editor.amxx
"amx_levelver" "l" ; ze_level_sistemi2.amxx
"amx_say" "i" ; adminchat.amxx
"amx_chat" "i" ; adminchat.amxx
"amx_psay" "i" ; adminchat.amxx
"amx_tsay" "i" ; adminchat.amxx
"amx_csay" "i" ; adminchat.amxx
"amx_grab" "s" ; ze_grab_yeni.amxx
"+grab" "s" ; ze_grab_yeni.amxx
"+push" "s" ; ze_grab_yeni.amxx
"+pull" "s" ; ze_grab_yeni.amxx
"amx_nade_mode_menu" "l" ; ze_bomba_modlari.amxx
"amx_nmm" "l" ; ze_bomba_modlari.amxx
"flashlight_set" "h" ; ze_flashlight.amxx
"amx_giveap" "n" ; ze_giveap.amxx
"amx_apver" "l" ; ze_giveap.amxx
"radio1" "" ; ze_yeni_radio2.amxx
"radio2" "" ; ze_yeni_radio2.amxx
"radio3" "" ; ze_yeni_radio2.amxx
"coverme" "" ; ze_yeni_radio2.amxx
"takepoint" "" ; ze_yeni_radio2.amxx
"holdpos" "" ; ze_yeni_radio2.amxx
"regroup" "" ; ze_yeni_radio2.amxx
"followme" "" ; ze_yeni_radio2.amxx
"takingfire" "" ; ze_yeni_radio2.amxx
"go" "" ; ze_yeni_radio2.amxx
"fallback" "" ; ze_yeni_radio2.amxx
"sticktog" "" ; ze_yeni_radio2.amxx
"getinpos" "" ; ze_yeni_radio2.amxx
"stormfront" "" ; ze_yeni_radio2.amxx
"report" "" ; ze_yeni_radio2.amxx
"roger" "" ; ze_yeni_radio2.amxx
"enemyspot" "" ; ze_yeni_radio2.amxx
"needbackup" "" ; ze_yeni_radio2.amxx
"sectorclear" "" ; ze_yeni_radio2.amxx
"inposition" "" ; ze_yeni_radio2.amxx
"reportingin" "" ; ze_yeni_radio2.amxx
"getout" "" ; ze_yeni_radio2.amxx
"negative" "" ; ze_yeni_radio2.amxx
"enemydown" "" ; ze_yeni_radio2.amxx
"amx_slayt" "e" ; ze_slayteam.amxx
"amx_slayct" "e" ; ze_slayteam.amxx
MeliMeli is offline
MeliMeli
Senior Member
Join Date: Apr 2022
Location: Brazil
Old 04-09-2022 , 17:35   Re: Admin Players
Reply With Quote #7

Amx_who

Clients on server:
# nick authid userid imm res access
1 Player STEAM_ID_LAN 1 No No z
Total 1
MeliMeli is offline
MeliMeli
Senior Member
Join Date: Apr 2022
Location: Brazil
Old 04-09-2022 , 17:38   Re: Admin Players
Reply With Quote #8

I completely reinstalled and it's still the same thing, I've tested other versions and it's still the same... My friend also performed a test on Single Player and the result was the opposite, he doesn't have access to amx_vote, amx_ban commands without users permission. ini (it uses a different version).

I performed an amx_vote vote without permission in users.ini and in the chat it showed (PLAYER) and the correct one is ADMIN.

Last edited by MeliMeli; 04-09-2022 at 17:39.
MeliMeli is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 04-09-2022 , 18:13   Re: Admin Players
Reply With Quote #9

When you say "single player", what exactly do you mean by that? Are you using a dedicated server (HLDS or Dedicated Server) or are you simply pressing "New Game" in your game?

There is logic in AMX Mod X to automatically give permission to everything that uses cmd_access() for the player that is hosting a non-dedicated server as seen in the code here:

PHP Code:
    new has_access 0;
    if (
id == (is_dedicated_server() ? 1))
    {
        
has_access 1;
    } 
__________________

Last edited by fysiks; 04-09-2022 at 18:17. Reason: clarification
fysiks is offline
MeliMeli
Senior Member
Join Date: Apr 2022
Location: Brazil
Old 04-09-2022 , 18:22   Re: Admin Players
Reply With Quote #10

I'm using "New Game".

Gosh, I didn't know about that. But even so, as mentioned above, my friend also uses New Game and if he doesn't have his "nick, ip or steamid" in users.ini he doesn't have any access in cmd.

Last edited by MeliMeli; 04-09-2022 at 18:29.
MeliMeli is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:37.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode