Page 1 of 1

Disabling givexp

Posted: Tue Feb 27, 2007 9:20 am
by Senne
Hi,

just a small thing tho ;)
I installed the 3.0 version RC5.
And im using amxbans 5.0 (with amxmodx 1.76c of course).

And i want to create admins but dont want to allow them to give xp.

I saw in the war3ft.cfg the flag is m.
But when i do disable m for the certain admin, he is still able to acces : 15: amx_givexp -- Gives XP to players
I also tried changing the flag to n, but didnt help. (btw flags isnt that as in :

Code: Select all

•  flags
Here you define the various 'flags' for an admin:

a - disconnect player on invalid password
b - clan tag
c - this is steamid
d - this is ip
e - password is not checked (only name/ip/steamid needed)
Or is it just a wrong usage?
Since i'm thinking you guys mean with flag , the :

Code: Select all

a - immunity (can't be kicked/banned/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
levels. (so i did abcdef ... without m , but still being able to givexp.)

Thx for any help,
and the mod works fine btw (just one remark , when you connect and join the server the changerace menu does not show auto up, which is confusing for noobs ;) )


--- Please enter the following information for support ---
War3ft Version:
Amxmodx Version:
Metamod Version:
amxx list:
amxx modules:
meta list:

Posted: Tue Feb 27, 2007 9:55 am
by YamiKaitou
Okay, in your war3ft.cfg file, you define what you want the flag for the admin part of wc3ft to be. Default value is m (ADMIN_LEVEL_A). Just change that to something else (a-u) and make sure nobody has that flag in your users.ini file.

So, if you set it to be flag m (default), in your users.ini, here is an example of someone who has access to every command except the ones on flag m

"STEAM_0:0:123456" "" "abcdefghijklnopqrstu" "ce"

Beware, AmxX's team menu (allows you to switch the teams of people) is default assigned to flag m.

I have my wc3ft admin cmds set to flag y (ADMIN_ADMIN) that way I can use all of the other flags and still beable to control the wc3ft cmds.

Posted: Tue Feb 27, 2007 11:16 am
by Senne
ok thx , ill try it out after dinner ;)

euhm i noticed one bug tho, the mole isnt working.
If a player moles , he still has his original skin (ex. T player moles with T skin to CT team , making him easy to detect)

Posted: Tue Feb 27, 2007 11:27 am
by DesasterUK
Are u sure the player is mole?
Or is it just a cameleon?

Cause mole was working fine for me and (i think) all other users in RC5

Posted: Tue Feb 27, 2007 11:38 am
by kevlartester
maybe he was both...means he was cameleon before and bought mole when he had enough money... (btw i never tried that but he should look like his o-model i think)

Posted: Tue Feb 27, 2007 12:34 pm
by Senne
DesasterUK wrote:Are u sure the player is mole?
Or is it just a cameleon?

Cause mole was working fine for me and (i think) all other users in RC5
ill test it.

i'm working with bots so it wouldnt surprise me the bot bought chamaleon and was warden moling at the same time.

But it happened twice after each other so i thought it was maybe a bug.

Posted: Tue Feb 27, 2007 12:55 pm
by DesasterUK
ah ok
Bots!
is fixed since RC6 beta3
but its not a public release

so u have to wait till it will be released for public

Posted: Tue Apr 10, 2007 3:14 pm
by Magnuz
Yeah... about the amx_give/takexp command... it doesn't work so good...

I can give xp, but when I try to take it makes my server crash...
and when i reset xp on a race on the 5th round and changes it to something else on the 6th round I get a message saying: "Since you changed your race the XP will no longer be reset...

Is there something wrong with my vault or have I misconfigured somthing?..