←  Problemy z pluginami

AMXX.pl: Support AMX Mod X i SourceMod

»

Problem z administracją rangami [BF2]

Zablokowany

  • +
  • -
CreyzoL - zdjęcie CreyzoL 23.02.2011

Witam, mam problem z ustawieniem sobie admina, chcę przydzielić sobie rangę ale nie mam uprawnień... czytałem poradniki ale nadal nie rozumiem albo coś mi po prostu nie działa... czy mógłby mi ktoś opisać krok po kroku jak to zrobić?

Dołączam link do pluginu:
Battlefield 2 : Rank Mod PL v1.0.5


+rep.
Odpowiedz

  • +
  • -
Lukasz5 - zdjęcie Lukasz5 23.02.2011

Może nie dodałeś sobie flag... ;]
Odpowiedz

ADRIANq ^^ - zdjęcie ADRIANq ^^ 23.02.2011

masz flagi
abcdefghijklmnopqrstu
?
Odpowiedz

  • +
  • -
CreyzoL - zdjęcie CreyzoL 23.02.2011

mam wszystkie flagi za wyjątkiem:

a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)

jest potrzebna?
Odpowiedz

  • +
  • -
G[o]Q - zdjęcie G[o]Q 23.02.2011

pokaz users.ini i rcon meta list
Odpowiedz

  • +
  • -
CreyzoL - zdjęcie CreyzoL 23.02.2011

users.ini
; Users configuration file
; File location: $moddir/addons/amxmodx/configs/users.ini

; Line starting with ; is a comment

; Access flags:
; 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 (no admin)

; Account flags:
; a - disconnect player on invalid password
; b - clan tag
; c - this is steamid/wonid
; d - this is ip
; e - password is not checked (only name/ip/steamid needed)
; k - name or tag is case sensitive.  eg: if you set it so the name "Ham"
;     is protected and case sensitive (flags "k" only), then anybody
;     can use the names "haM", "HAM", "ham", etc, but not "Ham"

; Password:
; Add to your autoexec.cfg: setinfo _pw "<password>"
; Change _pw to the value of amx_password_field

; Format of admin account:
; <name|ip|steamid> <password> <access flags> <account flags>

; Examples of admin accounts:
; "STEAM_0:0:123456" "" "abcdefghijklmnopqrstu" "ce"
; "123.45.67.89" "" "abcdefghijklmnopqrstu" "de"
; "My Name" "my_password" "abcdefghijklmnopqrstu" "a"


"195.238.168.156" "" "bcdefghijklmnopqrstu" "de"   ja


a gdzie znajdę ten drugi plik?
Odpowiedz

  • +
  • -
Lukasz5 - zdjęcie Lukasz5 23.02.2011

Wpisujesz w cosoli rcon meta list, ale najpierw rcon_password xxx ;)
Masz stałe IP?
Użytkownik Lukasz5 edytował ten post 23.02.2011 21:55
Odpowiedz

  • +
  • -
Abes Mapper - zdjęcie Abes Mapper 23.02.2011

Musisz mieć flagę "a"
Odpowiedz

  • +
  • -
CreyzoL - zdjęcie CreyzoL 24.02.2011

no z flagą "a" działa, a dałoby się to zmienić na inna flagę bo nie chce mieć immuna :/
Odpowiedz

  • +
  • -
Abes Mapper - zdjęcie Abes Mapper 24.02.2011

Musisz edytować kod źródłowy a potem skompilować plugin ponownie.
Na samym początku bf2rank.sma masz:
#define ADMIN_LEVEL ADMIN_IMMUNITY
#define ADMIN_RESET ADMIN_IMMUNITY
I to zmieniasz

Lista flag:
Nadanie Flagi "p" - AMXX.pl: Support AMX Mod X
Odpowiedz
Zablokowany