Disabling givexp

Read log files for errors! If this fails, come here for help

Moderator: Forum Moderator

Post Reply
Senne
Rifleman
Posts: 164
Joined: Wed Feb 21, 2007 9:22 am

Disabling givexp

Post by Senne » Tue Feb 27, 2007 9:20 am

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:

User avatar
YamiKaitou
Forum Moderator
Forum Moderator
Posts: 1925
Joined: Wed Feb 01, 2006 4:33 pm
Contact:

Post by YamiKaitou » Tue Feb 27, 2007 9:55 am

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.
Image

No support via PM or Email

Senne
Rifleman
Posts: 164
Joined: Wed Feb 21, 2007 9:22 am

Post by Senne » Tue Feb 27, 2007 11:16 am

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)

DesasterUK
WC3Mods Donor
WC3Mods Donor
Posts: 223
Joined: Thu Mar 09, 2006 6:05 pm
Location: Germany
Contact:

Post by DesasterUK » Tue Feb 27, 2007 11:27 am

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
Image

User avatar
kevlartester
Militia
Posts: 75
Joined: Tue Nov 14, 2006 10:26 am
Location: Germany
Contact:

Post by kevlartester » Tue Feb 27, 2007 11:38 am

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)
Image

Senne
Rifleman
Posts: 164
Joined: Wed Feb 21, 2007 9:22 am

Post by Senne » Tue Feb 27, 2007 12:34 pm

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.

DesasterUK
WC3Mods Donor
WC3Mods Donor
Posts: 223
Joined: Thu Mar 09, 2006 6:05 pm
Location: Germany
Contact:

Post by DesasterUK » Tue Feb 27, 2007 12:55 pm

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
Image

Magnuz
Peon
Posts: 47
Joined: Thu Mar 29, 2007 2:49 pm
Location: Sweden

Post by Magnuz » Tue Apr 10, 2007 3:14 pm

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?..
--- Please enter the following information for support ---
War3ft Version: 3.0rc6
Amxmodx Version: 1.76d
Metamod Version: 1.19
amxx list:
amxx modules:
meta list:

Post Reply